freetype-devel
[Top][All Lists]
Advanced

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

[Devel] Fwd: Bug#179450: FreeType 2.1.4rc1: Misaligned font spacing/sizi


From: Anthony Fok
Subject: [Devel] Fwd: Bug#179450: FreeType 2.1.4rc1: Misaligned font spacing/sizing
Date: Thu, 13 Feb 2003 02:32:03 +0800
User-agent: Mutt/1.5.3i

[Hurray!  The FreeType mailing lists are back up and running again!
 Portion of this message was originally sent on February 3, 2003.]

Hello,

The latest FreeType CVS (as of 2003-01-31, which I just realized today
(2003-02-13) that it is 2.1.4rc1) appears to have deteriorated
bytecode-enabled rendering.  Latin text (e.g. those from Times News
Roman, Andale Mono, etc.) looks a bit weird, but by the time I noticed
it (on my CRT monitor with non-sub-pixel rendering), I had already
uploaded it to Debian unstable.  Oh well.  :-)

Anyhow, as expected, other Debian users noticed the difference and
filed a bug report, with screenshots and all.

  2.1.3-8 = CVS update as of 2003-01-31, bytecode interpreter on.

  2.1.3-7 = CVS update as of 2003-01-22, with David Chester's latest
            bluescale2 patch (2003-01-23 on the devel mailing list);
            bytecode interpreter on.

It seems to be caused by this segment in src/ftobjs.c:

    #ifdef FT_CONFIG_CHESTER_BLUE_SCALE
        dim_x = ( char_width  * horz_resolution ) / 72;
        dim_y = ( char_height * vert_resolution ) / 72;
    
        metrics->x_ppem = (FT_UShort)( (dim_x+32) >> 6 );
        metrics->y_ppem = (FT_UShort)( (dim_y+32) >> 6 );
    #else
        dim_x = ( ( ( char_width  * horz_resolution ) / 72 ) + 32 ) & -64;
        dim_y = ( ( ( char_height * vert_resolution ) / 72 ) + 32 ) & -64;
    
        metrics->x_ppem  = (FT_UShort)( dim_x >> 6 );
        metrics->y_ppem  = (FT_UShort)( dim_y >> 6 );
    #endif

This would work fine with autohinted glyphs, but not for
bytecode-interpreter hinted ones.

Thanks in advance!

Anthony

----- Forwarded message from Matt Biddulph <address@hidden> -----

Date: Sun, 2 Feb 2003 11:55:24 +0000
From: address@hidden (Matt Biddulph)
Subject: Bug#179450: libfreetype6: Misaligned font spacing/sizing

Package: libfreetype6
Version: 2.1.3-8
Severity: important
Tags: sid
 
Between 2.1.3-7 and 2.1.3-8, it appears that horizontal font sizing and
spacing got broken. These galeon screenshots show the problem:
 
http://www.picdiary.com/~mattb/misc/freetype-8.png
http://www.picdiary.com/~mattb/misc/freetype-7.png
 
Look for example at the word 'declared' - the letter 'e' is too thin and
has too much whitespace on the right.

I have subpixel rendering in "rgb" mode enabled.
 
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux cat 2.4.20 #2 Sat Jan 25 15:20:00 GMT 2003 i686
Locale: LANG=C, LC_CTYPE=C
 
Versions of packages libfreetype6 depends on:
ii  libc6                         2.3.1-10   GNU C Library: Shared libraries an
ii  zlib1g                        1:1.1.4-9  compression library - runtime

----- End forwarded message -----

-- 
Anthony Fok Tung-Ling
ThizLinux Laboratory   <address@hidden> http://www.thizlinux.com/
Debian Chinese Project <address@hidden>       http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp!           http://www.olvc.ab.ca/



reply via email to

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