In the current version of org.apache.fop.fonts.truetype.TTFFile, method readUnicodeCmap, there is a workaround to map the glyphs of TTF symbol fonts from the private area to the ascii range: if (encodingID == 0 && j >= 0xF020 && j <= 0xF0FF) { //Experimental: Mapping 0xF020-0xF0FF to 0x0020-0x00FF //Tested with Wingdings and Symbol TTF fonts which map their //glyphs in the region 0xF020-0xF0FF. int mapped = j - 0xF000; ... but this workaround is only applied in the case of if (cmapRangeOffsets[i] != 0 && j != 65535) ... This mapping should also be done in the else case. There are several symbol fonts (e.g. Wingdings 2 v1.55, Wingdings 3 v1.55) where cmapRangeOffsets[i] == 0.
resetting P2 open bugs to P3 pending further review
please provide (1) minimal input FO file, (2) PDF output file, (3) all console output
Created attachment 28590 [details] Short program to show that the glyph is not avaiable
Created attachment 28591 [details] Small example fo-file
Created attachment 28592 [details] Generated pdf-file from fopglyphs.fo
Created attachment 28593 [details] log-output during the generation
using the Unicode code point U+0052 LATIN CAPITAL LETTER R to mean anything other than LATIN CAPITAL LETTER R is a violation of both XSL-FO and Unicode semantics; in order to prevent such mis-use, I have removed [1] the experimental feature ("workaround") added in [2]; [1] http://svn.apache.org/viewvc?view=revision&revision=1328579 [2] http://svn.apache.org/viewvc?view=revision&revision=891181 if a user wishes to map a character in a symbol font that does not have an assigned Unicode code point, then they must use a private use character provided the font manufacturer provides a cmap entry for that private use code point; if there is no assigned private use code point, then, until a more general mechanism is added to FOP, e.g., adding the ability to augment cmap entries for specific fonts using the fop configuration file, then glyphs that have no assigned Unicode code point or private use mapping will remain inaccessible, in which case you should contact the font supplier to request the addition of such a mapping;
batch transition resolved+wontfix to closed+wontfix
batch transition resolved+wontfix to closed+wontfix; if you believe this remains a bug and can demonstrate it with appropriate input FO file and output PDF file (as applicable), then you may reopen