On 23.09.2004 20:58:08 Mike J Boyersmith wrote:
> >On 23.09.2004 20:24:22 Mike J Boyersmith wrote:
> >> Problem:  generated PDF file shows '#' characters instead of Chinese 
> >> characters. 
> >
> >As you probably found out yourself, this here applies:
> >http://xml.apache.org/fop/faq.html#pdf-characters
> 
> yup saw that, I found the FOP examples to... but not One of them shows how 
> to do a
> end to end walk through of dealing with language/i18n type issues :(. That 
> would be a 
> great addition to the examples collection. 

You could write that for us when you've got it working. It's the cool
thing about Open Source: Everybody can help. :-)

> ><snip/>
> >> This all works great BUT!!!!!! The problem is that on Chinese if I have 
> 
> >> text that has Chinese characters they are replaced with '#' characters, 
> 
> >> and I can figure no way around this….
> >> 
> >> So. Digging around I see that I need to embed fonts, but
> >> How do I do this programmatically?
> 
> >>Create the font metrics XML for your TrueType fonts as described here:
> >>http://xml.apache.org/fop/fonts.html
> 
> >>Then use the userconfig.xml as described here:
> >>http://xml.apache.org/fop/embedding.html#config-external
> 
> >>It's probably best to try on the command-line first and then port the
> >>whole thing into Java 
> 
> >>How do I do this so it works on Windows and Linux?
> 
> >>Don't worry about that. It works the same way on both platforms. That's
> >>because FOP uses its own font subsystem for PDF and PS output.
> 
> Would be nice if I could just specify font-family, and it would all work, 
> but
> guess I'm dreaming. will try walking through the problem from the command 
> line as you suggested.

No dreaming, that's the plan. It just didn't happen, yet.

Jeremias Maerki


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

Reply via email to