The reason being that in my previous implementation, I wrongly assumed that we always need to have a bbox for context-fill/context-stroke, which is not true for solid paints. Since a line doesn't have a bbox, this example would fail to render correctly previously. This PR fixes this:
Consider the following SVG:
Currently, it renders like this:
The reason being that in my previous implementation, I wrongly assumed that we always need to have a bbox for
context-fill
/context-stroke
, which is not true for solid paints. Since a line doesn't have a bbox, this example would fail to render correctly previously. This PR fixes this: