Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293701 - media-fonts/droid's monotype zero is indistinguishable from an O
Summary: media-fonts/droid's monotype zero is indistinguishable from an O
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-19 06:41 UTC by Patrick
Modified: 2010-01-10 15:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2009-11-19 06:41:06 UTC
Droid Sans Mono (the Apache-licensed monotype typeface used on Android devices) is a great font, but it has one big disadvantage: the zero is indistinguishable from the O.

There is a slashed and a dotted version on http://cosmix.org/software/ (same license). I think a good solution would be to add two USE flags, one 'slashed' and one 'dotted' to the ebuild, and, if active, replace the file '/usr/share/fonts/droid/DroidSansMono.ttf' with DroidSansMono{Slashed|Dotted}.ttf from the website above. Additionally one of those USE flags could be active by default (I'd prefer 'dotted').

Reproducible: Always

Steps to Reproduce:
1. Install media-fonts/droid
2. Use the font Droid Sans Mono and type a 0 (zero) and an O


Actual Results:  
Observe that they are indistinguishable

Expected Results:  
Being able to distinguish 0 and O
Comment 1 Patrick 2009-11-19 07:28:02 UTC
The fonts from http://cosmix.org/software/ would have to be hosted on Gentoo servers, automatically fetching from the website is not allowed by the site owner.
Comment 2 Dror Levin (RETIRED) gentoo-dev 2010-01-07 00:36:25 UTC
Where does it say that automatic fetching isn't allowed? I couldn't find that part.
Comment 3 Patrick 2010-01-07 04:19:59 UTC
(In reply to comment #2)
> Where does it say that automatic fetching isn't allowed? I couldn't find that
> part.
> 

I have been told so by the site owner. Maybe it's negotiable ;)
Comment 4 Dror Levin (RETIRED) gentoo-dev 2010-01-07 19:54:15 UTC
Bumped to -r1 with two new USE flags: slashed and dotted. There's no default but if both are on then slashed takes precedence. Thanks a lot for reporting :)
Comment 5 Patrick 2010-01-10 06:34:49 UTC
(In reply to comment #4)
> Bumped to -r1 with two new USE flags: slashed and dotted. There's no default
> but if both are on then slashed takes precedence. Thanks a lot for reporting :)

That sounds perfect :)
Though I don't know what I am doing wrong - after syncing today I get

[ebuild     U ] media-fonts/droid-112_p1-r1 [112_p1] USE="X" 2,870 kB [0]

and I can't see new USE flags there.
Comment 6 Dror Levin (RETIRED) gentoo-dev 2010-01-10 13:38:55 UTC
(In reply to comment #5)
> Though I don't know what I am doing wrong - after syncing today I get
> 
> [ebuild     U ] media-fonts/droid-112_p1-r1 [112_p1] USE="X" 2,870 kB [0]
> 
> and I can't see new USE flags there.
> 

I realized after committing that the slashed and dotted fonts have a different name than the regular sans mono font, and so I removed the USE flags and the ebuild now installs all variants. Sorry for not saying anything :)
Comment 7 Patrick 2010-01-10 15:20:44 UTC
(In reply to comment #6)
> I realized after committing that the slashed and dotted fonts have a different
> name than the regular sans mono font, and so I removed the USE flags and the
> ebuild now installs all variants. Sorry for not saying anything :)

Oh, ok. My original idea was, that only the version chosen by the user (via USE flag) gets actually installed, since it's unlikely that anyone wants the same monotype font with just a difference in how the 0 looks like on his machine. Like so:

USE=""               -> DroidSansMono.ttf gets installed as is
USE="dotted"         -> DroidSansMonoDotted.ttf gets installed as DroidSansMono.ttf
USE="slashed"        -> DroidSansMonoSlashed.ttf gets installed as DroidSansMono.ttf
(in all the above USE flag constellations, only one Droid Sans Mono will get installed)
USE="dotted slashed" -> Like now - all three versions get installed.

And now that I think about it, maybe the USE flags should better be called "dottedzero" and "slashedzero" for better clarity.