mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 07:58:02 +02:00
Other backends: Set round_glyph_positions to OFF
This sets CAIRO_ROUND_GLYPH_POS_OFF in all surface backends that didn't use CAIRO_ROUND_GLYPH_POS_ON. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
d24e9881de
commit
cee1dadc66
4 changed files with 4 additions and 0 deletions
|
|
@ -3609,6 +3609,7 @@ _cairo_pdf_surface_get_font_options (void *abstract_surface,
|
|||
cairo_font_options_set_hint_style (options, CAIRO_HINT_STYLE_NONE);
|
||||
cairo_font_options_set_hint_metrics (options, CAIRO_HINT_METRICS_OFF);
|
||||
cairo_font_options_set_antialias (options, CAIRO_ANTIALIAS_GRAY);
|
||||
_cairo_font_options_set_round_glyph_positions (options, CAIRO_ROUND_GLYPH_POS_OFF);
|
||||
}
|
||||
|
||||
static cairo_pdf_resource_t
|
||||
|
|
|
|||
|
|
@ -3490,6 +3490,7 @@ _cairo_ps_surface_get_font_options (void *abstract_surface,
|
|||
cairo_font_options_set_hint_style (options, CAIRO_HINT_STYLE_NONE);
|
||||
cairo_font_options_set_hint_metrics (options, CAIRO_HINT_METRICS_OFF);
|
||||
cairo_font_options_set_antialias (options, CAIRO_ANTIALIAS_GRAY);
|
||||
_cairo_font_options_set_round_glyph_positions (options, CAIRO_ROUND_GLYPH_POS_OFF);
|
||||
}
|
||||
|
||||
static cairo_int_status_t
|
||||
|
|
|
|||
|
|
@ -2574,6 +2574,7 @@ _cairo_svg_surface_get_font_options (void *abstract_surface,
|
|||
cairo_font_options_set_hint_style (options, CAIRO_HINT_STYLE_NONE);
|
||||
cairo_font_options_set_hint_metrics (options, CAIRO_HINT_METRICS_OFF);
|
||||
cairo_font_options_set_antialias (options, CAIRO_ANTIALIAS_GRAY);
|
||||
_cairo_font_options_set_round_glyph_positions (options, CAIRO_ROUND_GLYPH_POS_OFF);
|
||||
}
|
||||
|
||||
static const cairo_surface_backend_t cairo_svg_surface_backend = {
|
||||
|
|
|
|||
|
|
@ -1301,6 +1301,7 @@ _vg_surface_get_font_options (void *abstract_surface,
|
|||
_cairo_font_options_init_default (options);
|
||||
|
||||
cairo_font_options_set_hint_metrics (options, CAIRO_HINT_METRICS_ON);
|
||||
_cairo_font_options_set_round_glyph_positions (options, CAIRO_ROUND_GLYPH_POS_OFF);
|
||||
}
|
||||
|
||||
static cairo_int_status_t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue