summaryrefslogtreecommitdiff
path: root/tree/text.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-10-14 06:42:42 +0200
committerTor Andersson <tor@ghostscript.com>2004-10-14 06:42:42 +0200
commit21c12718cabdd7acad2a2ceccc938e0df659b4f9 (patch)
tree9a14e1345ac4fba2b3bcd153fc1d101a79d74c86 /tree/text.c
parent5e5ff796c9d1b4c4e4360e6823ec338845d26937 (diff)
downloadmupdf-21c12718cabdd7acad2a2ceccc938e0df659b4f9.tar.xz
index fonts by cid not glyph
Diffstat (limited to 'tree/text.c')
-rw-r--r--tree/text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tree/text.c b/tree/text.c
index b36fe59d..d822ec34 100644
--- a/tree/text.c
+++ b/tree/text.c
@@ -54,11 +54,11 @@ growtext(fz_textnode *text, int n)
}
fz_error *
-fz_addtext(fz_textnode *text, int g, float x, float y)
+fz_addtext(fz_textnode *text, int cid, float x, float y)
{
if (growtext(text, 1) != nil)
return fz_outofmem;
- text->els[text->len].g = g;
+ text->els[text->len].cid = cid;
text->els[text->len].x = x;
text->els[text->len].y = y;
text->len++;