Ram, The link you are speaking about says that is a bug when you try to use a custom font for AWT renderer, not PDF renderer. I've tested successfully your fo:block with some czech text (both with FOP 0.92b & FOP TRUNK), using Arial Unicode. You can make further investigations: - are you generating a PDF (not AWT)? - did you generate the metric file using tool version provided with FOP used version (don't use FOP 0.2x tool in a FOP 0.9x environment)? - does this occur when you do not use font-weight, language, or hyphenate properties? - after these checks, can you provide the shortest FO file that demonstrate the problem?
Pascal > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 30, 2006 7:36 AM > > Thanks for information. > > I have tried with the absolute path in the metric-url and > also with font base. Still I am getting the error saying > font is not found. > > in the web I have found the link saying it is a bug. > http://marc.theaimsgroup.com/?l=fop-user&m=115869645201306&w=2 > > Is there any workaround on 0.92 beta version to embed > the custom font > . By default the FOP searches the font in which directory... any > ideas..... > > config file > <font-base>file:///D:/Fonts/</font-base> > <renderer mime="application/pdf"> > <fonts> > <font kerning="yes" > metrics-url="ARIALUNI.xml" > embed-url="ARIALUNI.ttf"> > <font-triplet name="Arial" style="normal" weight="normal"/> > <font-triplet name="Arial" style="italic" weight="normal"/> > <font-triplet name="Arial" style="normal" weight="bold"/> > <font-triplet name="Arial" style="italic" weight="bold"/> > </font> > > fo block : > > <fo:block font-family="Arial" font-style="normal" > font-weight="bold" > line-height="12pt" language="cs" hyphenate="true" > > > ------------------------czech text here-------------- </fo:block> > > Ram --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
