Gentlemen, as this bug will never get fixed/sent to the mirrors, maybe I can alter the PDF files myself!
Maybe I can write a perl script to change one unreadable Chinese font for another readable one! $ wget http://www.fybus.com.tw/data/city/207b.pdf $ xpdf 207b.pdf I can read "207路豐原谷關"... But all the other Chinese that $ pdftotext 207b.pdf 207b.txt shows, is unreadable to me (in the PDF, but readable in the .txt) By the way, why does the line "207路豐原谷關"... not show up in the .txt file? Maybe it is an image? $ pdfimages 207b.pdf ZZ $ ls *ZZ* ls: cannot access *ZZ*: No such file or directory Apparently not. Anyway, $ pdffonts 207b.pdf |iconv -f big5 name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- HUBBLE+細明體-WinCharSetFFFF-H CID TrueType yes yes yes 13 0 QNKNLJ+新細明體-WinCharSetFFFF-H CID TrueType yes yes yes 9 0 CXOYBI+TimesNewRoman TrueType yes yes no 16 0 So maybe I can change one of these lines a little bit: $ grep -ai font 207b.pdf /Font 19 0 R <</BaseFont/QNKNLJ+#b7s#b2#d3#a9#fa#c5#e9/FontDescriptor 11 0 R/Type/Font /CIDSystemInfo 8 0 R/Subtype/CIDFontType2>> <</BaseFont/HUBBLE+#b2#d3#a9#fa#c5#e9/FontDescriptor 15 0 R/Type/Font /CIDSystemInfo 12 0 R/Subtype/CIDFontType2>> <</BaseFont/HUBBLE+#b2#d3#a9#fa#c5#e9-WinCharSetFFFF-H/ToUnicode 23 0 R/Type/Font /Encoding /Identity-H/DescendantFonts[14 0 R]/Subtype/Type0>> <</BaseFont/QNKNLJ+#b7s#b2#d3#a9#fa#c5#e9-WinCharSetFFFF-H/ToUnicode 24 0 R/Type/Font /Encoding /Identity-H/DescendantFonts[10 0 R]/Subtype/Type0>> <</BaseFont/CXOYBI+TimesNewRoman/FontDescriptor 17 0 R/Type/Font <</Type/FontDescriptor/FontName/CXOYBI+TimesNewRoman/FontBBox[22 -213 638 694]/Flags 65540 /FontFile2 20 0 R>> <</Type/FontDescriptor/FontName/QNKNLJ+#b7s#b2#d3#a9#fa#c5#e9/FontBBox[0 -194 1000 800]/Flags 65568 /FontFile2 21 0 R>> <</Type/FontDescriptor/FontName/HUBBLE+#b2#d3#a9#fa#c5#e9/FontBBox[0 -194 1000 800]/Flags 65568 /FontFile2 22 0 R>> via perl -plwe 's/..../...../' 207b.pdf > new207b.pdf then run xpdf new207b.pdf to be able to read all the Chinese! What should I change? Thanks. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org