Fennec can't handle Thai line-breaking properly

NEW
Unassigned

Status

Fennec Graveyard
General
10 years ago
a month ago

People

(Reporter: Isriya Paireepairit, Unassigned)

Tracking

(Depends on: 1 bug)

Trunk
fennec1.0b2
Other
All
Bug Flags:
wanted-fennec1.0 +

Details

Attachments

(2 attachments)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1
Build Identifier: 

Thai language has special characteristic: no space between words, only between sentences. So the line-breaking is a bit tricky (dictionary-based). Firefox also had this problem and it was fixed in Firefox 3 (with new text engine in Gecko 1.9 by roc) in combination with platform language API (e.g. Pango, ATSUI, Uniscribe, see: #336959 for more detail)

I ask my friend who has Nokia N800 with Thai fonts installed to test this case on latest Fennec build (0.5) and this bug happens. 

The full report is available at: http://www.google.com/notebook/public/17663711166257746396/BDSUCIwoQ1LPlu7cj

Reproducible: Always

Steps to Reproduce:
1.
2.
3.



Testing on
* N800 with OS2008 version 4.2008.23-14 (a.k.a. Diablo firmware)
* Fennec 0.5
* XUL Runner 1.9.1a1pre

Updated

10 years ago
Flags: wanted-fennec1.0+
Target Milestone: --- → Fennec A2

Comment 1

9 years ago
Isriya, Can you provide a sample web page with a line of thai that demonstrates the problem?  As I don't know the rules about thai line breaking, I'm a bit hesitant to confirm this without a test case.
Keywords: testcase-wanted

Comment 2

9 years ago
Sorry for the spam.  Please attach the html of the testcase page using the "Add attachment" functionality in bugzilla.  Thanks.
(Reporter)

Comment 3

9 years ago
Created attachment 340301 [details]
Testcase for Thai linebreaking

Test case for Thai linebreaking

Updated

9 years ago
Target Milestone: Fennec A2 → Fennec A4

Comment 4

9 years ago
Created attachment 372694 [details]
Fennec 1.0b1 Thai word break testing on Mac OS X

I've tested Fennec 1.0b1 on Mac OS X with this test case (http://www.keng.ws/files/firefox/thai-word-break-test.html), seems line-breaking works correctly.

I'm not sure this is because of running Fennec on the host machine or not.
Yep, this is seen on build:

Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2b1pre) Gecko/20091008
Fennec/1.0b4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase-wanted
Depends on: 1423593
You need to log in before you can comment on or make changes to this bug.