| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #include "../../../include/fpdfapi/fpdf_page.h" | 7 #include "../../../include/fpdfapi/fpdf_page.h" |
| 8 #include "../../../include/fxge/fx_freetype.h" | 8 #include "../../../include/fxge/fx_freetype.h" |
| 9 extern FX_WCHAR PDF_UnicodeFromAdobeName(const FX_CHAR*); | 9 extern FX_WCHAR PDF_UnicodeFromAdobeName(const FX_CHAR*); |
| 10 const struct _UnicodeAlt { | 10 const struct _UnicodeAlt { |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 0x2778, 0x2779, 0x277A, 0x277B, 0x277C, 0x277D, 0x277E, 0x277F, | 257 0x2778, 0x2779, 0x277A, 0x277B, 0x277C, 0x277D, 0x277E, 0x277F, |
| 258 0x2780, 0x2781, 0x2782, 0x2783, 0x2784, 0x2785, 0x2786, 0x2787, | 258 0x2780, 0x2781, 0x2782, 0x2783, 0x2784, 0x2785, 0x2786, 0x2787, |
| 259 0x2788, 0x2789, 0x278A, 0x278B, 0x278C, 0x278D, 0x278E, 0x278F, | 259 0x2788, 0x2789, 0x278A, 0x278B, 0x278C, 0x278D, 0x278E, 0x278F, |
| 260 0x2790, 0x2791, 0x2792, 0x2793, 0x2794, 0x2192, 0x2194, 0x2195, | 260 0x2790, 0x2791, 0x2792, 0x2793, 0x2794, 0x2192, 0x2194, 0x2195, |
| 261 0x2798, 0x2799, 0x279A, 0x279B, 0x279C, 0x279D, 0x279E, 0x279F, | 261 0x2798, 0x2799, 0x279A, 0x279B, 0x279C, 0x279D, 0x279E, 0x279F, |
| 262 0x27A0, 0x27A1, 0x27A2, 0x27A3, 0x27A4, 0x27A5, 0x27A6, 0x27A7, | 262 0x27A0, 0x27A1, 0x27A2, 0x27A3, 0x27A4, 0x27A5, 0x27A6, 0x27A7, |
| 263 0x27A8, 0x27A9, 0x27AA, 0x27AB, 0x27AC, 0x27AD, 0x27AE, 0x27AF, | 263 0x27A8, 0x27A9, 0x27AA, 0x27AB, 0x27AC, 0x27AD, 0x27AE, 0x27AF, |
| 264 0x0000, 0x27B1, 0x27B2, 0x27B3, 0x27B4, 0x27B5, 0x27B6, 0x27B7, | 264 0x0000, 0x27B1, 0x27B2, 0x27B3, 0x27B4, 0x27B5, 0x27B6, 0x27B7, |
| 265 0x27B8, 0x27B9, 0x27BA, 0x27BB, 0x27BC, 0x27BD, 0x27BE, 0x0000, | 265 0x27B8, 0x27B9, 0x27BA, 0x27BB, 0x27BC, 0x27BD, 0x27BE, 0x0000, |
| 266 }; | 266 }; |
| 267 const FX_LPCSTR StandardEncodingNames[224] = { | 267 const FX_CHAR* const StandardEncodingNames[224] = { |
| 268 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quoteright", | 268 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quoteright", |
| 269 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", | 269 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", |
| 270 "zero", "one", "two", "three", "four", "five", "six", "seven", | 270 "zero", "one", "two", "three", "four", "five", "six", "seven", |
| 271 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", | 271 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", |
| 272 "at", "A", "B", "C", "D", "E", "F", "G", | 272 "at", "A", "B", "C", "D", "E", "F", "G", |
| 273 "H", "I", "J", "K", "L", "M", "N", "O", | 273 "H", "I", "J", "K", "L", "M", "N", "O", |
| 274 "P", "Q", "R", "S", "T", "U", "V", "W", | 274 "P", "Q", "R", "S", "T", "U", "V", "W", |
| 275 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", | 275 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", |
| 276 "quoteleft", "a", "b", "c", "d", "e", "f", "g", | 276 "quoteleft", "a", "b", "c", "d", "e", "f", "g", |
| 277 "h", "i", "j", "k", "l", "m", "n", "o", | 277 "h", "i", "j", "k", "l", "m", "n", "o", |
| 278 "p", "q", "r", "s", "t", "u", "v", "w", | 278 "p", "q", "r", "s", "t", "u", "v", "w", |
| 279 "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", NULL, | 279 "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", NULL, |
| 280 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 280 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
| 281 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 281 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
| 282 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 282 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
| 283 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 283 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
| 284 NULL, "exclamdown", "cent", "sterling", "fraction", "yen", "florin", "sectio
n", | 284 NULL, "exclamdown", "cent", "sterling", "fraction", "yen", "florin", "sectio
n", |
| 285 "currency", "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft",
"guilsinglright", "fi", "fl", | 285 "currency", "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft",
"guilsinglright", "fi", "fl", |
| 286 NULL, "endash", "dagger", "daggerdbl", "periodcentered", NULL, "paragraph",
"bullet", | 286 NULL, "endash", "dagger", "daggerdbl", "periodcentered", NULL, "paragraph",
"bullet", |
| 287 "quotesinglbase", "quotedblbase", "quotedblright", "guillemotright", "ellips
is", "perthousand", NULL, "questiondown", | 287 "quotesinglbase", "quotedblbase", "quotedblright", "guillemotright", "ellips
is", "perthousand", NULL, "questiondown", |
| 288 NULL, "grave", "acute", "circumflex", "tilde", "macron", "breve", "dotaccent
", | 288 NULL, "grave", "acute", "circumflex", "tilde", "macron", "breve", "dotaccent
", |
| 289 "dieresis", NULL, "ring", "cedilla", NULL, "hungarumlaut", "ogonek", "caron"
, | 289 "dieresis", NULL, "ring", "cedilla", NULL, "hungarumlaut", "ogonek", "caron"
, |
| 290 "emdash", NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 290 "emdash", NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
| 291 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 291 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
| 292 NULL, "AE", NULL, "ordfeminine", NULL, NULL, NULL, NULL, | 292 NULL, "AE", NULL, "ordfeminine", NULL, NULL, NULL, NULL, |
| 293 "Lslash", "Oslash", "OE", "ordmasculine", NULL, NULL, NULL, NULL, | 293 "Lslash", "Oslash", "OE", "ordmasculine", NULL, NULL, NULL, NULL, |
| 294 NULL, "ae", NULL, NULL, NULL, "dotlessi", NULL, NULL, | 294 NULL, "ae", NULL, NULL, NULL, "dotlessi", NULL, NULL, |
| 295 "lslash", "oslash", "oe", "germandbls", NULL, NULL, NULL, NULL, | 295 "lslash", "oslash", "oe", "germandbls", NULL, NULL, NULL, NULL, |
| 296 }; | 296 }; |
| 297 const FX_LPCSTR AdobeWinAnsiEncodingNames[224] = { | 297 const FX_CHAR* const AdobeWinAnsiEncodingNames[224] = { |
| 298 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quotesingle", | 298 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quotesingle", |
| 299 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", | 299 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", |
| 300 "zero", "one", "two", "three", "four", "five", "six", "seven", | 300 "zero", "one", "two", "three", "four", "five", "six", "seven", |
| 301 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", | 301 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", |
| 302 "at", "A", "B", "C", "D", "E", "F", "G", | 302 "at", "A", "B", "C", "D", "E", "F", "G", |
| 303 "H", "I", "J", "K", "L", "M", "N", "O", | 303 "H", "I", "J", "K", "L", "M", "N", "O", |
| 304 "P", "Q", "R", "S", "T", "U", "V", "W", | 304 "P", "Q", "R", "S", "T", "U", "V", "W", |
| 305 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", | 305 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", |
| 306 "grave", "a", "b", "c", "d", "e", "f", "g", | 306 "grave", "a", "b", "c", "d", "e", "f", "g", |
| 307 "h", "i", "j", "k", "l", "m", "n", "o", | 307 "h", "i", "j", "k", "l", "m", "n", "o", |
| 308 "p", "q", "r", "s", "t", "u", "v", "w", | 308 "p", "q", "r", "s", "t", "u", "v", "w", |
| 309 "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "bullet", | 309 "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "bullet", |
| 310 "Euro", "bullet", "quotesinglbase", "florin", "quotedblbase", "ellipsis", "d
agger", "daggerdbl", | 310 "Euro", "bullet", "quotesinglbase", "florin", "quotedblbase", "ellipsis", "d
agger", "daggerdbl", |
| 311 "circumflex", "perthousand", "Scaron", "guilsinglleft", "OE", "bullet", "Zca
ron", "bullet", | 311 "circumflex", "perthousand", "Scaron", "guilsinglleft", "OE", "bullet", "Zca
ron", "bullet", |
| 312 "bullet", "quoteleft", "quoteright", "quotedblleft", "quotedblright", "bulle
t", "endash", "emdash", | 312 "bullet", "quoteleft", "quoteright", "quotedblleft", "quotedblright", "bulle
t", "endash", "emdash", |
| 313 "tilde", "trademark", "scaron", "guilsinglright", "oe", "bullet", "zcaron",
"Ydieresis", | 313 "tilde", "trademark", "scaron", "guilsinglright", "oe", "bullet", "zcaron",
"Ydieresis", |
| 314 "space", "exclamdown", "cent", "sterling", "currency", "yen", "brokenbar", "
section", | 314 "space", "exclamdown", "cent", "sterling", "currency", "yen", "brokenbar", "
section", |
| 315 "dieresis", "copyright", "ordfeminine", "guillemotleft", "logicalnot", "hyph
en", "registered", "macron", | 315 "dieresis", "copyright", "ordfeminine", "guillemotleft", "logicalnot", "hyph
en", "registered", "macron", |
| 316 "degree", "plusminus", "twosuperior", "threesuperior", "acute", "mu", "parag
raph", "periodcentered", | 316 "degree", "plusminus", "twosuperior", "threesuperior", "acute", "mu", "parag
raph", "periodcentered", |
| 317 "cedilla", "onesuperior", "ordmasculine", "guillemotright", "onequarter", "o
nehalf", "threequarters", "questiondown", | 317 "cedilla", "onesuperior", "ordmasculine", "guillemotright", "onequarter", "o
nehalf", "threequarters", "questiondown", |
| 318 "Agrave", "Aacute", "Acircumflex", "Atilde", "Adieresis", "Aring", "AE", "Cc
edilla", | 318 "Agrave", "Aacute", "Acircumflex", "Atilde", "Adieresis", "Aring", "AE", "Cc
edilla", |
| 319 "Egrave", "Eacute", "Ecircumflex", "Edieresis", "Igrave", "Iacute", "Icircum
flex", "Idieresis", | 319 "Egrave", "Eacute", "Ecircumflex", "Edieresis", "Igrave", "Iacute", "Icircum
flex", "Idieresis", |
| 320 "Eth", "Ntilde", "Ograve", "Oacute", "Ocircumflex", "Otilde", "Odieresis", "
multiply", | 320 "Eth", "Ntilde", "Ograve", "Oacute", "Ocircumflex", "Otilde", "Odieresis", "
multiply", |
| 321 "Oslash", "Ugrave", "Uacute", "Ucircumflex", "Udieresis", "Yacute", "Thorn",
"germandbls", | 321 "Oslash", "Ugrave", "Uacute", "Ucircumflex", "Udieresis", "Yacute", "Thorn",
"germandbls", |
| 322 "agrave", "aacute", "acircumflex", "atilde", "adieresis", "aring", "ae", "cc
edilla", | 322 "agrave", "aacute", "acircumflex", "atilde", "adieresis", "aring", "ae", "cc
edilla", |
| 323 "egrave", "eacute", "ecircumflex", "edieresis", "igrave", "iacute", "icircum
flex", "idieresis", | 323 "egrave", "eacute", "ecircumflex", "edieresis", "igrave", "iacute", "icircum
flex", "idieresis", |
| 324 "eth", "ntilde", "ograve", "oacute", "ocircumflex", "otilde", "odieresis", "
divide", | 324 "eth", "ntilde", "ograve", "oacute", "ocircumflex", "otilde", "odieresis", "
divide", |
| 325 "oslash", "ugrave", "uacute", "ucircumflex", "udieresis", "yacute", "thorn",
"ydieresis", | 325 "oslash", "ugrave", "uacute", "ucircumflex", "udieresis", "yacute", "thorn",
"ydieresis", |
| 326 }; | 326 }; |
| 327 const FX_LPCSTR MacRomanEncodingNames[224] = { | 327 const FX_CHAR* const MacRomanEncodingNames[224] = { |
| 328 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quotesingle", | 328 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quotesingle", |
| 329 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", | 329 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", |
| 330 "zero", "one", "two", "three", "four", "five", "six", "seven", | 330 "zero", "one", "two", "three", "four", "five", "six", "seven", |
| 331 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", | 331 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", |
| 332 "at", "A", "B", "C", "D", "E", "F", "G", | 332 "at", "A", "B", "C", "D", "E", "F", "G", |
| 333 "H", "I", "J", "K", "L", "M", "N", "O", | 333 "H", "I", "J", "K", "L", "M", "N", "O", |
| 334 "P", "Q", "R", "S", "T", "U", "V", "W", | 334 "P", "Q", "R", "S", "T", "U", "V", "W", |
| 335 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", | 335 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", |
| 336 "grave", "a", "b", "c", "d", "e", "f", "g", | 336 "grave", "a", "b", "c", "d", "e", "f", "g", |
| 337 "h", "i", "j", "k", "l", "m", "n", "o", | 337 "h", "i", "j", "k", "l", "m", "n", "o", |
| 338 "p", "q", "r", "s", "t", "u", "v", "w", | 338 "p", "q", "r", "s", "t", "u", "v", "w", |
| 339 "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", NULL, | 339 "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", NULL, |
| 340 "Adieresis", "Aring", "Ccedilla", "Eacute", "Ntilde", "Odieresis", "Udieresi
s", "aacute", | 340 "Adieresis", "Aring", "Ccedilla", "Eacute", "Ntilde", "Odieresis", "Udieresi
s", "aacute", |
| 341 "agrave", "acircumflex", "adieresis", "atilde", "aring", "ccedilla", "eacute
", "egrave", | 341 "agrave", "acircumflex", "adieresis", "atilde", "aring", "ccedilla", "eacute
", "egrave", |
| 342 "ecircumflex", "edieresis", "iacute", "igrave", "icircumflex", "idieresis",
"ntilde", "oacute", | 342 "ecircumflex", "edieresis", "iacute", "igrave", "icircumflex", "idieresis",
"ntilde", "oacute", |
| 343 "ograve", "ocircumflex", "odieresis", "otilde", "uacute", "ugrave", "ucircum
flex", "udieresis", | 343 "ograve", "ocircumflex", "odieresis", "otilde", "uacute", "ugrave", "ucircum
flex", "udieresis", |
| 344 "dagger", "degree", "cent", "sterling", "section", "bullet", "paragraph", "g
ermandbls", | 344 "dagger", "degree", "cent", "sterling", "section", "bullet", "paragraph", "g
ermandbls", |
| 345 "registered", "copyright", "trademark", "acute", "dieresis", "notequal", "AE
", "Oslash", | 345 "registered", "copyright", "trademark", "acute", "dieresis", "notequal", "AE
", "Oslash", |
| 346 "infinity", "plusminus", "lessequal", "greaterequal", "yen", "mu", "partiald
iff", "summation", | 346 "infinity", "plusminus", "lessequal", "greaterequal", "yen", "mu", "partiald
iff", "summation", |
| 347 "product", "pi", "integral", "ordfeminine", "ordmasculine", "Omega", "ae", "
oslash", | 347 "product", "pi", "integral", "ordfeminine", "ordmasculine", "Omega", "ae", "
oslash", |
| 348 "questiondown", "exclamdown", "logicalnot", "radical", "florin", "approxequa
l", "Delta", "guillemotleft", | 348 "questiondown", "exclamdown", "logicalnot", "radical", "florin", "approxequa
l", "Delta", "guillemotleft", |
| 349 "guillemotright", "ellipsis", "space", "Agrave", "Atilde", "Otilde", "OE", "
oe", | 349 "guillemotright", "ellipsis", "space", "Agrave", "Atilde", "Otilde", "OE", "
oe", |
| 350 "endash", "emdash", "quotedblleft", "quotedblright", "quoteleft", "quoterigh
t", "divide", "lozenge", | 350 "endash", "emdash", "quotedblleft", "quotedblright", "quoteleft", "quoterigh
t", "divide", "lozenge", |
| 351 "ydieresis", "Ydieresis", "fraction", "currency", "guilsinglleft", "guilsing
lright", "fi", "fl", | 351 "ydieresis", "Ydieresis", "fraction", "currency", "guilsinglleft", "guilsing
lright", "fi", "fl", |
| 352 "daggerdbl", "periodcentered", "quotesinglbase", "quotedblbase", "perthousan
d", "Acircumflex", "Ecircumflex", "Aacute", | 352 "daggerdbl", "periodcentered", "quotesinglbase", "quotedblbase", "perthousan
d", "Acircumflex", "Ecircumflex", "Aacute", |
| 353 "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Oacu
te", "Ocircumflex", | 353 "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Oacu
te", "Ocircumflex", |
| 354 "apple", "Ograve", "Uacute", "Ucircumflex", "Ugrave", "dotlessi", "circumfle
x", "tilde", | 354 "apple", "Ograve", "Uacute", "Ucircumflex", "Ugrave", "dotlessi", "circumfle
x", "tilde", |
| 355 "macron", "breve", "dotaccent", "ring", "cedilla", "hungarumlaut", "ogonek",
"caron", | 355 "macron", "breve", "dotaccent", "ring", "cedilla", "hungarumlaut", "ogonek",
"caron", |
| 356 }; | 356 }; |
| 357 const FX_LPCSTR MacExpertEncodingNames[224] = { | 357 const FX_CHAR* const MacExpertEncodingNames[224] = { |
| 358 "space", "exclamsmall", "Hungarumlautsmall", "centoldstyle", "dollaroldstyle
", "dollarsuperior", "ampersandsmall", "Acutesmall", | 358 "space", "exclamsmall", "Hungarumlautsmall", "centoldstyle", "dollaroldstyle
", "dollarsuperior", "ampersandsmall", "Acutesmall", |
| 359 "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader
", "comma", "hyphen", "period", "fraction", | 359 "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader
", "comma", "hyphen", "period", "fraction", |
| 360 "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle
", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", | 360 "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle
", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", |
| 361 "eightoldstyle", "nineoldstyle", "colon", "semicolon", NULL, "threequarterse
mdash", NULL, "questionsmall", | 361 "eightoldstyle", "nineoldstyle", "colon", "semicolon", NULL, "threequarterse
mdash", NULL, "questionsmall", |
| 362 NULL, NULL, NULL, NULL, "Ethsmall", NULL, NULL, "onequarter", | 362 NULL, NULL, NULL, NULL, "Ethsmall", NULL, NULL, "onequarter", |
| 363 "onehalf", "threequarters", "oneeighth", "threeeighths", "fiveeighths", "sev
eneighths", "onethird", "twothirds", | 363 "onehalf", "threequarters", "oneeighth", "threeeighths", "fiveeighths", "sev
eneighths", "onethird", "twothirds", |
| 364 NULL, NULL, NULL, NULL, NULL, NULL, "ff", "fi", | 364 NULL, NULL, NULL, NULL, NULL, NULL, "ff", "fi", |
| 365 "fl", "ffi", "ffl", "parenleftinferior", NULL, "parenrightinferior", "Circum
flexsmall", "hypheninferior", | 365 "fl", "ffi", "ffl", "parenleftinferior", NULL, "parenrightinferior", "Circum
flexsmall", "hypheninferior", |
| 366 "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "G
small", | 366 "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "G
small", |
| 367 "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmal
l", | 367 "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmal
l", |
| 368 "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmal
l", | 368 "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmal
l", |
| 369 "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tilde
small", NULL, | 369 "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tilde
small", NULL, |
| 370 NULL, "asuperior", "centsuperior", NULL, NULL, NULL, NULL, "Aacutesmall", | 370 NULL, "asuperior", "centsuperior", NULL, NULL, NULL, NULL, "Aacutesmall", |
| 371 "Agravesmall", "Acircumflexsmall", "Adieresissmall", "Atildesmall", "Aringsm
all", "Ccedillasmall", "Eacutesmall", "Egravesmall", | 371 "Agravesmall", "Acircumflexsmall", "Adieresissmall", "Atildesmall", "Aringsm
all", "Ccedillasmall", "Eacutesmall", "Egravesmall", |
| 372 "Ecircumflexsmall", "Edieresissmall", "Iacutesmall", "Igravesmall", "Icircum
flexsmall", "Idieresissmall", "Ntildesmall", "Oacutesmall", | 372 "Ecircumflexsmall", "Edieresissmall", "Iacutesmall", "Igravesmall", "Icircum
flexsmall", "Idieresissmall", "Ntildesmall", "Oacutesmall", |
| 373 "Ogravesmall", "Ocircumflexsmall", "Odieresissmall", "Otildesmall", "Uacutes
mall", "Ugravesmall", "Ucircumflexsmall", "Udieresissmall", | 373 "Ogravesmall", "Ocircumflexsmall", "Odieresissmall", "Otildesmall", "Uacutes
mall", "Ugravesmall", "Ucircumflexsmall", "Udieresissmall", |
| 374 NULL, "eightsuperior", "fourinferior", "threeinferior", "sixinferior", "eigh
tinferior", "seveninferior", "Scaronsmall", | 374 NULL, "eightsuperior", "fourinferior", "threeinferior", "sixinferior", "eigh
tinferior", "seveninferior", "Scaronsmall", |
| 375 NULL, "centinferior", "twoinferior", NULL, "Dieresissmall", NULL, "Caronsmal
l", "Scaronsmall", | 375 NULL, "centinferior", "twoinferior", NULL, "Dieresissmall", NULL, "Caronsmal
l", "Scaronsmall", |
| 376 "fiveinferior", NULL, "commainferior", "periodinferior", "Yacutesmall", NULL
, "dollarinferior", NULL, | 376 "fiveinferior", NULL, "commainferior", "periodinferior", "Yacutesmall", NULL
, "dollarinferior", NULL, |
| 377 NULL, "Thornsmall", NULL, "nineinferior", "zeroinferior", "Zcaronsmall", "AE
small", "Oslashsmall", | 377 NULL, "Thornsmall", NULL, "nineinferior", "zeroinferior", "Zcaronsmall", "AE
small", "Oslashsmall", |
| 378 "questiondownsmall", "oneinferior", "asuperior", NULL, NULL, NULL, NULL, NUL
L, | 378 "questiondownsmall", "oneinferior", "asuperior", NULL, NULL, NULL, NULL, NUL
L, |
| 379 NULL, "Cedillasmall", NULL, NULL, NULL, NULL, NULL, "OEsmall", | 379 NULL, "Cedillasmall", NULL, NULL, NULL, NULL, NULL, "OEsmall", |
| 380 "figuredash", "hyphensuperior", NULL, NULL, NULL, NULL, "exclamdownsmall", N
ULL, | 380 "figuredash", "hyphensuperior", NULL, NULL, NULL, NULL, "exclamdownsmall", N
ULL, |
| 381 "Ydieresissmall", NULL, "onesuperior", "twosuperior", "threesuperior", "four
superior", "fivesuperior", "sixsuperior", | 381 "Ydieresissmall", NULL, "onesuperior", "twosuperior", "threesuperior", "four
superior", "fivesuperior", "sixsuperior", |
| 382 "sevensuperior", "ninesuperior", "zerosuperior", NULL, "esuperior", "rsuperi
or", NULL, NULL, | 382 "sevensuperior", "ninesuperior", "zerosuperior", NULL, "esuperior", "rsuperi
or", NULL, NULL, |
| 383 NULL, "isuperior", "ssuperior", "dsuperior", NULL, NULL, NULL, NULL, | 383 NULL, "isuperior", "ssuperior", "dsuperior", NULL, NULL, NULL, NULL, |
| 384 NULL, "lsuperior", "Ogoneksmall", "Brevesmall", "Macronsmall", "bsuperior",
"nsuperior", "msuperior", | 384 NULL, "lsuperior", "Ogoneksmall", "Brevesmall", "Macronsmall", "bsuperior",
"nsuperior", "msuperior", |
| 385 "commasuperior", "periodsuperior", "Dotaccentsmall", "Ringsmall", NULL, NULL
, NULL, NULL, | 385 "commasuperior", "periodsuperior", "Dotaccentsmall", "Ringsmall", NULL, NULL
, NULL, NULL, |
| 386 }; | 386 }; |
| 387 const FX_LPCSTR PDFDocEncodingNames[232] = { | 387 const FX_CHAR* const PDFDocEncodingNames[232] = { |
| 388 "breve", "caron", "circumflex", "dotaccent", "hungarumlaut", "ogonek", "ring
", "tilde", | 388 "breve", "caron", "circumflex", "dotaccent", "hungarumlaut", "ogonek", "ring
", "tilde", |
| 389 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quotesingle", | 389 "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand
", "quotesingle", |
| 390 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", | 390 "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period",
"slash", |
| 391 "zero", "one", "two", "three", "four", "five", "six", "seven", | 391 "zero", "one", "two", "three", "four", "five", "six", "seven", |
| 392 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", | 392 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", |
| 393 "at", "A", "B", "C", "D", "E", "F", "G", | 393 "at", "A", "B", "C", "D", "E", "F", "G", |
| 394 "H", "I", "J", "K", "L", "M", "N", "O", | 394 "H", "I", "J", "K", "L", "M", "N", "O", |
| 395 "P", "Q", "R", "S", "T", "U", "V", "W", | 395 "P", "Q", "R", "S", "T", "U", "V", "W", |
| 396 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", | 396 "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "u
nderscore", |
| 397 "grave", "a", "b", "c", "d", "e", "f", "g", | 397 "grave", "a", "b", "c", "d", "e", "f", "g", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 408 "cedilla", "onesuperior", "ordmasculine", "guillemotright4", "onequarter", "
onehalf", "threequarters", "questiondown", | 408 "cedilla", "onesuperior", "ordmasculine", "guillemotright4", "onequarter", "
onehalf", "threequarters", "questiondown", |
| 409 "Agrave", "Aacute", "Acircumflex", "Atilde", "Adieresis", "Aring", "AE", "Cc
edilla", | 409 "Agrave", "Aacute", "Acircumflex", "Atilde", "Adieresis", "Aring", "AE", "Cc
edilla", |
| 410 "Egrave", "Eacute", "Ecircumflex", "Edieresis", "Igrave", "Iacute", "Icircum
flex", "Idieresis", | 410 "Egrave", "Eacute", "Ecircumflex", "Edieresis", "Igrave", "Iacute", "Icircum
flex", "Idieresis", |
| 411 "Eth", "Ntilde", "Ograve", "Oacute", "Ocircumflex", "Otilde", "Odieresis", "
multiply", | 411 "Eth", "Ntilde", "Ograve", "Oacute", "Ocircumflex", "Otilde", "Odieresis", "
multiply", |
| 412 "Oslash", "Ugrave", "Uacute", "Ucircumflex", "Udieresis", "Yacute", "Thorn",
"germandbls", | 412 "Oslash", "Ugrave", "Uacute", "Ucircumflex", "Udieresis", "Yacute", "Thorn",
"germandbls", |
| 413 "agrave", "aacute", "acircumflex", "atilde", "adieresis", "aring", "ae", "cc
edilla", | 413 "agrave", "aacute", "acircumflex", "atilde", "adieresis", "aring", "ae", "cc
edilla", |
| 414 "egrave", "eacute", "ecircumflex", "edieresis", "igrave", "iacute", "icircum
flex", "idieresis", | 414 "egrave", "eacute", "ecircumflex", "edieresis", "igrave", "iacute", "icircum
flex", "idieresis", |
| 415 "eth", "ntilde", "ograve", "oacute", "ocircumflex", "otilde", "odieresis", "
divide", | 415 "eth", "ntilde", "ograve", "oacute", "ocircumflex", "otilde", "odieresis", "
divide", |
| 416 "oslash", "ugrave", "uacute", "ucircumflex", "udieresis", "yacute", "thorn",
"ydieresis", | 416 "oslash", "ugrave", "uacute", "ucircumflex", "udieresis", "yacute", "thorn",
"ydieresis", |
| 417 }; | 417 }; |
| 418 const FX_LPCSTR AdobeSymbolEncodingNames[224] = { | 418 const FX_CHAR* const AdobeSymbolEncodingNames[224] = { |
| 419 "space", "exclam", "universal", "numbersign", "existential", "percent", "amp
ersand", "suchthat", | 419 "space", "exclam", "universal", "numbersign", "existential", "percent", "amp
ersand", "suchthat", |
| 420 "parenleft", "parenright", "asteriskmath", "plus", "comma", "minus", "period
", "slash", | 420 "parenleft", "parenright", "asteriskmath", "plus", "comma", "minus", "period
", "slash", |
| 421 "zero", "one", "two", "three", "four", "five", "six", "seven", | 421 "zero", "one", "two", "three", "four", "five", "six", "seven", |
| 422 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", | 422 "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question
", |
| 423 "congruent", "Alpha", "Beta", "Chi", "Delta", "Epsilon", "Phi", "Gamma", | 423 "congruent", "Alpha", "Beta", "Chi", "Delta", "Epsilon", "Phi", "Gamma", |
| 424 "Eta", "Iota", "theta1", "Kappa", "Lambda", "Mu", "Nu", "Omicron", | 424 "Eta", "Iota", "theta1", "Kappa", "Lambda", "Mu", "Nu", "Omicron", |
| 425 "Pi", "Theta", "Rho", "Sigma", "Tau", "Upsilon", "sigma1", "Omega", | 425 "Pi", "Theta", "Rho", "Sigma", "Tau", "Upsilon", "sigma1", "Omega", |
| 426 "Xi", "Psi", "Zeta", "bracketleft", "therefore", "bracketright", "perpendicu
lar", "underscore", | 426 "Xi", "Psi", "Zeta", "bracketleft", "therefore", "bracketright", "perpendicu
lar", "underscore", |
| 427 "radicalex", "alpha", "beta", "chi", "delta", "epsilon", "phi", "gamma", | 427 "radicalex", "alpha", "beta", "chi", "delta", "epsilon", "phi", "gamma", |
| 428 "eta", "iota", "phi1", "kappa", "lambda", "mu", "nu", "omicron", | 428 "eta", "iota", "phi1", "kappa", "lambda", "mu", "nu", "omicron", |
| 429 "pi", "theta", "rho", "sigma", "tau", "upsilon", "omega1", "omega", | 429 "pi", "theta", "rho", "sigma", "tau", "upsilon", "omega1", "omega", |
| 430 "xi", "psi", "zeta", "braceleft", "bar", "braceright", "similar", NULL, | 430 "xi", "psi", "zeta", "braceleft", "bar", "braceright", "similar", NULL, |
| 431 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 431 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
| 432 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 432 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
| 433 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 433 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
| 434 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 434 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
| 435 "Euro", "Upsilon1", "minute", "lessequal", "fraction", "infinity", "florin",
"club", | 435 "Euro", "Upsilon1", "minute", "lessequal", "fraction", "infinity", "florin",
"club", |
| 436 "diamond", "heart", "spade", "arrowboth", "arrowleft", "arrowup", "arrowrigh
t", "arrowdown", | 436 "diamond", "heart", "spade", "arrowboth", "arrowleft", "arrowup", "arrowrigh
t", "arrowdown", |
| 437 "degree", "plusminus", "second", "greaterequal", "multiply", "proportional",
"partialdiff", "bullet", | 437 "degree", "plusminus", "second", "greaterequal", "multiply", "proportional",
"partialdiff", "bullet", |
| 438 "divide", "notequal", "equivalence", "approxequal", "ellipsis", "arrowvertex
", "arrowhorizex", "carriagereturn", | 438 "divide", "notequal", "equivalence", "approxequal", "ellipsis", "arrowvertex
", "arrowhorizex", "carriagereturn", |
| 439 "aleph", "Ifraktur", "Rfraktur", "weierstrass", "circlemultiply", "circleplu
s", "emptyset", "intersection", | 439 "aleph", "Ifraktur", "Rfraktur", "weierstrass", "circlemultiply", "circleplu
s", "emptyset", "intersection", |
| 440 "union", "propersuperset", "reflexsuperset", "notsubset", "propersubset", "r
eflexsubset", "element", "notelement", | 440 "union", "propersuperset", "reflexsuperset", "notsubset", "propersubset", "r
eflexsubset", "element", "notelement", |
| 441 "angle", "gradient", "registerserif", "copyrightserif", "trademarkserif", "p
roduct", "radical", "dotmath", | 441 "angle", "gradient", "registerserif", "copyrightserif", "trademarkserif", "p
roduct", "radical", "dotmath", |
| 442 "logicalnot", "logicaland", "logicalor", "arrowdblboth", "arrowdblleft", "ar
rowdblup", "arrowdblright", "arrowdbldown", | 442 "logicalnot", "logicaland", "logicalor", "arrowdblboth", "arrowdblleft", "ar
rowdblup", "arrowdblright", "arrowdbldown", |
| 443 "lozenge", "angleleft", "registersans", "copyrightsans", "trademarksans", "s
ummation", "parenlefttp", "parenleftex", | 443 "lozenge", "angleleft", "registersans", "copyrightsans", "trademarksans", "s
ummation", "parenlefttp", "parenleftex", |
| 444 "parenleftbt", "bracketlefttp", "bracketleftex", "bracketleftbt", "braceleft
tp", "braceleftmid", "braceleftbt", "braceex", | 444 "parenleftbt", "bracketlefttp", "bracketleftex", "bracketleftbt", "braceleft
tp", "braceleftmid", "braceleftbt", "braceex", |
| 445 NULL, "angleright", "integral", "integraltp", "integralex", "integralbt", "p
arenrighttp", "parenrightex", | 445 NULL, "angleright", "integral", "integraltp", "integralex", "integralbt", "p
arenrighttp", "parenrightex", |
| 446 "parenrightbt", "bracketrighttp", "bracketrightex", "bracketrightbt", "brace
righttp", "bracerightmid", "bracerightbt", NULL, | 446 "parenrightbt", "bracketrighttp", "bracketrightex", "bracketrightbt", "brace
righttp", "bracerightmid", "bracerightbt", NULL, |
| 447 }; | 447 }; |
| 448 const FX_LPCSTR ZapfEncodingNames[224] = { | 448 const FX_CHAR* const ZapfEncodingNames[224] = { |
| 449 "space", "a1", "a2", "a202", "a3", "a4", "a5", "a119", | 449 "space", "a1", "a2", "a202", "a3", "a4", "a5", "a119", |
| 450 "a118", "a117", "a11", "a12", "a13", "a14", "a15", "a16", | 450 "a118", "a117", "a11", "a12", "a13", "a14", "a15", "a16", |
| 451 "a105", "a17", "a18", "a19", "a20", "a21", "a22", "a23", | 451 "a105", "a17", "a18", "a19", "a20", "a21", "a22", "a23", |
| 452 "a24", "a25", "a26", "a27", "a28", "a6", "a7", "a8", | 452 "a24", "a25", "a26", "a27", "a28", "a6", "a7", "a8", |
| 453 "a9", "a10", "a29", "a30", "a31", "a32", "a33", "a34", | 453 "a9", "a10", "a29", "a30", "a31", "a32", "a33", "a34", |
| 454 "a35", "a36", "a37", "a38", "a39", "a40", "a41", "a42", | 454 "a35", "a36", "a37", "a38", "a39", "a40", "a41", "a42", |
| 455 "a43", "a44", "a45", "a46", "a47", "a48", "a49", "a50", | 455 "a43", "a44", "a45", "a46", "a47", "a48", "a49", "a50", |
| 456 "a51", "a52", "a53", "a54", "a55", "a56", "a57", "a58", | 456 "a51", "a52", "a53", "a54", "a55", "a56", "a57", "a58", |
| 457 "a59", "a60", "a61", "a62", "a63", "a64", "a65", "a66", | 457 "a59", "a60", "a61", "a62", "a63", "a64", "a65", "a66", |
| 458 "a67", "a68", "a69", "a70", "a71", "a72", "a73", "a74", | 458 "a67", "a68", "a69", "a70", "a71", "a72", "a73", "a74", |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 617 FX_WCHAR PDF_UnicodeFromAdobeName(const FX_CHAR* name) | 617 FX_WCHAR PDF_UnicodeFromAdobeName(const FX_CHAR* name) |
| 618 { | 618 { |
| 619 return (FX_WCHAR)(FXFT_unicode_from_adobe_name(name) & 0x7FFFFFFF); | 619 return (FX_WCHAR)(FXFT_unicode_from_adobe_name(name) & 0x7FFFFFFF); |
| 620 } | 620 } |
| 621 CFX_ByteString PDF_AdobeNameFromUnicode(FX_WCHAR unicode) | 621 CFX_ByteString PDF_AdobeNameFromUnicode(FX_WCHAR unicode) |
| 622 { | 622 { |
| 623 char glyph_name[64]; | 623 char glyph_name[64]; |
| 624 FXFT_adobe_name_from_unicode(glyph_name, unicode); | 624 FXFT_adobe_name_from_unicode(glyph_name, unicode); |
| 625 return CFX_ByteString(glyph_name, -1); | 625 return CFX_ByteString(glyph_name, -1); |
| 626 } | 626 } |
| OLD | NEW |