diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-07-13 23:11:32 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-07-13 23:11:32 +0200 |
commit | 8d7b9a09a45ce20edd5ce3dad45f2b9af6884550 (patch) | |
tree | 3f199962bda7c445d07c0db5010bc73f11cebb95 /draw | |
parent | 84b10eb85392bfa907c395ceb58d776c9004ae14 (diff) | |
download | mupdf-8d7b9a09a45ce20edd5ce3dad45f2b9af6884550.tar.xz |
Implement stroked text.
Diffstat (limited to 'draw')
-rw-r--r-- | draw/glyphcache.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/draw/glyphcache.c b/draw/glyphcache.c index 10991bbf..094908ac 100644 --- a/draw/glyphcache.c +++ b/draw/glyphcache.c @@ -64,6 +64,14 @@ fz_freeglyphcache(fz_glyphcache *cache) } fz_pixmap * +fz_renderstrokedglyph(fz_glyphcache *cache, fz_font *font, int cid, fz_matrix trm, fz_matrix ctm, fz_strokestate *stroke) +{ + if (font->ftface) + return fz_renderftstrokedglyph(font, cid, trm, ctm, stroke); + return fz_renderglyph(cache, font, cid, trm); +} + +fz_pixmap * fz_renderglyph(fz_glyphcache *cache, fz_font *font, int cid, fz_matrix ctm) { fz_glyphkey key; |