Kaydet (Commit) e4f6db9e authored tarafından Noel Grandin's avatar Noel Grandin

FontDescription.IsVertical is a tristate

found by still in progress "UNO scoped enum" change

Change-Id: I0a21b89e77be165bc96e914017a402cf8724d218
Reviewed-on: https://gerrit.libreoffice.org/34719Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 563e5665
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#include <basegfx/tools/canvastools.hxx> #include <basegfx/tools/canvastools.hxx>
#include <canvas/canvastools.hxx> #include <canvas/canvastools.hxx>
#include <memory> #include <memory>
#include "textaction.hxx" #include "textaction.hxx"
...@@ -331,7 +330,7 @@ namespace cppcanvas ...@@ -331,7 +330,7 @@ namespace cppcanvas
if( rSubset.mnSubsetBegin > 0 ) if( rSubset.mnSubsetBegin > 0 )
{ {
::basegfx::B2DHomMatrix aTranslation; ::basegfx::B2DHomMatrix aTranslation;
if( rOrigTextLayout->getFont()->getFontRequest().FontDescription.IsVertical ) if( rOrigTextLayout->getFont()->getFontRequest().FontDescription.IsVertical == css::util::TriState_YES )
{ {
// vertical text -> offset in y direction // vertical text -> offset in y direction
aTranslation.translate( 0.0, nMinPos ); aTranslation.translate( 0.0, nMinPos );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment