freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Test the rendered FTBitmap


From: Pierre Joye
Subject: Re: [ft-devel] Test the rendered FTBitmap
Date: Thu, 24 Apr 2008 20:25:55 +0200

Hi,

On Thu, Apr 24, 2008 at 5:58 PM, Werner LEMBERG <address@hidden> wrote:
>
>  > While writing more tests for libgd, I was trying to figure out a way
>  > to test Freetype rendering result on various operating system and
>  > configuration. It looks like a hard task.
>  >
>  > Is there some work already done in this area? like generate a set of
>  > reference images for each (possible) mode . To be able to test only
>  > a single glyph can already be very helpful. Any suggestions or tips
>  > are obviously welcome :)
>
>  I'm not aware of any such programs, but it's not completely clear to
>  me what you actually want to test.  Rendering into a file and
>  comparing the results shouldn't be too difficult, but obviously you
>  have something different in mind.

I don't have something different in mind. The comparison itself is
very easy. The issue I have is about the different results depending
on the freetype version or settings. The result may differ slightly
making image comparison somehow useless. What I can try is to detect
the freetype version and how it is built and change the default
settings when necessary or when possible. Alternatively it is possible
to create different images for each supported version/platform, but I
would prefer another solution.


-- 
Pierre
http://blog.thepimp.net | http://www.libgd.org




reply via email to

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