[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Problem in Type1 hinter
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Problem in Type1 hinter |
Date: |
Wed, 29 Mar 2006 05:08:55 +0200 (CEST) |
> Look at this code from pshalgo.c from ps_hints_apply method:
>
> if (scaled != fitted ) {
> y_scale = FT_MulDiv( y_scale, fitted, scaled );
>
> if ( fitted < scaled )
> x_scale -= x_scale / 50;
>
> psh_globals_set_scale( glyph->globals, x_scale, y_scale, 0, 0 );
> }
>
> Problem is that x_scale change is preserved across calling
> FT_Load_Glyph, so more you call it characters becoming thinner.
Can you provide a patch, please?
> It happened for example in BellGothic-Light Type1 font in 300 DPI at
> 10pt (I can send font on request).
Please do so.
Werner