Fix last PFR change.
* src/pfr/pfrobjs.c (pfr_face_init): Fix rejection logic.
This commit is contained in:
parent
7d91173643
commit
82ad8ab242
|
@ -1,3 +1,9 @@
|
|||
2010-06-26 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix last PFR change.
|
||||
|
||||
* src/pfr/pfrobjs.c (pfr_face_init): Fix rejection logic.
|
||||
|
||||
2010-06-26 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix Savannah bug #30262.
|
||||
|
|
|
@ -146,11 +146,10 @@
|
|||
if ( phy_font->chars[nn].gps_offset != 0 )
|
||||
break;
|
||||
|
||||
if ( phy_font->num_strikes > 0 )
|
||||
{
|
||||
if ( nn == phy_font->num_chars )
|
||||
{
|
||||
if ( phy_font->num_strikes > 0 )
|
||||
pfrface->face_flags = 0; /* not scalable */
|
||||
}
|
||||
else
|
||||
{
|
||||
FT_ERROR(( "pfr_face_init: font doesn't contain glyphs\n" ));
|
||||
|
@ -158,6 +157,7 @@
|
|||
goto Exit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( (phy_font->flags & PFR_PHY_PROPORTIONAL) == 0 )
|
||||
pfrface->face_flags |= FT_FACE_FLAG_FIXED_WIDTH;
|
||||
|
|
Loading…
Reference in New Issue