[ https://issues.apache.org/jira/browse/FOP-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15009309#comment-15009309 ]
Matthias Reischenbacher commented on FOP-2539: ---------------------------------------------- I had a quick look at this a while ago. Support for Symbol (or other Symbol-Windows fonts like Wingdings etc.) was originally added by Jeremias in http://svn.apache.org/viewvc?view=revision&revision=891181 Glenn then remove it in http://svn.apache.org/viewvc?view=revision&revision=1328579 See also: https://bz.apache.org/bugzilla/show_bug.cgi?id=50492#c7 The code fragment, Glenn had commented, was then re-introduced by: http://svn.apache.org/viewvc?view=revision&revision=1514076 (see OpenFont.java) see also: https://issues.apache.org/jira/browse/FOP-2252 But the code fragment is in the wrong place, at least for making it work again for Symbol/Wingdings. If I remember correctly the characters of the Symbol/Wingdings font can be accessed via the code points in the private use area. So instead of using "a" you need to use &#c61537; etc. A lot of Windows applications (like MS Word) remap the characters in the normal Unicode range to the correct code point in the private use area. For example in MS Word you can type "abc.." and after choosing font "Wingdings" the characters are automatically changed. I think Glenn is probably right to remove this automatic remapping because it should be done on an application level explicitly for specific fonts, but shouldn't be done in FOP. Or at least not globally for all fonts. Perhaps we could add a config option in the font element that controls this behavior. > Apache PDF issue with Symbol.ttf > -------------------------------- > > Key: FOP-2539 > URL: https://issues.apache.org/jira/browse/FOP-2539 > Project: FOP > Issue Type: Bug > Affects Versions: 1.0 > Environment: Windox, unix > Reporter: Sushmitha > > I have Symbol.ttf, configured the same in config file. Symbol font is not > applying properly. > Please find the below details > FOP version - 1.0 > OS - Unix, Windows > XSL-FO desc: > <fo:block font-family="Symbol"> > Abcdefgh α β γ > </fo:block> > Result - the charcters are not displaying properly and they are not human > readable format > fop.xconf:- > <renderers> > <renderer mime="application/pdf"> > <fonts> > <font metrics-url="Symbol.xml" embed-url="Symbol.ttf"> > <font-triplet name="Symbol" style="normal" weight="normal"/> > </font> > </fonts> > </renderer> > <renderers> -- This message was sent by Atlassian JIRA (v6.3.4#6332)