Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
89093f50
Kaydet (Commit)
89093f50
authored
Eyl 18, 2013
tarafından
Zolnai Tamás
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix RTL character border
Change-Id: I9cad3f7689e5badafb7fe2cd3f707e3f226c9725
üst
e90982f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
13 deletions
+20
-13
inftxt.cxx
sw/source/core/text/inftxt.cxx
+20
-13
No files found.
sw/source/core/text/inftxt.cxx
Dosyayı görüntüle @
89093f50
...
...
@@ -642,20 +642,27 @@ void SwTxtPaintInfo::_DrawText( const OUString &rText, const SwLinePortion &rPor
if
(
!
static_cast
<
const
SwTxtPortion
&>
(
rPor
).
GetJoinBorderWithPrev
()
)
{
const
sal_uInt16
nLeftBorderSpace
=
m_pFnt
->
GetLeftBorderSpace
();
switch
(
m_pFnt
->
GetOrientation
(
GetTxtFrm
()
->
IsVertical
()
)
)
if
(
GetTxtFrm
()
->
IsRightToLeft
(
)
)
{
case
0
:
aFontPos
.
X
()
+=
nLeftBorderSpace
;
break
;
case
900
:
aFontPos
.
Y
()
-=
nLeftBorderSpace
;
break
;
case
1800
:
aFontPos
.
X
()
-=
nLeftBorderSpace
;
break
;
case
2700
:
aFontPos
.
Y
()
+=
nLeftBorderSpace
;
break
;
aFontPos
.
X
()
-=
nLeftBorderSpace
;
}
else
{
switch
(
m_pFnt
->
GetOrientation
(
GetTxtFrm
()
->
IsVertical
())
)
{
case
0
:
aFontPos
.
X
()
+=
nLeftBorderSpace
;
break
;
case
900
:
aFontPos
.
Y
()
-=
nLeftBorderSpace
;
break
;
case
1800
:
aFontPos
.
X
()
-=
nLeftBorderSpace
;
break
;
case
2700
:
aFontPos
.
Y
()
+=
nLeftBorderSpace
;
break
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment