Times_BoldItalic.c 9.83 KB
Newer Older
1 2 3 4 5 6 7
/*******************************************************************************
 *
 *	Font metric data for Times Bold Italic
 *
 *	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[228] =
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 210 211 212 213 214 215 216 217 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 245 246 247 248 249
    {  32, 0x0020,  250, GN_space },
    {  33, 0x0021,  389, GN_exclam },
    {  34, 0x0022,  555, GN_quotedbl },
    {  35, 0x0023,  500, GN_numbersign },
    {  36, 0x0024,  500, GN_dollar },
    {  37, 0x0025,  833, GN_percent },
    {  38, 0x0026,  778, GN_ampersand },
    { 169, 0x0027,  278, GN_quotesingle },
    {  40, 0x0028,  333, GN_parenleft },
    {  41, 0x0029,  333, GN_parenright },
    {  42, 0x002a,  500, GN_asterisk },
    {  43, 0x002b,  570, GN_plus },
    {  44, 0x002c,  250, GN_comma },
    {  45, 0x002d,  333, GN_hyphen },
    {  46, 0x002e,  250, GN_period },
    {  47, 0x002f,  278, GN_slash },
    {  48, 0x0030,  500, GN_zero },
    {  49, 0x0031,  500, GN_one },
    {  50, 0x0032,  500, GN_two },
    {  51, 0x0033,  500, GN_three },
    {  52, 0x0034,  500, GN_four },
    {  53, 0x0035,  500, GN_five },
    {  54, 0x0036,  500, GN_six },
    {  55, 0x0037,  500, GN_seven },
    {  56, 0x0038,  500, GN_eight },
    {  57, 0x0039,  500, GN_nine },
    {  58, 0x003a,  333, GN_colon },
    {  59, 0x003b,  333, GN_semicolon },
    {  60, 0x003c,  570, GN_less },
    {  61, 0x003d,  570, GN_equal },
    {  62, 0x003e,  570, GN_greater },
    {  63, 0x003f,  500, GN_question },
    {  64, 0x0040,  832, GN_at },
    {  65, 0x0041,  667, GN_A },
    {  66, 0x0042,  667, GN_B },
    {  67, 0x0043,  667, GN_C },
    {  68, 0x0044,  722, GN_D },
    {  69, 0x0045,  667, GN_E },
    {  70, 0x0046,  667, GN_F },
    {  71, 0x0047,  722, GN_G },
    {  72, 0x0048,  778, GN_H },
    {  73, 0x0049,  389, GN_I },
    {  74, 0x004a,  500, GN_J },
    {  75, 0x004b,  667, GN_K },
    {  76, 0x004c,  611, GN_L },
    {  77, 0x004d,  889, GN_M },
    {  78, 0x004e,  722, GN_N },
    {  79, 0x004f,  722, GN_O },
    {  80, 0x0050,  611, GN_P },
    {  81, 0x0051,  722, GN_Q },
    {  82, 0x0052,  667, GN_R },
    {  83, 0x0053,  556, GN_S },
    {  84, 0x0054,  611, GN_T },
    {  85, 0x0055,  722, GN_U },
    {  86, 0x0056,  667, GN_V },
    {  87, 0x0057,  889, GN_W },
    {  88, 0x0058,  667, GN_X },
    {  89, 0x0059,  611, GN_Y },
    {  90, 0x005a,  611, GN_Z },
    {  91, 0x005b,  333, GN_bracketleft },
    {  92, 0x005c,  278, GN_backslash },
    {  93, 0x005d,  333, GN_bracketright },
    {  94, 0x005e,  570, GN_asciicircum },
    {  95, 0x005f,  500, GN_underscore },
    { 193, 0x0060,  333, GN_grave },
    {  97, 0x0061,  500, GN_a },
    {  98, 0x0062,  500, GN_b },
    {  99, 0x0063,  444, GN_c },
    { 100, 0x0064,  500, GN_d },
    { 101, 0x0065,  444, GN_e },
    { 102, 0x0066,  333, GN_f },
    { 103, 0x0067,  500, GN_g },
    { 104, 0x0068,  556, GN_h },
    { 105, 0x0069,  278, GN_i },
    { 106, 0x006a,  278, GN_j },
    { 107, 0x006b,  500, GN_k },
    { 108, 0x006c,  278, GN_l },
    { 109, 0x006d,  778, GN_m },
    { 110, 0x006e,  556, GN_n },
    { 111, 0x006f,  500, GN_o },
    { 112, 0x0070,  500, GN_p },
    { 113, 0x0071,  500, GN_q },
    { 114, 0x0072,  389, GN_r },
    { 115, 0x0073,  389, GN_s },
    { 116, 0x0074,  278, GN_t },
    { 117, 0x0075,  556, GN_u },
    { 118, 0x0076,  444, GN_v },
    { 119, 0x0077,  667, GN_w },
    { 120, 0x0078,  500, GN_x },
    { 121, 0x0079,  444, GN_y },
    { 122, 0x007a,  389, GN_z },
    { 123, 0x007b,  348, GN_braceleft },
    { 124, 0x007c,  220, GN_bar },
    { 125, 0x007d,  348, GN_braceright },
    { 126, 0x007e,  570, GN_asciitilde },
    { 161, 0x00a1,  389, GN_exclamdown },
    { 162, 0x00a2,  500, GN_cent },
    { 163, 0x00a3,  500, GN_sterling },
    { 168, 0x00a4,  500, GN_currency },
    { 165, 0x00a5,  500, GN_yen },
    {  -1, 0x00a6,  220, GN_brokenbar },
    { 167, 0x00a7,  500, GN_section },
    { 200, 0x00a8,  333, GN_dieresis },
    {  -1, 0x00a9,  747, GN_copyright },
    { 227, 0x00aa,  266, GN_ordfeminine },
    { 171, 0x00ab,  500, GN_guillemotleft },
    {  -1, 0x00ac,  606, GN_logicalnot },
    {  -1, 0x00ae,  747, GN_registered },
    {  -1, 0x00b0,  400, GN_degree },
    {  -1, 0x00b1,  570, GN_plusminus },
    {  -1, 0x00b2,  300, GN_twosuperior },
    {  -1, 0x00b3,  300, GN_threesuperior },
    { 194, 0x00b4,  333, GN_acute },
    { 182, 0x00b6,  500, GN_paragraph },
    { 180, 0x00b7,  250, GN_periodcentered },
    { 203, 0x00b8,  333, GN_cedilla },
    {  -1, 0x00b9,  300, GN_onesuperior },
    { 235, 0x00ba,  300, GN_ordmasculine },
    { 187, 0x00bb,  500, GN_guillemotright },
    {  -1, 0x00bc,  750, GN_onequarter },
    {  -1, 0x00bd,  750, GN_onehalf },
    {  -1, 0x00be,  750, GN_threequarters },
    { 191, 0x00bf,  500, GN_questiondown },
    {  -1, 0x00c0,  667, GN_Agrave },
    {  -1, 0x00c1,  667, GN_Aacute },
    {  -1, 0x00c2,  667, GN_Acircumflex },
    {  -1, 0x00c3,  667, GN_Atilde },
    {  -1, 0x00c4,  667, GN_Adieresis },
    {  -1, 0x00c5,  667, GN_Aring },
    { 225, 0x00c6,  944, GN_AE },
    {  -1, 0x00c7,  667, GN_Ccedilla },
    {  -1, 0x00c8,  667, GN_Egrave },
    {  -1, 0x00c9,  667, GN_Eacute },
    {  -1, 0x00ca,  667, GN_Ecircumflex },
    {  -1, 0x00cb,  667, GN_Edieresis },
    {  -1, 0x00cc,  389, GN_Igrave },
    {  -1, 0x00cd,  389, GN_Iacute },
    {  -1, 0x00ce,  389, GN_Icircumflex },
    {  -1, 0x00cf,  389, GN_Idieresis },
    {  -1, 0x00d0,  722, GN_Eth },
    {  -1, 0x00d1,  722, GN_Ntilde },
    {  -1, 0x00d2,  722, GN_Ograve },
    {  -1, 0x00d3,  722, GN_Oacute },
    {  -1, 0x00d4,  722, GN_Ocircumflex },
    {  -1, 0x00d5,  722, GN_Otilde },
    {  -1, 0x00d6,  722, GN_Odieresis },
    {  -1, 0x00d7,  570, GN_multiply },
    { 233, 0x00d8,  722, GN_Oslash },
    {  -1, 0x00d9,  722, GN_Ugrave },
    {  -1, 0x00da,  722, GN_Uacute },
    {  -1, 0x00db,  722, GN_Ucircumflex },
    {  -1, 0x00dc,  722, GN_Udieresis },
    {  -1, 0x00dd,  611, GN_Yacute },
    {  -1, 0x00de,  611, GN_Thorn },
    { 251, 0x00df,  500, GN_germandbls },
    {  -1, 0x00e0,  500, GN_agrave },
    {  -1, 0x00e1,  500, GN_aacute },
    {  -1, 0x00e2,  500, GN_acircumflex },
    {  -1, 0x00e3,  500, GN_atilde },
    {  -1, 0x00e4,  500, GN_adieresis },
    {  -1, 0x00e5,  500, GN_aring },
    { 241, 0x00e6,  722, GN_ae },
    {  -1, 0x00e7,  444, GN_ccedilla },
    {  -1, 0x00e8,  444, GN_egrave },
    {  -1, 0x00e9,  444, GN_eacute },
    {  -1, 0x00ea,  444, GN_ecircumflex },
    {  -1, 0x00eb,  444, GN_edieresis },
    {  -1, 0x00ec,  278, GN_igrave },
    {  -1, 0x00ed,  278, GN_iacute },
    {  -1, 0x00ee,  278, GN_icircumflex },
    {  -1, 0x00ef,  278, GN_idieresis },
    {  -1, 0x00f0,  500, GN_eth },
    {  -1, 0x00f1,  556, GN_ntilde },
    {  -1, 0x00f2,  500, GN_ograve },
    {  -1, 0x00f3,  500, GN_oacute },
    {  -1, 0x00f4,  500, GN_ocircumflex },
    {  -1, 0x00f5,  500, GN_otilde },
    {  -1, 0x00f6,  500, GN_odieresis },
    {  -1, 0x00f7,  570, GN_divide },
    { 249, 0x00f8,  500, GN_oslash },
    {  -1, 0x00f9,  556, GN_ugrave },
    {  -1, 0x00fa,  556, GN_uacute },
    {  -1, 0x00fb,  556, GN_ucircumflex },
    {  -1, 0x00fc,  556, GN_udieresis },
    {  -1, 0x00fd,  444, GN_yacute },
    {  -1, 0x00fe,  500, GN_thorn },
    {  -1, 0x00ff,  444, GN_ydieresis },
    { 245, 0x0131,  278, GN_dotlessi },
    { 232, 0x0141,  611, GN_Lslash },
    { 248, 0x0142,  278, GN_lslash },
    { 234, 0x0152,  944, GN_OE },
    { 250, 0x0153,  722, GN_oe },
    {  -1, 0x0160,  556, GN_Scaron },
    {  -1, 0x0161,  389, GN_scaron },
    {  -1, 0x0178,  611, GN_Ydieresis },
    {  -1, 0x017d,  611, GN_Zcaron },
    {  -1, 0x017e,  389, GN_zcaron },
    { 166, 0x0192,  500, GN_florin },
    { 195, 0x02c6,  333, GN_circumflex },
    { 207, 0x02c7,  333, GN_caron },
    { 197, 0x02c9,  333, GN_macron },
    { 198, 0x02d8,  333, GN_breve },
    { 199, 0x02d9,  333, GN_dotaccent },
    { 202, 0x02da,  333, GN_ring },
    { 206, 0x02db,  333, GN_ogonek },
    { 196, 0x02dc,  333, GN_tilde },
    { 205, 0x02dd,  333, GN_hungarumlaut },
    {  -1, 0x03bc,  576, GN_mu },
    { 177, 0x2013,  500, GN_endash },
    { 208, 0x2014, 1000, GN_emdash },
    {  96, 0x2018,  333, GN_quoteleft },
    {  39, 0x2019,  333, GN_quoteright },
    { 184, 0x201a,  333, GN_quotesinglbase },
    { 170, 0x201c,  500, GN_quotedblleft },
    { 186, 0x201d,  500, GN_quotedblright },
    { 185, 0x201e,  500, GN_quotedblbase },
    { 178, 0x2020,  500, GN_dagger },
    { 179, 0x2021,  500, GN_daggerdbl },
    { 183, 0x2022,  350, GN_bullet },
    { 188, 0x2026, 1000, GN_ellipsis },
    { 189, 0x2030, 1000, GN_perthousand },
    { 172, 0x2039,  333, GN_guilsinglleft },
    { 173, 0x203a,  333, GN_guilsinglright },
    {  -1, 0x2122, 1000, GN_trademark },
    {  -1, 0x2212,  606, GN_minus },
    { 164, 0x2215,  167, GN_fraction },
    { 174, 0xfb01,  556, GN_fi },
    { 175, 0xfb02,  556, GN_fl }
250 251 252 253 254 255 256
};


/*
 *  Font metrics
 */

257
const AFM PSDRV_Times_BoldItalic =
258
{
259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284
    "Times-BoldItalic",			    /* FontName */
    "Times Bold Italic",		    /* FullName */
    "Times",				    /* FamilyName */
    "AdobeStandardEncoding",		    /* EncodingScheme */
    FW_BOLD,				    /* Weight */
    -15,				    /* ItalicAngle */
    FALSE,				    /* IsFixedPitch */
    -100,				    /* UnderlinePosition */
    50,					    /* UnderlineThickness */
    { -200, -218, 996, 921 },		    /* FontBBox */
    699,				    /* Ascender */
    -205,				    /* Descender */
    {
	1000,				    /* WinMetrics.usUnitsPerEm */
	891,				    /* WinMetrics.sAscender */
	-216,				    /* WinMetrics.sDescender */
	42,				    /* WinMetrics.sLineGap */
	412,				    /* WinMetrics.sAvgCharWidth */
	677,				    /* WinMetrics.sTypoAscender */
	-216,				    /* WinMetrics.sTypoDescender */
	150,				    /* WinMetrics.sTypoLineGap */
	891,				    /* WinMetrics.usWinAscent */
	216				    /* WinMetrics.usWinDescent */
    },
    228,				    /* NumofMetrics */
    metrics				    /* Metrics */
285
};