Skip to content

Need better DiffMarkupPolicy algorithm #409

@xtianus

Description

@xtianus

Sometimes, when taking two screenshots of the same page with the same PC in Chrome I get slightly different bitmaps for text.
This is an example diff:

image

The reason might be that antialias is not always the same. These are the two zoomed screenshots:

Screenshot 2023-08-18 at 5 16 11 PM

Screenshot 2023-08-18 at 5 16 43 PM

I can notice some color in the former that is absent in the latter.
Using setDiffSizeTrigger() doesn't help because it only counts the total number of points and this value can be very big when there is a long paragraph.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions