gtk2/gtk/paper_names_offsets.c
Matthias Clasen ca43e7d3be Remove obsolete translator comments
Reported in bug 611217
2010-04-03 20:59:06 -04:00

718 lines
16 KiB
C

/* Generated by gen-paper-names */
#if 0
NC_("paper size", "asme_f")
NC_("paper size", "A0x2")
NC_("paper size", "A0")
NC_("paper size", "A0x3")
NC_("paper size", "A1")
NC_("paper size", "A10")
NC_("paper size", "A1x3")
NC_("paper size", "A1x4")
NC_("paper size", "A2")
NC_("paper size", "A2x3")
NC_("paper size", "A2x4")
NC_("paper size", "A2x5")
NC_("paper size", "A3")
NC_("paper size", "A3 Extra")
NC_("paper size", "A3x3")
NC_("paper size", "A3x4")
NC_("paper size", "A3x5")
NC_("paper size", "A3x6")
NC_("paper size", "A3x7")
NC_("paper size", "A4")
NC_("paper size", "A4 Extra")
NC_("paper size", "A4 Tab")
NC_("paper size", "A4x3")
NC_("paper size", "A4x4")
NC_("paper size", "A4x5")
NC_("paper size", "A4x6")
NC_("paper size", "A4x7")
NC_("paper size", "A4x8")
NC_("paper size", "A4x9")
NC_("paper size", "A5")
NC_("paper size", "A5 Extra")
NC_("paper size", "A6")
NC_("paper size", "A7")
NC_("paper size", "A8")
NC_("paper size", "A9")
NC_("paper size", "B0")
NC_("paper size", "B1")
NC_("paper size", "B10")
NC_("paper size", "B2")
NC_("paper size", "B3")
NC_("paper size", "B4")
NC_("paper size", "B5")
NC_("paper size", "B5 Extra")
NC_("paper size", "B6")
NC_("paper size", "B6/C4")
NC_("paper size", "B7")
NC_("paper size", "B8")
NC_("paper size", "B9")
NC_("paper size", "C0")
NC_("paper size", "C1")
NC_("paper size", "C10")
NC_("paper size", "C2")
NC_("paper size", "C3")
NC_("paper size", "C4")
NC_("paper size", "C5")
NC_("paper size", "C6")
NC_("paper size", "C6/C5")
NC_("paper size", "C7")
NC_("paper size", "C7/C6")
NC_("paper size", "C8")
NC_("paper size", "C9")
NC_("paper size", "DL Envelope")
NC_("paper size", "RA0")
NC_("paper size", "RA1")
NC_("paper size", "RA2")
NC_("paper size", "SRA0")
NC_("paper size", "SRA1")
NC_("paper size", "SRA2")
NC_("paper size", "JB0")
NC_("paper size", "JB1")
NC_("paper size", "JB10")
NC_("paper size", "JB2")
NC_("paper size", "JB3")
NC_("paper size", "JB4")
NC_("paper size", "JB5")
NC_("paper size", "JB6")
NC_("paper size", "JB7")
NC_("paper size", "JB8")
NC_("paper size", "JB9")
NC_("paper size", "jis exec")
NC_("paper size", "Choukei 2 Envelope")
NC_("paper size", "Choukei 3 Envelope")
NC_("paper size", "Choukei 4 Envelope")
NC_("paper size", "hagaki (postcard)")
NC_("paper size", "kahu Envelope")
NC_("paper size", "kaku2 Envelope")
NC_("paper size", "oufuku (reply postcard)")
NC_("paper size", "you4 Envelope")
NC_("paper size", "10x11")
NC_("paper size", "10x13")
NC_("paper size", "10x14")
NC_("paper size", "10x15")
NC_("paper size", "10x15")
NC_("paper size", "11x12")
NC_("paper size", "11x15")
NC_("paper size", "12x19")
NC_("paper size", "5x7")
NC_("paper size", "6x9 Envelope")
NC_("paper size", "7x9 Envelope")
NC_("paper size", "9x11 Envelope")
NC_("paper size", "a2 Envelope")
NC_("paper size", "Arch A")
NC_("paper size", "Arch B")
NC_("paper size", "Arch C")
NC_("paper size", "Arch D")
NC_("paper size", "Arch E")
NC_("paper size", "b-plus")
NC_("paper size", "c")
NC_("paper size", "c5 Envelope")
NC_("paper size", "d")
NC_("paper size", "e")
NC_("paper size", "edp")
NC_("paper size", "European edp")
NC_("paper size", "Executive")
NC_("paper size", "f")
NC_("paper size", "FanFold European")
NC_("paper size", "FanFold US")
NC_("paper size", "FanFold German Legal")
NC_("paper size", "Government Legal")
NC_("paper size", "Government Letter")
NC_("paper size", "Index 3x5")
NC_("paper size", "Index 4x6 (postcard)")
NC_("paper size", "Index 4x6 ext")
NC_("paper size", "Index 5x8")
NC_("paper size", "Invoice")
NC_("paper size", "Tabloid")
NC_("paper size", "US Legal")
NC_("paper size", "US Legal Extra")
NC_("paper size", "US Letter")
NC_("paper size", "US Letter Extra")
NC_("paper size", "US Letter Plus")
NC_("paper size", "Monarch Envelope")
NC_("paper size", "#10 Envelope")
NC_("paper size", "#11 Envelope")
NC_("paper size", "#12 Envelope")
NC_("paper size", "#14 Envelope")
NC_("paper size", "#9 Envelope")
NC_("paper size", "Personal Envelope")
NC_("paper size", "Quarto")
NC_("paper size", "Super A")
NC_("paper size", "Super B")
NC_("paper size", "Wide Format")
NC_("paper size", "Dai-pa-kai")
NC_("paper size", "Folio")
NC_("paper size", "Folio sp")
NC_("paper size", "Invite Envelope")
NC_("paper size", "Italian Envelope")
NC_("paper size", "juuro-ku-kai")
NC_("paper size", "pa-kai")
NC_("paper size", "Postfix Envelope")
NC_("paper size", "Small Photo")
NC_("paper size", "prc1 Envelope")
NC_("paper size", "prc10 Envelope")
NC_("paper size", "prc 16k")
NC_("paper size", "prc2 Envelope")
NC_("paper size", "prc3 Envelope")
NC_("paper size", "prc 32k")
NC_("paper size", "prc4 Envelope")
NC_("paper size", "prc5 Envelope")
NC_("paper size", "prc6 Envelope")
NC_("paper size", "prc7 Envelope")
NC_("paper size", "prc8 Envelope")
NC_("paper size", "prc9 Envelope")
NC_("paper size", "ROC 16k")
NC_("paper size", "ROC 8k")
#endif
static const char paper_names[] =
"asme_f\0"
"iso_2a0\0"
"A0x2\0"
"iso_a0\0"
"iso_a0x3\0"
"A0x3\0"
"iso_a1\0"
"iso_a10\0"
"A10\0"
"iso_a1x3\0"
"A1x3\0"
"iso_a1x4\0"
"A1x4\0"
"iso_a2\0"
"iso_a2x3\0"
"A2x3\0"
"iso_a2x4\0"
"A2x4\0"
"iso_a2x5\0"
"A2x5\0"
"iso_a3\0"
"A3\0"
"iso_a3-extra\0"
"A3 Extra\0"
"A3Extra\0"
"iso_a3x3\0"
"A3x3\0"
"iso_a3x4\0"
"A3x4\0"
"iso_a3x5\0"
"A3x5\0"
"iso_a3x6\0"
"A3x6\0"
"iso_a3x7\0"
"A3x7\0"
"iso_a4\0"
"A4\0"
"i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0"
"JB1\0"
"jis_b10\0"
"JB10\0"
"jis_b2\0"
"JB2\0"
"jis_b3\0"
"JB3\0"
"jis_b4\0"
"JB4\0"
"jis_b5\0"
"JB5\0"
"jis_b6\0"
"JB6\0"
"jis_b7\0"
"JB7\0"
"jis_b8\0"
"JB8\0"
"jis_b9\0"
"JB9\0"
"jis_exec\0"
"jis exec\0"
"jpn_chou2\0"
"Choukei 2 Envelope\0"
"jpn_chou3\0"
"Choukei 3 Envelope\0"
"EnvChou3\0"
"jpn_chou4\0"
"Choukei 4 Envelope\0"
"EnvChou4\0"
"jpn_hagaki\0"
"hagaki (postcard)\0"
"jpn_kahu\0"
"kahu Envelope\0"
"jpn_kaku2\0"
"kaku2 Envelope\0"
"EnvKaku2\0"
"jpn_oufuku\0"
"oufuku (reply postcard)\0"
"DoublePostcard\0"
"jpn_you4\0"
"you4 Envelope\0"
"na_10x11\0"
"na_10x13\0"
"na_10x14\0"
"na_10x15\0"
"na_11x12\0"
"12x11\0"
"na_11x15\0"
"15x11\0"
"na_12x19\0"
"na_5x7\0"
"na_6x9\0"
"6x9 Envelope\0"
"na_7x9\0"
"7x9 Envelope\0"
"na_9x11\0"
"9x11 Envelope\0"
"na_a2\0"
"a2 Envelope\0"
"na_arch-a\0"
"Arch A\0"
"ARCHA\0"
"na_arch-b\0"
"Arch B\0"
"ARCHB\0"
"na_arch-c\0"
"Arch C\0"
"ARCHC\0"
"na_arch-d\0"
"Arch D\0"
"ARCHD\0"
"na_arch-e\0"
"Arch E\0"
"ARCHE\0"
"na_b-plus\0"
"na_c\0"
"AnsiC\0"
"na_c5\0"
"na_d\0"
"AnsiD\0"
"na_e\0"
"AnsiE\0"
"na_edp\0"
"na_eur-edp\0"
"European edp\0"
"na_executive\0"
"Executive\0"
"na_f\0"
"na_fanfold-eur\0"
"FanFold European\0"
"FanFoldGerman\0"
"na_fanfold-us\0"
"FanFold US\0"
"FanFoldUS\0"
"na_foolscap\0"
"FanFold German Legal\0"
"FanFoldGermanLegal\0"
"na_govt-legal\0"
"Government Legal\0"
"na_govt-letter\0"
"Government Letter\0"
"8x10\0"
"na_index-3x5\0"
"Index 3x5\0"
"na_index-4x6\0"
"Index 4x6 (postcard)\0"
"na_index-4x6-ext\0"
"Index 4x6 ext\0"
"na_index-5x8\0"
"Index 5x8\0"
"na_invoice\0"
"Invoice\0"
"Statement\0"
"na_ledger\0"
"Tabloid\0"
"Ledger\0"
"na_legal\0"
"US Legal\0"
"na_legal-extra\0"
"US Legal Extra\0"
"LegalExtra\0"
"na_letter\0"
"US Letter\0"
"na_letter-extra\0"
"US Letter Extra\0"
"LetterExtra\0"
"na_letter-plus\0"
"US Letter Plus\0"
"LetterPlus\0"
"na_monarch\0"
"Monarch Envelope\0"
"EnvMonarch\0"
"na_number-10\0"
"#10 Envelope\0"
"Env10\0"
"na_number-11\0"
"#11 Envelope\0"
"Env11\0"
"na_number-12\0"
"#12 Envelope\0"
"Env12\0"
"na_number-14\0"
"#14 Envelope\0"
"Env14\0"
"na_number-9\0"
"#9 Envelope\0"
"Env9\0"
"na_personal\0"
"Personal Envelope\0"
"EnvPersonal\0"
"na_quarto\0"
"Quarto\0"
"na_super-a\0"
"Super A\0"
"SuperA\0"
"na_super-b\0"
"Super B\0"
"SuperB\0"
"na_wide-format\0"
"Wide Format\0"
"om_dai-pa-kai\0"
"Dai-pa-kai\0"
"om_folio\0"
"Folio\0"
"om_folio-sp\0"
"Folio sp\0"
"om_invite\0"
"Invite Envelope\0"
"EnvInvite\0"
"om_italian\0"
"Italian Envelope\0"
"EnvItalian\0"
"om_juuro-ku-kai\0"
"om_pa-kai\0"
"om_postfix\0"
"Postfix Envelope\0"
"om_small-photo\0"
"Small Photo\0"
"prc_1\0"
"prc1 Envelope\0"
"EnvPRC1\0"
"prc_10\0"
"prc10 Envelope\0"
"EnvPRC10\0"
"prc_16k\0"
"prc 16k\0"
"PRC16K\0"
"prc_2\0"
"prc2 Envelope\0"
"EnvPRC2\0"
"prc_3\0"
"prc3 Envelope\0"
"EnvPRC3\0"
"prc_32k\0"
"prc 32k\0"
"PRC32K\0"
"prc_4\0"
"prc4 Envelope\0"
"EnvPRC4\0"
"prc_5\0"
"prc5 Envelope\0"
"EnvPRC5\0"
"prc_6\0"
"prc6 Envelope\0"
"EnvPRC6\0"
"prc_7\0"
"prc7 Envelope\0"
"EnvPRC7\0"
"prc_8\0"
"prc8 Envelope\0"
"EnvPRC8\0"
"prc_9\0"
"prc9 Envelope\0"
"EnvPRC9\0"
"roc_16k\0"
"ROC 16k\0"
"roc_8k\0"
"ROC 8k\0"
"Comm10\0";
typedef struct {
int name;
float width;
float height;
int display_name;
int ppd_name;
} PaperInfo;
static const PaperInfo standard_names_offsets[] = {
{ 0, 711.2, 1016, 0, -1 },
{ 7, 1189, 1682, 15, -1 },
{ 20, 841, 1189, 918, 918 },
{ 27, 1189, 2523, 36, -1 },
{ 41, 594, 841, 932, 932 },
{ 48, 26, 37, 56, 56 },
{ 60, 841, 1783, 69, -1 },
{ 74, 841, 2378, 83, -1 },
{ 88, 420, 594, 946, 946 },
{ 95, 594, 1261, 104, -1 },
{ 109, 594, 1682, 118, -1 },
{ 123, 594, 2102, 132, -1 },
{ 137, 297, 420, 144, 144 },
{ 147, 322, 445, 160, 169 },
{ 177, 420, 891, 186, -1 },
{ 191, 420, 1189, 200, -1 },
{ 205, 420, 1486, 214, -1 },
{ 219, 420, 1783, 228, -1 },
{ 233, 420, 2080, 242, -1 },
{ 247, 210, 297, 254, 254 },
{ 257, 235.5, 322.3, 270, 279 },
{ 287, 225, 297, 298, -1 },
{ 305, 297, 630, 314, -1 },
{ 319, 297, 841, 328, -1 },
{ 333, 297, 1051, 342, -1 },
{ 347, 297, 1261, 356, -1 },
{ 361, 297, 1471, 370, -1 },
{ 375, 297, 1682, 384, -1 },
{ 389, 297, 1892, 398, -1 },
{ 403, 148, 210, 410, 410 },
{ 413, 174, 235, 426, 435 },
{ 443, 105, 148, 450, 450 },
{ 453, 74, 105, 460, 460 },
{ 463, 52, 74, 470, 470 },
{ 473, 37, 52, 480, 480 },
{ 483, 1000, 1414, 493, 490 },
{ 496, 707, 1000, 506, 503 },
{ 509, 31, 44, 520, 517 },
{ 524, 500, 707, 534, 531 },
{ 537, 353, 500, 547, 544 },
{ 550, 250, 353, 560, 557 },
{ 563, 176, 250, 573, 570 },
{ 576, 201, 276, 589, 598 },
{ 609, 125, 176, 619, 616 },
{ 622, 125, 324, 631, -1 },
{ 637, 88, 125, 647, 644 },
{ 650, 62, 88, 660, 657 },
{ 663, 44, 62, 673, 670 },
{ 676, 917, 1297, 686, 683 },
{ 689, 648, 917, 699, 696 },
{ 702, 28, 40, 713, 710 },
{ 717, 458, 648, 727, 724 },
{ 730, 324, 458, 740, 737 },
{ 743, 229, 324, 634, 750 },
{ 756, 162, 229, 766, 763 },
{ 769, 114, 162, 779, 776 },
{ 782, 114, 229, 791, 797 },
{ 804, 81, 114, 814, 811 },
{ 817, 81, 162, 826, -1 },
{ 832, 57, 81, 842, 839 },
{ 845, 40, 57, 855, 852 },
{ 858, 110, 220, 865, 877 },
{ 883, 860, 1220, 917, -1 },
{ 891, 610, 860, 931, -1 },
{ 899, 430, 610, 945, -1 },
{ 907, 900, 1280, 916, -1 },
{ 921, 640, 900, 930, -1 },
{ 935, 450, 640, 944, -1 },
{ 949, 1030, 1456, 956, 493 },
{ 960, 728, 1030, 967, 506 },
{ 971, 32, 45, 979, 520 },
{ 984, 515, 728, 991, 534 },
{ 995, 364, 515, 1002, 547 },
{ 1006, 257, 364, 1013, 560 },
{ 1017, 182, 257, 1024, 573 },
{ 1028, 128, 182, 1035, 619 },
{ 1039, 91, 128, 1046, 647 },
{ 1050, 64, 91, 1057, 660 },
{ 1061, 45, 64, 1068, 673 },
{ 1072, 216, 330, 1081, -1 },
{ 1090, 111.1, 146, 1100, -1 },
{ 1119, 120, 235, 1129, 1148 },
{ 1157, 90, 205, 1167, 1186 },
{ 1195, 100, 148, 1206, 1322 },
{ 1224, 240, 322.1, 1233, -1 },
{ 1247, 240, 332, 1257, 1272 },
{ 1281, 148, 200, 1292, 1316 },
{ 1331, 105, 235, 1340, -1 },
{ 1354, 254, 279.4, 1357, 1357 },
{ 1363, 254, 330.2, 1366, 1366 },
{ 1372, 254, 355.6, 1375, 1375 },
{ 1381, 254, 381, 1384, -1 },
{ 1381, 254, 381, 1384, -1 },
{ 1390, 279.4, 304.8, 1393, 1399 },
{ 1405, 279.4, 381, 1408, 1414 },
{ 1420, 304.8, 482.6, 1423, -1 },
{ 1429, 127, 177.8, 1432, -1 },
{ 1436, 152.4, 228.6, 1443, -1 },
{ 1456, 177.8, 228.6, 1463, 1459 },
{ 1476, 228.6, 279.4, 1484, 1479 },
{ 1498, 111.125, 146.05, 1504, -1 },
{ 1516, 228.6, 304.8, 1526, 1533 },
{ 1539, 304.8, 457.2, 1549, 1556 },
{ 1562, 457.2, 609.6, 1572, 1579 },
{ 1585, 609.6, 914.4, 1595, 1602 },
{ 1608, 914.4, 1219.2, 1618, 1625 },
{ 1631, 304.8, 486.918, 1634, -1 },
{ 1641, 431.8, 558.8, 1079, 1646 },
{ 1652, 165.1, 241.3, 3018, -1 },
{ 1658, 558.8, 863.6, 1329, 1663 },
{ 1669, 863.6, 1117.6, 875, 1674 },
{ 1680, 279.4, 355.6, 1683, -1 },
{ 1687, 304.8, 355.6, 1698, -1 },
{ 1711, 184.15, 266.7, 1724, 1724 },
{ 1734, 1117.6, 1727.2, 5, -1 },
{ 1739, 215.9, 304.8, 1754, 1771 },
{ 1785, 279.4, 377.825, 1799, 1810 },
{ 1820, 215.9, 330.2, 1832, 1853 },
{ 1872, 203.2, 330.2, 1886, -1 },
{ 1903, 203.2, 254, 1918, 1936 },
{ 1941, 76.2, 127, 1954, -1 },
{ 1964, 101.6, 152.4, 1977, -1 },
{ 1998, 152.4, 203.2, 2015, -1 },
{ 2029, 127, 203.2, 2042, -1 },
{ 2052, 139.7, 215.9, 2063, 2071 },
{ 2081, 279.4, 431.8, 2091, 2099 },
{ 2106, 215.9, 355.6, 2115, 1847 },
{ 2124, 241.3, 381, 2139, 2154 },
{ 2165, 215.9, 279.4, 2175, 1929 },
{ 2185, 241.3, 304.8, 2201, 2217 },
{ 2229, 215.9, 322.326, 2244, 2259 },
{ 2270, 98.425, 190.5, 2281, 2298 },
{ 2309, 104.775, 241.3, 2322, 2335 },
{ 2341, 114.3, 263.525, 2354, 2367 },
{ 2373, 120.65, 279.4, 2386, 2399 },
{ 2405, 127, 292.1, 2418, 2431 },
{ 2437, 98.425, 225.425, 2449, 2461 },
{ 2466, 92.075, 165.1, 2478, 2496 },
{ 2508, 215.9, 275.082, 2518, 2518 },
{ 2525, 227.076, 355.6, 2536, 2544 },
{ 2551, 330.2, 482.6, 2562, 2570 },
{ 2577, 762, 1066.8, 2592, -1 },
{ 2604, 275, 395, 2618, -1 },
{ 2629, 210, 330, 2638, 2638 },
{ 2644, 215, 315, 2656, -1 },
{ 2665, 220, 220, 2675, 2691 },
{ 2701, 110, 230, 2712, 2729 },
{ 2740, 198, 275, 2743, -1 },
{ 2756, 267, 389, 2611, -1 },
{ 2766, 114, 229, 2777, -1 },
{ 2794, 100, 150, 2809, -1 },
{ 2821, 102, 165, 2827, 2841 },
{ 2849, 324, 458, 2856, 2871 },
{ 2880, 146, 215, 2888, 2896 },
{ 2903, 102, 176, 2909, 2923 },
{ 2931, 125, 176, 2937, 2951 },
{ 2959, 97, 151, 2967, 2975 },
{ 2982, 110, 208, 2988, 3002 },
{ 3010, 110, 220, 3016, 3030 },
{ 3038, 120, 230, 3044, 3058 },
{ 3066, 160, 230, 3072, 3086 },
{ 3094, 120, 309, 3100, 3114 },
{ 3122, 229, 324, 3128, 3142 },
{ 3150, 196.85, 273.05, 3158, -1 },
{ 3166, 273.05, 393.7, 3173, -1 },
};
static const struct {
int ppd_name;
int standard_name;
} extra_ppd_names_offsets[] = {
{ 634, 743 },
{ 766, 756 },
{ 779, 769 },
{ 3180, 2309 },
{ 880, 858 },
{ 2301, 2270 },
};