Title seems really bad (from
ttps://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/667409
)
convert -compress jpeg -quality 85 rose: documentåäöÅÄÖ.pdf
pdfinfo documentåäöÅÄÖ.pdf
Title: documentåäöÖ×Ì
Producer: ImageMagick 6.7.7-10 2012-06-29 Q16 http://www.imagemagick.org
CreationDate: Sun Jul 22 00:20:29 2012
ModDate: Sun Jul 22 00:20:29 2012
Tagged: no
Pages: 1
Encrypted: no
Page size: 70 x 46 pts
File size: 4741 bytes
Optimized: no
PDF version: 1.3
pdf with internationnal title
Re: pdf with internationnal title
Confirms!
gives pdf with title "ÐокÑменÑÑ"
Why pdf title is converted from iso-8859-1 to utf-8???
This is a huge problem, because there no any workarounds!
Code: Select all
$ echo $LANG
ru_RU.UTF-8
$ convert Документы.jpg Документы.pdf
Code: Select all
$ echo 'ÐокÑменÑÑ' | iconv -f utf-8 -t iso-8859-1
Документы
This is a huge problem, because there no any workarounds!
Re: pdf with internationnal title
Hello,
I got a similar bug report, see:
https://bugzilla.suse.com/show_bug.cgi?id=867943
Basically, the title (string inside parenthesis) is expected to be UTF16BE, if I understand correctly. Other way to fix would be to not write /Title at all. What do you think?
I got a similar bug report, see:
https://bugzilla.suse.com/show_bug.cgi?id=867943
Basically, the title (string inside parenthesis) is expected to be UTF16BE, if I understand correctly. Other way to fix would be to not write /Title at all. What do you think?
Re: pdf with internationnal title
International titles are supported in ImageMagick 6.9.3-0, the current release. To retrofit the patch, see coders/pdf.c.
Re: pdf with internationnal title
Thank you!