On Tue, 29 Sep 2009 18:36:18 +0530 amitav mohanty <amitavmohant...@gmail.com>
said:

> 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?

round - as fractional values wont work. same for font sizes. also won't
help. :)

> Regards,
> Amitav
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to