[cairo] font to use for tests

Behdad Esfahbod behdad at behdad.org
Tue May 15 09:34:25 EEST 2007


On Sun, 2007-05-13 at 15:08 -0400, Peter Weilbacher wrote:
> Dave and I have been fiddling around with the tests on OS/2 again. Most
> of them seem to work fine and give PASS but the ones that use text all
> FAIL with cairo 1.4.6. The problem is that the font used (Bitstream Vera
> Sans in most cases) appears to be wider for us than in the reference
> images.
> 
> The test(s?) where serif fonts are used work fine. This can be seen
> in select-font-face. The leftmost part with serifs is empty in the diff
> image but non-empty where the sans part starts... The wider font also
> has the effect in many cases that the test text doesn't actually fit into
> the test image.

Weird.  It may have something with your version of freetype.  What are
you using?  And, with patented bytecode interpreter enabled?  This last
one should not have the effect you describe though.

behdad


> I downloaded and installed the fonts from
>    http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/
> Should I use another package? What else could influence the width of
> the sans (and sans mono) characters?
> 
> Cheers,
>    Peter.

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list