4 ms·
I built mataroa. Not sure if your comment is referring to mataroa, but in case it is: I care a lot about typography and making a platform in which non-latin sc
by sirodoht 5y ago
I built mataroa. Not sure if your comment is referring to mataroa, but in case it is:
I care a lot about typography and making a platform in which non-latin scripts can be read well. Mataroa does not provide any font. Rather, it uses the end user's system fonts. System fonts are most probably better than webfonts. They can define a large set of characters, including as many languages as they can, without caring about how big they get. This is in contrast to webfonts, of which all character glyphs need to be sent to the client—so size matters.
I've also written this text on the topic: https://nutcroft.com/blog/in-defense-of-user-defined-web-fonts/ https://nutcroft.com/blog/in-defense-of-user-defined-web-fon...
- ldjb 5y agoThanks for your comments. However, for certain languages it is important to specify the language in the HTML with the `lang` attribute. Otherwise incorrect glyphs may be displayed. More info: https://heistak.github.io/your-code-displays-japanese-wrong/ https://heistak.github.io/your-code-displays-japanese-wrong/
- sirodoht 5y agoThat's very interesting. Thank you for bringing it to my attention! Maybe a new setting to set the `lang` attribute is worth it.
- olah_1 5y agoThat attribute could also let you easily group your users into different languages. If you wanted to add more discovery features or something and let people search by language. Not sure what your goal is around that. Maybe opt out of discovery by default or something.
- csande17 5y agoUnicode was supposed to save us from language-specific codepages, but alas...
- toshk 5y agoOn my phone it's pretty small font and linegeight, and found uncomfortable to read. As a web & app dev I have no idea how to quickly change this, let alone someone less tech savvy. For old people often small text is a big thing. Maybe add few font enlarge buttons?
- sirodoht 5y agoOne can change their blog's theme (which is essentially a larger serif font at 20px) on the mataroa blog setting page.
- chrisweekly 5y agoOk but using px instead of rem is already getting it wrong. See https://every-layout.dev/rudiments/units/ https://every-layout.dev/rudiments/units/
- sirodoht 5y agoThanks for the article! I think I'm convinced—will probably change up some stuff on font sizes and container widths.
- JoshTriplett 5y ago> Mataroa does not provide any font. Rather, it uses the end user's system fonts. Thank you very much for this.
- chrismorgan 5y agoWell, you do make one bad decision with your typography (and that’s the one alecst was remarking on with “the default font was small”): you set the font size to 14px, rather than leaving it at the default value (which will normally be 16px) or possibly increasing it a little (I reckon the decent range relative to the default is about 1–1.25em).