I don't have spaces in my font-name either. I am using MS Gothic, which I had declared as MSGothic without spaces, and I had even renamed the font TTF file to msgothic.ttf. The other font I had used was Arial Unicode, which I was referring in all files as ArialUni and had renamed the ttf file as arialuni.ttf. I have seen some problem occur with spaces, which is why I had avoided using them.
Jeremias Maerki-2 wrote: > > 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. >> >> > > > -- View this message in context: http://www.nabble.com/problem-rendering-.pdf-with-certain-fonts-%22%28135%29%22-tp15051331p15291426.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]
