[PATCH] SVG content handler: Fix plot style stroke_width
by Michael Forney
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`.
---
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 51260733d..99722495f 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,
--
2.20.1
4 years, 6 months
CA certificates file
by David Higton
Hi guys,
The CA certs file as supplied with RISC OS is some months out of date.
Also, RISC OS HardDisc4 distributions come with the same file, but in
a different location and under a different name.
Can NetSurf be made to use the one that RISC OS provides? Is it a
command line option, for example?
I'm looking at writing a little app that gets an updated copy of the
CA certs file if and only if it has been updated. If I can make it
work, it could save lots of people the trouble of working with an
out of date file or having to work out how to get an updated copy
without risking unexpected/unwanted changes to !Boot.
Dave
4 years, 7 months