Skip to main content
Inspiring
June 25, 2009
Question

htmlformat and font size

  • June 25, 2009
  • 1 reply
  • 721 views

Hi All,

I created a simple html text where there is <font size ="somevalue"> text </font>  then i imported it to textflow. And when i looked at textFlow formatting,,,

i don't see the size is properly imported (i looked at fontSize property). Do you know if this is still an open issue and if you have a workaround?

Thank you for your response,

-Hoang Long

This topic has been closed for replies.

1 reply

Participating Frequently
June 25, 2009

Hi,

I am unable to reproduce it on my setup. Could you tell me

- which build, which OS you are using?

- if other Font attributes like face or color work?

- if you are importing usng XML_TYPE or STRING_TYPE?

Thanks,

Abhishek

(Adobe Systems Inc.)

texttileAuthor
Inspiring
June 25, 2009

i am using Vista, and using the beta version of TextLayout build 437. (i checked thru my browser,,do you know how to check build or release date more accurately ?)

The color works.

the test is:

              myText = "<font color='#ff0000' size ='17'> hello</font>";
           
            textFlow = TextFilter.importToFlow(myText, TextFilter.HTML_FORMAT);
            textFlow.flowComposer.addController(new ContainerController(this, 400, 300));
            textFlow.flowComposer.updateAllControllers();

i am importing htmlformat

Thank you for your response,

-Hoang Long