diff options
author | marha <marha@users.sourceforge.net> | 2009-10-11 19:27:48 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-10-11 19:27:48 +0000 |
commit | d36223b06a859c5979253d0176adfaeadc10cb32 (patch) | |
tree | de85a6072aae048506ebab0dba2e7c4588132412 /libXfont/src/fontfile/fontdir.c | |
parent | 6b4cfac5a67f87884a525ce2c99f30e0060b3ca7 (diff) | |
parent | e4bc1b2bff00254f5782928d5b7b15b4db2e774c (diff) | |
download | vcxsrv-d36223b06a859c5979253d0176adfaeadc10cb32.tar.gz vcxsrv-d36223b06a859c5979253d0176adfaeadc10cb32.tar.bz2 vcxsrv-d36223b06a859c5979253d0176adfaeadc10cb32.zip |
svn merge ^/branches/released .
Diffstat (limited to 'libXfont/src/fontfile/fontdir.c')
-rw-r--r-- | libXfont/src/fontfile/fontdir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libXfont/src/fontfile/fontdir.c b/libXfont/src/fontfile/fontdir.c index 1a797823d..b820c50b2 100644 --- a/libXfont/src/fontfile/fontdir.c +++ b/libXfont/src/fontfile/fontdir.c @@ -747,10 +747,11 @@ FontFileAddFontFile (FontDirectoryPtr dir, char *fontName, char *fileName) { FontResolutionPtr resolution; int num; + int default_point_size = GetDefaultPointSize(); extra->defaults.point_matrix[0] = extra->defaults.point_matrix[3] = - (double)GetDefaultPointSize() / 10.0; + (double)default_point_size / 10.0; extra->defaults.point_matrix[1] = extra->defaults.point_matrix[2] = 0.0; extra->defaults.values_supplied = |