Thank you very much  Pascal . It is working now.   I removed other
attributes and kept font family, font style , font weight. then it is
working fine.

Ram



|---------+--------------------------->
|         |           "Pascal SANCHO" |
|         |           <[EMAIL PROTECTED]|
|         |           akoma.fr>       |
|         |                           |
|         |           11/29/2006 05:56|
|         |           PM              |
|         |           Please respond  |
|         |           to fop-users    |
|         |                           |
|---------+--------------------------->
  
>---------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                  |
  |        To:      <[email protected]>                          
                                  |
  |        cc:      (bcc: ram.reddy/Polaris)                                    
                                  |
  |        Subject: RE: Czech language support                                  
                                  |
  
>---------------------------------------------------------------------------------------------------------------|




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]




This e-Mail may contain proprietary and confidential information and is sent 
for the intended recipient(s) only.  If by an addressing or transmission error 
this mail has been misdirected to you, you are requested to delete this mail 
immediately. You are also hereby notified that any use, any form of 
reproduction, dissemination, copying, disclosure, modification, distribution 
and/or publication of this e-mail message, contents or its attachment other 
than by its intended recipient/s is strictly prohibited.

Visit us at http://www.polaris.co.in

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

Reply via email to