https://bugs.documentfoundation.org/show_bug.cgi?id=143095
--- Comment #10 from Kevin Suo <[email protected]> ---
Just for those who are interested:
rResult.familyName, as returned by:
LineParser::parseFontFamilyName( FontAttributes& rResult )
in: sdext/source/pdfimport/wrapper/wrapper.cxx
is eventually passed to:
void DrawXmlFinalizer::visit( TextElement& elem, const std::list<
std::unique_ptr<Element> >::const_iterator& )
in:sdext/source/pdfimport/tree/drawtreevisiting.cxx
and:
void WriterXmlFinalizer::visit( TextElement& elem, const std::list<
std::unique_ptr<Element> >::const_iterator& )
in:sdext/source/pdfimport/tree/writertreevisiting.cxx
and eventually is written to an xml stream of ODF XML format and is then
imported to Draw or Writer by
bool xpdf_ImportFromStream(...)
in: sdext/source/pdfimport/wrapper/wrapper.cxx
So, before it is written to the xml stream:
* In case rResult.familyName is "TimesNewRoman", it should be converted to
"Times New Roman";
* In case rResult.familyName is "SimSun", it should be converted to the
localized name "宋体" if the currently locale of the user is Chinese; and should
be "SimSun" if the currently locale is not Chinese.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs