Fix ChangeLog. Formatting.

This commit is contained in:
Werner Lemberg 2003-11-28 22:01:02 +00:00
parent a77f713db5
commit b8bae640cd
2 changed files with 9 additions and 8 deletions

View File

@ -1,7 +1,8 @@
2003-11-27 David Turner <david@freetype.org> 2003-11-27 David Turner <david@freetype.org>
* src/pfr/pfrdrivr.c (pfr_get_metrics): reverting to previous * src/pfr/pfrdrivr.c (pfr_get_metrics): Revert incorrect change of
behaviour. Werner's "fix" was incorrect !! 2003-11-23: For PFR fonts, metrics->x_scale and metrics->y_scale are
the scaling values for outline units, not for metric units.
2003-11-25 Werner Lemberg <wl@gnu.org> 2003-11-25 Werner Lemberg <wl@gnu.org>

View File

@ -62,12 +62,12 @@
static FT_Error static FT_Error
pfr_get_advance( PFR_Face face, pfr_get_advance( PFR_Face face,
FT_UInt gindex, FT_UInt gindex,
FT_Pos *aadvance ) FT_Pos *anadvance )
{ {
FT_Error error = PFR_Err_Bad_Argument; FT_Error error = PFR_Err_Bad_Argument;
*aadvance = 0; *anadvance = 0;
if ( face ) if ( face )
{ {
PFR_PhyFont phys = &face->phy_font; PFR_PhyFont phys = &face->phy_font;
@ -75,7 +75,7 @@
if ( gindex < phys->num_chars ) if ( gindex < phys->num_chars )
{ {
*aadvance = phys->chars[gindex].advance; *anadvance = phys->chars[gindex].advance;
error = 0; error = 0;
} }
} }
@ -86,7 +86,7 @@
static FT_Error static FT_Error
pfr_get_metrics( PFR_Face face, pfr_get_metrics( PFR_Face face,
FT_UInt *aoutline_resolution, FT_UInt *anoutline_resolution,
FT_UInt *ametrics_resolution, FT_UInt *ametrics_resolution,
FT_Fixed *ametrics_x_scale, FT_Fixed *ametrics_x_scale,
FT_Fixed *ametrics_y_scale ) FT_Fixed *ametrics_y_scale )
@ -96,8 +96,8 @@
FT_Size size = face->root.size; FT_Size size = face->root.size;
if ( aoutline_resolution ) if ( anoutline_resolution )
*aoutline_resolution = phys->outline_resolution; *anoutline_resolution = phys->outline_resolution;
if ( ametrics_resolution ) if ( ametrics_resolution )
*ametrics_resolution = phys->metrics_resolution; *ametrics_resolution = phys->metrics_resolution;