Can't read Thai character.

Bug #1460752 reported by Ratchanan Srirattanamet
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Łukasz Zemczak
ubuntu-touch-meta (Ubuntu)
Fix Released
Critical
Łukasz Zemczak
ubuntu-touch-meta (Ubuntu RTM)
Fix Released
Undecided
Łukasz Zemczak
webbrowser-app (Ubuntu)
Invalid
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)

Revision history for this message
Ratchanan Srirattanamet (peat-new) wrote :
Revision history for this message
Ratchanan Srirattanamet (peat-new) wrote :
Revision history for this message
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
Revision history for this message
Ratchanan Srirattanamet (peat-new) wrote :

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

Revision history for this message
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
Revision history for this message
Ratchanan Srirattanamet (peat-new) wrote :

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
Revision history for this message
Ł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.

Revision history for this message
Ratchanan Srirattanamet (peat-new) wrote :

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.

Revision history for this message
Ł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.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

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

Revision history for this message
Ratchanan Srirattanamet (peat-new) wrote :

@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?

Revision history for this message
Ł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.

Revision history for this message
Ratchanan Srirattanamet (peat-new) wrote :

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

Revision history for this message
Ł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
Revision history for this message
Ratchanan Srirattanamet (peat-new) wrote :

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

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.