diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-10-14 06:42:42 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-10-14 06:42:42 +0200 |
commit | 21c12718cabdd7acad2a2ceccc938e0df659b4f9 (patch) | |
tree | 9a14e1345ac4fba2b3bcd153fc1d101a79d74c86 /tree/debug.c | |
parent | 5e5ff796c9d1b4c4e4360e6823ec338845d26937 (diff) | |
download | mupdf-21c12718cabdd7acad2a2ceccc938e0df659b4f9.tar.xz |
index fonts by cid not glyph
Diffstat (limited to 'tree/debug.c')
-rw-r--r-- | tree/debug.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tree/debug.c b/tree/debug.c index b10eacad..c56464ba 100644 --- a/tree/debug.c +++ b/tree/debug.c @@ -124,7 +124,10 @@ static void lisptext(fz_textnode *node, int level) for (i = 0; i < node->len; i++) { indent(level + 1); - printf("(g %d %g %g)\n", node->els[i].g, node->els[i].x, node->els[i].y); + if (node->els[i].cid >= 32 && node->els[i].cid < 128) + printf("(cid '%c' %g %g)\n", node->els[i].cid, node->els[i].x, node->els[i].y); + else + printf("(cid <%04x> %g %g)\n", node->els[i].cid, node->els[i].x, node->els[i].y); } indent(level); |