Closed Bug 162940 Opened 22 years ago Closed 17 years ago

Thai line breaker in specific Table width does not work correctly

Categories

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

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 7969

People

(Reporter: kyae-young.kim, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intl, Whiteboard: [oracle-nls])

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) 
Gecko/20020530

Thai line breaker in specific Table width does not work correctly

Reproducible: Always

Steps to Reproduce:
1. Open attached testcase in Mozilla.
2. 100 table width does not affect line breaking.
3. Compare to IE 5.5
Attached file Testcase
Keywords: intl
QA Contact: ruixu → ylong
from testcase
----
  1: <html lang="th"><head><meta http-equiv="Content-Type" content="text/html;
charset=UTF-8"></head>
  2: 
  3: 
  4: <body>
  5: <table border="1" width="100">
  6: <tbody><tr><td>   ¹Í¡¨Ò¡¹ÕéäÁâ¤Ã«Í¿·ìÂѧÁÕ Microsoft Security Tools kit CD
  7: ·Õèà¡çº¢éÍÁÙÅ ¤Óá¹Ð¹Ó·Õè¶Ù¡µéͧµÅÍ´¨¹ Service Pack áÅÐ Patch µèÒ§æ
à¾×èÍãËéÃкº¤ÍÁ¾ÔÇàµÍÃì¢Í§ÅÙ¡¤éÒÁÕ¤ÇÒÁ»ÅÍ´ÀѨҡ¹Ñ¡à¨ÒÐÃкº
  8: 
¹Í¡¨Ò¡¹Ñé¹äÁâ¤Ã«Í¿·ìÂѧä´éÊÃéÒ§«Í¿·ìáÇÃì·Õè¨ÐªèÇÂÅÙ¡¤éÒá¡é䢻ѭËÒà¡ÕèÂǡѺ¤ÇÒÁ»ÅÍ´ÀÑ¢ͧ«Í¿·ìáÇÃìáÅÐ
  9: »éͧ¡Ñ¹»Ñ­ËÒ·Õèà¡ÕèÂÇ¢éͧ¡Ñº¤ÇÒÁ»ÅÍ´ÀÑ«Öè§ÍÒ¨¨Ðà¡Ô´¢Öé¹ã¹Í¹Ò¤µÍÕ¡´éÇ 
</td></tr></tbody></table>
 10: </body></html>
----

i think the problem is from the text in line 8,
which is very long -- and NOT HAS any whitespace within.

Thai language is generally written without space,
so it needs special breakiterator to breaks Thai text to smaller parts,
in order to "wrap" text to fit the table width (e.g. width=100).

currently Mozilla doesn't integrated Thai breakiteralor.
see bug 7969 (need dictionary based Thai line breaker and intergrate into
line/word breaker)
Component: Internationalization → Complex Text Layout
looks like our thai line breaking algorithm does not function.
reassign to ftang
Assignee: yokoyama → ftang
ftang
Status: NEW → ASSIGNED
Depends on: line-breaking
No longer depends on: line-breaking
Whiteboard: [oracle-nls]
what a hack. I have not touch mozilla code for 2 years. I didn't read these bugs
for 2 years. And they are still there. Just close them as won't fix to clean up.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Mass Re-open of Frank Tangs Won't fix debacle. Spam is his responsibility not my own
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Mass Re-assinging Frank Tangs old bugs that he closed won't fix and had to be
re-open. Spam is his fault not my own
Assignee: ftang → nobody
Status: REOPENED → NEW
bug 7969 will solve this, so let's dupe it. 
There's nothing specifically table related here, as shown by the huge enhancement the recent changes brought (bug 336959 under Linux, the side-effects of bug 255990 elsewhere).
Status: NEW → RESOLVED
Closed: 19 years ago17 years ago
Resolution: --- → DUPLICATE
Component: Layout: CTL → Layout: Text
QA Contact: amyy → layout.fonts-and-text
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: