[Webkit-unassigned] [Bug 156661] New: [GTK] Possible off-by-one in hyphenation code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 16 08:50:37 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=156661

            Bug ID: 156661
           Summary: [GTK] Possible off-by-one in hyphenation code
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: bugs-noreply at webkitgtk.org

I've noticed an interesting difference in how we hyphenate words compared to Firefox.

E.g. some examples from https://blogs.gnome.org/mclasen/2016/04/15/my-first-xdg-app/

Firefox: environ-ment
WebKit: enviro-nment

Firefox: hav-ing
WebKit: ha-ving

Firefox: run-time
WebKit: ru-ntime

Firefox: com-mand
WebKit: co-mmand

Firefox's hyphenations are clearly superior. This looks pretty suspicious; could we have an off-by-one in our code?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160416/d2267a92/attachment.html>


More information about the webkit-unassigned mailing list