diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-04-12 17:20:25 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-04-26 15:15:43 +0100 |
commit | 4ecec105b46a096bc2da097003ff0f3e9d4473a6 (patch) | |
tree | 50490dd6f3fd77b717955fab2ca910a4b6cc92d0 /source/fitz/draw-glyph.c | |
parent | 26f4d19a9a575eb44a6fac44c3a991beee8b589d (diff) | |
download | mupdf-4ecec105b46a096bc2da097003ff0f3e9d4473a6.tar.xz |
Allow text/graphics aa levels to be controlled separately.
Diffstat (limited to 'source/fitz/draw-glyph.c')
-rw-r--r-- | source/fitz/draw-glyph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/draw-glyph.c b/source/fitz/draw-glyph.c index 5445ee4d..691e426d 100644 --- a/source/fitz/draw-glyph.c +++ b/source/fitz/draw-glyph.c @@ -284,7 +284,7 @@ fz_render_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix *ctm, fz_colo key.b = subpix_ctm.b * 65536; key.c = subpix_ctm.c * 65536; key.d = subpix_ctm.d * 65536; - key.aa = fz_aa_level(ctx); + key.aa = fz_text_aa_level(ctx); fz_lock(ctx, FZ_LOCK_GLYPHCACHE); hash = do_hash((unsigned char *)&key, sizeof(key)) % GLYPH_HASH_LEN; @@ -428,7 +428,7 @@ fz_render_glyph_pixmap(fz_context *ctx, fz_font *font, int gid, fz_matrix *ctm, { if (font->ft_face) { - val = fz_render_ft_glyph_pixmap(ctx, font, gid, &subpix_ctm, fz_aa_level(ctx)); + val = fz_render_ft_glyph_pixmap(ctx, font, gid, &subpix_ctm, fz_text_aa_level(ctx)); } else if (font->t3procs) { |