[luatex] font style

Taco Hoekwater taco at elvenkind.com
Thu Aug 20 17:40:35 CEST 2009


luigi scarso wrote:
> On Wed, Aug 19, 2009 at 10:30 PM, Wolfgang
> Schuster<wolfgang.schuster at gmail.com> wrote:
>> Hi,
>>
>> how can i access the style information (third row in the table, see figure)
>> from a font, even after looking at the manual i don't know which table entry
>> i need.
>>
>> Wolfgang
> 
> 
> What about search for subfamily in luatexref-t.pdf ?
> maybe 4.15.1.7 names table ?

I do not normally read this stuff in the manual nor do I know
these table details by heart, I just run something like the
following context lua code:

   \ctxlua {
      local f = fontloader.open(resolvers.find_file('whatever.ttf'))
      print(table.serialize(fontloader.to_table(f)))
   }


Best wishes,
Taco



More information about the luatex mailing list