Regression test for non-Latin character rendering

Pavel Tisnovsky ptisnovs at redhat.com
Mon Nov 1 05:03:01 PDT 2010


Pavel Tisnovsky wrote:
> Hi all,
> 
> I created regression test (reproducer) for RH bug
> https://bugzilla.redhat.com/show_bug.cgi?id=643674
> 
> This regression test checks if all required fonts are properly installed
> and that *.src.properties font configuration file is correct for given
> system (Debian, Fedora, Ubuntu, SuSE...). The test is based on rendering
> certain characters from selected code pages into BufferedImage.
> 
> When the required font does not exists or font configuration is broken
> in any way, only empty rectangle is rendered instead of the selected
> character shape. This rectangle is filtered and then the destination
> image is tested whether it is empty or almost empty (ie if it contains
> only white area). White area means that selected character is not
> correctly rendered and vice versa.
> 
> If test images with rendered characters needs to be created, please use
> the following flag:
> 
> -create-images
> 
> (name of each image start with character code)
> 
> Is it ok to push this test (as patch) to IcedTea6 HEAD?
> 
> (I'd like to push it to OpenJDK6 & OpenJDK7, but it takes some time to
> get approved...)
> 
> Cheers,
> Pavel
> 

Hi,

I would also like to add one thing: diffstat for IcedTea6 HEAD is stored
in attachment (in hg export format).

Cheers,
Pavel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hg_export
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20101101/5d7eb4f0/hg_export.ksh 


More information about the distro-pkg-dev mailing list