Hi,

I played around with different fonts, especially Bitstream XCharter and 
Overpass (http://overpassfont.org/) and wanted to combine them.
However, I see some issues regarding ligatures, kerning and obliques/italics.

Here is a minimal example:
```
\definefontfeature[default][mode=node, kern=yes, liga=yes]
% more features
% [mode=node, kern=yes, liga=yes, tlig=yes, itlg=yes, ccmp=yes, language=dflt, 
protrusion=quality, expansion=quality]

\definefontfamily [myfont][roman][xcharter]
\definefontfamily [myfont][sansserif][overpass][rscale=0.93]
\definefontfamily [myfont][teletype][overpass][rscale=0.93]
\definefontfamily [myfont][mono][overpassmono][rscale=0.93]
\definetypeface   [myfont][mathematics][math] [xcharter]

\setupbodyfont[myfont, 11pt]

\startTEXpage

\showfontkerns

             Vitae, Vase, LT, VA, Y., Effizient, abcdel™, \italic{effi 
abcdel™}, \slanted{effi abcdel™}\\
\style[sans]{Vitae, Vase, LT, VA, Y., Effizient, abcdel™, \italic{effi 
abcdel™}, \slanted{effi abcdel™}}\\
\style[mono]{Vitae, Vase, LT, VA, Y., Effizient, abcdel™, \italic{effi 
abcdel™}, \slanted{effi abcdel™}}\\

\showbodyfont[myfont]

\stopTEXpage
```
It produces the PDF in the attachment. I'm struggling with several things:
- xcharter seems to have no kerning applied. It is listed as font feature, 
though. Is it correct to have no kerning at all for that font?
- xcharter also have no ligatures (at least it doesn't look like that). That is 
listed as font feature, too, although only for italic and slanted. According to 
https://tug.org/FontCatalogue/xcharter/ there are ligatures in the font.
- Overpass has a glyph for the ae ligature. Is it normal that it is not used as 
a ligature for ae?
- Overpass Mono does not contain italic glyphs. I would have expected obliques 
when using \slanted then. However, it just remains normal.
- I included the ™ in the example since its italic glyph is not slanted. For 
all fonts \slanted seems to switch to the extra (italic?) glyphs, while I would 
have expected obliques. At least overpass seems to have no dedicated slanted 
style, while xcharter has one.
- Is there a command to show ligatures the same way there is a command for 
kerning?

I attached the output of the following commands, too:
mtxrun --script font --list --file --info --pattern='xcharter*'
mtxrun --script font --list --file --info --pattern='overpass*'

Thanks
Gerion

Attachment: font-features.txt.zst
Description: application/zstd

Attachment: mwe.pdf
Description: Adobe PDF document

Attachment: signature.asc
Description: This is a digitally signed message part.

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to