Post Reply

Ubuntu font workaround

OP ggdu

13th April 2012, 02:55 PM   |  #1  
OP Junior Member
Thanks Meter: 11
 
11 posts
Join Date:Joined: Jan 2011
When using Ubuntu font many users see rectangles in different places, that donít belong there. They come from the .notdef character which in that very font has a rectangle shaped outline. This character appears when the font doesnít contain a character for the codepoint requested. It seems like some apps use codepoints different from usual spacing characters to show empty room: e.g. with launcher pro in the app drawer long names are shortened with an ellipsis after which those squares appear. The reason why using other fonts doesnít show these squares is, that some fonts only have an empty space at .notdef, so no outline appears. One can verify this by using the DroidSansNotdef.ttf which I attach. There Iíve only added an outline to the .notdef character and youíll get the same behaviour as with the Ubuntu font.

UbuntuAndroidfix.ttf has an empty space in .notdef so it isnít visible. Nevertheless, this is only a workaround for a bug thatís somewhere else.

Edit: As shown below, the real reason is missing U-FEFF in the font, so it is a font bug. Attached you find all four styles (Ubuntu regular, italic, bold and bold italic) with the added character.

20.4.12 ó New version: added spacing characters U-2000óU-200F to fix some more box-char appearances.
Attached Files
File Type: bz2 UbuntuAndroidfix.tar.bz2 - [Click for QR Code] (431.8 KB, 96 views)
Last edited by ggdu; 20th April 2012 at 05:48 PM.
The Following 3 Users Say Thank You to ggdu For This Useful Post: [ View ]
13th April 2012, 04:16 PM   |  #2  
kyrillos13's Avatar
Recognized Developer
Flag Athens
Thanks Meter: 5,103
 
4,178 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Basically after searching a bit more i found this workaround: http://forum.xda-developers.com/show...&postcount=269 It seems better. But thank you anyway!
The Following User Says Thank You to kyrillos13 For This Useful Post: [ View ]
13th April 2012, 05:05 PM   |  #3  
OP Junior Member
Thanks Meter: 11
 
11 posts
Join Date:Joined: Jan 2011
Of course this is better, itís not only a workaround, itís a fix.
I attach a new version of the fixed font with the added glyph. At least the Droid Sans that I downloaded from Google webfonts (to be sure that I have the latest...) doesnít contain it.

Edit: Attachment removed, new attachment in first post.
Last edited by ggdu; 14th April 2012 at 06:44 PM.
13th April 2012, 05:25 PM   |  #4  
kyrillos13's Avatar
Recognized Developer
Flag Athens
Thanks Meter: 5,103
 
4,178 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Yeah thats right. But which program do you use to edit the font?
I used the Font Creator and the output size of the font is 312kb (instead of 335kb of the original ubuntu font). Your font is about 680kb. I used the droidsans.ttf from ICS platform (v1.0 build 114) and it did contain the glyph
Attached Files
File Type: rar fonts.rar - [Click for QR Code] (240.6 KB, 35 views)
The Following User Says Thank You to kyrillos13 For This Useful Post: [ View ]
13th April 2012, 05:38 PM   |  #5  
OP Junior Member
Thanks Meter: 11
 
11 posts
Join Date:Joined: Jan 2011
I use fontforge and I'm doing font design in my spare time. But I've never thought about file sizes. I'll have a look at it later.

Sent from my GT-I5800 using Tapatalk 2
13th April 2012, 05:46 PM   |  #6  
kyrillos13's Avatar
Recognized Developer
Flag Athens
Thanks Meter: 5,103
 
4,178 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Quote:
Originally Posted by ggdu

I use fontforge and I'm doing font design in my spare time. But I've never thought about file sizes. I'll have a look at it later.

Sent from my GT-I5800 using Tapatalk 2

Nice Have you made a font?
13th April 2012, 07:16 PM   |  #7  
OP Junior Member
Thanks Meter: 11
 
11 posts
Join Date:Joined: Jan 2011
I'm working on EB Garamond, my main project. I can't post a link yet, but you'll find it easily via google.

Sent from my GT-I5800 using Tapatalk 2
14th April 2012, 10:49 AM   |  #8  
kyrillos13's Avatar
Recognized Developer
Flag Athens
Thanks Meter: 5,103
 
4,178 posts
Join Date:Joined: Sep 2010
Donate to Me
More
h i like the font. Nice!

The font is really good!

I love Greek & Ancient Greek letters in your font (i like the curves) but italic Greek just isn't my type. I think it should be less space between some letters.

Great work
The Following User Says Thank You to kyrillos13 For This Useful Post: [ View ]
14th April 2012, 11:25 AM   |  #9  
pavankadam's Avatar
Senior Member
Flag Belgaum.
Thanks Meter: 20
 
163 posts
Join Date:Joined: Apr 2011
More
How to use it.. I am Kyrillos Rom v10.1..
14th April 2012, 02:32 PM   |  #10  
kyrillos13's Avatar
Recognized Developer
Flag Athens
Thanks Meter: 5,103
 
4,178 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Quote:
Originally Posted by pavankadam

How to use it.. I am Kyrillos Rom v10.1..

Just flash the v10.1.1 update.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes