Hello
I am working on rendering rtf files in an esmart object. According to the
rtf spec., rtf files specify font size in half points. So, while rendering
files, the equivalent markup could be font_size=10.5 when the rtf file has a
tag \fs21. I want to know if this is supported.

Also as per the spec., the paper height, width, margin lengths etc. are
specified in twips. Now, one inch is 1440 twips. So to convert between twips
and pixels, divide the nummber of twips by 1440 to get inches and then
multiply that by the dots-per-inch to get the size in pixels. Now, this can
give fractional values. Is it possible to specify textblock size as
fractional values or should I round it off to the nearest pixel?

Regards,
Amitav
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to