Re: fractional positioning + glyph caching
Behdad Esfahbod <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On 13-06-16 06:51 AM, Cosmin Apreutesei wrote: > Hi, > > Does the cairo glyph cache support fractional positioning? No. > I tried: > - cairo_show_glyphs() - caching but no frac. positioning > - cairo_glyph_path() / cairo_fill() - fact. positioning but no caching > - _cairo_font_options_set_round_glyph_positions(CAIRO_ROUND_GLYPH_POS_OFF) > with both functions above - it has no effect. Correct. > A related question. I tried: > > cairo_set_antialias(CAIRO_ANTIALIAS_SUBPIXEL) > font_options:set_antialias(CAIRO_ANTIALIAS_SUBPIXEL) > cairo_set_font_options(font_options) > > but it does not affect cairo_show_glyphs(), which always renders in > grayscale, but it does work with cairo_show_text() - a bug? Not expected. Test case? > Also, I noticed that CAIRO_ANTIALIAS_BEST makes cairo_show_glyphs() to > render each glyph horizontally stretched 3x - a bug? Wow. Definitely. > Any hits appreciated, > Cosmin. -- behdad http://behdad.org/ -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo