From 5fb1268ab2a5e9ab31836f9b4c6ccdd9c218e412 Mon Sep 17 00:00:00 2001
From: Adrian Johnson <ajohnson@redneon.com>
Date: Fri, 17 Feb 2012 23:04:44 +1030
Subject: [PATCH] Add Zapf Dingbats unicode to glyph name mapping

This is required when the Zapf Dingbat substitute font is a truetype
font.

Bug 13131
---
 poppler/NameToUnicodeTable.h |  204 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 204 insertions(+), 0 deletions(-)

diff --git a/poppler/NameToUnicodeTable.h b/poppler/NameToUnicodeTable.h
index c8ed30c..187a621 100644
--- a/poppler/NameToUnicodeTable.h
+++ b/poppler/NameToUnicodeTable.h
@@ -4270,5 +4270,209 @@ static struct {
   {0x007c, "|"},
   {0x007d, "}"},
   {0x007e, "~"},
+
+  // ZapfDingbats
+  {0x2701, "a1"},
+  {0x2702, "a2"},
+  {0x2703, "a202"},
+  {0x2704, "a3"},
+  {0x260E, "a4"},
+  {0x2706, "a5"},
+  {0x2707, "a119"},
+  {0x2708, "a118"},
+  {0x2709, "a117"},
+  {0x261B, "a11"},
+  {0x261E, "a12"},
+  {0x270C, "a13"},
+  {0x270D, "a14"},
+  {0x270E, "a15"},
+  {0x270F, "a16"},
+  {0x2710, "a105"},
+  {0x2711, "a17"},
+  {0x2712, "a18"},
+  {0x2713, "a19"},
+  {0x2714, "a20"},
+  {0x2715, "a21"},
+  {0x2716, "a22"},
+  {0x2717, "a23"},
+  {0x2718, "a24"},
+  {0x2719, "a25"},
+  {0x271A, "a26"},
+  {0x271B, "a27"},
+  {0x271C, "a28"},
+  {0x271D, "a6"},
+  {0x271E, "a7"},
+  {0x271F, "a8"},
+  {0x2720, "a9"},
+  {0x2721, "a10"},
+  {0x2722, "a29"},
+  {0x2723, "a30"},
+  {0x2724, "a31"},
+  {0x2725, "a32"},
+  {0x2726, "a33"},
+  {0x2727, "a34"},
+  {0x2605, "a35"},
+  {0x2729, "a36"},
+  {0x272A, "a37"},
+  {0x272B, "a38"},
+  {0x272C, "a39"},
+  {0x272D, "a40"},
+  {0x272E, "a41"},
+  {0x272F, "a42"},
+  {0x2730, "a43"},
+  {0x2731, "a44"},
+  {0x2732, "a45"},
+  {0x2733, "a46"},
+  {0x2734, "a47"},
+  {0x2735, "a48"},
+  {0x2736, "a49"},
+  {0x2737, "a50"},
+  {0x2738, "a51"},
+  {0x2739, "a52"},
+  {0x273A, "a53"},
+  {0x273B, "a54"},
+  {0x273C, "a55"},
+  {0x273D, "a56"},
+  {0x273E, "a57"},
+  {0x273F, "a58"},
+  {0x2740, "a59"},
+  {0x2741, "a60"},
+  {0x2742, "a61"},
+  {0x2743, "a62"},
+  {0x2744, "a63"},
+  {0x2745, "a64"},
+  {0x2746, "a65"},
+  {0x2747, "a66"},
+  {0x2748, "a67"},
+  {0x2749, "a68"},
+  {0x274A, "a69"},
+  {0x274B, "a70"},
+  {0x25CF, "a71"},
+  {0x274D, "a72"},
+  {0x25A0, "a73"},
+  {0x274F, "a74"},
+  {0x2750, "a203"},
+  {0x2751, "a75"},
+  {0x2752, "a204"},
+  {0x25B2, "a76"},
+  {0x25BC, "a77"},
+  {0x25C6, "a78"},
+  {0x2756, "a79"},
+  {0x25D7, "a81"},
+  {0x2758, "a82"},
+  {0x2759, "a83"},
+  {0x275A, "a84"},
+  {0x275B, "a97"},
+  {0x275C, "a98"},
+  {0x275D, "a99"},
+  {0x275E, "a100"},
+  {0xF8D7, "a89"},
+  {0xF8D8, "a90"},
+  {0xF8D9, "a93"},
+  {0xF8DA, "a94"},
+  {0xF8DB, "a91"},
+  {0xF8DC, "a92"},
+  {0xF8DD, "a205"},
+  {0xF8DE, "a85"},
+  {0xF8DF, "a206"},
+  {0xF8E0, "a86"},
+  {0xF8E1, "a87"},
+  {0xF8E2, "a88"},
+  {0xF8E3, "a95"},
+  {0xF8E4, "a96"},
+  {0x2761, "a101"},
+  {0x2762, "a102"},
+  {0x2763, "a103"},
+  {0x2764, "a104"},
+  {0x2765, "a106"},
+  {0x2766, "a107"},
+  {0x2767, "a108"},
+  {0x2663, "a112"},
+  {0x2666, "a111"},
+  {0x2665, "a110"},
+  {0x2660, "a109"},
+  {0x2460, "a120"},
+  {0x2461, "a121"},
+  {0x2462, "a122"},
+  {0x2463, "a123"},
+  {0x2464, "a124"},
+  {0x2465, "a125"},
+  {0x2466, "a126"},
+  {0x2467, "a127"},
+  {0x2468, "a128"},
+  {0x2469, "a129"},
+  {0x2776, "a130"},
+  {0x2777, "a131"},
+  {0x2778, "a132"},
+  {0x2779, "a133"},
+  {0x277A, "a134"},
+  {0x277B, "a135"},
+  {0x277C, "a136"},
+  {0x277D, "a137"},
+  {0x277E, "a138"},
+  {0x277F, "a139"},
+  {0x2780, "a140"},
+  {0x2781, "a141"},
+  {0x2782, "a142"},
+  {0x2783, "a143"},
+  {0x2784, "a144"},
+  {0x2785, "a145"},
+  {0x2786, "a146"},
+  {0x2787, "a147"},
+  {0x2788, "a148"},
+  {0x2789, "a149"},
+  {0x278A, "a150"},
+  {0x278B, "a151"},
+  {0x278C, "a152"},
+  {0x278D, "a153"},
+  {0x278E, "a154"},
+  {0x278F, "a155"},
+  {0x2790, "a156"},
+  {0x2791, "a157"},
+  {0x2792, "a158"},
+  {0x2793, "a159"},
+  {0x2794, "a160"},
+  {0x2192, "a161"},
+  {0x2194, "a163"},
+  {0x2195, "a164"},
+  {0x2798, "a196"},
+  {0x2799, "a165"},
+  {0x279A, "a192"},
+  {0x279B, "a166"},
+  {0x279C, "a167"},
+  {0x279D, "a168"},
+  {0x279E, "a169"},
+  {0x279F, "a170"},
+  {0x27A0, "a171"},
+  {0x27A1, "a172"},
+  {0x27A2, "a173"},
+  {0x27A3, "a162"},
+  {0x27A4, "a174"},
+  {0x27A5, "a175"},
+  {0x27A6, "a176"},
+  {0x27A7, "a177"},
+  {0x27A8, "a178"},
+  {0x27A9, "a179"},
+  {0x27AA, "a193"},
+  {0x27AB, "a180"},
+  {0x27AC, "a199"},
+  {0x27AD, "a181"},
+  {0x27AE, "a200"},
+  {0x27AF, "a182"},
+  {0x27B1, "a201"},
+  {0x27B2, "a183"},
+  {0x27B3, "a184"},
+  {0x27B4, "a197"},
+  {0x27B5, "a185"},
+  {0x27B6, "a194"},
+  {0x27B7, "a198"},
+  {0x27B8, "a186"},
+  {0x27B9, "a195"},
+  {0x27BA, "a187"},
+  {0x27BB, "a188"},
+  {0x27BC, "a189"},
+  {0x27BD, "a190"},
+  {0x27BE, "a191"},
+
   { 0, NULL }
 };
-- 
1.7.5.4