Closed Bug 388096 Opened 17 years ago Closed 17 years ago

add line‐breaking opportunity after U+058A ARMENIAN HYPHEN, U+2010 HYPHEN, U+2012 FIGURE DASH and U+2013 EN DASH. And U+2014 EM DASH should be breakable before and after except that between the same characters

Categories

(Core :: Layout: Text and Fonts, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bugzilla-2, Assigned: masayuki)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

As per UAX #14, Section 5.1 [1], Breaking Hyphens, there should be a line‐break opportunity after the true hyphen character, U+2010 Hyphen.

Technically, this is a duplicate of Bug 95067, but I filed it anyway as requested in Bug 95067, Comment 136.

[1] http://www.unicode.org/reports/tr14/#DescriptionOfProperties

Reproducible: Always
Attached file testcase
Component: General → Layout: Fonts and Text
Product: Firefox → Core
QA Contact: general → layout.fonts-and-text
058A ARMENIAN HYPHEN
2010 HYPHEN
2012 FIGURE DASH
2013 EN DASH

It seems that they should be same behavior. (See "Breaking Hyphens" in UAX#14)

The patch will come.
Assignee: nobody → masayuki
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → Trunk
Summary: add line‐breaking opportunity after U+2010 Hyphen → add line‐breaking opportunity after U+058A ARMENIAN HYPHEN, U+2010 HYPHEN, U+2012 FIGURE DASH and U+2013 EN DASH. And U+2014 EM DASH should be breakable before and after except that between the same characters
fixed by the checked-in for bug 389056.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
This bug seems to still occur in 3.5.7 - the specified characters are not used as a line-breaking opportunity.
Apologies, looking at the test-case again, I've misdiagnosed the problem; these characters are being used as break opportunities, but not when preceded by short words.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: