DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

John Hudson's picture

Unregistered

Feeds

aliases

  • John Hudson

John Hudson

4 years ago

in OpenType Fractions on fortes.com
Although most fonts only contain pre-built fraction glyphs for ¼½ and ¾, newer OpenType fonts can build arbitrary fractions using contextual substitution and sets of numerator and denominator numerals. It works like this:

Enter an arbitrary fraction, e.g. 7253735/89362529 and apply the Typography.Fractions property. If a font supports arbitrary fractions, the lookups will
a) change all numerals in the string to numerator glyphs,
b) change the slash glyph to a fraction bar,
c) contextually change the numerator glyph that follows the fraction bar into a denominator glyph,
d) contextually change any numerator glyph preceded by a denominator glyph to a denominator glyph.

Et voila: one arbitrary fraction. Filipe, you can try this with any of the new ClearType collection fonts (Calibri, Cambria, Candara, Constantia, Corbel -- I'm can't remember if the monospaced Consolas font supports this layout feature or not).


In reference to the preceding comment, I heard a rumour that MS and Adobe had come to an agreement re. CFF PostScript support in Avalon. Perhaps this is something that can now be officially confirmed or denied?

4 years ago

in OpenType Fractions on fortes.com
Although most fonts only contain pre-built fraction glyphs for ¼½ and ¾, newer OpenType fonts can build arbitrary fractions using contextual substitution and sets of numerator and denominator numerals. It works like this:

Enter an arbitrary fraction, e.g. 7253735/89362529 and apply the Typography.Fractions property. If a font supports arbitrary fractions, the lookups will
a) change all numerals in the string to numerator glyphs,
b) change the slash glyph to a fraction bar,
c) contextually change the numerator glyph that follows the fraction bar into a denominator glyph,
d) contextually change any numerator glyph preceded by a denominator glyph to a denominator glyph.

Et voila: one arbitrary fraction. Filipe, you can try this with any of the new ClearType collection fonts (Calibri, Cambria, Candara, Constantia, Corbel -- I'm can't remember if the monospaced Consolas font supports this layout feature or not).


In reference to the preceding comment, I heard a rumour that MS and Adobe had come to an agreement re. CFF PostScript support in Avalon. Perhaps this is something that can now be officially confirmed or denied?
Returning? Login