Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When the "Admin Toolbar Tools" sub-menu is enabled, the Drupal 8 logo at the beginning of the bar appears with sharp, pixelised edges in some browsers (eg. FF49.0.2 on OS X 10.11.4):
This is because the /admin_toolbar_tools/misc/icons/ffffff/d8-item.svg file contains the shapes as embedded raster image data, not native vector nodes. So I pixel-perfectly replaced it with the officially provided pathed version in Inkscape. Saved in optimized SVG also helped to significantly decrease the file size from 52 kB to 1 kB.
Comment | File | Size | Author |
---|---|---|---|
#11 | 2707747-logo-antialiasing-11.patch | 53.13 KB | Balu Ertl |
| |||
#2 | 2707747-logo-antialiasing-2.patch | 53.13 KB | Balu Ertl |
d8-logo-not-rendered-with-smooth-antialiasing.png | 34.08 KB | Balu Ertl |
Comments
Comment #2
Balu ErtlPatch provided.
Comment #3
Balu ErtlQuequed for automatic testing.
Comment #6
eme CreditAttribution: eme commentedTesting have issue (some ID have changed). So I think this is good.
Comment #7
Balu ErtlNow as the branch passed (#2707789: Fix Automated Tests), I added re-tests to my patches.
Comment #8
esod CreditAttribution: esod at Memorial Sloan Kettering Cancer Center commentedGreat. As soon as @eme merges in Fix Automated Tests, your patches and my subsequent patches will start to pass testing.
ping @eme
Comment #10
Balu ErtlComment #11
Balu ErtlAs now #2707789: Fix Automated Tests has been fixed on 4 May, now submitting the same patch hoping that it will get through the testing finally :)
Comment #12
Balu ErtlYay, passed! :) Could someone please confirm that the D8-logo appears anti-aliased for them with the patch #11 applied?
Comment #13
nevergone CreditAttribution: nevergone commented#11 Tested and works well!
Comment #14
Balu ErtlAny hope to get this improvement committed into master branch?
Comment #16
romainj CreditAttribution: romainj as a volunteer commentedCommited in latest dev branch.
Comment #17
romainj CreditAttribution: romainj as a volunteer commented