diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-19 12:19:39 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-19 12:24:49 +1000 |
commit | 891e6a0be8e835edb102ecb272debe9c4e00b8e8 (patch) | |
tree | 4db5422ca026349bd02eb2b24e5f7435f5f7beb3 /vcl/source/gdi | |
parent | 9ef07c55bc2803423e6b79aa45f9a1b44eb59c63 (diff) |
fdo#74702 Allow Printer & OutputDevice to handle font orientation
Printer handles setting font orientation differently to how a Window
or VirtualDevice handles it.
Change-Id: I2903b971651fe56f8d262d3467e76baef617455c
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r-- | vcl/source/gdi/print.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index b741faab3c7e..12a0638ffb2c 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -1834,4 +1834,10 @@ void Printer::InitFont() const mbInitFont = false; } } + +void Printer::SetFontOrientation( ImplFontEntry* const pFontEntry ) const +{ + pFontEntry->mnOrientation = pFontEntry->maMetric.mnOrientation; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |