ZapfDingbats.c 7.88 KB
Newer Older
1 2 3 4 5 6 7
/*******************************************************************************
 *
 *	Font metric data for ITC Zapf Dingbats
 *
 *	Copyright 2001 Ian Pilcher
 *
 *
8
 *	See dlls/wineps/data/COPYRIGHTS for font copyright information.
9
 *
10 11 12
 */

#include "psdrv.h"
13
#include "data/agl.h"
14 15 16 17 18 19


/*
 *  Glyph metrics
 */

20
static const AFMMETRICS metrics[188] =
21
{
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
    {  32, 0xf020,  278, GN_space },
    {  33, 0xf021,  974, GN_a1 },
    {  34, 0xf022,  961, GN_a2 },
    {  35, 0xf023,  974, GN_a202 },
    {  36, 0xf024,  980, GN_a3 },
    {  37, 0xf025,  719, GN_a4 },
    {  38, 0xf026,  789, GN_a5 },
    {  39, 0xf027,  790, GN_a119 },
    {  40, 0xf028,  791, GN_a118 },
    {  41, 0xf029,  690, GN_a117 },
    {  42, 0xf02a,  960, GN_a11 },
    {  43, 0xf02b,  939, GN_a12 },
    {  44, 0xf02c,  549, GN_a13 },
    {  45, 0xf02d,  855, GN_a14 },
    {  46, 0xf02e,  911, GN_a15 },
    {  47, 0xf02f,  933, GN_a16 },
    {  48, 0xf030,  911, GN_a105 },
    {  49, 0xf031,  945, GN_a17 },
    {  50, 0xf032,  974, GN_a18 },
    {  51, 0xf033,  755, GN_a19 },
    {  52, 0xf034,  846, GN_a20 },
    {  53, 0xf035,  762, GN_a21 },
    {  54, 0xf036,  761, GN_a22 },
    {  55, 0xf037,  571, GN_a23 },
    {  56, 0xf038,  677, GN_a24 },
    {  57, 0xf039,  763, GN_a25 },
    {  58, 0xf03a,  760, GN_a26 },
    {  59, 0xf03b,  759, GN_a27 },
    {  60, 0xf03c,  754, GN_a28 },
    {  61, 0xf03d,  494, GN_a6 },
    {  62, 0xf03e,  552, GN_a7 },
    {  63, 0xf03f,  537, GN_a8 },
    {  64, 0xf040,  577, GN_a9 },
    {  65, 0xf041,  692, GN_a10 },
    {  66, 0xf042,  786, GN_a29 },
    {  67, 0xf043,  788, GN_a30 },
    {  68, 0xf044,  788, GN_a31 },
    {  69, 0xf045,  790, GN_a32 },
    {  70, 0xf046,  793, GN_a33 },
    {  71, 0xf047,  794, GN_a34 },
    {  72, 0xf048,  816, GN_a35 },
    {  73, 0xf049,  823, GN_a36 },
    {  74, 0xf04a,  789, GN_a37 },
    {  75, 0xf04b,  841, GN_a38 },
    {  76, 0xf04c,  823, GN_a39 },
    {  77, 0xf04d,  833, GN_a40 },
    {  78, 0xf04e,  816, GN_a41 },
    {  79, 0xf04f,  831, GN_a42 },
    {  80, 0xf050,  923, GN_a43 },
    {  81, 0xf051,  744, GN_a44 },
    {  82, 0xf052,  723, GN_a45 },
    {  83, 0xf053,  749, GN_a46 },
    {  84, 0xf054,  790, GN_a47 },
    {  85, 0xf055,  792, GN_a48 },
    {  86, 0xf056,  695, GN_a49 },
    {  87, 0xf057,  776, GN_a50 },
    {  88, 0xf058,  768, GN_a51 },
    {  89, 0xf059,  792, GN_a52 },
    {  90, 0xf05a,  759, GN_a53 },
    {  91, 0xf05b,  707, GN_a54 },
    {  92, 0xf05c,  708, GN_a55 },
    {  93, 0xf05d,  682, GN_a56 },
    {  94, 0xf05e,  701, GN_a57 },
    {  95, 0xf05f,  826, GN_a58 },
    {  96, 0xf060,  815, GN_a59 },
    {  97, 0xf061,  789, GN_a60 },
    {  98, 0xf062,  789, GN_a61 },
    {  99, 0xf063,  707, GN_a62 },
    { 100, 0xf064,  687, GN_a63 },
    { 101, 0xf065,  696, GN_a64 },
    { 102, 0xf066,  689, GN_a65 },
    { 103, 0xf067,  786, GN_a66 },
    { 104, 0xf068,  787, GN_a67 },
    { 105, 0xf069,  713, GN_a68 },
    { 106, 0xf06a,  791, GN_a69 },
    { 107, 0xf06b,  785, GN_a70 },
    { 108, 0xf06c,  791, GN_a71 },
    { 109, 0xf06d,  873, GN_a72 },
    { 110, 0xf06e,  761, GN_a73 },
    { 111, 0xf06f,  762, GN_a74 },
    { 112, 0xf070,  762, GN_a203 },
    { 113, 0xf071,  759, GN_a75 },
    { 114, 0xf072,  759, GN_a204 },
    { 115, 0xf073,  892, GN_a76 },
    { 116, 0xf074,  892, GN_a77 },
    { 117, 0xf075,  788, GN_a78 },
    { 118, 0xf076,  784, GN_a79 },
    { 119, 0xf077,  438, GN_a81 },
    { 120, 0xf078,  138, GN_a82 },
    { 121, 0xf079,  277, GN_a83 },
    { 122, 0xf07a,  415, GN_a84 },
    { 123, 0xf07b,  392, GN_a97 },
    { 124, 0xf07c,  392, GN_a98 },
    { 125, 0xf07d,  668, GN_a99 },
    { 126, 0xf07e,  668, GN_a100 },
    { 161, 0xf0a1,  732, GN_a101 },
    { 162, 0xf0a2,  544, GN_a102 },
    { 163, 0xf0a3,  544, GN_a103 },
    { 164, 0xf0a4,  910, GN_a104 },
    { 165, 0xf0a5,  667, GN_a106 },
    { 166, 0xf0a6,  760, GN_a107 },
    { 167, 0xf0a7,  760, GN_a108 },
    { 168, 0xf0a8,  776, GN_a112 },
    { 169, 0xf0a9,  595, GN_a111 },
    { 170, 0xf0aa,  694, GN_a110 },
    { 171, 0xf0ab,  626, GN_a109 },
    { 172, 0xf0ac,  788, GN_a120 },
    { 173, 0xf0ad,  788, GN_a121 },
    { 174, 0xf0ae,  788, GN_a122 },
    { 175, 0xf0af,  788, GN_a123 },
    { 176, 0xf0b0,  788, GN_a124 },
    { 177, 0xf0b1,  788, GN_a125 },
    { 178, 0xf0b2,  788, GN_a126 },
    { 179, 0xf0b3,  788, GN_a127 },
    { 180, 0xf0b4,  788, GN_a128 },
    { 181, 0xf0b5,  788, GN_a129 },
    { 182, 0xf0b6,  788, GN_a130 },
    { 183, 0xf0b7,  788, GN_a131 },
    { 184, 0xf0b8,  788, GN_a132 },
    { 185, 0xf0b9,  788, GN_a133 },
    { 186, 0xf0ba,  788, GN_a134 },
    { 187, 0xf0bb,  788, GN_a135 },
    { 188, 0xf0bc,  788, GN_a136 },
    { 189, 0xf0bd,  788, GN_a137 },
    { 190, 0xf0be,  788, GN_a138 },
    { 191, 0xf0bf,  788, GN_a139 },
    { 192, 0xf0c0,  788, GN_a140 },
    { 193, 0xf0c1,  788, GN_a141 },
    { 194, 0xf0c2,  788, GN_a142 },
    { 195, 0xf0c3,  788, GN_a143 },
    { 196, 0xf0c4,  788, GN_a144 },
    { 197, 0xf0c5,  788, GN_a145 },
    { 198, 0xf0c6,  788, GN_a146 },
    { 199, 0xf0c7,  788, GN_a147 },
    { 200, 0xf0c8,  788, GN_a148 },
    { 201, 0xf0c9,  788, GN_a149 },
    { 202, 0xf0ca,  788, GN_a150 },
    { 203, 0xf0cb,  788, GN_a151 },
    { 204, 0xf0cc,  788, GN_a152 },
    { 205, 0xf0cd,  788, GN_a153 },
    { 206, 0xf0ce,  788, GN_a154 },
    { 207, 0xf0cf,  788, GN_a155 },
    { 208, 0xf0d0,  788, GN_a156 },
    { 209, 0xf0d1,  788, GN_a157 },
    { 210, 0xf0d2,  788, GN_a158 },
    { 211, 0xf0d3,  788, GN_a159 },
    { 212, 0xf0d4,  894, GN_a160 },
    { 213, 0xf0d5,  838, GN_a161 },
    { 214, 0xf0d6, 1016, GN_a163 },
    { 215, 0xf0d7,  458, GN_a164 },
    { 216, 0xf0d8,  748, GN_a196 },
    { 217, 0xf0d9,  924, GN_a165 },
    { 218, 0xf0da,  748, GN_a192 },
    { 219, 0xf0db,  918, GN_a166 },
    { 220, 0xf0dc,  927, GN_a167 },
    { 221, 0xf0dd,  928, GN_a168 },
    { 222, 0xf0de,  928, GN_a169 },
    { 223, 0xf0df,  834, GN_a170 },
    { 224, 0xf0e0,  873, GN_a171 },
    { 225, 0xf0e1,  828, GN_a172 },
    { 226, 0xf0e2,  924, GN_a173 },
    { 227, 0xf0e3,  924, GN_a162 },
    { 228, 0xf0e4,  917, GN_a174 },
    { 229, 0xf0e5,  930, GN_a175 },
    { 230, 0xf0e6,  931, GN_a176 },
    { 231, 0xf0e7,  463, GN_a177 },
    { 232, 0xf0e8,  883, GN_a178 },
    { 233, 0xf0e9,  836, GN_a179 },
    { 234, 0xf0ea,  836, GN_a193 },
    { 235, 0xf0eb,  867, GN_a180 },
    { 236, 0xf0ec,  867, GN_a199 },
    { 237, 0xf0ed,  696, GN_a181 },
    { 238, 0xf0ee,  696, GN_a200 },
    { 239, 0xf0ef,  874, GN_a182 },
    { 241, 0xf0f1,  874, GN_a201 },
    { 242, 0xf0f2,  760, GN_a183 },
    { 243, 0xf0f3,  946, GN_a184 },
    { 244, 0xf0f4,  771, GN_a197 },
    { 245, 0xf0f5,  865, GN_a185 },
    { 246, 0xf0f6,  771, GN_a194 },
    { 247, 0xf0f7,  888, GN_a198 },
    { 248, 0xf0f8,  967, GN_a186 },
    { 249, 0xf0f9,  888, GN_a195 },
    { 250, 0xf0fa,  831, GN_a187 },
    { 251, 0xf0fb,  873, GN_a188 },
    { 252, 0xf0fc,  927, GN_a189 },
    { 253, 0xf0fd,  970, GN_a190 },
    { 254, 0xf0fe,  918, GN_a191 }
210 211 212 213 214 215 216
};


/*
 *  Font metrics
 */

217
const AFM PSDRV_ZapfDingbats =
218
{
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244
    "ZapfDingbats",			    /* FontName */
    "ITC Zapf Dingbats",		    /* FullName */
    "ITC Zapf Dingbats",		    /* FamilyName */
    "FontSpecific",			    /* EncodingScheme */
    FW_NORMAL,				    /* Weight */
    0,					    /* ItalicAngle */
    FALSE,				    /* IsFixedPitch */
    -98,				    /* UnderlinePosition */
    54,					    /* UnderlineThickness */
    { -1, -143, 981, 820 },		    /* FontBBox */
    820,				    /* Ascender */
    -143,				    /* Descender */
    {
	1000,				    /* WinMetrics.usUnitsPerEm */
	801,				    /* WinMetrics.sAscender */
	-201,				    /* WinMetrics.sDescender */
	0,				    /* WinMetrics.sLineGap */
	740,				    /* WinMetrics.sAvgCharWidth */
	801,				    /* WinMetrics.sTypoAscender */
	-201,				    /* WinMetrics.sTypoDescender */
	68,				    /* WinMetrics.sTypoLineGap */
	801,				    /* WinMetrics.usWinAscent */
	201				    /* WinMetrics.usWinDescent */
    },
    188,				    /* NumofMetrics */
    metrics				    /* Metrics */
245
};