From 75e56be1837552e7daba47e6fb00f67c5d8018c6 Mon Sep 17 00:00:00 2001 From: Aronsoyol Date: Mon, 28 Sep 2015 11:25:43 +0900 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8Mac=E4=B8=8A=E5=8F=AA=E6=9C=89CJK?= =?UTF-8?q?=E5=AD=97=E4=BD=93=E7=9A=84Vertical=E6=89=8D=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E6=98=AFtrue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0c7290a3554af3f8ba39d0aee66c60ce98f26611 --- vcl/source/outdev/font.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx index a7f8ab9..904b7a4 100644 --- a/vcl/source/outdev/font.cxx +++ b/vcl/source/outdev/font.cxx @@ -1055,6 +1055,9 @@ FontSelectPatternAttributes::FontSelectPatternAttributes( const vcl::Font& rFont rFont.GetFontAttributes( *this ); + bool isCJK = meLanguage == rFont.GetCJKContextLanguage(); + mbVertical = rFont.IsVertical() && isCJK; + // normalize orientation between 0 and 3600 if( 3600 <= (unsigned)mnOrientation ) { -- 2.2.1