FontDescription.IsVertical is a tristate
found by still in progress "UNO scoped enum" change Change-Id: I0a21b89e77be165bc96e914017a402cf8724d218 Reviewed-on: https://gerrit.libreoffice.org/34719 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -39,7 +39,6 @@
|
||||
|
||||
#include <basegfx/tools/canvastools.hxx>
|
||||
#include <canvas/canvastools.hxx>
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "textaction.hxx"
|
||||
@@ -331,7 +330,7 @@ namespace cppcanvas
|
||||
if( rSubset.mnSubsetBegin > 0 )
|
||||
{
|
||||
::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
|
||||
aTranslation.translate( 0.0, nMinPos );
|
||||
|
Reference in New Issue
Block a user