Results 1 to 2 of 2

Thread: Xml Fo

Threaded View

  1. #1

    Thread Starter
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Xml Fo

    I am using FO formatting in xml to create a pdf. I can create the pdf fine, and get my tables to look nice, but any time I try to use a font other than 'Helvetica' or 'Sans-serif' it doesnt recognize the fonts.


    This really wouldnt be a problem, except I want to use the code &#2610 to fill in a checkbox in a certain spot.

    I put in the code, and it just displays a "#". I did some googling and some people mentioned that I need to use DTD or import some fonts or something.

    I tried looking into these, but I couldnt find anything useful to me.


    I was just wondering if someone could either give me a link, or explain how I import fonts to an XML file, or how to use DTD



    *edit*

    here is the post I found online in regards to my issue

    The font-family you are calling does not contain a glyph for this character.
    Hence the output '#'. By default, FOP only uses the base 14 fonts.

    To use a font that includes this glyph, you need to build a font metrics
    file (in xml) for the font using either PFMReader or TTFReader (part of the
    Apache FOP distribution), then register the font with FOP by modifying or
    setting up an FOP configuration file.

    Thanks,


    Smitty
    Last edited by kfcSmitty; Sep 20th, 2006 at 02:29 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width