• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Generating ligature glyphs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Generating ligature glyphs
      • From: Rolland Bryan <email@hidden>
References: 
 >Generating ligature glyphs (From: Rolland Bryan <email@hidden>)

  • Prev by Date: NSOutlineView Highlighting
  • Next by Date: Re: Newbie Question: Find spaces inside a string
  • Previous by thread: Generating ligature glyphs
  • Next by thread: Re: Generating ligature glyphs
  • Index(es):
    • Date
    • Thread