提交 effb42e5 编写于 作者: B Behdad Esfahbod

Always use cairo_show_text_glyphs()

Better catches cluster errors.
上级 799cfdd1
...@@ -138,7 +138,7 @@ view_cairo_t::draw (cairo_t *cr) ...@@ -138,7 +138,7 @@ view_cairo_t::draw (cairo_t *cr)
cairo_restore (cr); cairo_restore (cr);
} }
if (cairo_surface_get_type (cairo_get_target (cr)) == CAIRO_SURFACE_TYPE_IMAGE) { if (0 && cairo_surface_get_type (cairo_get_target (cr)) == CAIRO_SURFACE_TYPE_IMAGE) {
/* cairo_show_glyphs() doesn't support subpixel positioning */ /* cairo_show_glyphs() doesn't support subpixel positioning */
cairo_glyph_path (cr, l.glyphs, l.num_glyphs); cairo_glyph_path (cr, l.glyphs, l.num_glyphs);
cairo_fill (cr); cairo_fill (cr);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册