Last modified: 2013-01-18 21:03:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45835, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43835 - Use embedded WebFonts to support Kannada, Telugu, Malayalam on Android 4.0
Use embedded WebFonts to support Kannada, Telugu, Malayalam on Android 4.0
Status: NEW
Product: Wikipedia App
Classification: Unclassified
Localization/Translation/Language (Other open bugs)
3.2 (iOS) / 1.2 (Android)
All All
: Normal enhancement
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-10 19:24 UTC by Brion Vibber
Modified: 2013-01-18 21:03 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: Android 4.0.x
Assignee Huggle Beta Tester: ---


Attachments
.apk that should display Kannada body text on Android 4.0 (1.66 MB, application/octet-stream)
2013-01-10 20:00 UTC, Brion Vibber
Details

Description Brion Vibber 2013-01-10 19:24:46 UTC
Android 4.1 adds font support for Kannada, Telugu, and Malayalam but some languages like Tamil are supported on 4.0 already.

It should be possible to use webfonts stuff to pull in relevant fonts, and just ship them with the app, to work on 4.0 devices that can't easily be upgraded to 4.1.

(Note that 2.3 probably will not be able to render any of them correctly.)

Needs testing on a 4.0 device or emulator to confirm it will work as expected.
Comment 1 Omshivaprakash H L 2013-01-10 19:46:32 UTC
Observations: 

* Kannada Mobile Site works fine on Desktop Browser - but not on devices with Android 4.0.x 
* Kannada desktop site displays text on left hand menu + header but not the main body part. Footer section is also found to be rendering fine on Chrome (Android 4.0.x)
Comment 2 Brion Vibber 2013-01-10 19:58:24 UTC
Did a quick test pulling the Lohit Kannada font from WebFonts extension and hardcoding a 'lang=kn':

https://github.com/brion/Wikipedia/commits/webfonts

Seems to work on body text, though headers aren't being updated.

Note that it seems to like the .ttf but not the .woff versions of the files.
Comment 3 Brion Vibber 2013-01-10 20:00:01 UTC
Created attachment 11611 [details]
.apk that should display Kannada body text on Android 4.0

built from https://github.com/brion/Wikipedia/commit/da8f644ff794cba531c3bbbc37d7fa9834145eeb

Note that section headings *do not* display correctly at this time.

May need to manually switch to Kannada in settings.
Comment 4 Omshivaprakash H L 2013-01-10 20:08:58 UTC
tested apk. body text works in Kannada!
Comment 5 Dereckson 2013-01-10 20:58:49 UTC
[ +i18n ]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links