From 8f38bb1f41c330186f3840e455430b9e65e5aa38 Mon Sep 17 00:00:00 2001 From: Luca Foppiano Date: Tue, 31 Dec 2024 11:54:55 +0100 Subject: [PATCH] add mapping for the oldstyle Adobe non-standard naming convention, remove duplicated file --- .../xpdf-oldstyle/oldstyle.nameToUnicode | 11 ++++ languages/xpdfrc | 61 ------------------- xpdfrc | 4 ++ 3 files changed, 15 insertions(+), 61 deletions(-) create mode 100644 languages/xpdf-oldstyle/oldstyle.nameToUnicode delete mode 100644 languages/xpdfrc diff --git a/languages/xpdf-oldstyle/oldstyle.nameToUnicode b/languages/xpdf-oldstyle/oldstyle.nameToUnicode new file mode 100644 index 0000000..89f02f5 --- /dev/null +++ b/languages/xpdf-oldstyle/oldstyle.nameToUnicode @@ -0,0 +1,11 @@ +0030 zero.oldstyle +0031 one.oldstyle +0032 two.oldstyle +0033 three.oldstyle +0034 four.oldstyle +0035 five.oldstyle +0036 six.oldstyle +0037 seven.oldstyle +0038 eight.oldstyle +0039 nine.oldstyle +fb00 f_f \ No newline at end of file diff --git a/languages/xpdfrc b/languages/xpdfrc deleted file mode 100644 index 895c5de..0000000 --- a/languages/xpdfrc +++ /dev/null @@ -1,61 +0,0 @@ -#----- begin Arabic support package (2011-aug-15) -unicodeMap ISO-8859-6 languages/xpdf-arabic/ISO-8859-6.unicodeMap -#----- end Arabic support package -#----- begin Chinese Simplified support package (2011-sep-02) -cidToUnicode Adobe-GB1 languages/xpdf-chinese-simplified/Adobe-GB1.cidToUnicode -unicodeMap ISO-2022-CN languages/xpdf-chinese-simplified/ISO-2022-CN.unicodeMap -unicodeMap EUC-CN languages/xpdf-chinese-simplified/EUC-CN.unicodeMap -unicodeMap GBK languages/xpdf-chinese-simplified/GBK.unicodeMap -cMapDir Adobe-GB1 languages/xpdf-chinese-simplified/CMap -toUnicodeDir languages/xpdf-chinese-simplified/CMap -#fontFileCC Adobe-GB1 /usr/..../NotoSansCJKsc-Regular.otf -#----- end Chinese Simplified support package -#----- begin Chinese Traditional support package (2011-sep-02) -cidToUnicode Adobe-CNS1 languages/xpdf-chinese-traditional/Adobe-CNS1.cidToUnicode -unicodeMap Big5 languages/xpdf-chinese-traditional/Big5.unicodeMap -unicodeMap Big5ascii languages/xpdf-chinese-traditional/Big5ascii.unicodeMap -cMapDir Adobe-CNS1 languages/xpdf-chinese-traditional/CMap -toUnicodeDir languages/xpdf-chinese-traditional/CMap -#fontFileCC Adobe-CNS1 /usr/..../NotoSansCJKtc-Regular.otf" -#----- end Chinese Traditional support package -#----- begin Cyrillic support package (2011-aug-15) -nameToUnicode languages/xpdf-cyrillic/Bulgarian.nameToUnicode -unicodeMap KOI8-R languages/xpdf-cyrillic/KOI8-R.unicodeMap -#----- end Cyrillic support package -#----- begin Greek support package (2011-aug-15) -nameToUnicode languages/xpdf-greek/Greek.nameToUnicode -unicodeMap ISO-8859-7 languages/xpdf-greek/ISO-8859-7.unicodeMap -#----- end Greek support package -#----- begin Hebrew support package (2011-aug-15) -unicodeMap ISO-8859-8 languages/xpdf-hebrew/ISO-8859-8.unicodeMap -unicodeMap Windows-1255 languages/xpdf-hebrew/Windows-1255.unicodeMap -#----- end Hebrew support package -#----- begin Japanese support package (2011-sep-02) -cidToUnicode Adobe-Japan1 languages/xpdf-japanese/Adobe-Japan1.cidToUnicode -unicodeMap ISO-2022-JP languages/xpdf-japanese/ISO-2022-JP.unicodeMap -unicodeMap EUC-JP languages/xpdf-japanese/EUC-JP.unicodeMap -unicodeMap Shift-JIS languages/xpdf-japanese/Shift-JIS.unicodeMap -cMapDir Adobe-Japan1 languages/xpdf-japanese/CMap -toUnicodeDir languages/xpdf-japanese/CMap -#fontFileCC Adobe-Japan1 /usr/..../NotoSansCJKjp-Regular.otf -#----- end Japanese support package -#----- begin Korean support package (2011-sep-02) -cidToUnicode Adobe-Korea1 languages/xpdf-korean/Adobe-Korea1.cidToUnicode -cidToUnicode Adobe-KR languages/xpdf-korean/Adobe-KR.cidToUnicode -unicodeMap ISO-2022-KR languages/xpdf-korean/ISO-2022-KR.unicodeMap -cMapDir Adobe-Korea1 languages/xpdf-korean/CMap -cMapDir Adobe-KR languages/xpdf-korean/CMap -toUnicodeDir languages/xpdf-korean/CMap -#fontFileCC Adobe-Korea1 /usr/..../NotoSansCJKkr-Regular.otf -#fontFileCC Adobe-KR /usr/..../NotoSansCJKkr-Regular.otf -#----- end Korean support package -#----- begin Latin2 support package (2011-aug-15) -unicodeMap Latin2 languages/xpdf-latin2/Latin2.unicodeMap -#----- end Latin2 support package -#----- begin Thai support package (2011-aug-15) -nameToUnicode languages/xpdf-thai/Thai.nameToUnicode -unicodeMap TIS-620 languages/xpdf-thai/TIS-620.unicodeMap -#----- end Thai support package -#----- begin Turkish support package (2011-aug-15) -unicodeMap ISO-8859-9 languages/xpdf-turkish/ISO-8859-9.unicodeMap -#----- end Turkish support package diff --git a/xpdfrc b/xpdfrc index 895c5de..cebce4e 100644 --- a/xpdfrc +++ b/xpdfrc @@ -59,3 +59,7 @@ unicodeMap TIS-620 languages/xpdf-thai/TIS-620.unicodeMap #----- begin Turkish support package (2011-aug-15) unicodeMap ISO-8859-9 languages/xpdf-turkish/ISO-8859-9.unicodeMap #----- end Turkish support package +#----- begin oldstyle support package (2024-dec-31) +nameToUnicode languages/xpdf-oldstyle/oldstyle.nameToUnicode +#----- end oldstyle support package +