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
8dc05739
Kaydet (Commit)
8dc05739
authored
Eki 21, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Exempler->Exemplar
Change-Id: Id7e67d7e7bd4be6600a296a846512e9076c9df23
üst
0c6a5d99
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
unicode.cxx
i18nutil/source/utility/unicode.cxx
+1
-1
unicode.hxx
include/i18nutil/unicode.hxx
+1
-1
fontconfig.cxx
vcl/generic/fontmanager/fontconfig.cxx
+4
-4
No files found.
i18nutil/source/utility/unicode.cxx
Dosyayı görüntüle @
8dc05739
...
...
@@ -446,7 +446,7 @@ sal_Int16 SAL_CALL unicode::getScriptClassFromUScriptCode(UScriptCode eScript)
return
nRet
;
}
OString
SAL_CALL
unicode
::
getExempl
e
rLanguageForUScriptCode
(
UScriptCode
eScript
)
OString
SAL_CALL
unicode
::
getExempl
a
rLanguageForUScriptCode
(
UScriptCode
eScript
)
{
OString
sRet
;
switch
(
eScript
)
...
...
include/i18nutil/unicode.hxx
Dosyayı görüntüle @
8dc05739
...
...
@@ -53,7 +53,7 @@ public:
static
sal_Int16
SAL_CALL
getScriptClassFromUScriptCode
(
UScriptCode
eScript
);
//Return a language that can be written in a given ISO 15924 script code
static
OString
SAL_CALL
getExempl
e
rLanguageForUScriptCode
(
UScriptCode
eScript
);
static
OString
SAL_CALL
getExempl
a
rLanguageForUScriptCode
(
UScriptCode
eScript
);
};
#endif
...
...
vcl/generic/fontmanager/fontconfig.cxx
Dosyayı görüntüle @
8dc05739
...
...
@@ -900,11 +900,11 @@ namespace
return
bIsImpossible
;
}
LanguageTag
getExempl
e
rLangTagForCodePoint
(
sal_uInt32
currentChar
)
LanguageTag
getExempl
a
rLangTagForCodePoint
(
sal_uInt32
currentChar
)
{
int32_t
script
=
u_getIntPropertyValue
(
currentChar
,
UCHAR_SCRIPT
);
UScriptCode
eScript
=
static_cast
<
UScriptCode
>
(
script
);
OStringBuffer
aBuf
(
unicode
::
getExempl
e
rLanguageForUScriptCode
(
eScript
));
OStringBuffer
aBuf
(
unicode
::
getExempl
a
rLanguageForUScriptCode
(
eScript
));
const
char
*
pScriptCode
=
uscript_getShortName
(
eScript
);
if
(
pScriptCode
)
aBuf
.
append
(
'-'
).
append
(
pScriptCode
);
...
...
@@ -1014,7 +1014,7 @@ bool PrintFontManager::Substitute( FontSelectPattern &rPattern, OUString& rMissi
//#i105784#/rhbz#527719 improve selection of fallback font
if
(
aLangAttrib
.
isEmpty
())
{
aLangTag
=
getExempl
e
rLangTagForCodePoint
(
nCode
);
aLangTag
=
getExempl
a
rLangTagForCodePoint
(
nCode
);
aLangAttrib
=
mapToFontConfigLangTag
(
aLangTag
);
}
}
...
...
@@ -1144,7 +1144,7 @@ bool PrintFontManager::Substitute( FontSelectPattern &rPattern, OUString& rMissi
//scripts to default to a given language.
for
(
sal_Int32
i
=
0
;
i
<
nRemainingLen
;
++
i
)
{
LanguageTag
aOurTag
=
getExempl
e
rLangTagForCodePoint
(
pRemainingCodes
[
i
]);
LanguageTag
aOurTag
=
getExempl
a
rLangTagForCodePoint
(
pRemainingCodes
[
i
]);
OString
sTag
=
OUStringToOString
(
aOurTag
.
getBcp47
(),
RTL_TEXTENCODING_UTF8
);
if
(
m_aPreviousLangSupportRequests
.
find
(
sTag
)
!=
m_aPreviousLangSupportRequests
.
end
())
continue
;
...
...
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