[librsvg/rustification] rsvg_cairo_render_pango_layout(): Normalize stroke-width relative to LENGTH_DIR_BOTH
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/rustification] rsvg_cairo_render_pango_layout(): Normalize stroke-width relative to LENGTH_DIR_BOTH
- Date: Wed, 9 Nov 2016 01:17:51 +0000 (UTC)
commit ad0ebab50b96641801774349e12950568280d78a
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Nov 8 18:36:20 2016 -0600
rsvg_cairo_render_pango_layout(): Normalize stroke-width relative to LENGTH_DIR_BOTH
As in the previous commit
rsvg-cairo-draw.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rsvg-cairo-draw.c b/rsvg-cairo-draw.c
index 0515021..79dd260 100644
--- a/rsvg-cairo-draw.c
+++ b/rsvg-cairo-draw.c
@@ -442,7 +442,7 @@ rsvg_cairo_render_pango_layout (RsvgDrawingCtx * ctx, PangoLayout * layout, doub
cairo_rotate (render->cr, -rotation);
pango_cairo_layout_path (render->cr, layout);
- cairo_set_line_width (render->cr, _rsvg_css_normalize_length (&state->stroke_width, ctx,
LENGTH_DIR_HORIZONTAL));
+ cairo_set_line_width (render->cr, _rsvg_css_normalize_length (&state->stroke_width, ctx,
LENGTH_DIR_BOTH));
cairo_set_miter_limit (render->cr, state->miter_limit);
cairo_set_line_cap (render->cr, (cairo_line_cap_t) state->cap);
cairo_set_line_join (render->cr, (cairo_line_join_t) state->join);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]