@codinghorror thinks that the Roboto font is quite the mallard’s testicles, and I’ve put together a version of the letter avatars code that renders Roboto avatars. This is a rendering of all letters/numbers in both the existing font (top) and Roboto (bottom)
Do the avatars look better in Roboto than Helvetica?
Is the ‘D’ off-centre too nasty to be reasonable? (I can’t push it right without making the rest of the avatars look crap, unless we start having per-letter offsets – which I’ll do if I have to, but I’d prefer not to…)
Are there any other letters which look unacceptably wonky to anyone?
I think we should bite the bullet and have per-letter offsets. It can be a sparse array, e.g. if there is no offset specified for the letter (or number) then use the default.
It looks like they are using the OLD version of Roboto. Google updates Roboto and the new one looks a lot better in my opinion. I haven’t tested the avatar letters but I’d be willing to guess a lot of these issues have already been solved in the latest version of Roboto. https://www.google.com/fonts/specimen/Roboto (look at the difference between the letter G here and in the avatar pic).
Not being a font ninja, I honestly can’t see the difference, but I’m happy to take your word for it. I downloaded the font file from Google’s github repo, which was updated in March, after the new version of Roboto was announced. If that’s actually an out-of-date version of the font, I’d appreciate a pointer to a known-current version, to make sure I don’t accidentally get the wrong one again.
We’re running with Roboto avatars on meta as of a few hours ago. I’ve just deployed a few tiny tweaks to Q, T, V, W, Y, and 7, so they’ll slowly filter out as people’s caches expire.
Thanks to everyone who contributed to making the new avatars look extra awesome!
I think most of the “looks off” is because of an optical illusion type of effect from the “more solid” left side and the curves and “less solid” right side in combination with being in a circle.
Despite my somewhat shaky mouse maneuvering in Paint, it does look a bit off though I have no idea what would fix it unless maybe a small tweak moving the letter down and to the left?
Though I think that would be “more correct” geometrically, I have a feeling it would look worse.
I’ll tweak that. Not sure how it’ll need to be moved down, but moving it to the right a little wouldn’t go astray.
It’s a theoretical possibility, and almost certainly better than ImageMagick’s current algorithm (center the font image in the larger image), but I can’t find any way of doing it with IM’s feature set. It’s almost certainly less work to just tweak letter placement for the 36 forms we need to generate (the myriad size/colour combos don’t – or at least shouldn’t – have an impact on visual balance) rather than write custom avatar drawing code that’ll calculate the centroid and place the glyph correctly.
On the other hand, if we ever decide to make avatar fonts user-selectable… then that custom drawing code will be written right quick. I’m not doing hand-tweaks for placement of every font everywhere.