I went further into this off-list with Vangelis Karageorgos and found out there can be a problem in 0.94 when there's a space in the font name. However, I've only been able to reproduce the error on my side when I manually modified the generated XML font metrics file to include a space in the "font-name" element. And that's very strange.
Anyway, I suggest you try FOP Trunk where this problem most likely doesn't appear after some changes I made already last year. You can also try if the error goes away if you don't use XML font metrics files but instead rely on the font auto-detection. See the release docs for details. Please let me know if any of this helped. I'm still a bit clueless why I cannot reproduce the error without manual intervention. On 05.02.2008 15:11:28 Yashdeep wrote: > > Has anyone been able to solve this issue? > I am getting the exact same error on FOP 0.94 while trying to embed Unicode > Fonts (MSGothic, Arial UNI) > Fox It reader displays the PDF fine with the Unicode content, but Acrobat > Reader (6, 7 and 8) show the 135 error, which is meant to say "Dictionary > Keys must be direct name objects" according to Acrobat Reader (got this > message by clicking Ctrl + Ok button). > It's a deal breaker for me as I cannot ask my customer base to migrate to > FoxIt Reader en masse, so any help would be greatly appreciated. > > > Jeremias Maerki-2 wrote: > > > > Unless I have a way to reproduce the problem here (like an FO file, the > > exact fonts and the exact PDF viewer in use) I don't have any > > suggestions. I don't even know what the problem is, only that there is > > one in certain PDF viewers. Sorry. > > > > On 24.01.2008 09:57:13 [EMAIL PROTECTED] wrote: > >> > >> > >> Jeremias Maerki-2 wrote: > >> > I cannot reproduce the problem. It works fine with Acrobat 8. On the > >> net > >> > I found references that this could be a bug in Acrobat 5 and/or 6. Some > >> > also mention it has to do with images embedded in the PDF. What Acrobat > >> > version are you working with? "135" is an error code which is described > >> > nowhere so it's difficult in the first place to know exactly what's > >> > wrong. My best guess is that it's really a bug in some Acrobat version. > >> > It wouldn't be the first. By far. > >> > >> > >> We are using adobe reader 8 (the latest release) and get the problem, and > >> the latest release of Foxit Reader (2.2.) where everything shows up fine. > >> It > >> does look like an adobe reader bug after all, since after extensive trial > >> and error with different fonts, we failed to reproduce the problem on the > >> Foxit pdf viewer. > >> Some reports mention the possibility that the bug may be due to part of > >> the > >> text having hyperlink attributes, any ideas/comments on that? Any > >> possible > >> workarounds as well? > >> > >> thx, > >> -- > >> View this message in context: > >> http://www.nabble.com/problem-rendering-.pdf-with-certain-fonts-%22%28135%29%22-tp15051331p15060913.html > >> Sent from the FOP - Users mailing list archive at Nabble.com. > > > > > > > > Jeremias Maerki > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/problem-rendering-.pdf-with-certain-fonts-%22%28135%29%22-tp15051331p15290862.html > Sent from the FOP - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
