Closed
Bug 203016
Opened 22 years ago
Closed 3 years ago
make line/word breaker lang-dependent
Categories
(Core :: Internationalization, defect)
Core
Internationalization
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jshin1987, Unassigned)
References
(Blocks 1 open bug)
Details
Spin off of bug 162949 and bug 164759
Currently, line-breaking is based on JIS X 4051, but some lang-specific
tailoring may be necessary. The framework is already there
and a draft patch was uploaded as attachment 96285 [details] [diff] [review]. In addition to that,
the following places have to be modified as outlined in bug 162949 comment #17:
http://lxr.mozilla.org/seamonkey/source/content/base/src/nsDocument.cpp#1037
http://lxr.mozilla.org/seamonkey/source/content/base/src/nsPlainTextSerializer.cpp#178
http://lxr.mozilla.org/seamonkey/source/editor/libeditor/text/nsInternetCiter.cpp#236
http://lxr.mozilla.org/seamonkey/source/editor/libeditor/text/nsWrapUtils.cpp#72
http://lxr.mozilla.org/seamonkey/source/editor/txtsvc/src/nsTextServicesDocument.cpp#4896
http://lxr.mozilla.org/seamonkey/source/extensions/spellcheck/src/nsSpellCheckUtils.cpp#191
Comment 1•22 years ago
|
||
Hey, would it be possible to document the code some in the process? nsTextFrame
is pretty much unreadable, with very long loops, gotos, and almost no
comments.... Just having an idea of what's going on could be nice...
Reporter | ||
Updated•22 years ago
|
Depends on: line-breaking
Reporter | ||
Updated•21 years ago
|
Blocks: line-breaking
No longer depends on: line-breaking
Updated•15 years ago
|
QA Contact: amyy → i18n
Comment 2•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:m_kato, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: smontagu → nobody
Flags: needinfo?(m_kato)
Comment 3•3 years ago
|
||
We will move line and word breaking algorithm to UAX14/29 rules using ICU4X segmenter. And these don't have lang specific breaking rule without CSS property. So it marks as WONTFIX.
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(m_kato)
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•