parent
e387b3acd3
commit
826639fab2
5 changed files with 24 additions and 42 deletions
@ -0,0 +1,18 @@ |
||||
#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; |
||||
} |
Loading…
Reference in new issue