[Webkit-unassigned] [Bug 177003] New: [Harfbuzz] Take into account brackets or quotation marks when collecting runs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 15 08:33:13 PDT 2017


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

            Bug ID: 177003
           Summary: [Harfbuzz] Take into account brackets or quotation
                    marks when collecting runs
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bugs-noreply at webkitgtk.org, mmaxfield at apple.com

In determining the boundaries of a run of text in a given script, programs must resolve any of the special Script property values, such as Common, based on the context of the surrounding characters. A simple heuristic uses the script of the preceding character, which works well in many cases. However, this may not always produce optimal results. For example, in the text “... gamma (γ) is ...”, this heuristic would cause matching parentheses to be in different scripts.

Generally, paired punctuation, such as brackets or quotation marks, belongs to the enclosing or outer level of the text and should therefore match the script of the enclosing text. In addition, opening and closing elements of a pair resolve to the same Script property values, where possible. The use of quotation marks is language dependent; therefore it is not possible to tell from the character code alone whether a particular quotation mark is used as an opening or closing punctuation. For more information, see Section 6.2, General Punctuation, of [Unicode].

http://www.unicode.org/reports/tr24/#Common

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


More information about the webkit-unassigned mailing list