diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-07-05 18:37:35 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-07-06 10:47:30 +0200 |
commit | e2320955b32595df09c9c4412ccec56a0b273df7 (patch) | |
tree | 267899466b4be7f3a36473ff55ac0229685b220a /vcl | |
parent | df8589bd49d7eb1bb42ae78abcb91d33cf9255ce (diff) |
Some cleanup and comments
Change-Id: Ic1dda9b0e5d7896703b65d0d43be340196bcb871
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/fontselect.hxx | 2 | ||||
-rw-r--r-- | vcl/source/font/fontcache.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/fontselect.hxx b/vcl/inc/fontselect.hxx index efb88ad74ae1..fd453a0d5f54 100644 --- a/vcl/inc/fontselect.hxx +++ b/vcl/inc/fontselect.hxx @@ -59,7 +59,7 @@ public: int mnWidth; // width of font in pixel units int mnHeight; // height of font in pixel units float mfExactHeight; // requested height (in pixels with subpixel details) - int mnOrientation; // text orientation in 3600 system + int mnOrientation; // text orientation in 1/10 degree (0-3600) LanguageType meLanguage; // text language bool mbVertical; // vertical mode of requested font bool mbNonAntialiased; // true if antialiasing is disabled diff --git a/vcl/source/font/fontcache.cxx b/vcl/source/font/fontcache.cxx index a58d9b6931f2..333bc8415c08 100644 --- a/vcl/source/font/fontcache.cxx +++ b/vcl/source/font/fontcache.cxx @@ -48,7 +48,7 @@ bool ImplFontCache::IFSD_Equal::operator()(const FontSelectPattern& rA, const Fo return false; // check font face attributes - if( (rA.GetWeight() != rB.GetWeight()) + if( (rA.GetWeight() != rB.GetWeight()) || (rA.GetItalic() != rB.GetItalic()) // || (rA.meFamily != rB.meFamily) // TODO: remove this mostly obsolete member || (rA.GetPitch() != rB.GetPitch()) ) |