Can't read Thai character.

Bug #1460752 reported by Ratchanan Srirattanamet on 2015-06-01
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Critical
Łukasz Zemczak
ubuntu-touch-meta (Ubuntu)
Critical
Łukasz Zemczak
ubuntu-touch-meta (Ubuntu RTM)
Undecided
Łukasz Zemczak
webbrowser-app (Ubuntu)
Undecided
Unassigned

Bug Description

Step to reproduce: Use browser on the phone, go to http://www.alanwood.net/unicode/thai.html

Expected result:Thai character is readable. See "Readable Thai character.png"
What happens:They're unreadable. See "Unreadable Thai character.png"

Version: Ubuntu Touch 15.10 channel devel-proposed image revision 211
Device: LG L90 Dual (I'm doing a port)

Olivier Tilloy (osomon) wrote :

Installing the fonts-thai-tlwg meta-package on a writeable system solves the issue.

Changed in webbrowser-app (Ubuntu):
status: New → Confirmed

This seems to be missing fonts issue. Maybe this isn't a bug in webbrowser-app?

Olivier Tilloy (osomon) wrote :

This is similar to bug #1378184 : we need to add fonts-thai-tlwg to the ubuntu-touch-meta package.

Changed in webbrowser-app (Ubuntu):
status: Confirmed → Invalid
Changed in ubuntu-touch-meta (Ubuntu RTM):
status: New → Confirmed
Changed in ubuntu-touch-meta (Ubuntu):
status: New → Confirmed

So, ubuntu-touch-meta guys, could you please consider adding Thai fonts in Ubuntu Touch?

Changed in ubuntu-touch-meta (Ubuntu):
assignee: nobody → Łukasz Zemczak (sil2100)
Changed in ubuntu-touch-meta (Ubuntu RTM):
assignee: nobody → Łukasz Zemczak (sil2100)
Changed in ubuntu-touch-meta (Ubuntu):
status: Confirmed → In Progress
Changed in ubuntu-touch-meta (Ubuntu RTM):
status: Confirmed → In Progress
Łukasz Zemczak (sil2100) wrote :

I looked into this issue and it seems adding fonts-thai-tlwg would consume a lot of disk space - over 6.5MB of additional data. We could live with that as we saved space by removing the apt lists recently, but I would just like to confirm if we need the whole meta-package, or maybe only selected font packages from its list would be sufficient? I see that the meta package basically pulls in: fonts-tlwg-garuda, fonts-tlwg-kinnari, fonts-tlwg-laksaman, fonts-tlwg-loma, fonts-tlwg-mono, fonts-tlwg-norasi, fonts-tlwg-purisa, fonts-tlwg-sawasdee, fonts-tlwg-typewriter, fonts-tlwg-typist, fonts-tlwg-typo, fonts-tlwg-umpush, fonts-tlwg-waree

If all of those are required, then I will add fonts-thai-tlwg to the seeds.

I think not all are required. Probably only 1 (or maybe 2, each for serif and sans-serif) would be enough, and that should be default font using to render Thai text on desktop. I'll take a look at my Ubuntu computer to see which font is used when I get home.

Łukasz Zemczak (sil2100) wrote :

Thanks, would appreciate that. Since as I mentioned we could include the whole list - no problem, but we try to be considerate of size with anything that we add, trying not to pull in things that aren't required. Leave a comment which ones in the end are needed for everything to work and I'll prepare the seed changes.

Łukasz Zemczak (sil2100) wrote :

@Ratchanan
Were you able to test which packages are enough to be installed for things to work properly?

@Lukasz
Sorry for the long delay. I've talked with Thai font maintainer (Theppitak Karoonboonyanan), he has recommend me to include the following:
-UI font: fonts-tlwg-waree
-San Serif font: fonts-tlwg-garuda and fonts-tlwg-laksaman
-Serif font: fonts-tlwg-kinnari
-Monospace font: fonts-tlwg-typo
-Handwriting font: fonts-tlwg-purisa (optionnal)

Can you tell me how to test these things?

Łukasz Zemczak (sil2100) wrote :

If you have a development device you could make it writeable, then do:
sudo apt-get update
sudo apt-get install fonts-tlwg-waree fonts-tlwg-garuda fonts-tlwg-laksaman fonts-tlwg-typo fonts-tlwg-kinnari

And restart your phone to see if it helped.

Ok. Installed those packages and now I can read Thai text.

Łukasz Zemczak (sil2100) wrote :

Thanks! Will add those fonts to the seed shortly.

Changed in ubuntu-touch-meta (Ubuntu RTM):
status: In Progress → Fix Released
Changed in ubuntu-touch-meta (Ubuntu):
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
milestone: none → ww02-2016
assignee: nobody → Łukasz Zemczak (sil2100)
status: New → Confirmed
status: Confirmed → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Changed in canonical-devices-system-image:
importance: Undecided → Critical
Changed in ubuntu-touch-meta (Ubuntu):
importance: Undecided → Critical

Excuse me @jibel, why do you think this is critical?

Because it has a severe impact on a large portion of the users (Thai users cannot read webpages in their native language) Maybe critical is a step too much.

Côme Chilliet (come-5) wrote :

This also affect OSMscout on my ubuntu touch, the map is full of squares instead of the Thai city names.

Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Changed in ubuntu-touch-meta (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers