diff options
author | marha <marha@users.sourceforge.net> | 2014-09-08 23:42:34 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-09-08 23:46:56 +0200 |
commit | d0f70707dde032e662dbd5bc70df6ac915403abe (patch) | |
tree | 19a595625f8cdedc3662a8638f65451208103dfd /libXfont/src/fontfile/fontscale.c | |
parent | cb346e228aeb500cd61ec86644c034c238332d3b (diff) | |
download | vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.tar.gz vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.tar.bz2 vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.zip |
Updated to libXfont 1.5.0
Diffstat (limited to 'libXfont/src/fontfile/fontscale.c')
-rw-r--r-- | libXfont/src/fontfile/fontscale.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libXfont/src/fontfile/fontscale.c b/libXfont/src/fontfile/fontscale.c index 55aca298a..a21802ff8 100644 --- a/libXfont/src/fontfile/fontscale.c +++ b/libXfont/src/fontfile/fontscale.c @@ -35,7 +35,7 @@ in this Software without prior written authorization from The Open Group. #include <math.h> Bool -FontFileAddScaledInstance (FontEntryPtr entry, FontScalablePtr vals, +FontFileAddScaledInstance (FontEntryPtr entry, FontScalablePtr vals, FontPtr pFont, char *bitmapName) { FontScalableEntryPtr scalable; @@ -75,7 +75,7 @@ FontFileSwitchStringsToBitmapPointers (FontDirectoryPtr dir) FontEntryPtr nonScalable; FontScaledPtr scaled; FontScalableExtraPtr extra; - + scalable = dir->scalable.entries; nonScalable = dir->nonScalable.entries; for (s = 0; s < dir->scalable.used; s++) @@ -373,12 +373,12 @@ MatchScalable (FontScalablePtr a, FontScalablePtr b) a->ranges[i].max_char_low != b->ranges[i].max_char_low || a->ranges[i].max_char_high != b->ranges[i].max_char_high) return FALSE; - + return TRUE; } FontScaledPtr -FontFileFindScaledInstance (FontEntryPtr entry, FontScalablePtr vals, +FontFileFindScaledInstance (FontEntryPtr entry, FontScalablePtr vals, int noSpecificSize) { FontScalableEntryPtr scalable; |