4 ms·
A bit off topic but, I noticed most of the titles on destroyallsoftware are rendered as SVGs. Why is that a better idea than just normal text?
by iajr39r4 9y ago
A bit off topic but, I noticed most of the titles on destroyallsoftware are rendered as SVGs.
Why is that a better idea than just normal text?
- BFatts 9y agoSo you cannot directly copy their text, I would assume, and republish it since they charge a subscription for access to their articles.
- tyingq 9y agoIt's just the main headline title and subtitle. The actual article text and subheaders are regular html. So I would guess it's a just a personal preference for that typography that they felt they couldn't get some other way. The svg images do have correct alt tags with the right text.
- steveklabnik 9y agoI believe that you're accurate; Gary cares a _lot_ about presentation, I vaguely remember seeing him tweet about the kerning here or something.
- elmigranto 9y agoFirstly, it's only (sub)titles. Secondly, those can actually be selected with mouse (and copied), accessed by a screen reader and even `innerText`ed.
- tomr_stargazer 9y agoGary is a connoisseur for pixel-perfect large text that exactly fills the given space: https://twitter.com/garybernhardt/status/780497807434100736 https://twitter.com/garybernhardt/status/780497807434100736 https://twitter.com/garybernhardt/status/760648828772941824 https://twitter.com/garybernhardt/status/760648828772941824 and "What I really want to do is tell CSS to make text a certain width, but technology is not yet advanced enough!" https://twitter.com/garybernhardt/status/754036917864247297 https://twitter.com/garybernhardt/status/754036917864247297
- jancsika 9y agoInteresting. Looks like in Inkscape he uses the OS's font-rendering engine to render the text in the chosen font, then converts the rendered font to an SVG path. So the benefit appears to be text that is guaranteed to fit a particular pixel-width (minus any anti-aliasing discrepancies among browsers). The cost would be baking one particular OS's font-rendering idiosyncrasies into the SVG-path page titles, but that's partially hidden by the choice of thick bold-faced fonts that hide hinting discrepancies (plus using all caps). Makes me wonder if one could infer which OS he used to generate the SVG title by converting the text to a path on each platform where Inkscape runs, then comparing each to his SVG title.