diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-04-19 21:47:23 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-04-19 21:47:23 +0200 |
commit | 186b2c2e36710b5cb9721520f1abd7f3bb8d2aa3 (patch) | |
tree | f8fbff2714dd2badfebcc7f625e2dc161cd9810d /fitz/res_text.c | |
parent | 1d2fa92851c8e5ed90279098b81ce2a43add9f68 (diff) | |
download | mupdf-186b2c2e36710b5cb9721520f1abd7f3bb8d2aa3.tar.xz |
Add support for patterns in stroked paths and text.
Diffstat (limited to 'fitz/res_text.c')
-rw-r--r-- | fitz/res_text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/res_text.c b/fitz/res_text.c index 99fb37a5..cdb4c066 100644 --- a/fitz/res_text.c +++ b/fitz/res_text.c @@ -89,7 +89,7 @@ fz_boundtext(fz_text *text, fz_matrix ctm) } static void -growtext(fz_text *text, int n) +fz_growtext(fz_text *text, int n) { if (text->len + n < text->cap) return; @@ -101,7 +101,7 @@ growtext(fz_text *text, int n) void fz_addtext(fz_text *text, int gid, int ucs, float x, float y) { - growtext(text, 1); + fz_growtext(text, 1); text->els[text->len].ucs = ucs; text->els[text->len].gid = gid; text->els[text->len].x = x; |