diff options
author | Herbert Duerr <hdu@openoffice.org> | 2002-10-29 12:16:59 +0000 |
---|---|---|
committer | Herbert Duerr <hdu@openoffice.org> | 2002-10-29 12:16:59 +0000 |
commit | 38fd61e666c07a60dc52fcdfd6062c796a1554c9 (patch) | |
tree | 6989f222b7c5ca96bc0e94ecca621bc4a084f5e4 /vcl/unx | |
parent | 6b6022b0ce7328d35820b7d760a710e3a92ddbdd (diff) |
#102193# correctly initialize font fallbacks
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/source/gdi/salgdi.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/vcl/unx/source/gdi/salgdi.cxx b/vcl/unx/source/gdi/salgdi.cxx index 949bc5f3ce9f..42893d3a93c7 100644 --- a/vcl/unx/source/gdi/salgdi.cxx +++ b/vcl/unx/source/gdi/salgdi.cxx @@ -2,9 +2,9 @@ * * $RCSfile: salgdi.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: ssa $ $Date: 2002-08-29 16:35:18 $ + * last change: $Author: hdu $ $Date: 2002-10-29 13:16:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -149,9 +149,12 @@ SalGraphicsData::SalGraphicsData() nPenColor_ = MAKE_SALCOLOR( 0x00, 0x00, 0x00 ); // Black pFontGC_ = NULL; -// xFont_ = NULL; - mpServerSideFont = NULL; - mpSrvFallbackFont = NULL; + for( int i = 0; i < MAX_FALLBACK; ++i ) + { + mXFont[i] = NULL; + mpServerFont[i] = NULL; + } + aScale_ = Fraction( 1, 1 ); nTextPixel_ = 0; nTextColor_ = MAKE_SALCOLOR( 0x00, 0x00, 0x00 ); // Black |