Questions tagged [tlf]

Adobe's open source Text Layout Framework. It supports rich text, many writing modes (both vertical and horizontal!), multi-column layouts, text editing, and typographic niceties such as kerning, ligatures, and so on.

For more details, see the Text Layout Framework FAQ.

117 questions
1
vote
2 answers

Insert text at cursor in a TLF-based Flex Spark RichEditableText?

I want to programmatically insert formatted text at the current cursor position in a Flex 4 (Spark) RichEditableText control. I could just modify the .text property.... But that doesn't allow me to insert formatted text. So I believe I need to…
davr
  • 18,877
  • 17
  • 76
  • 99
1
vote
1 answer

Flash dynamic TLF text mixes fonts together- very weird

I'm using Flash CS5's new Text Layout Framework (TLF) for the first time. Whenever I set the TLF text dynamically through actionscript, the resulting text renders with multiple fonts! (The same text set statically doesn't have any…
Yarin
  • 173,523
  • 149
  • 402
  • 512
1
vote
1 answer

Adobe TLF and HTML

What is the best way to convert a tlf markup to HTML? I want only standar HTML without the old font tag. I think I saw a utility created by someone for this, but I can remember where it is. any ideas? Tks.
oscarm
  • 2,630
  • 6
  • 41
  • 74
1
vote
1 answer

flex TextLayoutFramework TextScrap how to access the textFlow of a PasteOperation

after reading http://livedocs.adobe.com/labs/textlayout/flashx/textLayout/edit/TextScrap.html flashx.textLayout.edit.TextScrap should have a public [read-only] property textFlow but it is protected in flex_sdk_4.1.0.16076... does anybody know how…
veeeb
  • 11
  • 2
1
vote
1 answer

How to check if two elements have the same text formats?

How do I check if two paragraph elements or two spans have the same formats? I have two paragraphs and when I export them they have the exact same attributes:

Hello world

Hello…

1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
1
vote
1 answer

How to display only one letter in Flex Text Layout Framework ContainerController?

I'm trying to implement dropped initials feature into my Flex application. Since Text Layout Framework does not support floating, the only known solution is to create additional containers that will be linked together, displaying the same textflow.…
rattkin
  • 637
  • 8
  • 25
1
vote
0 answers

TLF TextField not working on IOS

I am using Air 14.0.In Flash Professional CS6.I checked this on iPad.My app contains some external swf's.Actually IOS doesn't allow external swf's data.for this i hosted external swf's on remote server.But that external swf's library movieclips…
Usha Kommuri
  • 71
  • 1
  • 11
1
vote
1 answer

Getting rendered font dimensions in Adobe Text Layout Framework

I'm currently struggling with implementing text floating in TLF. It does not support it natively, and the only solution I've found so far is to use linked containers and then combine controllers using flowComposer for single textFlow. However, I…
rattkin
  • 637
  • 8
  • 25
1
vote
0 answers

Mixing alignment on a single line in Flex TLF

I want to mix alignments in a single line in flex using TLF. Ie., on each given line, I'd like something like this: the quick brown fox|1 jumps over the|2 lazy dog|3 In essence there's simply 2 columns there - the left column is…
Marty Pitt
  • 28,822
  • 36
  • 122
  • 195
1
vote
1 answer

What's the limitation of LTF on mobile?

As we are targeting mobile in our Flex Mobile based project, we are using adobe text layout engine, ( TLF ) We've noticed that when typing in RTL language ( Arabic ) the cursor is at the beginning of text field, when text addition is at end of field…
Sameer H. Ibra
  • 1,816
  • 2
  • 17
  • 25
1
vote
1 answer

Non-breaking hyphen longer than regular

I'm working on an application that uses Adobe's Text Layout Framework to handle word processing. I've run into an issue where inserting a non-breaking hyphen (U+2011) is rendered about twice as long as a regular ascii-hyphen (U+2010). MS Word (as…
Jordan Foreman
  • 3,848
  • 7
  • 40
  • 65
1
vote
2 answers

Flash - Set maximum lines on TLFTextField

It is possible set an maximum number of lines to been showd on TLFTextField? So I have an text than I don't wanna that display all over the text, just the 3 first lines visibles. How can I configure that? This is what I have yet: var…
David Fortunato
  • 769
  • 1
  • 6
  • 19
1
vote
0 answers

Why TLF text works in debug on device mode but not in a release ad-hoc?

I have created a swf that include text TLF. After that I have loaded it in an flex mobile application. At the beginning I had lot of problems to load it. 1- First because I used Loader and the project was created with Flash Profesional. The best…
ccsakuweb
  • 789
  • 5
  • 17
1
vote
2 answers

Flash AS3 TLF Text (Cannot access a property or method of a null object reference.)

I have a program where I created a singleton class for the stage so I can access it in my other classes. I have a few other symbols which have text in them, so will need to have the text modified in the code. My problem is that whenever I use TLF…
Sean
  • 1,758
  • 3
  • 20
  • 34
0
votes
1 answer

TLF shoots error when used inside a SWC

simple issue here. I created a SWC which is a simple MovieClip that contains some TLF text fields. I have embedded the font using the Flash Professional IDE. When instance this Class in my main app var myInstance:MovieClip = new SomeClass() as…
vivo
  • 26
  • 2