Skip to main content
Participating Frequently
September 3, 2009
Question

Line height rendering issue with RET or TLF?

  • September 3, 2009
  • 1 reply
  • 1489 views

I've been developing quite a complex Flex App for a client using a lot of the functionality offered by TLF and the Rich Editable Text flex component.

The app enables Maths authors to write questions like the one shown in the attached screengrabs.

In the grabs you can see an issue which occurs infrequently but still occurs in the latest Flex SDK that I've just updated the app to (4.0.0.9948).

The issue is in the instance of the RichEditableText component that displays the question. The first line of text seems to be getting overlaid by the second (perhaps the line height is being incorrectly measured by the TLF).

The font used is embedded in the CSS.

The second grab shows the focus on the text when highlighted. You can see that's incorrect too. Presumably this is related?

I will try to put together a simplified project that reproduces the app but I thought I'd raise it here first to see if this is a known issue and whether there's a work around?

Thanks

Nick

This topic has been closed for replies.

1 reply

Adobe Employee
September 4, 2009

Hi,

I've never seen that happen!  A simplified example would be great.

Thanks,

Richard

Nick KuhAuthor
Participating Frequently
September 4, 2009

Hi Richard

I created a simplified project which I'm attaching.

I also added a bug report here:

https://bugs.adobe.com/jira/browse/SDK-23019

Take a look at the screen grab attached. Which is what I see when I view the project here:

http://www.nickkuh.com/demos/tlflineheight/

on MacBookPro. On my Mac Pro tower the RET render fine on both FF and Safari. Weird...

I know this has affected a number of our authors (who are mostly on PCs) so I don't think this is a Mac only issue.

Maybe it's a Flash Player issue? I've just checked and...

My machine that shows the bug is running:

10,0,12,36

And the machine that displays it fine is running:

10,0,32,18

I'd be interested to know if others see the bug at the Flex App link above?

Thanks

Nick

Nick KuhAuthor
Participating Frequently
September 4, 2009

Here's the source for the example:

http://www.nickkuh.com/demos/tlflineheight/TLF_LineHeight.fxp