diff options
-rw-r--r-- | vcl/inc/salglyphid.hxx | 8 | ||||
-rw-r--r-- | vcl/win/gdi/winlayout.cxx | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/vcl/inc/salglyphid.hxx b/vcl/inc/salglyphid.hxx index 6d5480e61130..8047d505698c 100644 --- a/vcl/inc/salglyphid.hxx +++ b/vcl/inc/salglyphid.hxx @@ -22,14 +22,6 @@ typedef sal_uInt32 sal_GlyphId; // Glyph Flags -#ifdef _WIN32 -// caution !!! -#define GF_VERT 0x02000000 -// GF_VERT is only for windows implementation -// (win/gdi/salgdi3.cxx, win/gdi/winlayout.cxx) -// don't use this elsewhere !!! -#endif - #define GF_FONTMASK 0xF0000000 #define GF_FONTSHIFT 28 diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index 708c931b0e05..d0d96157e246 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -296,7 +296,7 @@ bool ExTextOutRenderer::operator ()(SalLayout const &rLayout, HDC hDC, bGlyphs = true; WORD glyphWStr[] = { pGlyph->maGlyphId }; if (pGlyph->IsVertical()) - glyphWStr[0] |= GF_VERT; + glyphWStr[0] |= 0x02000000; // A (undocumented?) GDI flag for vertical glyphs ExtTextOutW(hDC, pPos->X(), pPos->Y(), ETO_GLYPH_INDEX, nullptr, LPCWSTR(&glyphWStr), 1, nullptr); } |