A mistake in keysymdef.h with upsilon symbol?

Mats Blakstad mats.gbproject at gmail.com
Mon Sep 7 11:39:09 PDT 2015


Here is a list of the new keysym values I want to add.

Are these codes correctly converted from Unicode? Did I understand this
correctly?

0x0100025B = U025B = ɛ (small)
0x01000190 = U0190 = Ɛ (capital)
0x01000257 = U0257 = ɗ (small)
0x0100018A = U018A = Ɖ (capital)
0x010001B4 = U01B4 = ƴ (small)
0x010001B3 = U01B3 = Ƴ (capital)
0x0100028A = U028A = ʊ (small)
0x010001B1 = U01B1 = Ʊ (capital)
0x01000269 = U0269 = ɩ (small)
0x01000196 = U0196 = Ɩ (capital)
0x01000254 = U0254 = ɔ (small)
0x01000186 = U0186 = Ɔ (capital)
0x010001DD = U01DD = ǝ (small)
0x0100018E = U018E = Ǝ (capital)
0x01000256 = U0256 = ɖ (small)
0x01000189 = U0189 = Ɖ (capital)
0x01000192 = U0192 = ƒ (small)
0x01000191 = U0191 = Ƒ (capital)
0x01000263 = U0263 = ɣ (small)
0x01000194 = U0194 = Ɣ (capital)
0x01000266 = U0266 = ɦ (small)
0x01000124 = U0124 = Ĥ (capital)
0x01000272 = U0272 = ɲ (small)
0x0100019D = U019D = Ɲ (capital)

2015-09-02 4:13 GMT+02:00 Alan Coopersmith <alan.coopersmith at oracle.com>:

> On 09/ 1/15 06:38 PM, Mats Blakstad wrote:
>
>> As example, I want to add 0x025B. It says that I should take "the
>> character's
>> Unicode number plus 0x01000000". What does that mean?
>>
>
> 0x01000000
> +   0x025B
> ----------
> 0x0100025B
>
> How can I use the functions XStringToKeysym() and XKeysymToString().
>> Can I run them in the terminal in some way?
>>
>
> Call them from a C program.   For instance:
>
> % cat > strtokey.c
> #include <stdio.h>
> #include <X11/Xlib.h>
>
> int main(int argc, char **argv) {
>     printf("0x%x\n", XStringToKeysym(argv[1]));
> }
>
> % cc -o strtokey strtokey.c -lX11
> % ./strtokey U025B
> 0x100025b
>
>
> --
>         -Alan Coopersmith-              alan.coopersmith at oracle.com
>          Oracle Solaris Engineering - http://blogs.oracle.com/alanc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150907/889b7472/attachment-0001.html>


More information about the xorg-devel mailing list