fractional positioning + glyph caching

Cosmin Apreutesei <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAKJdRan9vYx12bKiPe0Fd-oT1bXhFDHt2i8rtSEq-XiP25GxMg@mail.gmail.com>
Hi,

Does the cairo glyph cache support fractional positioning?

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.


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?

Also, I noticed that CAIRO_ANTIALIAS_BEST makes cairo_show_glyphs() to
render each glyph horizontally stretched 3x - a bug?

Any hits appreciated,
Cosmin.
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.