- From: John Hudson <tiro@tiro.com>
- Date: Tue, 20 Dec 2011 19:05:52 -0800
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- CC: Christoph Päper <christoph.paeper@crissov.de>, www-style list <www-style@w3.org>
Tab Atkins Jr. wrote: > The best way is to type it as "<span>1 2/3</span>", and apply a font > with the appropriate ligatures to display the 2/3 specially. That > doesn't remove the space, but it's at least very simple. Most OT fonts contain <frac> feature support, which may be implemented either by ligatures, as you note, or by contextual substitutions of numerator and denominator glyph. The latter approach is better because it allows for arbitrary fractions. Adobe published the OTL code that they use for the <frac> feature contextual lookups, so this has been implemented quite widely by font makers. JH
Received on Wednesday, 21 December 2011 03:06:30 UTC