Re: Font Problem -> Cannot load font

2006-04-28 Thread Jeremias Maerki
FOP can't find MyFont.xml. Maybe the file isn't there, or the base
directory is not correct or something like that.

On 28.04.2006 17:19:43 Dirk Bromberg wrote:
> Hi all,
> 
> with the 0.92 release i'get this error:
> 
> java.lang.RuntimeException: Cannot load font: failed to create Source 
> from metrics file MyFont.xml
> at org.apache.fop.fonts.LazyFont.load(LazyFont.java:75)
> at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:183)
> at org.apache.fop.fonts.Font.getAscender(Font.java:66)
> 
> with 0.20.5 it works ...
> 
> where can i search?
> 
> the metrics it generated with "-enc ansi" from an ttf font file.


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Font Problem -> Cannot load font

2006-04-28 Thread Dirk Bromberg

Thanks for answer,

i'll have a closer look at it on Tuesday.

btw. the result of the new fop looks great at this moment...

i've a rendering component which uses "0.20.5" (for redistribute) and 
xep (for offset printing) and now i don't want to customize 2 versions 
of the stylesheets, so i'm going to switch to 0.92b because it can use 
the same input as xep :-) at it seems working... without fonts ;-)



Dirk

Jeremias Maerki wrote:

FOP can't find MyFont.xml. Maybe the file isn't there, or the base
directory is not correct or something like that.

On 28.04.2006 17:19:43 Dirk Bromberg wrote:
  

Hi all,

with the 0.92 release i'get this error:

java.lang.RuntimeException: Cannot load font: failed to create Source 
from metrics file MyFont.xml

at org.apache.fop.fonts.LazyFont.load(LazyFont.java:75)
at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:183)
at org.apache.fop.fonts.Font.getAscender(Font.java:66)

with 0.20.5 it works ...

where can i search?

the metrics it generated with "-enc ansi" from an ttf font file.




Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]