HarfBuzz text shaping engine
http://harfbuzz.github.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
326 B
18 lines
326 B
#include "hb-ot-shaper-use-table.hh" |
|
|
|
int main (int argc, char **argv) |
|
{ |
|
if (argc != 2) |
|
{ |
|
for (unsigned u = 0; u < 0x10FFFFu; u++) |
|
printf ("U+%04X %d\n", u, hb_use_get_category (u)); |
|
return 0; |
|
} |
|
|
|
hb_codepoint_t u; |
|
sscanf (argv[1], "%x", &u); |
|
|
|
printf ("%d\n", hb_use_get_category (u)); |
|
|
|
return 0; |
|
}
|
|
|