* src/pfr/pfrgload.c (pfr_glyph_load_compound): fixing a small composite

glyph loader bug that caused accents to be misplaced in a number of
    glyphs..
This commit is contained in:
David Turner 2002-06-22 09:36:53 +00:00
parent a0d8abf98d
commit 37b263e93a
2 changed files with 15 additions and 8 deletions

View File

@ -1,9 +1,15 @@
2002-06-22 Detlef Würkner <TetiSoft@apg.lahn.de>
* src/pfr/pfrgload.c (pfr_glyph_load_compound): fixing a small composite
glyph loader bug that caused accents to be misplaced in a number of
glyphs..
2002-06-21 Sven Neuman <sven@convergence.de> 2002-06-21 Sven Neuman <sven@convergence.de>
* src/pfr/pfrobjs.h, src/pfr/pfrobjs.c, src/pfr/pfrload.c, * src/pfr/pfrobjs.h, src/pfr/pfrobjs.c, src/pfr/pfrload.c,
src/pfr/pfrtypes.h: adding Kerning support to the PFR driver src/pfr/pfrtypes.h: adding Kerning support to the PFR driver
* README, docs/CHANGES: preparing for the 2.1.2 release * README, docs/CHANGES: preparing for the 2.1.2 release
2002-06-19 Detlef Würkner <TetiSoft@apg.lahn.de> 2002-06-19 Detlef Würkner <TetiSoft@apg.lahn.de>

View File

@ -298,7 +298,7 @@
PFR_CHECK( 1 ); PFR_CHECK( 1 );
mask = PFR_NEXT_BYTE( p ); mask = PFR_NEXT_BYTE( p );
} }
if ( mask & 1 ) if ( mask & 1 )
{ {
PFR_CHECK( 2 ); PFR_CHECK( 2 );
@ -309,7 +309,7 @@
PFR_CHECK( 1 ); PFR_CHECK( 1 );
x += PFR_NEXT_BYTE( p ); x += PFR_NEXT_BYTE( p );
} }
glyph->x_control[i] = x; glyph->x_control[i] = x;
mask >>= 1; mask >>= 1;
@ -577,14 +577,15 @@
} }
subglyph = glyph->subs + org_count; subglyph = glyph->subs + org_count;
x_pos = 0;
y_pos = 0;
for ( i = 0; i < count; i++, subglyph++ ) for ( i = 0; i < count; i++, subglyph++ )
{ {
FT_UInt format; FT_UInt format;
x_pos = 0;
y_pos = 0;
PFR_CHECK( 1 ); PFR_CHECK( 1 );
format = PFR_NEXT_BYTE( p ); format = PFR_NEXT_BYTE( p );
@ -635,7 +636,7 @@
default: default:
; ;
} }
subglyph->x_delta = x_pos; subglyph->x_delta = x_pos;
subglyph->y_delta = y_pos; subglyph->y_delta = y_pos;