1 /* GDK - The GIMP Drawing Kit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3 * Copyright (C) 1998-1999 Tor Lillqvist
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
22 * Modified by the GTK+ Team and others 1997-1999. See the AUTHORS
23 * file for a list of people on the GTK+ Team. See the ChangeLog
24 * files for a list of changes. These files are distributed with
25 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
37 #include "gdkprivate.h"
38 #include "gdkinputprivate.h"
39 #include "gdkkeysyms.h"
41 static void gdkx_XConvertCase (KeySym symbol,
44 #define XConvertCase gdkx_XConvertCase
46 static void gdk_exit_func (void);
49 /* Private variable declarations
51 static int gdk_initialized = 0; /* 1 if the library is initialized,
55 static const GDebugKey gdk_debug_keys[] = {
56 {"events", GDK_DEBUG_EVENTS},
57 {"misc", GDK_DEBUG_MISC},
58 {"dnd", GDK_DEBUG_DND},
59 {"color-context", GDK_DEBUG_COLOR_CONTEXT},
60 {"xim", GDK_DEBUG_XIM},
61 {"selection", GDK_DEBUG_SELECTION}
64 static const int gdk_ndebug_keys = sizeof(gdk_debug_keys)/sizeof(GDebugKey);
66 #endif /* G_ENABLE_DEBUG */
69 DllMain(HINSTANCE hinstDLL,
73 gdk_DLLInstance = hinstDLL;
79 *--------------------------------------------------------------
82 * Initialize the library for use.
85 * "argc" is the number of arguments.
86 * "argv" is an array of strings.
89 * "argc" and "argv" are modified to reflect any arguments
90 * which were not handled. (Such arguments should either
91 * be handled by the application or dismissed).
94 * The library is initialized.
96 *--------------------------------------------------------------
100 gdk_init_check (int *argc,
108 if (g_thread_supported ())
109 gdk_threads_mutex = g_mutex_new ();
111 #ifdef G_ENABLE_DEBUG
113 gchar *debug_string = getenv("GDK_DEBUG");
114 if (debug_string != NULL)
115 gdk_debug_flags = g_parse_debug_string (debug_string,
116 (GDebugKey *) gdk_debug_keys,
119 #endif /* G_ENABLE_DEBUG */
121 if (getenv ("GDK_IGNORE_WINTAB") != NULL)
122 gdk_input_ignore_wintab = TRUE;
124 if (getenv ("GDK_EVENT_FUNC_FROM_WINDOW_PROC") != NULL)
125 gdk_event_func_from_window_proc = TRUE;
133 d = strrchr((*argv)[0], G_DIR_SEPARATOR);
135 g_set_prgname (d + 1);
137 g_set_prgname ((*argv)[0]);
140 for (i = 1; i < *argc;)
142 #ifdef G_ENABLE_DEBUG
143 if ((strcmp ("--gdk-debug", (*argv)[i]) == 0) ||
144 (strncmp ("--gdk-debug=", (*argv)[i], 12) == 0))
146 gchar *equal_pos = strchr ((*argv)[i], '=');
148 if (equal_pos != NULL)
150 gdk_debug_flags |= g_parse_debug_string (equal_pos+1,
151 (GDebugKey *) gdk_debug_keys,
154 else if ((i + 1) < *argc && (*argv)[i + 1])
156 gdk_debug_flags |= g_parse_debug_string ((*argv)[i+1],
157 (GDebugKey *) gdk_debug_keys,
164 else if ((strcmp ("--gdk-no-debug", (*argv)[i]) == 0) ||
165 (strncmp ("--gdk-no-debug=", (*argv)[i], 15) == 0))
167 gchar *equal_pos = strchr ((*argv)[i], '=');
169 if (equal_pos != NULL)
171 gdk_debug_flags &= ~g_parse_debug_string (equal_pos+1,
172 (GDebugKey *) gdk_debug_keys,
175 else if ((i + 1) < *argc && (*argv)[i + 1])
177 gdk_debug_flags &= ~g_parse_debug_string ((*argv)[i+1],
178 (GDebugKey *) gdk_debug_keys,
186 #endif /* G_ENABLE_DEBUG */
187 if (strcmp ("--sync", (*argv)[i]) == 0)
190 GdiSetBatchLimit (1);
192 else if (strcmp ("--name", (*argv)[i]) == 0)
194 if ((i + 1) < *argc && (*argv)[i + 1])
197 g_set_prgname ((*argv)[i]);
201 else if (strcmp ("--gdk-no-wintab", (*argv)[i]) == 0
202 || strcmp ("--gdk-ignore-wintab", (*argv)[i]) == 0)
205 gdk_input_ignore_wintab = TRUE;
207 else if (strcmp ("--gdk-event-func-from-window-proc", (*argv)[i]) == 0)
210 gdk_event_func_from_window_proc = TRUE;
215 for (i = 1; i < *argc; i++)
217 for (k = i; k < *argc; k++)
218 if ((*argv)[k] != NULL)
224 for (j = i + k; j < *argc; j++)
225 (*argv)[j-k] = (*argv)[j];
232 g_set_prgname ("<unknown>");
235 gdk_ProgInstance = GetModuleHandle (NULL);
236 gdk_DC = CreateDC ("DISPLAY", NULL, NULL, NULL);
238 gdk_selection_request_msg = RegisterWindowMessage ("gdk-selection-request");
239 gdk_selection_notify_msg = RegisterWindowMessage ("gdk-selection-notify");
240 gdk_selection_clear_msg = RegisterWindowMessage ("gdk-selection-clear");
242 gdk_selection_property = gdk_atom_intern ("GDK_SELECTION", FALSE);
243 gdk_clipboard_atom = gdk_atom_intern ("CLIPBOARD", FALSE);
244 gdk_win32_dropfiles_atom = gdk_atom_intern ("DROPFILES_DND", FALSE);
245 gdk_ole2_dnd_atom = gdk_atom_intern ("OLE2_DND", FALSE);
247 gdk_progclass = g_basename (g_get_prgname ());
248 gdk_progclass[0] = toupper (gdk_progclass[0]);
250 gdk_root_window = HWND_DESKTOP;
252 g_atexit (gdk_exit_func);
259 gdk_selection_init ();
268 gdk_init (int *argc, char ***argv)
270 if (!gdk_init_check (argc, argv))
272 g_warning ("cannot initialize GDK");
278 *--------------------------------------------------------------
281 * Restores the library to an un-itialized state and exits
282 * the program using the "exit" system call.
285 * "errorcode" is the error value to pass to "exit".
288 * Allocated structures are freed and the program exits
293 *--------------------------------------------------------------
297 gdk_exit (gint errorcode)
299 /* de-initialisation is done by the gdk_exit_func(),
300 no need to do this here (Alex J.) */
305 gdk_set_use_xshm (gint use_xshm)
311 gdk_get_use_xshm (void)
317 *--------------------------------------------------------------
320 * Return the width of the screen.
328 *--------------------------------------------------------------
332 gdk_screen_width (void)
336 return_val = gdk_root_parent.width;
342 *--------------------------------------------------------------
345 * Return the height of the screen.
353 *--------------------------------------------------------------
357 gdk_screen_height (void)
361 return_val = gdk_root_parent.height;
367 *--------------------------------------------------------------
368 * gdk_screen_width_mm
370 * Return the width of the screen in millimetres.
378 *--------------------------------------------------------------
382 gdk_screen_width_mm (void)
388 return_val = GetDeviceCaps (hdc, HORZSIZE);
389 ReleaseDC (NULL, hdc);
395 *--------------------------------------------------------------
398 * Return the height of the screen in millimetres.
406 *--------------------------------------------------------------
410 gdk_screen_height_mm (void)
416 return_val = GetDeviceCaps (hdc, VERTSIZE);
417 ReleaseDC (NULL, hdc);
423 gdk_key_repeat_disable (void)
429 gdk_key_repeat_restore (void)
436 *--------------------------------------------------------------
439 * Flushes the Xlib output buffer and then waits
440 * until all requests have been received and processed
441 * by the X server. The only real use for this function
442 * is in dealing with XShm.
450 *--------------------------------------------------------------
466 *--------------------------------------------------------------
469 * This is the "atexit" function that makes sure the
470 * library gets a chance to cleanup.
477 * The library is un-initialized and the program exits.
479 *--------------------------------------------------------------
485 static gboolean in_gdk_exit_func = FALSE;
487 GDK_NOTE (MISC, g_print ("gdk_exit_func\n"));
488 /* This is to avoid an infinite loop if a program segfaults in
489 an atexit() handler (and yes, it does happen, especially if a program
490 has trounced over memory too badly for even g_message to work) */
491 if (in_gdk_exit_func == TRUE)
493 in_gdk_exit_func = TRUE;
499 gdk_key_repeat_restore ();
508 gdk_get_display(void)
513 /*************************************************************
514 * gdk_error_trap_push:
515 * Push an error trap. X errors will be trapped until
516 * the corresponding gdk_error_pop(), which will return
517 * the error code, if any.
521 *************************************************************/
524 gdk_error_trap_push (void)
529 /*************************************************************
530 * gdk_error_trap_pop:
531 * Pop an error trap added with gdk_error_push()
535 * 0, if no error occured, otherwise the error code.
536 *************************************************************/
539 gdk_error_trap_pop (void)
546 gdkx_XConvertCase (KeySym symbol,
550 register KeySym sym = symbol;
552 g_return_if_fail (lower != NULL);
553 g_return_if_fail (upper != NULL);
560 #if defined (GDK_A) && defined (GDK_Ooblique)
561 case 0: /* Latin 1 */
562 if ((sym >= GDK_A) && (sym <= GDK_Z))
563 *lower += (GDK_a - GDK_A);
564 else if ((sym >= GDK_a) && (sym <= GDK_z))
565 *upper -= (GDK_a - GDK_A);
566 else if ((sym >= GDK_Agrave) && (sym <= GDK_Odiaeresis))
567 *lower += (GDK_agrave - GDK_Agrave);
568 else if ((sym >= GDK_agrave) && (sym <= GDK_odiaeresis))
569 *upper -= (GDK_agrave - GDK_Agrave);
570 else if ((sym >= GDK_Ooblique) && (sym <= GDK_Thorn))
571 *lower += (GDK_oslash - GDK_Ooblique);
572 else if ((sym >= GDK_oslash) && (sym <= GDK_thorn))
573 *upper -= (GDK_oslash - GDK_Ooblique);
577 #if defined (GDK_Aogonek) && defined (GDK_tcedilla)
578 case 1: /* Latin 2 */
579 /* Assume the KeySym is a legal value (ignore discontinuities) */
580 if (sym == GDK_Aogonek)
581 *lower = GDK_aogonek;
582 else if (sym >= GDK_Lstroke && sym <= GDK_Sacute)
583 *lower += (GDK_lstroke - GDK_Lstroke);
584 else if (sym >= GDK_Scaron && sym <= GDK_Zacute)
585 *lower += (GDK_scaron - GDK_Scaron);
586 else if (sym >= GDK_Zcaron && sym <= GDK_Zabovedot)
587 *lower += (GDK_zcaron - GDK_Zcaron);
588 else if (sym == GDK_aogonek)
589 *upper = GDK_Aogonek;
590 else if (sym >= GDK_lstroke && sym <= GDK_sacute)
591 *upper -= (GDK_lstroke - GDK_Lstroke);
592 else if (sym >= GDK_scaron && sym <= GDK_zacute)
593 *upper -= (GDK_scaron - GDK_Scaron);
594 else if (sym >= GDK_zcaron && sym <= GDK_zabovedot)
595 *upper -= (GDK_zcaron - GDK_Zcaron);
596 else if (sym >= GDK_Racute && sym <= GDK_Tcedilla)
597 *lower += (GDK_racute - GDK_Racute);
598 else if (sym >= GDK_racute && sym <= GDK_tcedilla)
599 *upper -= (GDK_racute - GDK_Racute);
603 #if defined (GDK_Hstroke) && defined (GDK_Cabovedot)
604 case 2: /* Latin 3 */
605 /* Assume the KeySym is a legal value (ignore discontinuities) */
606 if (sym >= GDK_Hstroke && sym <= GDK_Hcircumflex)
607 *lower += (GDK_hstroke - GDK_Hstroke);
608 else if (sym >= GDK_Gbreve && sym <= GDK_Jcircumflex)
609 *lower += (GDK_gbreve - GDK_Gbreve);
610 else if (sym >= GDK_hstroke && sym <= GDK_hcircumflex)
611 *upper -= (GDK_hstroke - GDK_Hstroke);
612 else if (sym >= GDK_gbreve && sym <= GDK_jcircumflex)
613 *upper -= (GDK_gbreve - GDK_Gbreve);
614 else if (sym >= GDK_Cabovedot && sym <= GDK_Scircumflex)
615 *lower += (GDK_cabovedot - GDK_Cabovedot);
616 else if (sym >= GDK_cabovedot && sym <= GDK_scircumflex)
617 *upper -= (GDK_cabovedot - GDK_Cabovedot);
621 #if defined (GDK_Rcedilla) && defined (GDK_Amacron)
622 case 3: /* Latin 4 */
623 /* Assume the KeySym is a legal value (ignore discontinuities) */
624 if (sym >= GDK_Rcedilla && sym <= GDK_Tslash)
625 *lower += (GDK_rcedilla - GDK_Rcedilla);
626 else if (sym >= GDK_rcedilla && sym <= GDK_tslash)
627 *upper -= (GDK_rcedilla - GDK_Rcedilla);
628 else if (sym == GDK_ENG)
630 else if (sym == GDK_eng)
632 else if (sym >= GDK_Amacron && sym <= GDK_Umacron)
633 *lower += (GDK_amacron - GDK_Amacron);
634 else if (sym >= GDK_amacron && sym <= GDK_umacron)
635 *upper -= (GDK_amacron - GDK_Amacron);
639 #if defined (GDK_Serbian_DJE) && defined (GDK_Cyrillic_yu)
640 case 6: /* Cyrillic */
641 /* Assume the KeySym is a legal value (ignore discontinuities) */
642 if (sym >= GDK_Serbian_DJE && sym <= GDK_Serbian_DZE)
643 *lower -= (GDK_Serbian_DJE - GDK_Serbian_dje);
644 else if (sym >= GDK_Serbian_dje && sym <= GDK_Serbian_dze)
645 *upper += (GDK_Serbian_DJE - GDK_Serbian_dje);
646 else if (sym >= GDK_Cyrillic_YU && sym <= GDK_Cyrillic_HARDSIGN)
647 *lower -= (GDK_Cyrillic_YU - GDK_Cyrillic_yu);
648 else if (sym >= GDK_Cyrillic_yu && sym <= GDK_Cyrillic_hardsign)
649 *upper += (GDK_Cyrillic_YU - GDK_Cyrillic_yu);
651 #endif /* CYRILLIC */
653 #if defined (GDK_Greek_ALPHAaccent) && defined (GDK_Greek_finalsmallsigma)
655 /* Assume the KeySym is a legal value (ignore discontinuities) */
656 if (sym >= GDK_Greek_ALPHAaccent && sym <= GDK_Greek_OMEGAaccent)
657 *lower += (GDK_Greek_alphaaccent - GDK_Greek_ALPHAaccent);
658 else if (sym >= GDK_Greek_alphaaccent && sym <= GDK_Greek_omegaaccent &&
659 sym != GDK_Greek_iotaaccentdieresis &&
660 sym != GDK_Greek_upsilonaccentdieresis)
661 *upper -= (GDK_Greek_alphaaccent - GDK_Greek_ALPHAaccent);
662 else if (sym >= GDK_Greek_ALPHA && sym <= GDK_Greek_OMEGA)
663 *lower += (GDK_Greek_alpha - GDK_Greek_ALPHA);
664 else if (sym >= GDK_Greek_alpha && sym <= GDK_Greek_omega &&
665 sym != GDK_Greek_finalsmallsigma)
666 *upper -= (GDK_Greek_alpha - GDK_Greek_ALPHA);
672 static struct gdk_key {
675 } gdk_keys_by_keyval[] = {
676 { 0x000020, "space" },
677 { 0x000021, "exclam" },
678 { 0x000022, "quotedbl" },
679 { 0x000023, "numbersign" },
680 { 0x000024, "dollar" },
681 { 0x000025, "percent" },
682 { 0x000026, "ampersand" },
683 { 0x000027, "apostrophe" },
684 { 0x000027, "quoteright" },
685 { 0x000028, "parenleft" },
686 { 0x000029, "parenright" },
687 { 0x00002a, "asterisk" },
688 { 0x00002b, "plus" },
689 { 0x00002c, "comma" },
690 { 0x00002d, "minus" },
691 { 0x00002e, "period" },
692 { 0x00002f, "slash" },
703 { 0x00003a, "colon" },
704 { 0x00003b, "semicolon" },
705 { 0x00003c, "less" },
706 { 0x00003d, "equal" },
707 { 0x00003e, "greater" },
708 { 0x00003f, "question" },
736 { 0x00005b, "bracketleft" },
737 { 0x00005c, "backslash" },
738 { 0x00005d, "bracketright" },
739 { 0x00005e, "asciicircum" },
740 { 0x00005f, "underscore" },
741 { 0x000060, "grave" },
742 { 0x000060, "quoteleft" },
769 { 0x00007b, "braceleft" },
771 { 0x00007d, "braceright" },
772 { 0x00007e, "asciitilde" },
773 { 0x0000a0, "nobreakspace" },
774 { 0x0000a1, "exclamdown" },
775 { 0x0000a2, "cent" },
776 { 0x0000a3, "sterling" },
777 { 0x0000a4, "currency" },
779 { 0x0000a6, "brokenbar" },
780 { 0x0000a7, "section" },
781 { 0x0000a8, "diaeresis" },
782 { 0x0000a9, "copyright" },
783 { 0x0000aa, "ordfeminine" },
784 { 0x0000ab, "guillemotleft" },
785 { 0x0000ac, "notsign" },
786 { 0x0000ad, "hyphen" },
787 { 0x0000ae, "registered" },
788 { 0x0000af, "macron" },
789 { 0x0000b0, "degree" },
790 { 0x0000b1, "plusminus" },
791 { 0x0000b2, "twosuperior" },
792 { 0x0000b3, "threesuperior" },
793 { 0x0000b4, "acute" },
795 { 0x0000b6, "paragraph" },
796 { 0x0000b7, "periodcentered" },
797 { 0x0000b8, "cedilla" },
798 { 0x0000b9, "onesuperior" },
799 { 0x0000ba, "masculine" },
800 { 0x0000bb, "guillemotright" },
801 { 0x0000bc, "onequarter" },
802 { 0x0000bd, "onehalf" },
803 { 0x0000be, "threequarters" },
804 { 0x0000bf, "questiondown" },
805 { 0x0000c0, "Agrave" },
806 { 0x0000c1, "Aacute" },
807 { 0x0000c2, "Acircumflex" },
808 { 0x0000c3, "Atilde" },
809 { 0x0000c4, "Adiaeresis" },
810 { 0x0000c5, "Aring" },
812 { 0x0000c7, "Ccedilla" },
813 { 0x0000c8, "Egrave" },
814 { 0x0000c9, "Eacute" },
815 { 0x0000ca, "Ecircumflex" },
816 { 0x0000cb, "Ediaeresis" },
817 { 0x0000cc, "Igrave" },
818 { 0x0000cd, "Iacute" },
819 { 0x0000ce, "Icircumflex" },
820 { 0x0000cf, "Idiaeresis" },
823 { 0x0000d1, "Ntilde" },
824 { 0x0000d2, "Ograve" },
825 { 0x0000d3, "Oacute" },
826 { 0x0000d4, "Ocircumflex" },
827 { 0x0000d5, "Otilde" },
828 { 0x0000d6, "Odiaeresis" },
829 { 0x0000d7, "multiply" },
830 { 0x0000d8, "Ooblique" },
831 { 0x0000d9, "Ugrave" },
832 { 0x0000da, "Uacute" },
833 { 0x0000db, "Ucircumflex" },
834 { 0x0000dc, "Udiaeresis" },
835 { 0x0000dd, "Yacute" },
836 { 0x0000de, "THORN" },
837 { 0x0000de, "Thorn" },
838 { 0x0000df, "ssharp" },
839 { 0x0000e0, "agrave" },
840 { 0x0000e1, "aacute" },
841 { 0x0000e2, "acircumflex" },
842 { 0x0000e3, "atilde" },
843 { 0x0000e4, "adiaeresis" },
844 { 0x0000e5, "aring" },
846 { 0x0000e7, "ccedilla" },
847 { 0x0000e8, "egrave" },
848 { 0x0000e9, "eacute" },
849 { 0x0000ea, "ecircumflex" },
850 { 0x0000eb, "ediaeresis" },
851 { 0x0000ec, "igrave" },
852 { 0x0000ed, "iacute" },
853 { 0x0000ee, "icircumflex" },
854 { 0x0000ef, "idiaeresis" },
856 { 0x0000f1, "ntilde" },
857 { 0x0000f2, "ograve" },
858 { 0x0000f3, "oacute" },
859 { 0x0000f4, "ocircumflex" },
860 { 0x0000f5, "otilde" },
861 { 0x0000f6, "odiaeresis" },
862 { 0x0000f7, "division" },
863 { 0x0000f8, "oslash" },
864 { 0x0000f9, "ugrave" },
865 { 0x0000fa, "uacute" },
866 { 0x0000fb, "ucircumflex" },
867 { 0x0000fc, "udiaeresis" },
868 { 0x0000fd, "yacute" },
869 { 0x0000fe, "thorn" },
870 { 0x0000ff, "ydiaeresis" },
871 { 0x0001a1, "Aogonek" },
872 { 0x0001a2, "breve" },
873 { 0x0001a3, "Lstroke" },
874 { 0x0001a5, "Lcaron" },
875 { 0x0001a6, "Sacute" },
876 { 0x0001a9, "Scaron" },
877 { 0x0001aa, "Scedilla" },
878 { 0x0001ab, "Tcaron" },
879 { 0x0001ac, "Zacute" },
880 { 0x0001ae, "Zcaron" },
881 { 0x0001af, "Zabovedot" },
882 { 0x0001b1, "aogonek" },
883 { 0x0001b2, "ogonek" },
884 { 0x0001b3, "lstroke" },
885 { 0x0001b5, "lcaron" },
886 { 0x0001b6, "sacute" },
887 { 0x0001b7, "caron" },
888 { 0x0001b9, "scaron" },
889 { 0x0001ba, "scedilla" },
890 { 0x0001bb, "tcaron" },
891 { 0x0001bc, "zacute" },
892 { 0x0001bd, "doubleacute" },
893 { 0x0001be, "zcaron" },
894 { 0x0001bf, "zabovedot" },
895 { 0x0001c0, "Racute" },
896 { 0x0001c3, "Abreve" },
897 { 0x0001c5, "Lacute" },
898 { 0x0001c6, "Cacute" },
899 { 0x0001c8, "Ccaron" },
900 { 0x0001ca, "Eogonek" },
901 { 0x0001cc, "Ecaron" },
902 { 0x0001cf, "Dcaron" },
903 { 0x0001d0, "Dstroke" },
904 { 0x0001d1, "Nacute" },
905 { 0x0001d2, "Ncaron" },
906 { 0x0001d5, "Odoubleacute" },
907 { 0x0001d8, "Rcaron" },
908 { 0x0001d9, "Uring" },
909 { 0x0001db, "Udoubleacute" },
910 { 0x0001de, "Tcedilla" },
911 { 0x0001e0, "racute" },
912 { 0x0001e3, "abreve" },
913 { 0x0001e5, "lacute" },
914 { 0x0001e6, "cacute" },
915 { 0x0001e8, "ccaron" },
916 { 0x0001ea, "eogonek" },
917 { 0x0001ec, "ecaron" },
918 { 0x0001ef, "dcaron" },
919 { 0x0001f0, "dstroke" },
920 { 0x0001f1, "nacute" },
921 { 0x0001f2, "ncaron" },
922 { 0x0001f5, "odoubleacute" },
923 { 0x0001f8, "rcaron" },
924 { 0x0001f9, "uring" },
925 { 0x0001fb, "udoubleacute" },
926 { 0x0001fe, "tcedilla" },
927 { 0x0001ff, "abovedot" },
928 { 0x0002a1, "Hstroke" },
929 { 0x0002a6, "Hcircumflex" },
930 { 0x0002a9, "Iabovedot" },
931 { 0x0002ab, "Gbreve" },
932 { 0x0002ac, "Jcircumflex" },
933 { 0x0002b1, "hstroke" },
934 { 0x0002b6, "hcircumflex" },
935 { 0x0002b9, "idotless" },
936 { 0x0002bb, "gbreve" },
937 { 0x0002bc, "jcircumflex" },
938 { 0x0002c5, "Cabovedot" },
939 { 0x0002c6, "Ccircumflex" },
940 { 0x0002d5, "Gabovedot" },
941 { 0x0002d8, "Gcircumflex" },
942 { 0x0002dd, "Ubreve" },
943 { 0x0002de, "Scircumflex" },
944 { 0x0002e5, "cabovedot" },
945 { 0x0002e6, "ccircumflex" },
946 { 0x0002f5, "gabovedot" },
947 { 0x0002f8, "gcircumflex" },
948 { 0x0002fd, "ubreve" },
949 { 0x0002fe, "scircumflex" },
950 { 0x0003a2, "kappa" },
952 { 0x0003a3, "Rcedilla" },
953 { 0x0003a5, "Itilde" },
954 { 0x0003a6, "Lcedilla" },
955 { 0x0003aa, "Emacron" },
956 { 0x0003ab, "Gcedilla" },
957 { 0x0003ac, "Tslash" },
958 { 0x0003b3, "rcedilla" },
959 { 0x0003b5, "itilde" },
960 { 0x0003b6, "lcedilla" },
961 { 0x0003ba, "emacron" },
962 { 0x0003bb, "gcedilla" },
963 { 0x0003bc, "tslash" },
966 { 0x0003c0, "Amacron" },
967 { 0x0003c7, "Iogonek" },
968 { 0x0003cc, "Eabovedot" },
969 { 0x0003cf, "Imacron" },
970 { 0x0003d1, "Ncedilla" },
971 { 0x0003d2, "Omacron" },
972 { 0x0003d3, "Kcedilla" },
973 { 0x0003d9, "Uogonek" },
974 { 0x0003dd, "Utilde" },
975 { 0x0003de, "Umacron" },
976 { 0x0003e0, "amacron" },
977 { 0x0003e7, "iogonek" },
978 { 0x0003ec, "eabovedot" },
979 { 0x0003ef, "imacron" },
980 { 0x0003f1, "ncedilla" },
981 { 0x0003f2, "omacron" },
982 { 0x0003f3, "kcedilla" },
983 { 0x0003f9, "uogonek" },
984 { 0x0003fd, "utilde" },
985 { 0x0003fe, "umacron" },
986 { 0x00047e, "overline" },
987 { 0x0004a1, "kana_fullstop" },
988 { 0x0004a2, "kana_openingbracket" },
989 { 0x0004a3, "kana_closingbracket" },
990 { 0x0004a4, "kana_comma" },
991 { 0x0004a5, "kana_conjunctive" },
992 { 0x0004a5, "kana_middledot" },
993 { 0x0004a6, "kana_WO" },
994 { 0x0004a7, "kana_a" },
995 { 0x0004a8, "kana_i" },
996 { 0x0004a9, "kana_u" },
997 { 0x0004aa, "kana_e" },
998 { 0x0004ab, "kana_o" },
999 { 0x0004ac, "kana_ya" },
1000 { 0x0004ad, "kana_yu" },
1001 { 0x0004ae, "kana_yo" },
1002 { 0x0004af, "kana_tsu" },
1003 { 0x0004af, "kana_tu" },
1004 { 0x0004b0, "prolongedsound" },
1005 { 0x0004b1, "kana_A" },
1006 { 0x0004b2, "kana_I" },
1007 { 0x0004b3, "kana_U" },
1008 { 0x0004b4, "kana_E" },
1009 { 0x0004b5, "kana_O" },
1010 { 0x0004b6, "kana_KA" },
1011 { 0x0004b7, "kana_KI" },
1012 { 0x0004b8, "kana_KU" },
1013 { 0x0004b9, "kana_KE" },
1014 { 0x0004ba, "kana_KO" },
1015 { 0x0004bb, "kana_SA" },
1016 { 0x0004bc, "kana_SHI" },
1017 { 0x0004bd, "kana_SU" },
1018 { 0x0004be, "kana_SE" },
1019 { 0x0004bf, "kana_SO" },
1020 { 0x0004c0, "kana_TA" },
1021 { 0x0004c1, "kana_CHI" },
1022 { 0x0004c1, "kana_TI" },
1023 { 0x0004c2, "kana_TSU" },
1024 { 0x0004c2, "kana_TU" },
1025 { 0x0004c3, "kana_TE" },
1026 { 0x0004c4, "kana_TO" },
1027 { 0x0004c5, "kana_NA" },
1028 { 0x0004c6, "kana_NI" },
1029 { 0x0004c7, "kana_NU" },
1030 { 0x0004c8, "kana_NE" },
1031 { 0x0004c9, "kana_NO" },
1032 { 0x0004ca, "kana_HA" },
1033 { 0x0004cb, "kana_HI" },
1034 { 0x0004cc, "kana_FU" },
1035 { 0x0004cc, "kana_HU" },
1036 { 0x0004cd, "kana_HE" },
1037 { 0x0004ce, "kana_HO" },
1038 { 0x0004cf, "kana_MA" },
1039 { 0x0004d0, "kana_MI" },
1040 { 0x0004d1, "kana_MU" },
1041 { 0x0004d2, "kana_ME" },
1042 { 0x0004d3, "kana_MO" },
1043 { 0x0004d4, "kana_YA" },
1044 { 0x0004d5, "kana_YU" },
1045 { 0x0004d6, "kana_YO" },
1046 { 0x0004d7, "kana_RA" },
1047 { 0x0004d8, "kana_RI" },
1048 { 0x0004d9, "kana_RU" },
1049 { 0x0004da, "kana_RE" },
1050 { 0x0004db, "kana_RO" },
1051 { 0x0004dc, "kana_WA" },
1052 { 0x0004dd, "kana_N" },
1053 { 0x0004de, "voicedsound" },
1054 { 0x0004df, "semivoicedsound" },
1055 { 0x0005ac, "Arabic_comma" },
1056 { 0x0005bb, "Arabic_semicolon" },
1057 { 0x0005bf, "Arabic_question_mark" },
1058 { 0x0005c1, "Arabic_hamza" },
1059 { 0x0005c2, "Arabic_maddaonalef" },
1060 { 0x0005c3, "Arabic_hamzaonalef" },
1061 { 0x0005c4, "Arabic_hamzaonwaw" },
1062 { 0x0005c5, "Arabic_hamzaunderalef" },
1063 { 0x0005c6, "Arabic_hamzaonyeh" },
1064 { 0x0005c7, "Arabic_alef" },
1065 { 0x0005c8, "Arabic_beh" },
1066 { 0x0005c9, "Arabic_tehmarbuta" },
1067 { 0x0005ca, "Arabic_teh" },
1068 { 0x0005cb, "Arabic_theh" },
1069 { 0x0005cc, "Arabic_jeem" },
1070 { 0x0005cd, "Arabic_hah" },
1071 { 0x0005ce, "Arabic_khah" },
1072 { 0x0005cf, "Arabic_dal" },
1073 { 0x0005d0, "Arabic_thal" },
1074 { 0x0005d1, "Arabic_ra" },
1075 { 0x0005d2, "Arabic_zain" },
1076 { 0x0005d3, "Arabic_seen" },
1077 { 0x0005d4, "Arabic_sheen" },
1078 { 0x0005d5, "Arabic_sad" },
1079 { 0x0005d6, "Arabic_dad" },
1080 { 0x0005d7, "Arabic_tah" },
1081 { 0x0005d8, "Arabic_zah" },
1082 { 0x0005d9, "Arabic_ain" },
1083 { 0x0005da, "Arabic_ghain" },
1084 { 0x0005e0, "Arabic_tatweel" },
1085 { 0x0005e1, "Arabic_feh" },
1086 { 0x0005e2, "Arabic_qaf" },
1087 { 0x0005e3, "Arabic_kaf" },
1088 { 0x0005e4, "Arabic_lam" },
1089 { 0x0005e5, "Arabic_meem" },
1090 { 0x0005e6, "Arabic_noon" },
1091 { 0x0005e7, "Arabic_ha" },
1092 { 0x0005e7, "Arabic_heh" },
1093 { 0x0005e8, "Arabic_waw" },
1094 { 0x0005e9, "Arabic_alefmaksura" },
1095 { 0x0005ea, "Arabic_yeh" },
1096 { 0x0005eb, "Arabic_fathatan" },
1097 { 0x0005ec, "Arabic_dammatan" },
1098 { 0x0005ed, "Arabic_kasratan" },
1099 { 0x0005ee, "Arabic_fatha" },
1100 { 0x0005ef, "Arabic_damma" },
1101 { 0x0005f0, "Arabic_kasra" },
1102 { 0x0005f1, "Arabic_shadda" },
1103 { 0x0005f2, "Arabic_sukun" },
1104 { 0x0006a1, "Serbian_dje" },
1105 { 0x0006a2, "Macedonia_gje" },
1106 { 0x0006a3, "Cyrillic_io" },
1107 { 0x0006a4, "Ukrainian_ie" },
1108 { 0x0006a4, "Ukranian_je" },
1109 { 0x0006a5, "Macedonia_dse" },
1110 { 0x0006a6, "Ukrainian_i" },
1111 { 0x0006a6, "Ukranian_i" },
1112 { 0x0006a7, "Ukrainian_yi" },
1113 { 0x0006a7, "Ukranian_yi" },
1114 { 0x0006a8, "Cyrillic_je" },
1115 { 0x0006a8, "Serbian_je" },
1116 { 0x0006a9, "Cyrillic_lje" },
1117 { 0x0006a9, "Serbian_lje" },
1118 { 0x0006aa, "Cyrillic_nje" },
1119 { 0x0006aa, "Serbian_nje" },
1120 { 0x0006ab, "Serbian_tshe" },
1121 { 0x0006ac, "Macedonia_kje" },
1122 { 0x0006ae, "Byelorussian_shortu" },
1123 { 0x0006af, "Cyrillic_dzhe" },
1124 { 0x0006af, "Serbian_dze" },
1125 { 0x0006b0, "numerosign" },
1126 { 0x0006b1, "Serbian_DJE" },
1127 { 0x0006b2, "Macedonia_GJE" },
1128 { 0x0006b3, "Cyrillic_IO" },
1129 { 0x0006b4, "Ukrainian_IE" },
1130 { 0x0006b4, "Ukranian_JE" },
1131 { 0x0006b5, "Macedonia_DSE" },
1132 { 0x0006b6, "Ukrainian_I" },
1133 { 0x0006b6, "Ukranian_I" },
1134 { 0x0006b7, "Ukrainian_YI" },
1135 { 0x0006b7, "Ukranian_YI" },
1136 { 0x0006b8, "Cyrillic_JE" },
1137 { 0x0006b8, "Serbian_JE" },
1138 { 0x0006b9, "Cyrillic_LJE" },
1139 { 0x0006b9, "Serbian_LJE" },
1140 { 0x0006ba, "Cyrillic_NJE" },
1141 { 0x0006ba, "Serbian_NJE" },
1142 { 0x0006bb, "Serbian_TSHE" },
1143 { 0x0006bc, "Macedonia_KJE" },
1144 { 0x0006be, "Byelorussian_SHORTU" },
1145 { 0x0006bf, "Cyrillic_DZHE" },
1146 { 0x0006bf, "Serbian_DZE" },
1147 { 0x0006c0, "Cyrillic_yu" },
1148 { 0x0006c1, "Cyrillic_a" },
1149 { 0x0006c2, "Cyrillic_be" },
1150 { 0x0006c3, "Cyrillic_tse" },
1151 { 0x0006c4, "Cyrillic_de" },
1152 { 0x0006c5, "Cyrillic_ie" },
1153 { 0x0006c6, "Cyrillic_ef" },
1154 { 0x0006c7, "Cyrillic_ghe" },
1155 { 0x0006c8, "Cyrillic_ha" },
1156 { 0x0006c9, "Cyrillic_i" },
1157 { 0x0006ca, "Cyrillic_shorti" },
1158 { 0x0006cb, "Cyrillic_ka" },
1159 { 0x0006cc, "Cyrillic_el" },
1160 { 0x0006cd, "Cyrillic_em" },
1161 { 0x0006ce, "Cyrillic_en" },
1162 { 0x0006cf, "Cyrillic_o" },
1163 { 0x0006d0, "Cyrillic_pe" },
1164 { 0x0006d1, "Cyrillic_ya" },
1165 { 0x0006d2, "Cyrillic_er" },
1166 { 0x0006d3, "Cyrillic_es" },
1167 { 0x0006d4, "Cyrillic_te" },
1168 { 0x0006d5, "Cyrillic_u" },
1169 { 0x0006d6, "Cyrillic_zhe" },
1170 { 0x0006d7, "Cyrillic_ve" },
1171 { 0x0006d8, "Cyrillic_softsign" },
1172 { 0x0006d9, "Cyrillic_yeru" },
1173 { 0x0006da, "Cyrillic_ze" },
1174 { 0x0006db, "Cyrillic_sha" },
1175 { 0x0006dc, "Cyrillic_e" },
1176 { 0x0006dd, "Cyrillic_shcha" },
1177 { 0x0006de, "Cyrillic_che" },
1178 { 0x0006df, "Cyrillic_hardsign" },
1179 { 0x0006e0, "Cyrillic_YU" },
1180 { 0x0006e1, "Cyrillic_A" },
1181 { 0x0006e2, "Cyrillic_BE" },
1182 { 0x0006e3, "Cyrillic_TSE" },
1183 { 0x0006e4, "Cyrillic_DE" },
1184 { 0x0006e5, "Cyrillic_IE" },
1185 { 0x0006e6, "Cyrillic_EF" },
1186 { 0x0006e7, "Cyrillic_GHE" },
1187 { 0x0006e8, "Cyrillic_HA" },
1188 { 0x0006e9, "Cyrillic_I" },
1189 { 0x0006ea, "Cyrillic_SHORTI" },
1190 { 0x0006eb, "Cyrillic_KA" },
1191 { 0x0006ec, "Cyrillic_EL" },
1192 { 0x0006ed, "Cyrillic_EM" },
1193 { 0x0006ee, "Cyrillic_EN" },
1194 { 0x0006ef, "Cyrillic_O" },
1195 { 0x0006f0, "Cyrillic_PE" },
1196 { 0x0006f1, "Cyrillic_YA" },
1197 { 0x0006f2, "Cyrillic_ER" },
1198 { 0x0006f3, "Cyrillic_ES" },
1199 { 0x0006f4, "Cyrillic_TE" },
1200 { 0x0006f5, "Cyrillic_U" },
1201 { 0x0006f6, "Cyrillic_ZHE" },
1202 { 0x0006f7, "Cyrillic_VE" },
1203 { 0x0006f8, "Cyrillic_SOFTSIGN" },
1204 { 0x0006f9, "Cyrillic_YERU" },
1205 { 0x0006fa, "Cyrillic_ZE" },
1206 { 0x0006fb, "Cyrillic_SHA" },
1207 { 0x0006fc, "Cyrillic_E" },
1208 { 0x0006fd, "Cyrillic_SHCHA" },
1209 { 0x0006fe, "Cyrillic_CHE" },
1210 { 0x0006ff, "Cyrillic_HARDSIGN" },
1211 { 0x0007a1, "Greek_ALPHAaccent" },
1212 { 0x0007a2, "Greek_EPSILONaccent" },
1213 { 0x0007a3, "Greek_ETAaccent" },
1214 { 0x0007a4, "Greek_IOTAaccent" },
1215 { 0x0007a5, "Greek_IOTAdiaeresis" },
1216 { 0x0007a7, "Greek_OMICRONaccent" },
1217 { 0x0007a8, "Greek_UPSILONaccent" },
1218 { 0x0007a9, "Greek_UPSILONdieresis" },
1219 { 0x0007ab, "Greek_OMEGAaccent" },
1220 { 0x0007ae, "Greek_accentdieresis" },
1221 { 0x0007af, "Greek_horizbar" },
1222 { 0x0007b1, "Greek_alphaaccent" },
1223 { 0x0007b2, "Greek_epsilonaccent" },
1224 { 0x0007b3, "Greek_etaaccent" },
1225 { 0x0007b4, "Greek_iotaaccent" },
1226 { 0x0007b5, "Greek_iotadieresis" },
1227 { 0x0007b6, "Greek_iotaaccentdieresis" },
1228 { 0x0007b7, "Greek_omicronaccent" },
1229 { 0x0007b8, "Greek_upsilonaccent" },
1230 { 0x0007b9, "Greek_upsilondieresis" },
1231 { 0x0007ba, "Greek_upsilonaccentdieresis" },
1232 { 0x0007bb, "Greek_omegaaccent" },
1233 { 0x0007c1, "Greek_ALPHA" },
1234 { 0x0007c2, "Greek_BETA" },
1235 { 0x0007c3, "Greek_GAMMA" },
1236 { 0x0007c4, "Greek_DELTA" },
1237 { 0x0007c5, "Greek_EPSILON" },
1238 { 0x0007c6, "Greek_ZETA" },
1239 { 0x0007c7, "Greek_ETA" },
1240 { 0x0007c8, "Greek_THETA" },
1241 { 0x0007c9, "Greek_IOTA" },
1242 { 0x0007ca, "Greek_KAPPA" },
1243 { 0x0007cb, "Greek_LAMBDA" },
1244 { 0x0007cb, "Greek_LAMDA" },
1245 { 0x0007cc, "Greek_MU" },
1246 { 0x0007cd, "Greek_NU" },
1247 { 0x0007ce, "Greek_XI" },
1248 { 0x0007cf, "Greek_OMICRON" },
1249 { 0x0007d0, "Greek_PI" },
1250 { 0x0007d1, "Greek_RHO" },
1251 { 0x0007d2, "Greek_SIGMA" },
1252 { 0x0007d4, "Greek_TAU" },
1253 { 0x0007d5, "Greek_UPSILON" },
1254 { 0x0007d6, "Greek_PHI" },
1255 { 0x0007d7, "Greek_CHI" },
1256 { 0x0007d8, "Greek_PSI" },
1257 { 0x0007d9, "Greek_OMEGA" },
1258 { 0x0007e1, "Greek_alpha" },
1259 { 0x0007e2, "Greek_beta" },
1260 { 0x0007e3, "Greek_gamma" },
1261 { 0x0007e4, "Greek_delta" },
1262 { 0x0007e5, "Greek_epsilon" },
1263 { 0x0007e6, "Greek_zeta" },
1264 { 0x0007e7, "Greek_eta" },
1265 { 0x0007e8, "Greek_theta" },
1266 { 0x0007e9, "Greek_iota" },
1267 { 0x0007ea, "Greek_kappa" },
1268 { 0x0007eb, "Greek_lambda" },
1269 { 0x0007eb, "Greek_lamda" },
1270 { 0x0007ec, "Greek_mu" },
1271 { 0x0007ed, "Greek_nu" },
1272 { 0x0007ee, "Greek_xi" },
1273 { 0x0007ef, "Greek_omicron" },
1274 { 0x0007f0, "Greek_pi" },
1275 { 0x0007f1, "Greek_rho" },
1276 { 0x0007f2, "Greek_sigma" },
1277 { 0x0007f3, "Greek_finalsmallsigma" },
1278 { 0x0007f4, "Greek_tau" },
1279 { 0x0007f5, "Greek_upsilon" },
1280 { 0x0007f6, "Greek_phi" },
1281 { 0x0007f7, "Greek_chi" },
1282 { 0x0007f8, "Greek_psi" },
1283 { 0x0007f9, "Greek_omega" },
1284 { 0x0008a1, "leftradical" },
1285 { 0x0008a2, "topleftradical" },
1286 { 0x0008a3, "horizconnector" },
1287 { 0x0008a4, "topintegral" },
1288 { 0x0008a5, "botintegral" },
1289 { 0x0008a6, "vertconnector" },
1290 { 0x0008a7, "topleftsqbracket" },
1291 { 0x0008a8, "botleftsqbracket" },
1292 { 0x0008a9, "toprightsqbracket" },
1293 { 0x0008aa, "botrightsqbracket" },
1294 { 0x0008ab, "topleftparens" },
1295 { 0x0008ac, "botleftparens" },
1296 { 0x0008ad, "toprightparens" },
1297 { 0x0008ae, "botrightparens" },
1298 { 0x0008af, "leftmiddlecurlybrace" },
1299 { 0x0008b0, "rightmiddlecurlybrace" },
1300 { 0x0008b1, "topleftsummation" },
1301 { 0x0008b2, "botleftsummation" },
1302 { 0x0008b3, "topvertsummationconnector" },
1303 { 0x0008b4, "botvertsummationconnector" },
1304 { 0x0008b5, "toprightsummation" },
1305 { 0x0008b6, "botrightsummation" },
1306 { 0x0008b7, "rightmiddlesummation" },
1307 { 0x0008bc, "lessthanequal" },
1308 { 0x0008bd, "notequal" },
1309 { 0x0008be, "greaterthanequal" },
1310 { 0x0008bf, "integral" },
1311 { 0x0008c0, "therefore" },
1312 { 0x0008c1, "variation" },
1313 { 0x0008c2, "infinity" },
1314 { 0x0008c5, "nabla" },
1315 { 0x0008c8, "approximate" },
1316 { 0x0008c9, "similarequal" },
1317 { 0x0008cd, "ifonlyif" },
1318 { 0x0008ce, "implies" },
1319 { 0x0008cf, "identical" },
1320 { 0x0008d6, "radical" },
1321 { 0x0008da, "includedin" },
1322 { 0x0008db, "includes" },
1323 { 0x0008dc, "intersection" },
1324 { 0x0008dd, "union" },
1325 { 0x0008de, "logicaland" },
1326 { 0x0008df, "logicalor" },
1327 { 0x0008ef, "partialderivative" },
1328 { 0x0008f6, "function" },
1329 { 0x0008fb, "leftarrow" },
1330 { 0x0008fc, "uparrow" },
1331 { 0x0008fd, "rightarrow" },
1332 { 0x0008fe, "downarrow" },
1333 { 0x0009df, "blank" },
1334 { 0x0009e0, "soliddiamond" },
1335 { 0x0009e1, "checkerboard" },
1342 { 0x0009ea, "lowrightcorner" },
1343 { 0x0009eb, "uprightcorner" },
1344 { 0x0009ec, "upleftcorner" },
1345 { 0x0009ed, "lowleftcorner" },
1346 { 0x0009ee, "crossinglines" },
1347 { 0x0009ef, "horizlinescan1" },
1348 { 0x0009f0, "horizlinescan3" },
1349 { 0x0009f1, "horizlinescan5" },
1350 { 0x0009f2, "horizlinescan7" },
1351 { 0x0009f3, "horizlinescan9" },
1352 { 0x0009f4, "leftt" },
1353 { 0x0009f5, "rightt" },
1354 { 0x0009f6, "bott" },
1355 { 0x0009f7, "topt" },
1356 { 0x0009f8, "vertbar" },
1357 { 0x000aa1, "emspace" },
1358 { 0x000aa2, "enspace" },
1359 { 0x000aa3, "em3space" },
1360 { 0x000aa4, "em4space" },
1361 { 0x000aa5, "digitspace" },
1362 { 0x000aa6, "punctspace" },
1363 { 0x000aa7, "thinspace" },
1364 { 0x000aa8, "hairspace" },
1365 { 0x000aa9, "emdash" },
1366 { 0x000aaa, "endash" },
1367 { 0x000aac, "signifblank" },
1368 { 0x000aae, "ellipsis" },
1369 { 0x000aaf, "doubbaselinedot" },
1370 { 0x000ab0, "onethird" },
1371 { 0x000ab1, "twothirds" },
1372 { 0x000ab2, "onefifth" },
1373 { 0x000ab3, "twofifths" },
1374 { 0x000ab4, "threefifths" },
1375 { 0x000ab5, "fourfifths" },
1376 { 0x000ab6, "onesixth" },
1377 { 0x000ab7, "fivesixths" },
1378 { 0x000ab8, "careof" },
1379 { 0x000abb, "figdash" },
1380 { 0x000abc, "leftanglebracket" },
1381 { 0x000abd, "decimalpoint" },
1382 { 0x000abe, "rightanglebracket" },
1383 { 0x000abf, "marker" },
1384 { 0x000ac3, "oneeighth" },
1385 { 0x000ac4, "threeeighths" },
1386 { 0x000ac5, "fiveeighths" },
1387 { 0x000ac6, "seveneighths" },
1388 { 0x000ac9, "trademark" },
1389 { 0x000aca, "signaturemark" },
1390 { 0x000acb, "trademarkincircle" },
1391 { 0x000acc, "leftopentriangle" },
1392 { 0x000acd, "rightopentriangle" },
1393 { 0x000ace, "emopencircle" },
1394 { 0x000acf, "emopenrectangle" },
1395 { 0x000ad0, "leftsinglequotemark" },
1396 { 0x000ad1, "rightsinglequotemark" },
1397 { 0x000ad2, "leftdoublequotemark" },
1398 { 0x000ad3, "rightdoublequotemark" },
1399 { 0x000ad4, "prescription" },
1400 { 0x000ad6, "minutes" },
1401 { 0x000ad7, "seconds" },
1402 { 0x000ad9, "latincross" },
1403 { 0x000ada, "hexagram" },
1404 { 0x000adb, "filledrectbullet" },
1405 { 0x000adc, "filledlefttribullet" },
1406 { 0x000add, "filledrighttribullet" },
1407 { 0x000ade, "emfilledcircle" },
1408 { 0x000adf, "emfilledrect" },
1409 { 0x000ae0, "enopencircbullet" },
1410 { 0x000ae1, "enopensquarebullet" },
1411 { 0x000ae2, "openrectbullet" },
1412 { 0x000ae3, "opentribulletup" },
1413 { 0x000ae4, "opentribulletdown" },
1414 { 0x000ae5, "openstar" },
1415 { 0x000ae6, "enfilledcircbullet" },
1416 { 0x000ae7, "enfilledsqbullet" },
1417 { 0x000ae8, "filledtribulletup" },
1418 { 0x000ae9, "filledtribulletdown" },
1419 { 0x000aea, "leftpointer" },
1420 { 0x000aeb, "rightpointer" },
1421 { 0x000aec, "club" },
1422 { 0x000aed, "diamond" },
1423 { 0x000aee, "heart" },
1424 { 0x000af0, "maltesecross" },
1425 { 0x000af1, "dagger" },
1426 { 0x000af2, "doubledagger" },
1427 { 0x000af3, "checkmark" },
1428 { 0x000af4, "ballotcross" },
1429 { 0x000af5, "musicalsharp" },
1430 { 0x000af6, "musicalflat" },
1431 { 0x000af7, "malesymbol" },
1432 { 0x000af8, "femalesymbol" },
1433 { 0x000af9, "telephone" },
1434 { 0x000afa, "telephonerecorder" },
1435 { 0x000afb, "phonographcopyright" },
1436 { 0x000afc, "caret" },
1437 { 0x000afd, "singlelowquotemark" },
1438 { 0x000afe, "doublelowquotemark" },
1439 { 0x000aff, "cursor" },
1440 { 0x000ba3, "leftcaret" },
1441 { 0x000ba6, "rightcaret" },
1442 { 0x000ba8, "downcaret" },
1443 { 0x000ba9, "upcaret" },
1444 { 0x000bc0, "overbar" },
1445 { 0x000bc2, "downtack" },
1446 { 0x000bc3, "upshoe" },
1447 { 0x000bc4, "downstile" },
1448 { 0x000bc6, "underbar" },
1449 { 0x000bca, "jot" },
1450 { 0x000bcc, "quad" },
1451 { 0x000bce, "uptack" },
1452 { 0x000bcf, "circle" },
1453 { 0x000bd3, "upstile" },
1454 { 0x000bd6, "downshoe" },
1455 { 0x000bd8, "rightshoe" },
1456 { 0x000bda, "leftshoe" },
1457 { 0x000bdc, "lefttack" },
1458 { 0x000bfc, "righttack" },
1459 { 0x000cdf, "hebrew_doublelowline" },
1460 { 0x000ce0, "hebrew_aleph" },
1461 { 0x000ce1, "hebrew_bet" },
1462 { 0x000ce1, "hebrew_beth" },
1463 { 0x000ce2, "hebrew_gimel" },
1464 { 0x000ce2, "hebrew_gimmel" },
1465 { 0x000ce3, "hebrew_dalet" },
1466 { 0x000ce3, "hebrew_daleth" },
1467 { 0x000ce4, "hebrew_he" },
1468 { 0x000ce5, "hebrew_waw" },
1469 { 0x000ce6, "hebrew_zain" },
1470 { 0x000ce6, "hebrew_zayin" },
1471 { 0x000ce7, "hebrew_chet" },
1472 { 0x000ce7, "hebrew_het" },
1473 { 0x000ce8, "hebrew_tet" },
1474 { 0x000ce8, "hebrew_teth" },
1475 { 0x000ce9, "hebrew_yod" },
1476 { 0x000cea, "hebrew_finalkaph" },
1477 { 0x000ceb, "hebrew_kaph" },
1478 { 0x000cec, "hebrew_lamed" },
1479 { 0x000ced, "hebrew_finalmem" },
1480 { 0x000cee, "hebrew_mem" },
1481 { 0x000cef, "hebrew_finalnun" },
1482 { 0x000cf0, "hebrew_nun" },
1483 { 0x000cf1, "hebrew_samech" },
1484 { 0x000cf1, "hebrew_samekh" },
1485 { 0x000cf2, "hebrew_ayin" },
1486 { 0x000cf3, "hebrew_finalpe" },
1487 { 0x000cf4, "hebrew_pe" },
1488 { 0x000cf5, "hebrew_finalzade" },
1489 { 0x000cf5, "hebrew_finalzadi" },
1490 { 0x000cf6, "hebrew_zade" },
1491 { 0x000cf6, "hebrew_zadi" },
1492 { 0x000cf7, "hebrew_kuf" },
1493 { 0x000cf7, "hebrew_qoph" },
1494 { 0x000cf8, "hebrew_resh" },
1495 { 0x000cf9, "hebrew_shin" },
1496 { 0x000cfa, "hebrew_taf" },
1497 { 0x000cfa, "hebrew_taw" },
1498 { 0x000da1, "Thai_kokai" },
1499 { 0x000da2, "Thai_khokhai" },
1500 { 0x000da3, "Thai_khokhuat" },
1501 { 0x000da4, "Thai_khokhwai" },
1502 { 0x000da5, "Thai_khokhon" },
1503 { 0x000da6, "Thai_khorakhang" },
1504 { 0x000da7, "Thai_ngongu" },
1505 { 0x000da8, "Thai_chochan" },
1506 { 0x000da9, "Thai_choching" },
1507 { 0x000daa, "Thai_chochang" },
1508 { 0x000dab, "Thai_soso" },
1509 { 0x000dac, "Thai_chochoe" },
1510 { 0x000dad, "Thai_yoying" },
1511 { 0x000dae, "Thai_dochada" },
1512 { 0x000daf, "Thai_topatak" },
1513 { 0x000db0, "Thai_thothan" },
1514 { 0x000db1, "Thai_thonangmontho" },
1515 { 0x000db2, "Thai_thophuthao" },
1516 { 0x000db3, "Thai_nonen" },
1517 { 0x000db4, "Thai_dodek" },
1518 { 0x000db5, "Thai_totao" },
1519 { 0x000db6, "Thai_thothung" },
1520 { 0x000db7, "Thai_thothahan" },
1521 { 0x000db8, "Thai_thothong" },
1522 { 0x000db9, "Thai_nonu" },
1523 { 0x000dba, "Thai_bobaimai" },
1524 { 0x000dbb, "Thai_popla" },
1525 { 0x000dbc, "Thai_phophung" },
1526 { 0x000dbd, "Thai_fofa" },
1527 { 0x000dbe, "Thai_phophan" },
1528 { 0x000dbf, "Thai_fofan" },
1529 { 0x000dc0, "Thai_phosamphao" },
1530 { 0x000dc1, "Thai_moma" },
1531 { 0x000dc2, "Thai_yoyak" },
1532 { 0x000dc3, "Thai_rorua" },
1533 { 0x000dc4, "Thai_ru" },
1534 { 0x000dc5, "Thai_loling" },
1535 { 0x000dc6, "Thai_lu" },
1536 { 0x000dc7, "Thai_wowaen" },
1537 { 0x000dc8, "Thai_sosala" },
1538 { 0x000dc9, "Thai_sorusi" },
1539 { 0x000dca, "Thai_sosua" },
1540 { 0x000dcb, "Thai_hohip" },
1541 { 0x000dcc, "Thai_lochula" },
1542 { 0x000dcd, "Thai_oang" },
1543 { 0x000dce, "Thai_honokhuk" },
1544 { 0x000dcf, "Thai_paiyannoi" },
1545 { 0x000dd0, "Thai_saraa" },
1546 { 0x000dd1, "Thai_maihanakat" },
1547 { 0x000dd2, "Thai_saraaa" },
1548 { 0x000dd3, "Thai_saraam" },
1549 { 0x000dd4, "Thai_sarai" },
1550 { 0x000dd5, "Thai_saraii" },
1551 { 0x000dd6, "Thai_saraue" },
1552 { 0x000dd7, "Thai_sarauee" },
1553 { 0x000dd8, "Thai_sarau" },
1554 { 0x000dd9, "Thai_sarauu" },
1555 { 0x000dda, "Thai_phinthu" },
1556 { 0x000dde, "Thai_maihanakat_maitho" },
1557 { 0x000ddf, "Thai_baht" },
1558 { 0x000de0, "Thai_sarae" },
1559 { 0x000de1, "Thai_saraae" },
1560 { 0x000de2, "Thai_sarao" },
1561 { 0x000de3, "Thai_saraaimaimuan" },
1562 { 0x000de4, "Thai_saraaimaimalai" },
1563 { 0x000de5, "Thai_lakkhangyao" },
1564 { 0x000de6, "Thai_maiyamok" },
1565 { 0x000de7, "Thai_maitaikhu" },
1566 { 0x000de8, "Thai_maiek" },
1567 { 0x000de9, "Thai_maitho" },
1568 { 0x000dea, "Thai_maitri" },
1569 { 0x000deb, "Thai_maichattawa" },
1570 { 0x000dec, "Thai_thanthakhat" },
1571 { 0x000ded, "Thai_nikhahit" },
1572 { 0x000df0, "Thai_leksun" },
1573 { 0x000df1, "Thai_leknung" },
1574 { 0x000df2, "Thai_leksong" },
1575 { 0x000df3, "Thai_leksam" },
1576 { 0x000df4, "Thai_leksi" },
1577 { 0x000df5, "Thai_lekha" },
1578 { 0x000df6, "Thai_lekhok" },
1579 { 0x000df7, "Thai_lekchet" },
1580 { 0x000df8, "Thai_lekpaet" },
1581 { 0x000df9, "Thai_lekkao" },
1582 { 0x000ea1, "Hangul_Kiyeog" },
1583 { 0x000ea2, "Hangul_SsangKiyeog" },
1584 { 0x000ea3, "Hangul_KiyeogSios" },
1585 { 0x000ea4, "Hangul_Nieun" },
1586 { 0x000ea5, "Hangul_NieunJieuj" },
1587 { 0x000ea6, "Hangul_NieunHieuh" },
1588 { 0x000ea7, "Hangul_Dikeud" },
1589 { 0x000ea8, "Hangul_SsangDikeud" },
1590 { 0x000ea9, "Hangul_Rieul" },
1591 { 0x000eaa, "Hangul_RieulKiyeog" },
1592 { 0x000eab, "Hangul_RieulMieum" },
1593 { 0x000eac, "Hangul_RieulPieub" },
1594 { 0x000ead, "Hangul_RieulSios" },
1595 { 0x000eae, "Hangul_RieulTieut" },
1596 { 0x000eaf, "Hangul_RieulPhieuf" },
1597 { 0x000eb0, "Hangul_RieulHieuh" },
1598 { 0x000eb1, "Hangul_Mieum" },
1599 { 0x000eb2, "Hangul_Pieub" },
1600 { 0x000eb3, "Hangul_SsangPieub" },
1601 { 0x000eb4, "Hangul_PieubSios" },
1602 { 0x000eb5, "Hangul_Sios" },
1603 { 0x000eb6, "Hangul_SsangSios" },
1604 { 0x000eb7, "Hangul_Ieung" },
1605 { 0x000eb8, "Hangul_Jieuj" },
1606 { 0x000eb9, "Hangul_SsangJieuj" },
1607 { 0x000eba, "Hangul_Cieuc" },
1608 { 0x000ebb, "Hangul_Khieuq" },
1609 { 0x000ebc, "Hangul_Tieut" },
1610 { 0x000ebd, "Hangul_Phieuf" },
1611 { 0x000ebe, "Hangul_Hieuh" },
1612 { 0x000ebf, "Hangul_A" },
1613 { 0x000ec0, "Hangul_AE" },
1614 { 0x000ec1, "Hangul_YA" },
1615 { 0x000ec2, "Hangul_YAE" },
1616 { 0x000ec3, "Hangul_EO" },
1617 { 0x000ec4, "Hangul_E" },
1618 { 0x000ec5, "Hangul_YEO" },
1619 { 0x000ec6, "Hangul_YE" },
1620 { 0x000ec7, "Hangul_O" },
1621 { 0x000ec8, "Hangul_WA" },
1622 { 0x000ec9, "Hangul_WAE" },
1623 { 0x000eca, "Hangul_OE" },
1624 { 0x000ecb, "Hangul_YO" },
1625 { 0x000ecc, "Hangul_U" },
1626 { 0x000ecd, "Hangul_WEO" },
1627 { 0x000ece, "Hangul_WE" },
1628 { 0x000ecf, "Hangul_WI" },
1629 { 0x000ed0, "Hangul_YU" },
1630 { 0x000ed1, "Hangul_EU" },
1631 { 0x000ed2, "Hangul_YI" },
1632 { 0x000ed3, "Hangul_I" },
1633 { 0x000ed4, "Hangul_J_Kiyeog" },
1634 { 0x000ed5, "Hangul_J_SsangKiyeog" },
1635 { 0x000ed6, "Hangul_J_KiyeogSios" },
1636 { 0x000ed7, "Hangul_J_Nieun" },
1637 { 0x000ed8, "Hangul_J_NieunJieuj" },
1638 { 0x000ed9, "Hangul_J_NieunHieuh" },
1639 { 0x000eda, "Hangul_J_Dikeud" },
1640 { 0x000edb, "Hangul_J_Rieul" },
1641 { 0x000edc, "Hangul_J_RieulKiyeog" },
1642 { 0x000edd, "Hangul_J_RieulMieum" },
1643 { 0x000ede, "Hangul_J_RieulPieub" },
1644 { 0x000edf, "Hangul_J_RieulSios" },
1645 { 0x000ee0, "Hangul_J_RieulTieut" },
1646 { 0x000ee1, "Hangul_J_RieulPhieuf" },
1647 { 0x000ee2, "Hangul_J_RieulHieuh" },
1648 { 0x000ee3, "Hangul_J_Mieum" },
1649 { 0x000ee4, "Hangul_J_Pieub" },
1650 { 0x000ee5, "Hangul_J_PieubSios" },
1651 { 0x000ee6, "Hangul_J_Sios" },
1652 { 0x000ee7, "Hangul_J_SsangSios" },
1653 { 0x000ee8, "Hangul_J_Ieung" },
1654 { 0x000ee9, "Hangul_J_Jieuj" },
1655 { 0x000eea, "Hangul_J_Cieuc" },
1656 { 0x000eeb, "Hangul_J_Khieuq" },
1657 { 0x000eec, "Hangul_J_Tieut" },
1658 { 0x000eed, "Hangul_J_Phieuf" },
1659 { 0x000eee, "Hangul_J_Hieuh" },
1660 { 0x000eef, "Hangul_RieulYeorinHieuh" },
1661 { 0x000ef0, "Hangul_SunkyeongeumMieum" },
1662 { 0x000ef1, "Hangul_SunkyeongeumPieub" },
1663 { 0x000ef2, "Hangul_PanSios" },
1664 { 0x000ef3, "Hangul_KkogjiDalrinIeung" },
1665 { 0x000ef4, "Hangul_SunkyeongeumPhieuf" },
1666 { 0x000ef5, "Hangul_YeorinHieuh" },
1667 { 0x000ef6, "Hangul_AraeA" },
1668 { 0x000ef7, "Hangul_AraeAE" },
1669 { 0x000ef8, "Hangul_J_PanSios" },
1670 { 0x000ef9, "Hangul_J_KkogjiDalrinIeung" },
1671 { 0x000efa, "Hangul_J_YeorinHieuh" },
1672 { 0x000eff, "Korean_Won" },
1673 { 0x00fd01, "3270_Duplicate" },
1674 { 0x00fd02, "3270_FieldMark" },
1675 { 0x00fd03, "3270_Right2" },
1676 { 0x00fd04, "3270_Left2" },
1677 { 0x00fd05, "3270_BackTab" },
1678 { 0x00fd06, "3270_EraseEOF" },
1679 { 0x00fd07, "3270_EraseInput" },
1680 { 0x00fd08, "3270_Reset" },
1681 { 0x00fd09, "3270_Quit" },
1682 { 0x00fd0a, "3270_PA1" },
1683 { 0x00fd0b, "3270_PA2" },
1684 { 0x00fd0c, "3270_PA3" },
1685 { 0x00fd0d, "3270_Test" },
1686 { 0x00fd0e, "3270_Attn" },
1687 { 0x00fd0f, "3270_CursorBlink" },
1688 { 0x00fd10, "3270_AltCursor" },
1689 { 0x00fd11, "3270_KeyClick" },
1690 { 0x00fd12, "3270_Jump" },
1691 { 0x00fd13, "3270_Ident" },
1692 { 0x00fd14, "3270_Rule" },
1693 { 0x00fd15, "3270_Copy" },
1694 { 0x00fd16, "3270_Play" },
1695 { 0x00fd17, "3270_Setup" },
1696 { 0x00fd18, "3270_Record" },
1697 { 0x00fd19, "3270_ChangeScreen" },
1698 { 0x00fd1a, "3270_DeleteWord" },
1699 { 0x00fd1b, "3270_ExSelect" },
1700 { 0x00fd1c, "3270_CursorSelect" },
1701 { 0x00fd1d, "3270_PrintScreen" },
1702 { 0x00fd1e, "3270_Enter" },
1703 { 0x00fe01, "ISO_Lock" },
1704 { 0x00fe02, "ISO_Level2_Latch" },
1705 { 0x00fe03, "ISO_Level3_Shift" },
1706 { 0x00fe04, "ISO_Level3_Latch" },
1707 { 0x00fe05, "ISO_Level3_Lock" },
1708 { 0x00fe06, "ISO_Group_Latch" },
1709 { 0x00fe07, "ISO_Group_Lock" },
1710 { 0x00fe08, "ISO_Next_Group" },
1711 { 0x00fe09, "ISO_Next_Group_Lock" },
1712 { 0x00fe0a, "ISO_Prev_Group" },
1713 { 0x00fe0b, "ISO_Prev_Group_Lock" },
1714 { 0x00fe0c, "ISO_First_Group" },
1715 { 0x00fe0d, "ISO_First_Group_Lock" },
1716 { 0x00fe0e, "ISO_Last_Group" },
1717 { 0x00fe0f, "ISO_Last_Group_Lock" },
1718 { 0x00fe20, "ISO_Left_Tab" },
1719 { 0x00fe21, "ISO_Move_Line_Up" },
1720 { 0x00fe22, "ISO_Move_Line_Down" },
1721 { 0x00fe23, "ISO_Partial_Line_Up" },
1722 { 0x00fe24, "ISO_Partial_Line_Down" },
1723 { 0x00fe25, "ISO_Partial_Space_Left" },
1724 { 0x00fe26, "ISO_Partial_Space_Right" },
1725 { 0x00fe27, "ISO_Set_Margin_Left" },
1726 { 0x00fe28, "ISO_Set_Margin_Right" },
1727 { 0x00fe29, "ISO_Release_Margin_Left" },
1728 { 0x00fe2a, "ISO_Release_Margin_Right" },
1729 { 0x00fe2b, "ISO_Release_Both_Margins" },
1730 { 0x00fe2c, "ISO_Fast_Cursor_Left" },
1731 { 0x00fe2d, "ISO_Fast_Cursor_Right" },
1732 { 0x00fe2e, "ISO_Fast_Cursor_Up" },
1733 { 0x00fe2f, "ISO_Fast_Cursor_Down" },
1734 { 0x00fe30, "ISO_Continuous_Underline" },
1735 { 0x00fe31, "ISO_Discontinuous_Underline" },
1736 { 0x00fe32, "ISO_Emphasize" },
1737 { 0x00fe33, "ISO_Center_Object" },
1738 { 0x00fe34, "ISO_Enter" },
1739 { 0x00fe50, "dead_grave" },
1740 { 0x00fe51, "dead_acute" },
1741 { 0x00fe52, "dead_circumflex" },
1742 { 0x00fe53, "dead_tilde" },
1743 { 0x00fe54, "dead_macron" },
1744 { 0x00fe55, "dead_breve" },
1745 { 0x00fe56, "dead_abovedot" },
1746 { 0x00fe57, "dead_diaeresis" },
1747 { 0x00fe58, "dead_abovering" },
1748 { 0x00fe59, "dead_doubleacute" },
1749 { 0x00fe5a, "dead_caron" },
1750 { 0x00fe5b, "dead_cedilla" },
1751 { 0x00fe5c, "dead_ogonek" },
1752 { 0x00fe5d, "dead_iota" },
1753 { 0x00fe5e, "dead_voiced_sound" },
1754 { 0x00fe5f, "dead_semivoiced_sound" },
1755 { 0x00fe60, "dead_belowdot" },
1756 { 0x00fe70, "AccessX_Enable" },
1757 { 0x00fe71, "AccessX_Feedback_Enable" },
1758 { 0x00fe72, "RepeatKeys_Enable" },
1759 { 0x00fe73, "SlowKeys_Enable" },
1760 { 0x00fe74, "BounceKeys_Enable" },
1761 { 0x00fe75, "StickyKeys_Enable" },
1762 { 0x00fe76, "MouseKeys_Enable" },
1763 { 0x00fe77, "MouseKeys_Accel_Enable" },
1764 { 0x00fe78, "Overlay1_Enable" },
1765 { 0x00fe79, "Overlay2_Enable" },
1766 { 0x00fe7a, "AudibleBell_Enable" },
1767 { 0x00fed0, "First_Virtual_Screen" },
1768 { 0x00fed1, "Prev_Virtual_Screen" },
1769 { 0x00fed2, "Next_Virtual_Screen" },
1770 { 0x00fed4, "Last_Virtual_Screen" },
1771 { 0x00fed5, "Terminate_Server" },
1772 { 0x00fee0, "Pointer_Left" },
1773 { 0x00fee1, "Pointer_Right" },
1774 { 0x00fee2, "Pointer_Up" },
1775 { 0x00fee3, "Pointer_Down" },
1776 { 0x00fee4, "Pointer_UpLeft" },
1777 { 0x00fee5, "Pointer_UpRight" },
1778 { 0x00fee6, "Pointer_DownLeft" },
1779 { 0x00fee7, "Pointer_DownRight" },
1780 { 0x00fee8, "Pointer_Button_Dflt" },
1781 { 0x00fee9, "Pointer_Button1" },
1782 { 0x00feea, "Pointer_Button2" },
1783 { 0x00feeb, "Pointer_Button3" },
1784 { 0x00feec, "Pointer_Button4" },
1785 { 0x00feed, "Pointer_Button5" },
1786 { 0x00feee, "Pointer_DblClick_Dflt" },
1787 { 0x00feef, "Pointer_DblClick1" },
1788 { 0x00fef0, "Pointer_DblClick2" },
1789 { 0x00fef1, "Pointer_DblClick3" },
1790 { 0x00fef2, "Pointer_DblClick4" },
1791 { 0x00fef3, "Pointer_DblClick5" },
1792 { 0x00fef4, "Pointer_Drag_Dflt" },
1793 { 0x00fef5, "Pointer_Drag1" },
1794 { 0x00fef6, "Pointer_Drag2" },
1795 { 0x00fef7, "Pointer_Drag3" },
1796 { 0x00fef8, "Pointer_Drag4" },
1797 { 0x00fef9, "Pointer_EnableKeys" },
1798 { 0x00fefa, "Pointer_Accelerate" },
1799 { 0x00fefb, "Pointer_DfltBtnNext" },
1800 { 0x00fefc, "Pointer_DfltBtnPrev" },
1801 { 0x00fefd, "Pointer_Drag5" },
1802 { 0x00ff08, "BackSpace" },
1803 { 0x00ff09, "Tab" },
1804 { 0x00ff0a, "Linefeed" },
1805 { 0x00ff0b, "Clear" },
1806 { 0x00ff0d, "Return" },
1807 { 0x00ff13, "Pause" },
1808 { 0x00ff14, "Scroll_Lock" },
1809 { 0x00ff15, "Sys_Req" },
1810 { 0x00ff1b, "Escape" },
1811 { 0x00ff20, "Multi_key" },
1812 { 0x00ff21, "Kanji" },
1813 { 0x00ff22, "Muhenkan" },
1814 { 0x00ff23, "Henkan" },
1815 { 0x00ff23, "Henkan_Mode" },
1816 { 0x00ff24, "Romaji" },
1817 { 0x00ff25, "Hiragana" },
1818 { 0x00ff26, "Katakana" },
1819 { 0x00ff27, "Hiragana_Katakana" },
1820 { 0x00ff28, "Zenkaku" },
1821 { 0x00ff29, "Hankaku" },
1822 { 0x00ff2a, "Zenkaku_Hankaku" },
1823 { 0x00ff2b, "Touroku" },
1824 { 0x00ff2c, "Massyo" },
1825 { 0x00ff2d, "Kana_Lock" },
1826 { 0x00ff2e, "Kana_Shift" },
1827 { 0x00ff2f, "Eisu_Shift" },
1828 { 0x00ff30, "Eisu_toggle" },
1829 { 0x00ff3c, "SingleCandidate" },
1830 { 0x00ff3d, "MultipleCandidate" },
1831 { 0x00ff3d, "Zen_Koho" },
1832 { 0x00ff3e, "Mae_Koho" },
1833 { 0x00ff3e, "PreviousCandidate" },
1834 { 0x00ff50, "Home" },
1835 { 0x00ff51, "Left" },
1837 { 0x00ff53, "Right" },
1838 { 0x00ff54, "Down" },
1839 { 0x00ff55, "Page_Up" },
1840 { 0x00ff55, "Prior" },
1841 { 0x00ff56, "Next" },
1842 { 0x00ff56, "Page_Down" },
1843 { 0x00ff57, "End" },
1844 { 0x00ff58, "Begin" },
1845 { 0x00ff60, "Select" },
1846 { 0x00ff61, "Print" },
1847 { 0x00ff62, "Execute" },
1848 { 0x00ff63, "Insert" },
1849 { 0x00ff65, "Undo" },
1850 { 0x00ff66, "Redo" },
1851 { 0x00ff67, "Menu" },
1852 { 0x00ff68, "Find" },
1853 { 0x00ff69, "Cancel" },
1854 { 0x00ff6a, "Help" },
1855 { 0x00ff6b, "Break" },
1856 { 0x00ff7e, "Arabic_switch" },
1857 { 0x00ff7e, "Greek_switch" },
1858 { 0x00ff7e, "Hangul_switch" },
1859 { 0x00ff7e, "Hebrew_switch" },
1860 { 0x00ff7e, "ISO_Group_Shift" },
1861 { 0x00ff7e, "Mode_switch" },
1862 { 0x00ff7e, "kana_switch" },
1863 { 0x00ff7e, "script_switch" },
1864 { 0x00ff7f, "Num_Lock" },
1865 { 0x00ff80, "KP_Space" },
1866 { 0x00ff89, "KP_Tab" },
1867 { 0x00ff8d, "KP_Enter" },
1868 { 0x00ff91, "KP_F1" },
1869 { 0x00ff92, "KP_F2" },
1870 { 0x00ff93, "KP_F3" },
1871 { 0x00ff94, "KP_F4" },
1872 { 0x00ff95, "KP_Home" },
1873 { 0x00ff96, "KP_Left" },
1874 { 0x00ff97, "KP_Up" },
1875 { 0x00ff98, "KP_Right" },
1876 { 0x00ff99, "KP_Down" },
1877 { 0x00ff9a, "KP_Page_Up" },
1878 { 0x00ff9a, "KP_Prior" },
1879 { 0x00ff9b, "KP_Next" },
1880 { 0x00ff9b, "KP_Page_Down" },
1881 { 0x00ff9c, "KP_End" },
1882 { 0x00ff9d, "KP_Begin" },
1883 { 0x00ff9e, "KP_Insert" },
1884 { 0x00ff9f, "KP_Delete" },
1885 { 0x00ffaa, "KP_Multiply" },
1886 { 0x00ffab, "KP_Add" },
1887 { 0x00ffac, "KP_Separator" },
1888 { 0x00ffad, "KP_Subtract" },
1889 { 0x00ffae, "KP_Decimal" },
1890 { 0x00ffaf, "KP_Divide" },
1891 { 0x00ffb0, "KP_0" },
1892 { 0x00ffb1, "KP_1" },
1893 { 0x00ffb2, "KP_2" },
1894 { 0x00ffb3, "KP_3" },
1895 { 0x00ffb4, "KP_4" },
1896 { 0x00ffb5, "KP_5" },
1897 { 0x00ffb6, "KP_6" },
1898 { 0x00ffb7, "KP_7" },
1899 { 0x00ffb8, "KP_8" },
1900 { 0x00ffb9, "KP_9" },
1901 { 0x00ffbd, "KP_Equal" },
1911 { 0x00ffc7, "F10" },
1912 { 0x00ffc8, "F11" },
1913 { 0x00ffc9, "F12" },
1914 { 0x00ffca, "F13" },
1915 { 0x00ffcb, "F14" },
1916 { 0x00ffcc, "F15" },
1917 { 0x00ffcd, "F16" },
1918 { 0x00ffce, "F17" },
1919 { 0x00ffcf, "F18" },
1920 { 0x00ffd0, "F19" },
1921 { 0x00ffd1, "F20" },
1922 { 0x00ffd2, "F21" },
1923 { 0x00ffd3, "F22" },
1924 { 0x00ffd4, "F23" },
1925 { 0x00ffd5, "F24" },
1926 { 0x00ffd6, "F25" },
1927 { 0x00ffd7, "F26" },
1928 { 0x00ffd8, "F27" },
1929 { 0x00ffd9, "F28" },
1930 { 0x00ffda, "F29" },
1931 { 0x00ffdb, "F30" },
1932 { 0x00ffdc, "F31" },
1933 { 0x00ffdd, "F32" },
1934 { 0x00ffde, "F33" },
1935 { 0x00ffdf, "F34" },
1936 { 0x00ffe0, "F35" },
1937 { 0x00ffe1, "Shift_L" },
1938 { 0x00ffe2, "Shift_R" },
1939 { 0x00ffe3, "Control_L" },
1940 { 0x00ffe4, "Control_R" },
1941 { 0x00ffe5, "Caps_Lock" },
1942 { 0x00ffe6, "Shift_Lock" },
1943 { 0x00ffe7, "Meta_L" },
1944 { 0x00ffe8, "Meta_R" },
1945 { 0x00ffe9, "Alt_L" },
1946 { 0x00ffea, "Alt_R" },
1947 { 0x00ffeb, "Super_L" },
1948 { 0x00ffec, "Super_R" },
1949 { 0x00ffed, "Hyper_L" },
1950 { 0x00ffee, "Hyper_R" },
1951 { 0x00ffff, "Delete" },
1952 { 0x00ff31, "Hangul" },
1953 { 0x00ff32, "Hangul_Start" },
1954 { 0x00ff33, "Hangul_End" },
1955 { 0x00ff34, "Hangul_Hanja" },
1956 { 0x00ff35, "Hangul_Jamo" },
1957 { 0x00ff36, "Hangul_Romaja" },
1958 { 0x00ff37, "Hangul_Codeinput" },
1959 { 0x00ff38, "Hangul_Jeonja" },
1960 { 0x00ff39, "Hangul_Banja" },
1961 { 0x00ff3a, "Hangul_PreHanja" },
1962 { 0x00ff3b, "Hangul_PostHanja" },
1963 { 0x00ff3c, "Hangul_SingleCandidate" },
1964 { 0x00ff3d, "Hangul_MultipleCandidate" },
1965 { 0x00ff3e, "Hangul_PreviousCandidate" },
1966 { 0x00ff3f, "Hangul_Special" },
1967 { 0xffffff, "VoidSymbol" },
1970 #define GDK_NUM_KEYS (sizeof (gdk_keys_by_keyval) / sizeof (gdk_keys_by_keyval[0]))
1972 static struct gdk_key *gdk_keys_by_name = NULL;
1975 gdk_keys_keyval_compare (const void *pkey, const void *pbase)
1977 return (*(int *) pkey) - ((struct gdk_key *) pbase)->keyval;
1981 gdk_keyval_name (guint keyval)
1983 struct gdk_key *found =
1984 bsearch (&keyval, gdk_keys_by_keyval,
1985 GDK_NUM_KEYS, sizeof (struct gdk_key),
1986 gdk_keys_keyval_compare);
1994 gdk_key_compare_by_name (const void *a, const void *b)
1996 return strcmp (((const struct gdk_key *) a)->name, ((const struct gdk_key *) b)->name);
2000 gdk_keys_name_compare (const void *pkey, const void *pbase)
2002 return strcmp ((const char *) pkey, ((const struct gdk_key *) pbase)->name);
2006 gdk_keyval_from_name (const gchar *keyval_name)
2008 struct gdk_key *found;
2010 g_return_val_if_fail (keyval_name != NULL, 0);
2012 if (gdk_keys_by_name == NULL)
2014 gdk_keys_by_name = g_new (struct gdk_key, GDK_NUM_KEYS);
2016 memcpy (gdk_keys_by_name, gdk_keys_by_keyval,
2017 GDK_NUM_KEYS * sizeof (struct gdk_key));
2019 qsort (gdk_keys_by_name, GDK_NUM_KEYS, sizeof (struct gdk_key),
2020 gdk_key_compare_by_name);
2023 found = bsearch (keyval_name, gdk_keys_by_name,
2024 GDK_NUM_KEYS, sizeof (struct gdk_key),
2025 gdk_keys_name_compare);
2027 return found->keyval;
2029 return GDK_VoidSymbol;
2033 gdk_keyval_to_upper (guint keyval)
2037 KeySym lower_val = 0;
2038 KeySym upper_val = 0;
2040 XConvertCase (keyval, &lower_val, &upper_val);
2047 gdk_keyval_to_lower (guint keyval)
2051 KeySym lower_val = 0;
2052 KeySym upper_val = 0;
2054 XConvertCase (keyval, &lower_val, &upper_val);
2061 gdk_keyval_is_upper (guint keyval)
2065 KeySym lower_val = 0;
2066 KeySym upper_val = 0;
2068 XConvertCase (keyval, &lower_val, &upper_val);
2069 return upper_val == keyval;
2075 gdk_keyval_is_lower (guint keyval)
2079 KeySym lower_val = 0;
2080 KeySym upper_val = 0;
2082 XConvertCase (keyval, &lower_val, &upper_val);
2083 return lower_val == keyval;
2090 gdk_threads_enter ()
2092 GDK_THREADS_ENTER ();
2096 gdk_threads_leave ()
2098 GDK_THREADS_LEAVE ();