On 09/27/2018 11:16 AM, Albert wrote:
I've been looking at the possibilities of emoji in output formats of
doxygen based on the list in
https://unicode.org/emoji/charts/full-emoji-list.html. I made an
implementation in the output format of docbook as well. A limitation is
always which UTF codes are supported. In xmlMind it looks quite good
already and also in the HTML and RTF output from xmlmind (all depending
on the fonts present / support from it). When converting to to pdf
nearly all symbols are replaced by a '#' as they are not supported.
How can I get the emoji into the pdf?
By default, PDF uses its 14 built-in fonts: Times, Helvetica, Courier,
Symbol and ZapfDingbats. These fonts have glyphs only for the western
(AKA Latin1) languages.
--> Therefore you need to substitute to these built-in fonts some
"modern fonts" having much more glyphs, including glyphs for emojis.
These "modern fonts" must be installed (normally, using the facilities
provided by operating system) on your computer.
Sorry but I have no "modern font" names to suggest.
After that, the font substitution can be done once for all, quite
easily, from within XMLmind XML Editor. See for example: "Procedure 9.2.
How to choose specific fonts (for example, you want to replace Times
fonts by Georgia fonts)" in "7.12.1. Apache FOP options",
http://www.xmlmind.com/xmleditor/_distrib/doc/help/addonOptions.html#fopOptions
---
PS: Your question is somewhat related to this FAQ:
---
When I convert documents written in Russian (or Polish or Czech or any
non-western language) to PDF, almost all characters are replaced by the
"#" character. Is there a workaround for this problem?
---
http://www.xmlmind.com/xmleditor/faq.html#html_charset
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support