Skip to content

Instantly share code, notes, and snippets.

@Jolg42
Created November 12, 2016 18:39
Show Gist options
  • Save Jolg42/a34bcde83c99b5a2823fcc9de4f12616 to your computer and use it in GitHub Desktop.
Save Jolg42/a34bcde83c99b5a2823fcc9de4f12616 to your computer and use it in GitHub Desktop.
Javascript Object for Mapping Glyph Unicodes Names
// Key is Decimal
// From https://github.com/adobe-type-tools/agl-aglfn
// Converted with http://www.convertcsv.com/csv-to-json.htm template "{parseInt(f1, 16)}: "{f2}" "
var unicodeNamesBasicPlane = {
65: "A",
198: "AE",
508: "AEacute",
193: "Aacute",
258: "Abreve",
194: "Acircumflex",
196: "Adieresis",
192: "Agrave",
913: "Alpha",
902: "Alphatonos",
256: "Amacron",
260: "Aogonek",
197: "Aring",
506: "Aringacute",
195: "Atilde",
66: "B",
914: "Beta",
67: "C",
262: "Cacute",
268: "Ccaron",
199: "Ccedilla",
264: "Ccircumflex",
266: "Cdotaccent",
935: "Chi",
68: "D",
270: "Dcaron",
272: "Dcroat",
8710: "Delta",
69: "E",
201: "Eacute",
276: "Ebreve",
282: "Ecaron",
202: "Ecircumflex",
203: "Edieresis",
278: "Edotaccent",
200: "Egrave",
274: "Emacron",
330: "Eng",
280: "Eogonek",
917: "Epsilon",
904: "Epsilontonos",
919: "Eta",
905: "Etatonos",
208: "Eth",
8364: "Euro",
70: "F",
71: "G",
915: "Gamma",
286: "Gbreve",
486: "Gcaron",
284: "Gcircumflex",
288: "Gdotaccent",
72: "H",
9679: "H18533",
9642: "H18543",
9643: "H18551",
9633: "H22073",
294: "Hbar",
292: "Hcircumflex",
73: "I",
306: "IJ",
205: "Iacute",
300: "Ibreve",
206: "Icircumflex",
207: "Idieresis",
304: "Idotaccent",
8465: "Ifraktur",
204: "Igrave",
298: "Imacron",
302: "Iogonek",
921: "Iota",
938: "Iotadieresis",
906: "Iotatonos",
296: "Itilde",
74: "J",
308: "Jcircumflex",
75: "K",
922: "Kappa",
76: "L",
313: "Lacute",
923: "Lambda",
317: "Lcaron",
319: "Ldot",
321: "Lslash",
77: "M",
924: "Mu",
78: "N",
323: "Nacute",
327: "Ncaron",
209: "Ntilde",
925: "Nu",
79: "O",
338: "OE",
211: "Oacute",
334: "Obreve",
212: "Ocircumflex",
214: "Odieresis",
210: "Ograve",
416: "Ohorn",
336: "Ohungarumlaut",
332: "Omacron",
8486: "Omega",
911: "Omegatonos",
927: "Omicron",
908: "Omicrontonos",
216: "Oslash",
510: "Oslashacute",
213: "Otilde",
80: "P",
934: "Phi",
928: "Pi",
936: "Psi",
81: "Q",
82: "R",
340: "Racute",
344: "Rcaron",
8476: "Rfraktur",
929: "Rho",
83: "S",
9484: "SF010000",
9492: "SF020000",
9488: "SF030000",
9496: "SF040000",
9532: "SF050000",
9516: "SF060000",
9524: "SF070000",
9500: "SF080000",
9508: "SF090000",
9472: "SF100000",
9474: "SF110000",
9569: "SF190000",
9570: "SF200000",
9558: "SF210000",
9557: "SF220000",
9571: "SF230000",
9553: "SF240000",
9559: "SF250000",
9565: "SF260000",
9564: "SF270000",
9563: "SF280000",
9566: "SF360000",
9567: "SF370000",
9562: "SF380000",
9556: "SF390000",
9577: "SF400000",
9574: "SF410000",
9568: "SF420000",
9552: "SF430000",
9580: "SF440000",
9575: "SF450000",
9576: "SF460000",
9572: "SF470000",
9573: "SF480000",
9561: "SF490000",
9560: "SF500000",
9554: "SF510000",
9555: "SF520000",
9579: "SF530000",
9578: "SF540000",
346: "Sacute",
352: "Scaron",
350: "Scedilla",
348: "Scircumflex",
931: "Sigma",
84: "T",
932: "Tau",
358: "Tbar",
356: "Tcaron",
920: "Theta",
222: "Thorn",
85: "U",
218: "Uacute",
364: "Ubreve",
219: "Ucircumflex",
220: "Udieresis",
217: "Ugrave",
431: "Uhorn",
368: "Uhungarumlaut",
362: "Umacron",
370: "Uogonek",
933: "Upsilon",
978: "Upsilon1",
939: "Upsilondieresis",
910: "Upsilontonos",
366: "Uring",
360: "Utilde",
86: "V",
87: "W",
7810: "Wacute",
372: "Wcircumflex",
7812: "Wdieresis",
7808: "Wgrave",
88: "X",
926: "Xi",
89: "Y",
221: "Yacute",
374: "Ycircumflex",
376: "Ydieresis",
7922: "Ygrave",
90: "Z",
377: "Zacute",
381: "Zcaron",
379: "Zdotaccent",
918: "Zeta",
97: "a",
225: "aacute",
259: "abreve",
226: "acircumflex",
180: "acute",
769: "acutecomb",
228: "adieresis",
230: "ae",
509: "aeacute",
224: "agrave",
8501: "aleph",
945: "alpha",
940: "alphatonos",
257: "amacron",
38: "ampersand",
8736: "angle",
9001: "angleleft",
9002: "angleright",
903: "anoteleia",
261: "aogonek",
8776: "approxequal",
229: "aring",
507: "aringacute",
8596: "arrowboth",
8660: "arrowdblboth",
8659: "arrowdbldown",
8656: "arrowdblleft",
8658: "arrowdblright",
8657: "arrowdblup",
8595: "arrowdown",
8592: "arrowleft",
8594: "arrowright",
8593: "arrowup",
8597: "arrowupdn",
8616: "arrowupdnbse",
94: "asciicircum",
126: "asciitilde",
42: "asterisk",
8727: "asteriskmath",
64: "at",
227: "atilde",
98: "b",
92: "backslash",
124: "bar",
946: "beta",
9608: "block",
123: "braceleft",
125: "braceright",
91: "bracketleft",
93: "bracketright",
728: "breve",
166: "brokenbar",
8226: "bullet",
99: "c",
263: "cacute",
711: "caron",
8629: "carriagereturn",
269: "ccaron",
231: "ccedilla",
265: "ccircumflex",
267: "cdotaccent",
184: "cedilla",
162: "cent",
967: "chi",
9675: "circle",
8855: "circlemultiply",
8853: "circleplus",
710: "circumflex",
9827: "club",
58: "colon",
8353: "colonmonetary",
44: "comma",
8773: "congruent",
169: "copyright",
164: "currency",
100: "d",
8224: "dagger",
8225: "daggerdbl",
271: "dcaron",
273: "dcroat",
176: "degree",
948: "delta",
9830: "diamond",
168: "dieresis",
901: "dieresistonos",
247: "divide",
9619: "dkshade",
9604: "dnblock",
36: "dollar",
8363: "dong",
729: "dotaccent",
803: "dotbelowcomb",
305: "dotlessi",
8901: "dotmath",
101: "e",
233: "eacute",
277: "ebreve",
283: "ecaron",
234: "ecircumflex",
235: "edieresis",
279: "edotaccent",
232: "egrave",
56: "eight",
8712: "element",
8230: "ellipsis",
275: "emacron",
8212: "emdash",
8709: "emptyset",
8211: "endash",
331: "eng",
281: "eogonek",
949: "epsilon",
941: "epsilontonos",
61: "equal",
8801: "equivalence",
8494: "estimated",
951: "eta",
942: "etatonos",
240: "eth",
33: "exclam",
8252: "exclamdbl",
161: "exclamdown",
8707: "existential",
102: "f",
9792: "female",
8210: "figuredash",
9632: "filledbox",
9644: "filledrect",
53: "five",
8541: "fiveeighths",
402: "florin",
52: "four",
8260: "fraction",
8355: "franc",
103: "g",
947: "gamma",
287: "gbreve",
487: "gcaron",
285: "gcircumflex",
289: "gdotaccent",
223: "germandbls",
8711: "gradient",
96: "grave",
768: "gravecomb",
62: "greater",
8805: "greaterequal",
171: "guillemotleft",
187: "guillemotright",
8249: "guilsinglleft",
8250: "guilsinglright",
104: "h",
295: "hbar",
293: "hcircumflex",
9829: "heart",
777: "hookabovecomb",
8962: "house",
733: "hungarumlaut",
45: "hyphen",
105: "i",
237: "iacute",
301: "ibreve",
238: "icircumflex",
239: "idieresis",
236: "igrave",
307: "ij",
299: "imacron",
8734: "infinity",
8747: "integral",
8993: "integralbt",
8992: "integraltp",
8745: "intersection",
9688: "invbullet",
9689: "invcircle",
9787: "invsmileface",
303: "iogonek",
953: "iota",
970: "iotadieresis",
912: "iotadieresistonos",
943: "iotatonos",
297: "itilde",
106: "j",
309: "jcircumflex",
107: "k",
954: "kappa",
312: "kgreenlandic",
108: "l",
314: "lacute",
955: "lambda",
318: "lcaron",
320: "ldot",
60: "less",
8804: "lessequal",
9612: "lfblock",
8356: "lira",
8743: "logicaland",
172: "logicalnot",
8744: "logicalor",
383: "longs",
9674: "lozenge",
322: "lslash",
9617: "ltshade",
109: "m",
175: "macron",
9794: "male",
8722: "minus",
8242: "minute",
181: "mu",
215: "multiply",
9834: "musicalnote",
9835: "musicalnotedbl",
110: "n",
324: "nacute",
329: "napostrophe",
328: "ncaron",
57: "nine",
8713: "notelement",
8800: "notequal",
8836: "notsubset",
241: "ntilde",
957: "nu",
35: "numbersign",
111: "o",
243: "oacute",
335: "obreve",
244: "ocircumflex",
246: "odieresis",
339: "oe",
731: "ogonek",
242: "ograve",
417: "ohorn",
337: "ohungarumlaut",
333: "omacron",
969: "omega",
982: "omega1",
974: "omegatonos",
959: "omicron",
972: "omicrontonos",
49: "one",
8228: "onedotenleader",
8539: "oneeighth",
189: "onehalf",
188: "onequarter",
8531: "onethird",
9702: "openbullet",
170: "ordfeminine",
186: "ordmasculine",
8735: "orthogonal",
248: "oslash",
511: "oslashacute",
245: "otilde",
112: "p",
182: "paragraph",
40: "parenleft",
41: "parenright",
8706: "partialdiff",
37: "percent",
46: "period",
183: "periodcentered",
8869: "perpendicular",
8240: "perthousand",
8359: "peseta",
966: "phi",
981: "phi1",
960: "pi",
43: "plus",
177: "plusminus",
8478: "prescription",
8719: "product",
8834: "propersubset",
8835: "propersuperset",
8733: "proportional",
968: "psi",
113: "q",
63: "question",
191: "questiondown",
34: "quotedbl",
8222: "quotedblbase",
8220: "quotedblleft",
8221: "quotedblright",
8216: "quoteleft",
8219: "quotereversed",
8217: "quoteright",
8218: "quotesinglbase",
39: "quotesingle",
114: "r",
341: "racute",
8730: "radical",
345: "rcaron",
8838: "reflexsubset",
8839: "reflexsuperset",
174: "registered",
8976: "revlogicalnot",
961: "rho",
730: "ring",
9616: "rtblock",
115: "s",
347: "sacute",
353: "scaron",
351: "scedilla",
349: "scircumflex",
8243: "second",
167: "section",
59: "semicolon",
55: "seven",
8542: "seveneighths",
9618: "shade",
963: "sigma",
962: "sigma1",
8764: "similar",
54: "six",
47: "slash",
9786: "smileface",
32: "space",
9824: "spade",
163: "sterling",
8715: "suchthat",
8721: "summation",
9788: "sun",
116: "t",
964: "tau",
359: "tbar",
357: "tcaron",
8756: "therefore",
952: "theta",
977: "theta1",
254: "thorn",
51: "three",
8540: "threeeighths",
190: "threequarters",
732: "tilde",
771: "tildecomb",
900: "tonos",
8482: "trademark",
9660: "triagdn",
9668: "triaglf",
9658: "triagrt",
9650: "triagup",
50: "two",
8229: "twodotenleader",
8532: "twothirds",
117: "u",
250: "uacute",
365: "ubreve",
251: "ucircumflex",
252: "udieresis",
249: "ugrave",
432: "uhorn",
369: "uhungarumlaut",
363: "umacron",
95: "underscore",
8215: "underscoredbl",
8746: "union",
8704: "universal",
371: "uogonek",
9600: "upblock",
965: "upsilon",
971: "upsilondieresis",
944: "upsilondieresistonos",
973: "upsilontonos",
367: "uring",
361: "utilde",
118: "v",
119: "w",
7811: "wacute",
373: "wcircumflex",
7813: "wdieresis",
8472: "weierstrass",
7809: "wgrave",
120: "x",
958: "xi",
121: "y",
253: "yacute",
375: "ycircumflex",
255: "ydieresis",
165: "yen",
7923: "ygrave",
122: "z",
378: "zacute",
382: "zcaron",
380: "zdotaccent",
48: "zero",
950: "zeta"
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment