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
0
votes
1 answer

TLFX, has anybody used it yet?

Has anybody use TLFX yet? The repository is here: http://code.google.com/p/tlfx/ but I'm not sure it's completed. I tried to compile it but look like some classes are missing.
oscarm
  • 2,630
  • 6
  • 41
  • 74
0
votes
2 answers

How I can access in Actionscript the "text" property of a TLF text created in the Flash IDE

I created a TLF Text with the Flash IDE in the main document. I've assigned it an instance name with the IDE When I try to access the text with Actionscript I cannot access the text field. Of course if I transform in the IDE the text in classic…
yuri
  • 575
  • 1
  • 14
  • 33
0
votes
2 answers

Autoscaling TLF Text in AS3

I'm needing an actionscript solution that will allow dynamic text to drop into a text box with pre-determined dimensions (x, y, width, height), and then will scale the text up or down so that it is as large as it can be within those dimensions…
phil
  • 1
  • 1
  • 1
0
votes
1 answer

How do i remove anti-alias (bitmap font) in cs5 TLF text

How can i use a bitmap text (no anti-alias at all), i can't find that option , the same option that exists in the classic text field.
Dubi
  • 1
0
votes
1 answer

TextConvert is exporting HTML and Body tags

I'm using the TextConverter class to export a TextFlow to HTML and it's exporting HTML and Font tags in the export. Is there a way to prevent this so it only outputs the content without this? Here is my AS3: var output:String =…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
2 answers

Events dispatched by setFormatofRange

I have a text area on which I would like to listen to change events when I change the text formatting using setFormatOfRange(). So far all other events I have tried, such as Event.CHANGE or TextOperationEvent.CHANGE are only dispatched when the…
Tarek
  • 759
  • 2
  • 8
  • 17
0
votes
1 answer

change text of TLFTextField through constructor

I have a symbol which extends MovieClip and it has a TLFTextField instance in it. I try to change the text of the TLFTextField in the constructor, like this: public function mySymbol() { myTLF.text = "texty text"; } I create a new instance of…
OzW
  • 848
  • 1
  • 11
  • 24
0
votes
1 answer

Undo and redo is not working on TextInput in AIR application?

I've just noticed in my AIR application that redo is not working. It also seems that there it only is going back one step (but sometimes two or three).
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
1 answer

Using images from library with TLFTextField

I can use inline images with TLFTextField referring to an URL. But I need to fetch it from library because it causing blinks every time when same image loaded. I tried to convert an image to MovieClip and load it like I could do it with TextField…
Eren CAY
  • 686
  • 1
  • 7
  • 17
0
votes
0 answers

Time Limit Exceed Error in java

When I am submitting this program on codechef. I am getting TLF error... So, please help.....what should I do? And I want to know when TLF occurs and What is the normal cause of them. time limit for this program is 1sec. import…
railee
  • 1
  • 1
0
votes
1 answer

Can you use Squiggly with a TLF text container or TextFlow?

I'm creating my own TLF container as described in the TLF documentation but I want to use the Squiggly spell checker. I found a tutorial that describes how to use Squiggly but it does not show how to work with a TextFlow only TextArea. How do I use…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
2 answers

Flex 4 - Highlight keywords in a block of text using TextLine

I have a search and results page that I would like to highlight the keywords that were searched for, in the text of the results. It was suggested that I use TextLine for this, but I am having trouble figuring out how to make it work. I started a…
Baz
  • 2,167
  • 1
  • 22
  • 27
0
votes
0 answers

Flex TLF Word Wrap Breaks Words

My company has a Apache Flex 4.11 application. In this application we use Text Flow to allow our users to create text boxes on a page and edit the text. The problem we are having is that when a user types in a word that is longer then the textbox is…
0
votes
2 answers

Embedd fonts in a TextArea in Flex4

I'm trying to embedd fonts to use with a TextArea that I have extended using the code below, but it doesn't work. I have used this code before with a TextFlow object and then set the containers with the flowComposer, but I can't get it to work with…
Andreas
  • 1,311
  • 5
  • 24
  • 39
0
votes
1 answer

How to select a flow element in TLF?

Is there a method that I can use to select a FlowElement? I checked a few classes including SelectionManager and EditManager and did not see anything.
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231