Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423727 - media-fonts/roboto (new ebuild)
Summary: media-fonts/roboto (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Ben de Groot (RETIRED)
URL: http://developer.android.com/design/s...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2012-06-27 03:27 UTC by BT
Modified: 2012-09-03 05:27 UTC (History)
2 users (show)

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


Attachments
roboto-20111129.ebuild (roboto-20111129.ebuild,463 bytes, text/plain)
2012-06-27 03:27 UTC, BT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BT 2012-06-27 03:27:18 UTC
Created attachment 316377 [details]
roboto-20111129.ebuild

This a new ebuild for Roboto, the font from Android 4.0 (Ice Cream Sandwich).
Comment 1 Agostino Sarubbo gentoo-dev 2012-06-27 10:37:40 UTC
CC'ing fonts.
Comment 2 Marek Sapota 2012-07-17 00:43:50 UTC
I had to manually remove “/usr/share/fonts/roboto/Roboto-Black.ttf”, as with this file present some applications (namely Firefox and Chrome) got confused and used the black version instead of the regular one.  Apart from that it works nicely, thanks for the ebuild.
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2012-07-25 09:42:38 UTC
+*roboto-20111129 (25 Jul 2012)
+
+  25 Jul 2012; Ben de Groot <yngwin@gentoo.org> +metadata.xml,
+  +roboto-20111129.ebuild:
+  Initial commit. Ebuild by user BT in bug #423727.

Thanks for your contribution!
Comment 4 John Flatness 2012-07-25 19:12:18 UTC
I've had the same problem as Marek Sapota described.

The Black variants at least seem to have bad weight data in the OS/2 table. Opening them in FontForge reveals that they claim to be Book (normal) weight, not the correct and much heavier Black.

This seems to make Fontconfig give back the Black font to applications requesting a normal-weighted Roboto.

I assume this is an upstream problem, since this ebuild doesn't muck around with the fonts themselves.
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2012-07-26 04:21:17 UTC
I understand what you're saying, but it works correctly for me. I can't reproduce the problem. But I am using cairo-1.12.2-r2 and infinality-patched freetype with corresponding fontconfig tweaks.

I could add a "black" useflag, which would be enabled by default. You could then disable this to prevent installing the black font files.
Comment 6 John Flatness 2012-09-03 05:27:17 UTC
The place I've seen it most obviously on a few systems now is the Gnome 3 font picker. The just plain "Roboto" entry, which should be the regular, book weight, is super-bold, same for the italic. You can pick "Medium" weight successfully, but that's actually a little heavier than normal Roboto should be (very noticeable if you pick it as your default font).

(In reply to comment #5)
> I understand what you're saying, but it works correctly for me. I can't
> reproduce the problem.