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
c2b5f0ee
Kaydet (Commit)
c2b5f0ee
authored
May 16, 2013
tarafından
Armin Le Grand
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i122324 detect own re-import of EmbeddedFonts and correct font name
üst
7f6f4407
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
svgcharacternode.cxx
svgio/source/svgreader/svgcharacternode.cxx
+11
-1
No files found.
svgio/source/svgreader/svgcharacternode.cxx
Dosyayı görüntüle @
c2b5f0ee
...
...
@@ -248,9 +248,19 @@ namespace svgio
if
(
nLength
)
{
// prepare FontAttribute
const
rtl
::
OUString
aFontFamily
=
rSvgStyleAttributes
.
getFontFamily
().
empty
()
?
rtl
::
OUString
aFontFamily
=
rSvgStyleAttributes
.
getFontFamily
().
empty
()
?
rtl
::
OUString
(
rtl
::
OUString
::
createFromAscii
(
"Times New Roman"
))
:
rSvgStyleAttributes
.
getFontFamily
()[
0
];
// #122324# if the FontFamily name ends on ' embedded' it is probably a re-import
// of a SVG export with fiont embedding. Remove this to make font matching work. This
// is pretty safe since there should be no font family names ending on ' embedded'.
// Remove again when FontEmbedding is implemented in SVG import
if
(
aFontFamily
.
endsWithAsciiL
(
" embedded"
,
9
))
{
aFontFamily
=
aFontFamily
.
copy
(
0
,
aFontFamily
.
getLength
()
-
9
);
}
const
::
FontWeight
nFontWeight
(
getVclFontWeight
(
rSvgStyleAttributes
.
getFontWeight
()));
bool
bSymbol
(
false
);
bool
bVertical
(
false
);
...
...
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