From 85b3938cfece8b193f6d18aab97abed596d3e8af Mon Sep 17 00:00:00 2001 From: Luca Foppiano Date: Tue, 31 Dec 2024 12:58:10 +0100 Subject: [PATCH] cover more weirdos fonts names --- languages/xpdf-others/fitted.nameToUnicode | 7 +++++++ languages/xpdf-others/ligatures.nameToUnicode | 6 ++++++ .../{xpdf-oldstyle => xpdf-others}/oldstyle.nameToUnicode | 3 +-- languages/xpdf-others/taboldstyle.nameToUnicode | 1 + xpdfrc | 5 ++++- 5 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 languages/xpdf-others/fitted.nameToUnicode create mode 100644 languages/xpdf-others/ligatures.nameToUnicode rename languages/{xpdf-oldstyle => xpdf-others}/oldstyle.nameToUnicode (86%) create mode 100644 languages/xpdf-others/taboldstyle.nameToUnicode diff --git a/languages/xpdf-others/fitted.nameToUnicode b/languages/xpdf-others/fitted.nameToUnicode new file mode 100644 index 0000000..9aba076 --- /dev/null +++ b/languages/xpdf-others/fitted.nameToUnicode @@ -0,0 +1,7 @@ +0030 zero.fitted +0031 one.fitted +0032 two.fitted +0033 three.fitted +0034 four.fitted +0035 five.fitted +0036 six.fitted \ No newline at end of file diff --git a/languages/xpdf-others/ligatures.nameToUnicode b/languages/xpdf-others/ligatures.nameToUnicode new file mode 100644 index 0000000..831b07c --- /dev/null +++ b/languages/xpdf-others/ligatures.nameToUnicode @@ -0,0 +1,6 @@ +fb00 f_f +fb01 f_i +fb02 f_l +fb03 f_f_i + + diff --git a/languages/xpdf-oldstyle/oldstyle.nameToUnicode b/languages/xpdf-others/oldstyle.nameToUnicode similarity index 86% rename from languages/xpdf-oldstyle/oldstyle.nameToUnicode rename to languages/xpdf-others/oldstyle.nameToUnicode index 89f02f5..7af14c9 100644 --- a/languages/xpdf-oldstyle/oldstyle.nameToUnicode +++ b/languages/xpdf-others/oldstyle.nameToUnicode @@ -7,5 +7,4 @@ 0036 six.oldstyle 0037 seven.oldstyle 0038 eight.oldstyle -0039 nine.oldstyle -fb00 f_f \ No newline at end of file +0039 nine.oldstyle \ No newline at end of file diff --git a/languages/xpdf-others/taboldstyle.nameToUnicode b/languages/xpdf-others/taboldstyle.nameToUnicode new file mode 100644 index 0000000..95fbb2b --- /dev/null +++ b/languages/xpdf-others/taboldstyle.nameToUnicode @@ -0,0 +1 @@ +0038 eight.taboldstyle \ No newline at end of file diff --git a/xpdfrc b/xpdfrc index cebce4e..8d4a0ec 100644 --- a/xpdfrc +++ b/xpdfrc @@ -60,6 +60,9 @@ unicodeMap TIS-620 languages/xpdf-thai/TIS-620.unicodeMap 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 +nameToUnicode languages/xpdf-others/oldstyle.nameToUnicode +nameToUnicode languages/xpdf-others/taboldstyle.nameToUnicode +nameToUnicode languages/xpdf-others/ligatures.nameToUnicode +nameToUnicode languages/xpdf-others/fitted.nameToUnicode #----- end oldstyle support package