FS#20714 - [xpdf-japanese] 20040727-4: PKGBUILD fails to copy Adobe-Japan1.cidToUnicode
Attached to Project:
Arch Linux
Opened by alm kkt (almkk) - Thursday, 02 September 2010, 07:06 GMT
Last edited by Gaetan Bisson (vesath) - Thursday, 02 September 2010, 13:46 GMT
Opened by alm kkt (almkk) - Thursday, 02 September 2010, 07:06 GMT
Last edited by Gaetan Bisson (vesath) - Thursday, 02 September 2010, 13:46 GMT
|
Details
Description:
Xpdf (3.02_pl4-2) fails to render some pdf files containing japanese characters. It seems that if japanese fonts are not embedded in pdf file, xpdf fails to render the pdf file. example: http://www.ai-gakkai.or.jp/jsai/journal/guide.pdf The first part of error messages when drawing first page of the pdf file above. ================================================================================ Error: Couldn't open cidToUnicode file '/usr/share/xpdf/Adobe-Japan1.cidToUnicode' Error: Unknown character collection 'Adobe-Japan1' Error: Couldn't open cidToUnicode file '/usr/share/xpdf/Adobe-Japan1.cidToUnicode' Error: Unknown character collection 'Adobe-Japan1' Error: Couldn't open cidToUnicode file '/usr/share/xpdf/Adobe-Japan1.cidToUnicode' Error: Unknown character collection 'Adobe-Japan1' Error: Couldn't open cidToUnicode file '/usr/share/xpdf/Adobe-Japan1.cidToUnicode' Error: Unknown character collection 'Adobe-Japan1' Error: Couldn't open cidToUnicode file '/usr/share/xpdf/Adobe-Japan1.cidToUnicode' Error: Unknown character collection 'Adobe-Japan1' Error: Couldn't find a mapping to Unicode for font 'Ryumin-Light-Identity-H' Error: Couldn't find a mapping to Unicode for font 'GothicBBB-Medium-Identity-H' ================================================================================ I think this is because PKGBUILD of xpdf-japanese (20040727-4) fails to copy Adobe-Japan1.cidToUnicode in xpdf-japanese tarball. After copying Adobe-Japan1.cidToUnicode to /usr/share/xpdf/Adobe-Japan1.cidToUnicode, xpdf correctly renders the example pdf file. |
This task depends upon
Closed by Gaetan Bisson (vesath)
Thursday, 02 September 2010, 13:46 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in xpdf-japanese-20040727-5
Thursday, 02 September 2010, 13:46 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in xpdf-japanese-20040727-5
You can:
1. Install a font that supports Japanese characters (for instance, otf-ipafont from AUR) and rewrite your "/etc/xpdf/xpdf-japanese" to use it (in place of Bitstream Vera).
2. Use a better PDF viewer. (I highly recommend mupdf from AUR; amongst other things, it supports CJK out of the box.)
I will fix that soon. :)