1. mst
  2. ooo340

Commits

hdu  committed 4ef3e94

#i64508# rename class ImplFontHints to ImplFontOptions
as the class already contains embedded-bitmap settings
and could/should be extended for other platform specific font options

  • Participants
  • Parent commits a7a50fc
  • Branches default

Comments (0)

Files changed (1)

File vcl/inc/vcl/impfont.hxx

View file
 // - ImplFontHints -
 // ------------------
 
-class ImplFontHints
+class ImplFontOptions
 {
 public:
     FontEmbeddedBitmap meEmbeddedBitmap; // whether the embedded bitmaps should be used
     FontHinting        meHinting;        // whether the font should be hinted
     FontHintStyle      meHintStyle;      // type of font hinting to be used
 public:
-    ImplFontHints() :
+    ImplFontOptions() :
         meEmbeddedBitmap(EMBEDDEDBITMAP_DONTKNOW), 
         meAntiAlias(ANTIALIAS_DONTKNOW), 
         meAutoHint(AUTOHINT_DONTKNOW), 
         meHinting(HINTING_DONTKNOW), 
         meHintStyle(HINT_SLIGHT)
     {}
-    ImplFontHints(FontEmbeddedBitmap eEmbeddedBitmap, FontAntiAlias eAntiAlias, 
+    ImplFontOptions( FontEmbeddedBitmap eEmbeddedBitmap, FontAntiAlias eAntiAlias, 
         FontAutoHint eAutoHint, FontHinting eHinting, FontHintStyle eHintStyle) :
         meEmbeddedBitmap(eEmbeddedBitmap), 
         meAntiAlias(eAntiAlias), 
     bool DontUseHinting() const { return (meHinting == HINTING_FALSE) || (GetHintStyle() == HINT_NONE); }
 };
 
-
 // -------------------
 // - ImplFontCharMap -
 // -------------------