You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Andreia Oliveira <an...@reitoria.uminho.pt> on 2006/07/24 13:36:05 UTC

Problems Rendering Fonts fop 0.9.2beta

Good morning.
 
I checked the newsletter for problems with fonts in the latest fop version
but could not find anyone with a similar problem. That's why I an making a
new post on "fonts" subject...
 
This is the result o running fop using the command line:
 
24/Jul/2006 11:38:45 org.apache.fop.apps.FopFactory initUserConfig
INFO: Source resolution set to: 72.0dpi (px2mm=0.35277778)
24/Jul/2006 11:38:45 org.apache.fop.apps.FopFactory initUserConfig
INFO: Default page-height set to: 11in
24/Jul/2006 11:38:45 org.apache.fop.apps.FopFactory initUserConfig
INFO: Default page-width set to: 8.26in
24/Jul/2006 11:38:48
org.apache.fop.layoutmgr.table.TableContentLayoutManager
createElementsForRowGroup
WARNING: The contents of row 1 are taller than they should be (there is a
block-progression-dimension or height constraint on the indicated row). Due
to its contents the row grows to 24000 millipoints, but the row shouldn't
get any taller than MinOpt
Max[min=opt=max=14173] millipoints. (fo:table-row, location: 573/33)
24/Jul/2006 11:38:48
org.apache.fop.layoutmgr.table.TableContentLayoutManager
createElementsForRowGroup
WARNING: The contents of row 4 are taller than they should be (there is a
block-progression-dimension or height constraint on the indicated row). Due
to its contents the row grows to 16000 millipoints, but the row shouldn't
get any taller than MinOpt
Max[min=opt=max=12188] millipoints. (fo:table-row, location: 679/35)
24/Jul/2006 11:38:48
org.apache.fop.layoutmgr.table.TableContentLayoutManager
createElementsForRowGroup
WARNING: The contents of row 1 are taller than they should be (there is a
block-progression-dimension or height constraint on the indicated row). Due
to its contents the row grows to 16000 millipoints, but the row shouldn't
get any taller than MinOpt
Max[min=opt=max=14173] millipoints. (fo:table-row, location: 730/37)
 
Regarding fonts, it does not seem to have any problem but, when I try to
open the pdf generated  in acrobat I get a message saying: "Cannot find or
create the font 'NewsGotTLig'. Some characters may not display or print
correctly".
When I click ok to the info message, the pdf opens but the all chars look
like dots (please check my attachment with a small example).
 
This is one example of the entries in fopConfig.xconf file I am using:
<font metrics-url=file:///C:\Project
<file:///C:\Project1\\Fonts\TTF\n015002t.xml> 1\\Fonts\TTF\n015002t.xml
kerning="yes" embed-file=file:///C:\
<file:///C:\Project1\Fonts\TTF\n015002t.ttf>
Project1\Fonts\TTF\n015002t.ttf>

<font-triplet name="NewsGotTLig" style="normal" weight="normal"/>

</font>

Can you please help?
--------------------------------------
Andreia Oliveira
andreia@reitoria.uminho.pt
---------------------------------------
 

Re: Problems Rendering Fonts fop 0.9.2beta

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Replace "embed-file" with "embed-url" and you'll be fine.

On 24.07.2006 13:36:05 Andreia Oliveira wrote:
> Good morning.
>  
> I checked the newsletter for problems with fonts in the latest fop version
> but could not find anyone with a similar problem. That's why I an making a
> new post on "fonts" subject...
>  
> This is the result o running fop using the command line:

<snip/>  

> Regarding fonts, it does not seem to have any problem but, when I try to
> open the pdf generated  in acrobat I get a message saying: "Cannot find or
> create the font 'NewsGotTLig'. Some characters may not display or print
> correctly".
> When I click ok to the info message, the pdf opens but the all chars look
> like dots (please check my attachment with a small example).
>  
> This is one example of the entries in fopConfig.xconf file I am using:
> <font metrics-url=file:///C:\Project
> <file:///C:\Project1\\Fonts\TTF\n015002t.xml> 1\\Fonts\TTF\n015002t.xml
> kerning="yes" embed-file=file:///C:\
> <file:///C:\Project1\Fonts\TTF\n015002t.ttf>
> Project1\Fonts\TTF\n015002t.ttf>
> 
> <font-triplet name="NewsGotTLig" style="normal" weight="normal"/>
> 
> </font>
> 
> Can you please help?


Jeremias Maerki


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