O/T : linux: can I list which small caps are in a ttf/otf font ?

Herbert Voss Herbert.Voss at fu-berlin.de
Thu Oct 26 21:27:17 CEST 2023



Am 26.10.23 um 20:43 schrieb Ken Moffat via tex-live:
> \newfontface\FiraSC{FiraSans-Regular.otf}[RawFeature=+c2sc]   %

You must be sure that the FiraFonts are installed, if you want
to use this font. If it is installed you can run

>      local f = fontloader.open('/tmp/FiraSans-Regular.otf') -- the test font

this is _my test font in a temporary directory. You can choose any other 
directory

>>              tex.sprint("{\\FiraSC\\char" .. glyphs[i].unicode .. "\\relax}")

\FiraSC  is the defined font with small caps



/usr/share/fonts/for-analysis/FiraSans-Regular.ttf: Fira 
Sans:style=Regular Use it with this path instead of my /tmp/ directory 
Then it should work


Herbert


More information about the tex-live mailing list.