freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] Fw: Text size problem


From: Werner LEMBERG
Subject: [ft] Fw: Text size problem
Date: Fri, 02 Sep 2011 08:58:39 +0200 (CEST)

[Ling-Chun, please stay on the list!]

Regarding the differences between 2.4.2 and 2.4.4: A new spline
flattening algorithm has been introduced which probably explains the
subtle rendering difference.  A glitch has been found which is fixed
in 2.4.5; I thus recommend to use the current version 2.4.6.

However, I can't explain why you get a differently coloured TGA on
iOS.


    Werner

--- Begin Message --- Subject: Re:Re: Text size problem Date: Fri, 2 Sep 2011 11:40:12 +0800 (CST)
I set DPI value to 90, this is multi platform execute result:
- Android
Samsung Galaxy Tab 10.1 + android-ndk-r5c + freetype2.4.2(android offical supply)
android_2.4.2._test.tga

Samsung Galaxy Tab 10.1 + android-ndk-r5c + freetype2.4.4
android_2.4.4._test.tga

- iOS
iPad emulator4.3
ipad_2.4.4_test.tga

I got three tga files, but there are differents, why?

All files and test code package in  attachment,  please see it, thx.

At 2011-09-01 01:53:21,"Werner LEMBERG" <address@hidden> wrote:
>[please stay on the list]
>
>>> Do you use the same DPI value?  Otherwise, we need more details.
>>
>> Code is the same, not to write code for a specific platform
>
>Well, Windows uses 96dpi by default, and X11 72dpi.  If you ask for,
>say, 12pt, the font is smaller on Windows if you use exactly the same
>code.  I have no idea which dpi value is used by iOS.
>
>
>    Werner


Attachment: freetype_result.zip
Description: Zip compressed data


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]