cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anil_Kandula <>
Subject Problem with font
Date Wed, 13 Feb 2002 03:34:30 GMT
Hi All,
	I am trying to embed OCR-B-1 font in the pdf document using
cocoon2.0 on tomcat 4.0.1. I followed the instructions by pdf serializer and
generated metrics file.

Here's my config.xml file -

      <font metrics-file="D:/fonts/FG_OCRB1.TTF.xml" kerning="yes"
      <font-triplet name="OCR-B-1" weight="normal"/>

Here's the snippet from metrics file -


I've embedded the font in the sitemap.xmap as follows - 

<map:serializer name="fo2pdf"
<user-config src="D:/fonts/config.xml"/>

Now when i try to convert the xml file, i am getting the pdf but with
default font. The message in log file is - "unknown font
OCR-B-1,normal,normal so defaulted font to any"

I am using the ocr-b-1 font in my xml file like this -
<fo:table-body font-family="OCR-B-1" font-weight="normal" font-size="12pt">

Can someone tell where i am going wrong.

Thanks & Regards,

This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message