Re: Generating ligature glyphs
Re: Generating ligature glyphs
- Subject: Re: Generating ligature glyphs
- From: Douglas Davidson <email@hidden>
- Date: Wed, 26 Oct 2005 11:00:41 -0700
On Oct 26, 2005, at 4:40 AM, Rolland Bryan wrote:
How does one force NSLayoutManager to generate ligature glyphs?
There are many sorts of ligatures, but for e.g an "fi" ligature, what
will happen is that during glyph generation, the glyph generator will
generate the standard "f" and "i" glyphs. During layout, the
typesetter will determine from font information that an "fi" ligature
is available, and then replace the "f" glyph with the "fi" ligature
glyph and the "i" glyph with a padding null glyph. Generation of the
ligature happens during layout because it depends on the "f" and the
"i" actually appearing adjacent to each other on the same line of
text. The process is controlled to some extent by text attributes;
for example, NSLigatureAttributeName can be set to 0 to suppress
ligatures of this sort.
If you would explain what it is that you are trying to do, and what
you are seeing, perhaps it would be possible to give more detailed
guidance.
Douglas Davidson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden