4 ms·
So should we try not to cut down on edge cases then? Looking at the last month's Google Analytics we were visited by over a thousand unique mobile device hardwa
by err4nt 11y ago
So should we try not to cut down on edge cases then? Looking at the last month's Google Analytics we were visited by over a thousand unique mobile device hardware layouts - how could you even possibly keep track of what system fonts they all have available?
The truth is, some fonts like Source Sans Pro, Open Sans, Source Code Pro, and PT Serif are actually of better quality than most system fonts as well - so not only are you moving toward a font that is going to show up better, but you get the same font everywhere - making sizing and spacing a LOT more predictable.
> the web is semantic markup, not a precise layout tool
Yes, this is how I introduce it to others: http://codepen.io/tomhodgins/post/an-introduction-to-html http://codepen.io/tomhodgins/post/an-introduction-to-html
I get paid lot to fix these problems so really it's in my be$t intere$t to tell you NOT to use web fonts, and to hire me over and over again fixing sizing and spacing bugs that pop up like whack-a-mole for $$$/hour … but I'd rather be building new things than duct-taping old solutions. If you don't want to have to hire me, use web fonts from the start. It's how I'm going to come in and $olve the problem for you, so why not $ave your$elf the trouble :)
- pdkl95 11y ago> Looking at the last month's Google Analytics Which means you're ignoring the people that either block GA specifically or don't run javascript. > how could you even possibly keep track of what system fonts they all have available? You don't. That's why you design for em/ex/rem units, or use designs that don't care. > are actually of better quality than most system fonts as well That's personal opinion. > but you get the same font everywhere No, you don't. For example, I have a long list of entries like this in my ~/.fonts.conf <match target="pattern" > <test name="family" qual="any"> <string>Helvetica Neue</string> </test> <edit name="family" mode="assign_replace"> <string>Ubuntu</string> </edit> </match> You also don't know if the CSS or webfont actually loaded - you shouldn't ignore network errors.
- deleted 11y ago[deleted]
- codedokode 11y ago> how could you even possibly keep track of what system fonts they all have available? CSS declares special pseudo fontnames like serif, sans-serif, monotype that you can set as a backup font. They should work in all browsers. > I get paid lot to fix these problems so really it's in my be$t intere$t to tell you NOT to use web fonts, and to hire me over and over again fixing sizing and spacing bugs It only means the person that programmed original CSS code was not qualified enough to do this properly. Why "fix" this by adding multikilobyte download instead of fixing the code?