|
Re: Missing java.io character encoding aliases: msg#00204java.classpath.patches
Hi Sven, Thanks for the quick reply. Sorry I didn't give more detail about what I was trying to do. I am trying to run FOP 0.20.5 with IKVM 0.12 as a C# VS2003 application, using FOP to embed fonts in the PDF . I am using FOP's example \fo\advanced\cid-fonts.fo along with a userconfig.xml file that embeds a font and maps it to one of the existing Arial and or Gothic fonts used by the cid-fonts.fo file. FOP was dying when embedded fonts were being used when the getUnicodeString() function in \fop\fonts\FontFileReader.java made a call to String(a).getBytes("UnicodeBigUnmarked"); Once I added your patch for UnicodeBigUnmarked and UnicodeLittleUnmarked it got past this error, it then died on a to UnicodeBig, which is used by the readTTFString() in FontfileReader.java. I did Google scans for UnicodeBig & UnicodeLittle and found references to them using then same UTF16LE / UTF16BE fonts. I threw those alias references to UnicodeBig & UnicodeLittle in and now FOP works and correctly embeds the fonts. You mentioned that these fonts are missing a byte-order mark, it didn't seem to have a negative effect. Whether or not it should work is another question, and how long until it causes a problem with a different font? Don't know the answer to that one.. Sorry I had a typo on my request of UnicodeLittled - it should be UnicodeLittle. Is this important to you? Adding these to your project right now isn't a big deal for me since I can get around it by adding these aliases to my C# code. Thanks for your help in solving my problem ( your post about adding UnicodeBigUnmarked got me started on the right road ) Regards, Kevin Foley kfoley@xxxxxxxxxxx The \fop\fonts\FontFileReader.java ----- Original Message ----- From: "Sven de Marothy" <sven@xxxxxxxxx> To: <kfoley@xxxxxxxxxxx> Cc: <classpath-patches@xxxxxxx> Sent: Sunday, March 27, 2005 8:16 AM Subject: Re: Missing java.io character encoding aliases >Hello,
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [Patch] Removed eclipse comment, Michael Koch |
|---|---|
| Next by Date: | [Patch] added a bit of beancontext support, Michael Koch |
| Previous by Thread: | Re: Missing java.io character encoding aliases, Sven de Marothy |
| Next by Thread: | RFC: Class/VMClass patch, Jeroen Frijters |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |