diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-08-29 16:31:20 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-09-02 11:40:15 +0100 |
commit | 3040c85e76c98005bc765e770655d0dac63593d7 (patch) | |
tree | 661ba7da374a98c9a1f2cbe09ef6f5e8db94e83d /include | |
parent | e53325d2366e313dafcfee8432d12d20f6d0a88f (diff) | |
download | mupdf-3040c85e76c98005bc765e770655d0dac63593d7.tar.xz |
Expose subpixel glyph adjustment calculations.
Pull subpixel glyph adjustment calculations into fz_subpixel_adjust.
This reduces the repetition of code, and will be helpful for the
OpenGL device.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/glyph-cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mupdf/fitz/glyph-cache.h b/include/mupdf/fitz/glyph-cache.h index fe8e272f..96413702 100644 --- a/include/mupdf/fitz/glyph-cache.h +++ b/include/mupdf/fitz/glyph-cache.h @@ -33,5 +33,6 @@ fz_pixmap *fz_render_stroked_glyph_pixmap(fz_context *ctx, fz_font*, int, fz_mat void fz_render_t3_glyph_direct(fz_context *ctx, fz_device *dev, fz_font *font, int gid, const fz_matrix *trm, void *gstate, int nestedDepth); void fz_prepare_t3_glyph(fz_context *ctx, fz_font *font, int gid, int nestedDepth); void fz_dump_glyph_cache_stats(fz_context *ctx); +float fz_subpixel_adjust(fz_matrix *ctm, fz_matrix *subpix_ctm, unsigned char *qe, unsigned char *qf); #endif |