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

Ken Moffat zarniwhoop at ntlworld.com
Thu Oct 26 21:45:16 CEST 2023


On Thu, Oct 26, 2023 at 09:27:17PM +0200, Herbert Voss wrote:
> 
> 
> 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

Thanks for your help.  I'll come back to this eventually.

ĸen
-- 
  'The universe is so big, sir, that it obeys all possible laws,'
  said Ponder, 'For a given value of "teapot".
           -- The Science of Discworld II, 'The Globe'


More information about the tex-live mailing list.