View Single Post
Old 01-10-2016, 11:05 PM   #20
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,375
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
serif is the default. So by default, the fallback is serif. Minimalist code is best. Don't ad in things because you don't trust your code.
lol. Yes I agree with minimalist code but I throw in some common sense. Having a fallback in case the device/app doesn't display the first (embedded) font - for whatever reason - is smart coding. To be minimalist, I would just remove the ';' at the end of the last item...

I would specify serif as the fallback just so someone's device/app doesn't set sans as their default when I, as the creator, want those particular letters to be serif. 7 extra letters to prevent a catastrophic meltdown is worth it to me.
Turtle91 is offline   Reply With Quote