Menu

#110 Problems in PDF when Arabic font name has a closing parenths?

Future
open
nobody
None
5
2015-05-21
2015-05-01
Anonymous
No

http://stackoverflow.com/q/28632119/1288722

More info:
This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014/W32TeX) (preloaded format=xelatex 2014.9.2) 1 MAY 2015 16:59

Discussion

  • Arthur Reutenauer

    The Stack Overflow question linked to is about an unrelated problem of how to produce PDF/X using Ghostscript. I’m guessing, based on the title and date of this ticket, that it’s actually about that question. I’ll have a look when I can – but note that the link to Dropbox, although less than three weeks old, is already dead.

     
  • Arthur Reutenauer

    Actually the bug is very easy to reproduce with the offending font (available here). See the attached TeX source and PDF output (with compression level 0). The object stream is number 8 here, near the end of the file.

     
  • Arthur Reutenauer

    I think I fixed it, but I’d rather not release the code before TeX Live 2015 is out. It was enough to change the is_delim macro in xdvipdfmx’ source code, that missed the closing parenthesis as a delimiter, which meant it wasn’t escaped in the font name. Note that the macro is defined in three places at the moment.

    Thanks for the report in any case, always good to fix these little irritants.

     

Anonymous
Anonymous

Add attachments
Cancel