Skip to main content
Known Participant
March 31, 2010
Question

ligatureLevel property of textLayoutFormay not working

  • March 31, 2010
  • 2 replies
  • 1531 views

Hi

     I am creating an application using TLF and I use this property

     textLayoutFormat.ligatureLevel =LigatureLevel.MINIMUM;

I check it in Both FlashPlayer 10.0 and Beta 10.1, but it didn't reflect any changes.

If anyone known how to use this property please let me know.

Thanks.

This topic has been closed for replies.

2 replies

Participant
January 14, 2012

Bump. I too am looking for an example of ligatures, as for me they simply don't work.

E: They work when I use 'Adobe Caslon Pro' font. Is it because 'Times New Roman' has no ligatures or Adobe fonts are designed for FTE ?

E2: Found a free font Diavlo with ligatures. Not made by Adobe, to answer my previous question.

Adobe Employee
March 31, 2010

What ligatures you get with which LigatureLevel setting is dependent on the font you are using. Some fonts have more ligatures than others, and some have none. Also, when you set the level to minimum, you will get only those ligatures that are required by the language for correctness; if you are using English, for example, there would be no ligatures. I would suggest you set it to LigatureLevel.COMMON, and see if you get ligatures in a standard English font for commonly defined ones like "fi" and "fl".

- robin

Known Participant
April 3, 2010

Thanks Robin

I am using standard English font such as Times New Roman, Arial,Calibri etc. and try every LigatureLevel setting but didn,t reflect any

change.

Is it is a bug of TextLayout?? or please give me some example how to use LigatureLevel setting or How suggest any other way to overcome from this issue.

I am creating an application where I read the content from Microsoft Powerpoint OpenXML and Plot text through TextLayout.
text container size is same as in powerpoint but the issue is the spacing between the Characters is not same as in powerpoint.

Please see the diffrence in first Paragraph third line in which Transfer word comes in previous line in textLayout plotting.

Adobe Employee
April 6, 2010

The differences you are seeing between the text layout in PowerPoint and in TLF are because kerning is turned on TLF. You can see this in "Te" and "Tr" and "Wo" pairs, where in the PowerPoint text there is extra spacing, and in TLF the second letter is brought in closer to the first letter. Most people prefer the spacing with kerning on, but if you want it off, just set:

      format.kerning = flash.text.engine.Kerning.OFF;

Note that TLF and Flash Player do not guarantee that you will get the exact same text placement as other applications; each application has its own unique text engine and may get slightly different results.

- robin