Skip to main content
Inspiring
January 6, 2012
Question

advanced font features?

  • January 6, 2012
  • 1 reply
  • 1205 views

Hi,

I am pretty new to 'TLF but have some understanding of fonts.

If I read things right, TLF boils down to separating input into TextElement objects, and flash player does the rest. Now consider a font that provides style sets (not the predefined ones like lining / oldstyle digits but, say, medium an exaggerate swashes labelled ss01 and ss02). Is there any way to select such a feature?

Also, for the predefined things, is there any way to find out whether a particular font supports them?

This topic has been closed for replies.

1 reply

Adobe Employee
January 9, 2012

Hi birnerseff,

TLF does support some font features, such as SmallCaps, by setting typographicCase = lowercaseToSmallCaps. TLF provides its own formats to take advantage of such a font feature. You need to find out the related format in TLF then set its value.

Inspiring
January 9, 2012

Hi Jin-Huang,

so I understood that right... The available features are those listed in the enumeration classes, like the small caps you mentioned. So, does this mean that in order to use Poetica swashes, (or slashed zeroes in aplain sans font) I would have to somehow find out the proper unicodes and edit the input accordingly?

Is there any documentation about which ligatures are considered "exotic"?

Adobe Employee
January 11, 2012

Each font defines what the ligatures are for the font, and for each ligature whether it is exotic, required, common, historical, etc. These are embedded in the font as an OpenType table. FTE (Flash Text Engine) is simply reading from the font, and TLF just tells FTE the ligature setting to use for the font. So its all driven from the font.

Is there any documentation about which ligatures are considered "exotic"?

It depends on the font.