Re: Kerning and ligatures



On 2009-09-05, Jukka K. Korpela <jkorpela@xxxxxxxxx> 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&zwnj;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&zwnj;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">&zwnj;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).
.



Relevant Pages

  • Re: English versus German
    ... TeX. ... Assuming the font was designed by ... Word does not access the font's internal kerning by default (requiring ... Some googling reveals that in fact, Word has not been doing ligatures ...
    (sci.lang)
  • testdocument for kerning
    ... I had some problems with a font recently, characters and kerning. ... In our house we had a cat ... A cat with a large belly wondered ...
    (comp.text.tex)
  • Re: Text output and kerning?
    ... It doesn't look like any of these affect kerning and... ... kerning is not specified by any LOGFONT features. ... for the font, and as such is a totally separate table. ... doesn't allow me a GSUB table. ...
    (microsoft.public.vc.mfc)
  • Re: Thoughts on the Worstveld Sling Extra typeface
    ... In a word processor you may be able to adjust the letter-spacing for many characters at once - in a one-size fits all way. ... I don't know if this feature ever made it into InDesign, but at one time they were talking about being able to establish kerning pairs, overriding the kerning built into a font, so that the same pair would always be kerned the same way in a given document. ... I could use Illustrator, but I'm much more experienced with Photoshop than Illustrator. ...
    (comp.fonts)
  • Re: English versus German
    ... overall page layout (exactly the opposite of what TeX does). ... Do you use the default font in Word? ... woefully inadequate kerning and no fi/fl ligatures. ... kerning is a recipe for visual disaster. ...
    (sci.lang)