Hi,

 Fixed chinese and korean cMap path name and update chinese font.
 

-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/iijmio-mail.jp
 http://wiki.debian.org/HidekiYamane
diff -Nru xpdf-3.02/debian/changelog xpdf-3.02/debian/changelog
--- xpdf-3.02/debian/changelog	2010-04-04 01:38:25.000000000 +0900
+++ xpdf-3.02/debian/changelog	2010-04-15 10:12:16.000000000 +0900
@@ -1,3 +1,16 @@
+xpdf (3.02-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * merge xpdf-{chinese-simplified,chinese-traditional,japanese,korean} support
+    (Closes: #461411, #548182, #548185, #548183, #548184)
+  * debian/lang/etc/xpdf
+    - add xpdfrc-chinese-simplified, also update font path (Closes: #521780)
+    - add xpdfrc-chinese-traditional
+    - add xpdfrc-japanese, also update font path (Closes: #352007)
+    - add xpdfrc-korean
+
+ -- Hideki Yamane (Debian-JP) <henr...@debian.or.jp>  Thu, 15 Apr 2010 10:11:44 +0900
+
 xpdf (3.02-2) unstable; urgency=high
 
   [Michael Gilbert]
diff -Nru xpdf-3.02/debian/control xpdf-3.02/debian/control
--- xpdf-3.02/debian/control	2010-04-03 06:41:48.000000000 +0900
+++ xpdf-3.02/debian/control	2010-04-15 10:05:00.000000000 +0900
@@ -26,10 +26,12 @@
 Package: xpdf-common
 Architecture: all
 Depends: ${misc:Depends}
-Conflicts: xpdf (<= 0.93-6), xpdf-cyrillic, xpdf-greek, xpdf-hebrew, xpdf-latin2, xpdf-thai, xpdf-turkish
-Replaces: xpdf-cyrillic, xpdf-greek, xpdf-hebrew, xpdf-latin2, xpdf-thai, xpdf-turkish
+Conflicts: xpdf (<= 0.93-6), xpdf-cyrillic, xpdf-greek, xpdf-hebrew, xpdf-latin2, xpdf-thai, xpdf-turkish,
+ xpdf-japanese, xpdf-korean, xpdf-chinese-simplified, xpdf-chinese-traditional
+Replaces: xpdf-cyrillic, xpdf-greek, xpdf-hebrew, xpdf-latin2, xpdf-thai, xpdf-turkish,
+ xpdf-japanese, xpdf-korean, xpdf-chinese-simplified, xpdf-chinese-traditional
 Suggests: xpdf-reader | xpdf-utils
-Recommends: gsfonts-x11
+Recommends: gsfonts-x11, poppler-data
 Description: Portable Document Format (PDF) suite -- common files
  xpdf is a suite of tools for Portable Document Format (PDF) files. (These are
  sometimes called 'Acrobat' files after the name of Adobe's PDF software.)
diff -Nru xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-chinese-simplified xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-chinese-simplified
--- xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-chinese-simplified	1970-01-01 09:00:00.000000000 +0900
+++ xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-chinese-simplified	2010-04-15 10:11:26.000000000 +0900
@@ -0,0 +1,9 @@
+#----- begin Chinese Simplified support package (2010-Apr-15)
+cidToUnicode    Adobe-GB1       /usr/share/poppler/cidToUnicode/Adobe-GB1
+unicodeMap      ISO-2022-CN     /usr/share/poppler/unicodeMap/ISO-2022-CN
+unicodeMap      EUC-CN          /usr/share/poppler/unicodeMap/EUC-CN
+unicodeMap      GBK             /usr/share/poppler/unicodeMap/GBK
+cMapDir         Adobe-GB1       /usr/share/poppler/cMap/Adobe-GB1
+toUnicodeDir                    /usr/share/poppler/cMap/Adobe-GB1
+displayCIDFontTT        Adobe-GB1      /usr/share/fonts/truetype/wqy/wqy-zenhei.ttc
+#----- end Chinese Simplified support package
diff -Nru xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-chinese-traditional xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-chinese-traditional
--- xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-chinese-traditional	1970-01-01 09:00:00.000000000 +0900
+++ xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-chinese-traditional	2010-04-15 09:59:59.000000000 +0900
@@ -0,0 +1,8 @@
+#----- begin Chinese Traditional support package (2010-Apr-15)
+cidToUnicode    Adobe-CNS1      /usr/share/poppler/cidToUnicode/Adobe-CNS1
+unicodeMap      Big5            /usr/share/poppler/unicodeMap/Big5
+unicodeMap      Big5ascii       /usr/share/poppler/unicodeMap/Big5ascii
+cMapDir         Adobe-CNS1      /usr/share/poppler/cMap/Adobe-CNS1
+toUnicodeDir                    /usr/share/poppler/cMap/Adobe-CNS1
+displayCIDFontTT        Adobe-CNS1      /usr/share/fonts/truetype/arphic/bkai00mp.ttf
+#----- end Chinese Traditional support package
diff -Nru xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-japanese xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-japanese
--- xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-japanese	1970-01-01 09:00:00.000000000 +0900
+++ xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-japanese	2010-04-15 09:59:05.000000000 +0900
@@ -0,0 +1,82 @@
+#----- begin Japanese support package (2010-Apr-15)
+cidToUnicode    Adobe-Japan1    /usr/share/poppler/cidToUnicode/Adobe-Japan1
+unicodeMap      ISO-2022-JP     /usr/share/poppler/unicodeMap/ISO-2022-JP
+unicodeMap      EUC-JP          /usr/share/poppler/unicodeMap/EUC-JP
+unicodeMap      Shift-JIS       /usr/share/poppler/unicodeMap/Shift-JIS
+cMapDir         Adobe-Japan1    /usr/share/poppler/cMap/Adobe-Japan1
+toUnicodeDir                    /usr/share/poppler/cMap/Adobe-Japan1
+#displayCIDFontX        Adobe-Japan1    "-*-fixed-medium-r-normal-*-%s-*-*-*-*-*-jisx0208.1983-0" ISO-2022-JP
+displayCIDFontTT        Adobe-Japan1    /usr/share/fonts/truetype/ttf-japanese-mincho.ttf
+displayNamedCIDFontTT   Ryumin-Light    /usr/share/fonts/truetype/ttf-japanese-mincho.ttf
+displayNamedCIDFontTT   Ryumin-Light-H  /usr/share/fonts/truetype/ttf-japanese-mincho.ttf
+displayNamedCIDFontTT   Ryumin-Light-Identity-H /usr/share/fonts/truetype/ttf-japanese-mincho.ttf
+displayNamedCIDFontTT   FutoMinA101-Bold-Identity-H     /usr/share/fonts/truetype/ttf-japanese-mincho.ttf
+displayNamedCIDFontTT   GothicBBB-Meidum        /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   GothicBBB-Medium-H      /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   GothicBBB-Medium-Identity-H     /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   Shingo-Medium-Identity-H        /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   ShinGo-Bold-Identity-H  /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   ShinGo-Ultra-Identity-H /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   HeiseiKakuGo-W5 /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   HeiseiKakuGo-W7 /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   HeiseiKakuGo-W9 /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   MidashiGo-MB31  /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   FutoGoB101-Bold /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   MS-Gothic       /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   MS-PGothic      /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   HG-GothicB      /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   Kochi-Gothic    /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   LX-Gothic       /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   LX-P-Gothic     /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   MSPゴシック  /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   MSゴシック    /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   DFPゴシック  /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   DFP特太ゴシック      /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   @ヒラギノ角ゴ3等幅      /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   @ヒラギノ角ゴ5等幅      /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+displayNamedCIDFontTT   @ヒラギノ角ゴ7等幅      /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
+
+psFont16        Adobe-Japan1    H       Ryumin-Light-H  ISO-2022-JP
+psFont16        Adobe-Japan1    V       Ryumin-Light-V  ISO-2022-JP
+psNamedFont16   GothicBBB-Medium-H      H       GothicBBB-Medium-H      ISO-2022-JP
+psNamedFont16   GothicBBB-Medium-Identity-H     H       GothicBBB-Medium-H      ISO-2022-JP
+psNamedFont16   GothicBBB-Medium-V      V       GothicBBB-Medium-V      ISO-2022-JP
+psNamedFont16    MidashiGo-MB31   H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    MidashiGo-MB31   V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    FutoGoB101-Bold  H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    FutoGoB101-Bold  V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    HeiseiKakuGo-W5  H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    HeiseiKakuGo-W5  V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    HeiseiKakuGo-W9  H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    HeiseiKakuGo-W9  V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    HeiseiMaruGo-W4  H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    HeiseiMaruGo-W4  V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    MS-Gothic        H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    MS-Gothic        V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    HG-GothicB       H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    HG-GothicB       V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    Kochi-Gothic     H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    Kochi-Gothic     V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    LX-Gothic        H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    LX-Gothic        V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    LX-P-Gothic      H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    LX-P-Gothic      V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    MSPゴシック   H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    MSPゴシック   V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    MSゴシック     H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    MSゴシック     V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    DFPゴシック   H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    DFPゴシック   V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    DFP特太ゴシック       H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    DFP特太ゴシック       V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    @ヒラギノ角ゴ3等倍       H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    @ヒラギノ角ゴ3等倍       V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    @ヒラギノ角ゴ5等倍       H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    @ヒラギノ角ゴ5等倍       V     GothicBBB-Medium-V ISO-2022-JP
+psNamedFont16    @ヒラギノ角ゴ7等倍       H     GothicBBB-Medium-H ISO-2022-JP
+psNamedFont16    @ヒラギノ角ゴ7等倍       V     GothicBBB-Medium-V ISO-2022-JP
+
+# comment out textEnconding
+#textEncoding    EUC-JP
+#----- end Japanese support package
+
diff -Nru xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-korean xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-korean
--- xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-korean	1970-01-01 09:00:00.000000000 +0900
+++ xpdf-3.02/debian/lang/etc/xpdf/xpdfrc-korean	2010-04-15 09:59:20.000000000 +0900
@@ -0,0 +1,9 @@
+#----- begin Korean support package (2010-Apr-15)
+cidToUnicode    Adobe-Korea1    /usr/share/poppler/cidToUnicode/Adobe-Korea1
+unicodeMap      ISO-2022-KR     /usr/share/poppler/unicodeMap/ISO-2022-KR
+cMapDir         Adobe-Korea1    /usr/share/poppler/cMap/Adobe-Korea1
+toUnicodeDir                    /usr/share/poppler/cMap/Adobe-Korea1
+displayCIDFontTT        Adobe-Korea1    /usr/share/fonts/truetype/baekmuk/batang.ttf
+displayCIDFontTT        Unidocs-Korea1  /usr/share/fonts/truetype/baekmuk/batang.ttf
+#----- end Korean support package
+

Reply via email to