Summary: | media-fonts/roboto (new ebuild) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | BT <amak79> |
Component: | New packages | Assignee: | Ben de Groot (RETIRED) <yngwin> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | fonts, marek |
Priority: | Normal | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://developer.android.com/design/style/typography.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | roboto-20111129.ebuild |
CC'ing fonts. 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. +*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! 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. 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. 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. |
Created attachment 316377 [details] roboto-20111129.ebuild This a new ebuild for Roboto, the font from Android 4.0 (Ice Cream Sandwich).