Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/6455a2ea83493165641be350e3dfe1dd93af5dea
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/6455a2ea83493165641be350e3dfe1dd93af5dea
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/6455a2ea83493165641be350e3dfe1dd93af5dea

The branch, master has been updated
       via  6455a2ea83493165641be350e3dfe1dd93af5dea (commit)
      from  826474a1a3707bb837bb1b1aa687d4981acd914d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=6455a2ea83493165641be350e3dfe1dd93af5dea
commit 6455a2ea83493165641be350e3dfe1dd93af5dea
Author: Michael Forney <[email protected]>
Commit: Michael Drake <[email protected]>

    SVG content handler: Fix plot style stroke_width
    
    In 8332bf6b2a, when the stroke width was moved from a parameter to
    the plot style field, it accidentally used the `stroke` field of
    the svgtiny shape (the color) instead of `stroke_width`.
    
    Signed-off-by: Michael Drake <[email protected]>

diff --git a/content/handlers/image/svg.c b/content/handlers/image/svg.c
index 5126073..9972249 100644
--- a/content/handlers/image/svg.c
+++ b/content/handlers/image/svg.c
@@ -189,7 +189,7 @@ svg_redraw_internal(struct content *c,
        for (i = 0; i != diagram->shape_count; i++) {
                if (diagram->shape[i].path) {
                        pstyle.stroke_width = plot_style_int_to_fixed(
-                                       diagram->shape[i].stroke);
+                                       diagram->shape[i].stroke_width);
                        pstyle.stroke_colour = BGR(diagram->shape[i].stroke);
                        pstyle.fill_colour = BGR(diagram->shape[i].fill);
                        res = ctx->plot->path(ctx,


-----------------------------------------------------------------------

Summary of changes:
 content/handlers/image/svg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/handlers/image/svg.c b/content/handlers/image/svg.c
index 5126073..9972249 100644
--- a/content/handlers/image/svg.c
+++ b/content/handlers/image/svg.c
@@ -189,7 +189,7 @@ svg_redraw_internal(struct content *c,
        for (i = 0; i != diagram->shape_count; i++) {
                if (diagram->shape[i].path) {
                        pstyle.stroke_width = plot_style_int_to_fixed(
-                                       diagram->shape[i].stroke);
+                                       diagram->shape[i].stroke_width);
                        pstyle.stroke_colour = BGR(diagram->shape[i].stroke);
                        pstyle.fill_colour = BGR(diagram->shape[i].fill);
                        res = ctx->plot->path(ctx,


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to