diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-06-15 17:57:28 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-06-22 14:59:43 +0100 |
commit | 2764ef8c0fd10d16a41842e8834efb1bd17e65d8 (patch) | |
tree | c1811c37e5314d59754e82a467ca88c775e7cd16 /platform | |
parent | dd58ea5e2ff7e6b61cc5a5b6fd950fb62e92b8be (diff) | |
download | mupdf-2764ef8c0fd10d16a41842e8834efb1bd17e65d8.tar.xz |
Move rasterizer/anti-alias choices into the draw device.
We still use the fz_context versions as the default, but these
can be overridden with draw device options.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/gl/gl-font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/gl/gl-font.c b/platform/gl/gl-font.c index efbba42a..98bb62af 100644 --- a/platform/gl/gl-font.c +++ b/platform/gl/gl-font.c @@ -164,7 +164,7 @@ static struct glyph *lookup_glyph(fz_font *font, int gid, float *xp, float *yp) glEnd(); - pixmap = fz_render_glyph_pixmap(ctx, font, gid, &subpix_trm, NULL); + pixmap = fz_render_glyph_pixmap(ctx, font, gid, &subpix_trm, NULL, 8); w = pixmap->w; h = pixmap->h; |