| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Accept font-style="normal" ignored as an attribute of a tspan,
https://bugzilla.gnome.org/show_bug.cgi?id=688689
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=748608
|
|
|
|
|
|
| |
The convolution matrix on the Y axis is leaked.
https://bugzilla.gnome.org/show_bug.cgi?id=748608
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=748608
|
|
|
|
| |
Otherwise the cairo_t, and the surface it's created on are leaked.
|
| |
|
|
|
|
|
|
| |
If a curveto has coincident control points at the start or end, then the angle of the marker
at that endpoint is not computed correctly. This uses the next or previous control points
as appropriate to compute the correct angle.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
them to Pango
If you have an SVG with
<text style="font-family: 'New Century Schoolbook';"> ... </text>
our CSS-parsing code simply passes the singly-quoted string to Pango. In turn,
Pango doesn't like the quotes because they are not part of the font's name.
This is a simple patch to remove single quotes from *all* style attributes, not
just strings (which is where the CSS spec allows them). We need a real CSS
parser, not something built out of g_strsplit().
|
|
|
|
|
| |
If we have <text style="font-family: 'Times New Roman';"> it will fail, because the
single quotes are fed into Pango.
|
|
|
|
| |
Jasper pointed out that this was broken for a while.
|
| |
|
| |
|
|
|
|
|
| |
I want to remove calls to deprecated functions, and this is easier if
we just require a GTK+ that is like two years old instead of four years old.
|
| |
|
| |
|
|
|
|
|
| |
We already require Pango 1.32.6, and the replacement function pango_font_map_create_context()
has been available since Pango 1.22.
|
|
|
|
| |
Maybe we should increment the glib version requirement one of these days...
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This replaces the blurring machinery with a real gaussian blur for small radiuses,
and fixes box blurs for large radiuses.
Based on a patch by Eduard Braun.
|
|
|
|
|
|
|
| |
This test image comes from
https://commons.wikimedia.org/wiki/File:Kaliningrad_Oblast_Coat_of_Arms_2006.svg
The topmost jewel in the center of the crown was not getting
rendered at all.
|
|
|
|
|
|
|
| |
These were not setting one of the x/y components for the reflection point
to be used in smooth curves.
https://bugzilla.gnome.org/show_bug.cgi?id=738367
|
| |
|
|
|
|
| |
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
|
|
|
|
|
|
|
| |
closepath"
This reverts commit 0c98142e31cdc91963860f99ec933e52f3cc63c6.
This was causing bug https://bugzilla.gnome.org/show_bug.cgi?id=745177
|
|
|
|
| |
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
|
|
|
| |
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
|
|
|
| |
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
|
|
|
|
|
| |
This is just a rename of rsvg_path_arc().
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ctx was used to extract the start point for the arc, and to
set the 'current point' to the arc's end point when the drawing
is finished.
We now pass in extra arguments for the start point (which don't come
with the path builder).
Also, added whitespace in the math-y part, because without whitespace
it makes me sad.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
|
|
|
| |
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
|
|
|
|
|
|
| |
Again; no need to go through the production process for Luwak coffee just to
paint a line.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
|
|
|
|
|
|
| |
We have all the machinery to build paths on the fly; we don't need to
fake a path on a string, parse that, and construct a path.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
|
|
|
| |
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
|
|
|
|
|
|
|
|
|
| |
When we used libart, before Cairo, it was necessary to add a moveto after a closepath, since
the starting and ending points of a closed path were supposed to coincide.
Cairo handles closed paths without needing the caller to manually move back to
the starting point.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
|
|
|
|
|
|
|
|
|
|
| |
The part of rsvg_parse_style_pair() that validates the dash pattern, by seeing
if any actual dash length was generated, could leave a dangling pointer after
a g_free() if the dash pattern turned out to be invalid. Later, rsvg_state_inherit_run()
would try to g_free() this dangling pointer as well.
Found by Atte Kettunen's fuzz testing.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
There was a mixture of guint8*, guchar*, gchar*, etc. Use char* because that's
about as sane as we can get, and only cast where we can't change the public API
or where we must interface with other libraries. *Cough* xmlChar *cough*.
This removes a metric assload of compiler warnings, and I'm fine with that.
|
| |
|
|
|
|
|
| |
Whoever builds the module should be in control. Developers can very well
have a build-paranoically script or something.
|
| |
|
| |
|
| |
|