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
e7f7c836
Kaydet (Commit)
e7f7c836
authored
Mar 24, 2011
tarafından
Samphan Raruenrom
Kaydeden (comit)
Caolán McNamara
Mar 24, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix bug that prevents glyph-fallback for char at end of string
üst
3256422d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
salgdi3.cxx
vcl/win/source/gdi/salgdi3.cxx
+3
-2
No files found.
vcl/win/source/gdi/salgdi3.cxx
Dosyayı görüntüle @
e7f7c836
...
@@ -555,13 +555,14 @@ bool WinGlyphFallbackSubstititution::FindFontSubstitute( ImplFontSelectData& rFo
...
@@ -555,13 +555,14 @@ bool WinGlyphFallbackSubstititution::FindFontSubstitute( ImplFontSelectData& rFo
{
{
// guess a locale matching to the missing chars
// guess a locale matching to the missing chars
com
::
sun
::
star
::
lang
::
Locale
aLocale
;
com
::
sun
::
star
::
lang
::
Locale
aLocale
;
LanguageType
eLang
=
LANGUAGE_DONTKNOW
;
sal_Int32
nStrIdx
=
0
;
sal_Int32
nStrIdx
=
0
;
const
sal_Int32
nStrLen
=
rMissingChars
.
getLength
();
const
sal_Int32
nStrLen
=
rMissingChars
.
getLength
();
while
(
nStrIdx
<
nStrLen
)
while
(
nStrIdx
<
nStrLen
)
{
{
const
sal_UCS4
uChar
=
rMissingChars
.
iterateCodePoints
(
&
nStrIdx
);
const
sal_UCS4
uChar
=
rMissingChars
.
iterateCodePoints
(
&
nStrIdx
);
const
LanguageType
eLang
=
MapCharToLanguage
(
uChar
);
eLang
=
MapCharToLanguage
(
uChar
);
if
(
eLang
==
LANGUAGE_DONTKNOW
)
if
(
eLang
==
LANGUAGE_DONTKNOW
)
continue
;
continue
;
MsLangId
::
convertLanguageToLocale
(
eLang
,
aLocale
);
MsLangId
::
convertLanguageToLocale
(
eLang
,
aLocale
);
...
@@ -569,7 +570,7 @@ bool WinGlyphFallbackSubstititution::FindFontSubstitute( ImplFontSelectData& rFo
...
@@ -569,7 +570,7 @@ bool WinGlyphFallbackSubstititution::FindFontSubstitute( ImplFontSelectData& rFo
}
}
// fall back to default UI locale if the missing characters are inconclusive
// fall back to default UI locale if the missing characters are inconclusive
if
(
nStrIdx
>=
nStrLen
)
if
(
eLang
==
LANGUAGE_DONTKNOW
)
aLocale
=
Application
::
GetSettings
().
GetUILocale
();
aLocale
=
Application
::
GetSettings
().
GetUILocale
();
// first level fallback:
// first level fallback:
...
...
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