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
14a21956
Kaydet (Commit)
14a21956
authored
Agu 21, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tweak config-less load path
Change-Id: I1281f7df86e03cd5c9f646232637aeaa66d108ad
üst
2c387e20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
PhysicalFontCollection.cxx
vcl/source/font/PhysicalFontCollection.cxx
+13
-9
No files found.
vcl/source/font/PhysicalFontCollection.cxx
Dosyayı görüntüle @
14a21956
...
@@ -1237,17 +1237,21 @@ PhysicalFontFamily* PhysicalFontCollection::ImplFindByFont( FontSelectPattern& r
...
@@ -1237,17 +1237,21 @@ PhysicalFontFamily* PhysicalFontCollection::ImplFindByFont( FontSelectPattern& r
return
pFoundData
;
return
pFoundData
;
}
}
// use a font name from font fallback list to determine font attributes
const
utl
::
FontNameAttr
*
pTempFontAttr
=
NULL
;
// get fallback info using FontSubstConfiguration and
if
(
!
utl
::
ConfigManager
::
IsAvoidConfig
())
// the target name, it's shortened name and family name in that order
{
const
utl
::
FontSubstConfiguration
&
rFontSubst
=
utl
::
FontSubstConfiguration
::
get
();
// use a font name from font fallback list to determine font attributes
const
utl
::
FontNameAttr
*
pTempFontAttr
=
rFontSubst
.
getSubstInfo
(
aSearchName
);
// get fallback info using FontSubstConfiguration and
// the target name, it's shortened name and family name in that order
const
utl
::
FontSubstConfiguration
&
rFontSubst
=
utl
::
FontSubstConfiguration
::
get
();
pTempFontAttr
=
rFontSubst
.
getSubstInfo
(
aSearchName
);
if
(
!
pTempFontAttr
&&
(
aTempShortName
!=
aSearchName
)
)
if
(
!
pTempFontAttr
&&
(
aTempShortName
!=
aSearchName
)
)
pTempFontAttr
=
rFontSubst
.
getSubstInfo
(
aTempShortName
);
pTempFontAttr
=
rFontSubst
.
getSubstInfo
(
aTempShortName
);
if
(
!
pTempFontAttr
&&
(
aTempFamilyName
!=
aTempShortName
)
)
if
(
!
pTempFontAttr
&&
(
aTempFamilyName
!=
aTempShortName
)
)
pTempFontAttr
=
rFontSubst
.
getSubstInfo
(
aTempFamilyName
);
pTempFontAttr
=
rFontSubst
.
getSubstInfo
(
aTempFamilyName
);
}
// try the font substitutions suggested by the fallback info
// try the font substitutions suggested by the fallback info
if
(
pTempFontAttr
)
if
(
pTempFontAttr
)
...
...
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