[nc] Android Webkit gives double-width spacing when Ubuntu Mono used as web font

Bug #894133 reported by Holger Seelig
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Font Family
Confirmed
Undecided
Unassigned

Bug Description

On my android mobile running Webkit browser version 533.1 Ubuntu Mono font has wrong letter spacing as shown in the screen shot attached.
Other Mono fonts like DejaVu Mono renders right.

Revision history for this message
Holger Seelig (holger-seelig) wrote :
Revision history for this message
Paul Sladen (sladen) wrote :

To help with debugging this, please could you share how you got it onto the device.

If possible, can you take a screenshot with the two magic debugging characters '' and '' visible somewhere in the terminal text.

Changed in ubuntu-font-family:
status: New → Incomplete
tags: added: uff-android uff-mono
Revision history for this message
Holger Seelig (holger-seelig) wrote :

I followed your instructions and put the magic characters onto a webpage.
You can see the character in the red circle. The second character is not so
white as the first.
I don't know what you mean with 'how you got it onto the device' but the
font is includes via CSS from google font and then assigned with font-family
to a <pre> tag. I have done nothing special else. The page is online and you
can look at it under <http://module.create3000.de/tests/test-module.html>
The character are in the third line.

Revision history for this message
Holger Seelig (holger-seelig) wrote :

Additionally I add a image of browser details of my mobile.

Paul Sladen (sladen)
summary: - Ubuntu Mono has wrong letter spacing on android mobile
+ Android Webkit gives double-width spacing when Ubuntu Mono used as web
+ font
Revision history for this message
Paul Sladen (sladen) wrote : Re: Android Webkit gives double-width spacing when Ubuntu Mono used as web font

Confirmed on an Android device in the office:

  http://module.create3000.de/wp-content/themes/module/css/all.css

causes:

  http://fonts.googleapis.com/css?family=Ubuntu:regular,italic,bold,bolditalic|Ubuntu+Mono:400,700,400italic,700italic|Dancing+Script:700|Vidaloka|Playfair+Display|IM+Fell+French+Canon+SC|PT+Sans+Narrow

The result of that file depends on the Browser User-Agent, so we need to see a copy from the Android device itself to see what subset/transformed .ttfs are actually being sent from the Google Web Fonts.

Then we need to get those custom .ttfs and investigate whether the issue is just in those on Android, or occurs on raw versions used as a webfont on Android.

Revision history for this message
Paul Sladen (sladen) wrote :

Hopefully:

  http://fonts.googleapis.com/css?family=Ubuntu+Mono:400

will produce the same result and be shorter to hand type in.

Revision history for this message
YoBoY (yoboy-leguesh) wrote :

I tested on my android phone and I only have the problem when I activate the "mobile view" in the parameters of the browser. In normal view, it seems the font is not used (magic caracter don't appear)

To switch, go on you browser to the parameters and check or uncheck mobile view (or something similar).

browser version 2.2, webkit 3.1

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu Font Family because there has been no activity for 60 days.]

Changed in ubuntu-font-family:
status: Incomplete → Expired
Changed in ubuntu-font-family:
status: Expired → Confirmed
summary: - Android Webkit gives double-width spacing when Ubuntu Mono used as web
- font
+ [nc] Android Webkit gives double-width spacing when Ubuntu Mono used as
+ web font
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.