4 Replies Latest reply on Nov 24, 2009 2:03 AM by chandu3107

    Text Area Font problem

    chandu3107 Level 2

      Hi all,

       

      We have a flex application which allows user to add text and save in XML.

      From this XML we iterate each element and generate image in .Net.

       

      XML is scale for US. We use DPI for scaling. If i have 96 DPI then while adding text i multiply text width,height,x and y by 96 and while saving I divide same to convert in inches.

       

      I noticed one thing that while scaling font remains same. Is there any property to scale fonts based on DPI?

       

      Also I noticed that text area has all padding to 0 then also it gives me vertical gap.

       

      Thanks,

      -CK