[ 
https://issues.apache.org/jira/browse/FOP-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15009459#comment-15009459
 ] 

Andreas L. Delmelle edited comment on FOP-2539 at 11/17/15 9:00 PM:
--------------------------------------------------------------------

Was trying to check what the behavior was when the TTF was used, but 
unfortunately, the Symbol.ttf file that comes with OS X cannot be processed:

WARNING: Unable to load font file: file:/System/Library/Fonts/Symbol.ttf. 
Reason: java.io.IOException: The font does not have a Unicode cmap table: 
file:/System/Library/Fonts/Symbol.ttf

Happens with quite a lot of TTFs and TTCs on OS X. Not an expert, so not sure 
what is wrong about those files that makes FOP's font library not able to 
process it. I mean: I obviously get that it cannot find a Unicode cmap table, 
but would have to familiarize myself with the format to know whether that is 
really an issue with the file, or whether it just points to a deficiency in 
FOP's font lib... ?

EDIT - The Arial.ttf that comes with OS X _does_ work apparently, and would 
render the first sample with proper baseline alignment between the regular 
latin characters and the greek symbols.


was (Author: adelmelle):
Was trying to check what the behavior was when the TTF was used, but 
unfortunately, the Symbol.ttf file that comes with OS X cannot be processed:

WARNING: Unable to load font file: file:/System/Library/Fonts/Symbol.ttf. 
Reason: java.io.IOException: The font does not have a Unicode cmap table: 
file:/System/Library/Fonts/Symbol.ttf

Happens with quite a lot of TTFs and TTCs on OS X. Not an expert, so not sure 
what is wrong about those files that makes FOP's font library not able to 
process it. I mean: I obviously get that it cannot find a Unicode cmap table, 
but would have to familiarize myself with the format to know whether that is 
really an issue with the file, or whether it just points to a deficiency in 
FOP's font lib... ?

> 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
>         Attachments: symbol_test.fo, symbol_test_2.fo
>
>
> 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)

Reply via email to