From: Ben C on 6 Sep 2009 17:24 On 2009-09-05, Jukka K. Korpela <jkorpela(a)cs.tut.fi> wrote: > Andreas Prilop wrote in comp.infosystems.www.authoring.html under [...] > This apparently happens for some fonts only, but there does not seem to be > any font-size limit. > > As a whole, occasional and undocumented kerning for a few fonts probably > generates more harm than useful effects. > > Is there some CSS property that actually affects Firefox 3 regarding kerning > and ligatures? I don't know. But it may just be calling out to some code in Windows to do font rendering (and then asking Windows how wide the result was so it can do shrink-to-fit calculations and so on). Who knows, there may be some global preferences setting menu somewhere in Windows where you can configure whether you want kerning and/or ligatures and other such features. > To create more confusion, if I try to defeat the Firefox 3 behavior when I > _don't_ want a ligature, I cannot use the obvious (to Unicode-aware people) > approach: instead of fi, write f‌i. The should zero-width non-joiner > character should prevent ligature behavior, and it does, but it also turns > the font of the letter after it to something unexpected! This is easy to see > using e.g. > ><span style="font: 32pt Constantia">fi<br> > f‌i</span> > > The renderings are different, but in too odd a way - in the latter, the "i" > appears in some sans-serif font! The effect is easier to see if you test > just ><span style="font: 32pt Constantia">‌ii<br> I can't see that because I don't have the Constantia font, but it sounds like a bug which you could report on their bugzilla system (if it is a Windows problem instead they will soon figure that out).
From: Andreas Prilop on 8 Sep 2009 11:48 On Sat, 5 Sep 2009, Jukka K. Korpela wrote: > ligatures and kerning - if I use, say, 18px Constantia. One can easily see > that fi is rendered as a ligature then (unlike on IE), and there is some > kerning e.g. in "Va" and "VA" (the letters are closer to each other than on > IE), but not for "V.", perhaps because this pair is not described in the > font properties. I found an AFM file for Constantia http://www.google.co.uk/search?q=%22Constantia.afm%22&filter=0 but I don't know if I can trust it. That file has no kerning pairs at all for letter-letter combinations. -- In memoriam Alan J. Flavell http://groups.google.co.uk/groups/search?q=author:Alan.J.Flavell
From: Andreas Prilop on 9 Sep 2009 12:14 On Sat, 5 Sep 2009, Jukka K. Korpela wrote: > However, my Firefox 3.5.2 (on Vista) does not seem to care about that > property. Instead, it by default applies some typography features - > ligatures and kerning - if I use, say, 18px Constantia. One can easily > see that fi is rendered as a ligature then (unlike on IE), Firefox 3.0 (I don't know about 3.5) does not find the fi ligature on a page when I search for "fi". However, Google finds them all: http://google.com/search?q=cache:www.alanflavell.org.uk/unicode/unidataFB.html+ff+fi+fl+ffi+ffl -- In memoriam Alan J. Flavell http://www.alanflavell.org.uk/charset/
|
Pages: 1 Prev: Free sms site launched Next: Correct way to clear after float |