| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| | |
This is for #947. I am not sure if Cairo or Pixman changed their
rendering of gradients, or what.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/817>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This was added during the port of the filters code to Rust, but it is
redundant with tests/fixtures/reftests/svg1.1/filters-morph-01-f.svg
Also this file produces frequent failures in the test suite whenever
the font rendering stack changes even just a bit. The point of the
test is to test the feMorphology, not text rendering - so remove it in
favor of the other test from the SVG1.1 test suite, which does erosion
and dilation filters on paths, not on text.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/817>
|
|/
|
|
|
|
| |
I want to get an updated font rendering stack for #948.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/817>
|
|\
| |
| |
| |
| | |
Remove unused chrono wasmbind feature
See merge request GNOME/librsvg!819
|
|/
|
|
|
|
|
| |
This helps with building librsvg on Fedora where the rust-chrono package
is built with the wasmbind feature disabled.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/819>
|
|\
| |
| |
| |
| | |
xml: Replace unmaitained encoding crate by encoding_rs
See merge request GNOME/librsvg!818
|
|/
|
|
|
|
|
|
| |
This replaces unmaintained encoding crate by encoding_rs. The indirect
reference through lopdf still remains, but this is a start.
This fixes the direct part of #949.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/818>
|
|\
| |
| |
| |
| | |
Proceed with the layer abstraction work from Michael Howell
See merge request GNOME/librsvg!816
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| |
| |
| | |
Yay!
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
for normalization
I want to remove the use of ComputedValues from
DrawingCtx::with_discrete_layer(), but it is needed for
NormalizeParams::new(). So, provide a temporary type NormalizeValues
that just extracts the information needed from ComputedValues - in
this case, just the font size.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| |
| |
| |
| | |
That way we can pick up the current_color from there, thus reducing
the number of arguments.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| |
| |
| |
| | |
Instead of in with_discrete_layer(). There, we only turn them to
user-space coordinates.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
DrawingCtx
We used to have
struct StackingCtx {
filter: Filter
}
struct Filter {
filter: properties::Filter,
// other gunk
}
and there, Filter.filter can be properties::Filter::None or
properties::Filter::List(FilterValueList).
Resolve this early into an Option<Filter>, like this:
struct StackingCtx {
filter: Option<Filter>
}
struct Filter {
filter_list: FilterValueList,
// other gunk
}
This way, subsequent code in DrawingCtx doesn't have to tear apart the
Filter.filter to see whether there's actually a filter specification
there or just "none".
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Let's try to avoid passing so many arguments to the functions in
drawing_ctx.rs. In the end this will also encapsulate all the gunk needed for
resolving filters.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| |
| |
| |
| | |
I want to remove the use of ComputedValues in with_discrete_layer;
this removes one of the uses.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| |
| |
| |
| | |
This moves the information for drawing images into the Layer enum,
similar to basic shapes and text elements.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is the only other place apart from text.rs that used the
transform passed in the draw_fn callback from with_discrete_layer().
It turns out that get_transform_for_stacking_ctx() needs to know
whether we are creating a clipping path; in that case, there's no need
to look at the stacking context.
This is getting convoluted; I kind of want to split the clipping stuff
away from the main draw() method.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes @notriddle's MR when rebased on top of the changes to have
a ValidTransform instead of just Transform in DrawingCtx.
The text code needs to know the actual transform that will be used on
the target surface, which could be the temporary surface for
compositing an isolated stacking context, or the "normal" surface
without isolation.
This is the transform that is passed to the draw_fn callback in with_discrete_layer().
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
|/
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/816>
|
|\
| |
| |
| |
| | |
CI: expire all documentation artifacts
See merge request GNOME/librsvg!815
|
|/
|
|
|
|
|
| |
I'm not sure if they were being kept around indefinitely after being
deployed to the web site.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/815>
|
|\
| |
| |
| |
| | |
Prepare 2.56.0
See merge request GNOME/librsvg!814
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/814>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/814>
|
|/
|
|
| |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/814>
|
|\
| |
| |
| |
| | |
ci: Merge artifact keys for rsvg-full
See merge request GNOME/librsvg!813
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/813>
|
|/
|
|
|
|
| |
gitlab can't deal with multiple artifact keys, and the last one overrides it.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/813>
|
|\ |
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/812>
|
| |
| |
| |
| |
| |
| |
| | |
Some jobs were not picking up the test results correctly on failure,
but since the test suite usually passes, I didn't notice this.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/812>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
reference tests
"cargo test" sets OUT_DIR itself to something inside the build
directories, which is really inconvenient, and we are not producing
build artifacts anyway. So, use a separate variable TESTS_OUTPUT_DIR
instead. The next commits will make the CI use this.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/812>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Sorry for the breakage! We really need CI for this configuration!
Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/940
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/812>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/812>
|
| |
| |
| |
| | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/812>
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
(#942): Fix crash when XML files get recursively included through XInclude
Closes #942
See merge request GNOME/librsvg!810
|
| | |
| | |
| | |
| | | |
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/810>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There is a new limit, MAX_XINCLUDE_DEPTH, which is a constant with the
maximum level of nesting for XInclude.
We keep a counter of the current nesting level in XmlStateInner, and
check against the limit every time we need to xinclude another XML
document.
The sample file has <xi:include parse="xml" href=""/> which properly
causes the *same* file to be included, per https://www.w3.org/TR/xinclude-11/#include_element
The href attribute is optional; the absence of this attribute is
the same as specifying href="", that is, the reference is to the
same document.
Fixes https://gitlab.gnome.org/GNOME/librsvg/-/issues/942
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/810>
|
| |\
|/ /
| |
| |
| | |
Bump some dependency versions
See merge request GNOME/librsvg!808
|