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
01cadc8f
Kaydet (Commit)
01cadc8f
authored
Eyl 17, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Related: rhbz#857860 enable ligatures and kerning only when requested
Change-Id: I8c4d9744c9a8704fbb7de5670933f2229f710fce
üst
d5e15c63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
gcach_layout.cxx
vcl/generic/glyphs/gcach_layout.cxx
+7
-1
No files found.
vcl/generic/glyphs/gcach_layout.cxx
Dosyayı görüntüle @
01cadc8f
...
...
@@ -311,6 +311,12 @@ static bool lcl_CharIsJoiner(sal_Unicode cChar)
bool
IcuLayoutEngine
::
layout
(
ServerFontLayout
&
rLayout
,
ImplLayoutArgs
&
rArgs
)
{
le_int32
nLayoutFlags
=
0
;
if
(
rArgs
.
mnFlags
&
SAL_LAYOUT_KERNING_PAIRS
)
nLayoutFlags
|=
LayoutEngine
::
kTypoFlagKern
;
if
(
rArgs
.
mnFlags
&
SAL_LAYOUT_ENABLE_LIGATURES
)
nLayoutFlags
|=
LayoutEngine
::
kTypoFlagLiga
;
LEUnicode
*
pIcuChars
;
if
(
sizeof
(
LEUnicode
)
==
sizeof
(
*
rArgs
.
mpStr
)
)
pIcuChars
=
(
LEUnicode
*
)
rArgs
.
mpStr
;
...
...
@@ -371,7 +377,7 @@ bool IcuLayoutEngine::layout(ServerFontLayout& rLayout, ImplLayoutArgs& rArgs)
delete
mpIcuLE
;
meScriptCode
=
eScriptCode
;
le_int32
eLangCode
=
0
;
// TODO: get better value
mpIcuLE
=
LayoutEngine
::
layoutEngineFactory
(
&
maIcuFont
,
eScriptCode
,
eLangCode
,
rcIcu
);
mpIcuLE
=
LayoutEngine
::
layoutEngineFactory
(
&
maIcuFont
,
eScriptCode
,
eLangCode
,
nLayoutFlags
,
rcIcu
);
if
(
LE_FAILURE
(
rcIcu
)
)
{
delete
mpIcuLE
;
...
...
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