diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-07-08 17:59:50 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-07-13 22:03:23 -0400 |
commit | 54dffa07f309c90677ae57eea8feb41acc5be717 (patch) | |
tree | c4f24ec9e6e61cfe106c2e00d549ee1568be0fc3 /gtk/compose/gtkcomposedata.h | |
parent | 1cff4bb27ae2abe421a062c6ea8c1fda56151425 (diff) | |
download | gtk+-54dffa07f309c90677ae57eea8feb41acc5be717.tar.gz |
composetable: Drop GtkComposeTableCompact
All tables use the compact format now, and we generate
caches in that format too. Bump the cache version to 3
for this.
Replace the python script for generating the builtin table
by a small C program using the same code to generate the data
for the builtin table. This drops the restriction on only
generating a single character in the builtin sequences.
Diffstat (limited to 'gtk/compose/gtkcomposedata.h')
-rw-r--r-- | gtk/compose/gtkcomposedata.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/compose/gtkcomposedata.h b/gtk/compose/gtkcomposedata.h new file mode 100644 index 0000000000..057347a36b --- /dev/null +++ b/gtk/compose/gtkcomposedata.h @@ -0,0 +1,9 @@ +#ifndef __GTK_COMPOSE_DATA__ +#define __GTK_COMPOSE_DATA__ + +#define MAX_SEQ_LEN 5 +#define N_INDEX_SIZE 30 +#define DATA_SIZE 16521 +#define N_CHARS 1572 + +#endif |