aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src/fontfile/fontdir.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-10-11 18:59:59 +0000
committermarha <marha@users.sourceforge.net>2009-10-11 18:59:59 +0000
commite4bc1b2bff00254f5782928d5b7b15b4db2e774c (patch)
tree9bcc1cad2fa55b8ae22d94cfbaf2a2487041fcd8 /libXfont/src/fontfile/fontdir.c
parent026bf5d0c0bbcc109bfe2b2c58fc930a2e42753e (diff)
downloadvcxsrv-e4bc1b2bff00254f5782928d5b7b15b4db2e774c.tar.gz
vcxsrv-e4bc1b2bff00254f5782928d5b7b15b4db2e774c.tar.bz2
vcxsrv-e4bc1b2bff00254f5782928d5b7b15b4db2e774c.zip
Updated following packages:
encodings-1.0.3 font-adobe-75dpi-1.0.1 font-adobe-100dpi-1.0.1 font-adobe-utopia-75dpi-1.0.2 font-adobe-utopia-100dpi-1.0.2 font-adobe-utopia-type1-1.0.2 font-alias-1.0.2 font-arabic-misc-1.0.1 font-bh-75dpi-1.0.1 font-bh-100dpi-1.0.1 font-bh-lucidatypewriter-75dpi-1.0.1 font-bh-lucidatypewriter-100dpi-1.0.1 font-bh-ttf-1.0.1 font-bh-type1-1.0.1 font-bitstream-75dpi-1.0.1 font-bitstream-100dpi-1.0.1 font-bitstream-speedo-1.0.1 font-bitstream-type1-1.0.1 font-cronyx-cyrillic-1.0.1 font-cursor-misc-1.0.1 font-daewoo-misc-1.0.1 font-dec-misc-1.0.1 font-ibm-type1-1.0.1 font-isas-misc-1.0.1 font-jis-misc-1.0.1 font-micro-misc-1.0.1 font-misc-cyrillic-1.0.1 font-misc-ethiopic-1.0.1 font-misc-meltho-1.0.1 font-misc-misc-1.1.0 font-mutt-misc-1.0.1 font-schumacher-misc-1.1.0 font-screen-cyrillic-1.0.2 font-sony-misc-1.0.1 font-sun-misc-1.0.1 font-util-1.1.0 font-winitzki-cyrillic-1.0.1 font-xfree86-type1-1.0.2 libXfont-1.4.1 mkfontscale-1.0.7
Diffstat (limited to 'libXfont/src/fontfile/fontdir.c')
-rw-r--r--libXfont/src/fontfile/fontdir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libXfont/src/fontfile/fontdir.c b/libXfont/src/fontfile/fontdir.c
index 8b446a975..70f1b0f44 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 =