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
d13e9bac
Kaydet (Commit)
d13e9bac
authored
Kas 28, 2011
tarafından
Khaled Hosny
Kaydeden (comit)
Thorsten Behrens
Kas 28, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix Kashida justification when there is no Kashida glyph
üst
dabe836c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
itradj.cxx
sw/source/core/text/itradj.cxx
+4
-0
gcach_ftyp.cxx
vcl/generic/glyphs/gcach_ftyp.cxx
+0
-1
No files found.
sw/source/core/text/itradj.cxx
Dosyayı görüntüle @
d13e9bac
...
@@ -164,6 +164,10 @@ bool lcl_CheckKashidaPositions( SwScriptInfo& rSI, SwTxtSizeInfo& rInf, SwTxtIte
...
@@ -164,6 +164,10 @@ bool lcl_CheckKashidaPositions( SwScriptInfo& rSI, SwTxtSizeInfo& rInf, SwTxtIte
xub_StrLen
nKashidasInAttr
=
rSI
.
KashidaJustify
(
0
,
0
,
nIdx
,
nNext
-
nIdx
);
xub_StrLen
nKashidasInAttr
=
rSI
.
KashidaJustify
(
0
,
0
,
nIdx
,
nNext
-
nIdx
);
if
(
nKashidasInAttr
)
if
(
nKashidasInAttr
)
{
{
// Kashida glyph looks suspicious, skip Kashida justification
if
(
rInf
.
GetOut
()
->
GetMinKashida
()
<=
0
)
return
false
;
xub_StrLen
nKashidasDropped
=
0
;
xub_StrLen
nKashidasDropped
=
0
;
if
(
!
SwScriptInfo
::
IsArabicText
(
rInf
.
GetTxt
(),
nIdx
,
nNext
-
nIdx
)
)
if
(
!
SwScriptInfo
::
IsArabicText
(
rInf
.
GetTxt
(),
nIdx
,
nNext
-
nIdx
)
)
{
{
...
...
vcl/generic/glyphs/gcach_ftyp.cxx
Dosyayı görüntüle @
d13e9bac
...
@@ -1097,7 +1097,6 @@ void ServerFont::FetchFontMetric( ImplFontMetricData& rTo, long& rFactor ) const
...
@@ -1097,7 +1097,6 @@ void ServerFont::FetchFontMetric( ImplFontMetricData& rTo, long& rFactor ) const
// initialize kashida width
// initialize kashida width
// TODO: what if there are different versions of this glyph available
// TODO: what if there are different versions of this glyph available
rTo
.
mnMinKashida
=
rTo
.
mnAscent
/
4
;
// a reasonable default
const
int
nKashidaGlyphId
=
GetRawGlyphIndex
(
0x0640
);
const
int
nKashidaGlyphId
=
GetRawGlyphIndex
(
0x0640
);
if
(
nKashidaGlyphId
)
if
(
nKashidaGlyphId
)
{
{
...
...
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