xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Generating metrics error: Unicode cmap table not present. Aborting
Date Wed, 06 Jan 2010 09:59:45 GMT
Fonts like that have a good chance of working with the latest FOP Trunk
where the requirement for a Unicode CMap is relaxed. No guarantees,
though. I've only tested the change with Symbol and Wingdings, but these
barcode fonts are likely to be similar.

On 05.01.2010 09:58:41 Chris Bowditch wrote:
> Magdikova wrote:
> > I would like to generate metrics filebut I get the following 
> > error:Unsupported TrueType font: Unicode cmap table not present. Aborting
> > 
> > what is the problem?
> FOP works with Unicode data and therefore requires True Type Fonts to 
> have a table that maps Unicode code points to the glyphs in the Font. 
> The barcode font you have provided does not have such a Unicode mapping 
> table, often referred to as a CMAP table.
> When I have run into this problem in the past I used a Font Editor to 
> add the Unicode mapping table for each glyph that I required access to. 
> No doubt your barcode font came with some help that indicates what 
> characters should be used to draw which bars. You have to use this 
> information when you create the Unicode mapping table in your font.
> Symbol.TTF is an example of another Font that doesn't have the Unicode 
> mapping table.
> Thanks,
> Chris
> <snip/>

Jeremias Maerki

To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message