Skip to content

SVG bezier path rendered incorrectly #539

@OndrejKarlik

Description

@OndrejKarlik

Certain types of very "curvy" cubic bezier segments in SVG render incorrectly in Ultralight.

This is correct rendering of single cubic bezier segment in Chrome (green points are visualization of the curve's 4 control points. The path in question is gray)
Image

This is incorrect rendering in ultralight 1.4.0 and 1.4.1:
Image

The ultralight version of the curve is visually unpleasing. When I implemented my own code to render bezier curves, it came equal to the Chrome version.

Here is the zoomed-in difference from overlaying the 2 images with coloring added:
Image

I am attaching a self-contained (non-minimal) example of this happening - DOM dump from my app: DOM_Dump.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions