New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facilitate standard fonts for translating #4212
Comments
I added a fallback font for Comic Sans. The other basic fonts (Arial / Verdana / Times New Roman) are already supported on most systems, either by the actual font itself or by a builtin equivalent (i.e. Android uses Noto Serif as a substitute for Times New Roman and Roboto as a substitute for Verdana). I'm using http://fontfamily.io to get this info. The big problem here is that most fonts used in notes are under copyright. We can't distribute the font files ourselves without buying commercial licenses, which aren't that cheap. So for every font we want to support we have to find a free alternative that's close enough to the real thing. |
Add the following fonts: * Comic (Comic Relief) * Slab Sans (Anton) * Slab Serif (Rokkitt) * Formal Serif (Lora) * Formal Cursive (Petit Formal Script) * Print (Kalam) * Hand (Indie Flower) * Narrow (Archivo Narrow) * Blackletter (Unifraktur Maguntia) Add the following font aliases: * Comic Sans MS is aliased to Comic Relief. * Arial Narrow is aliased to Archivo Narrow. * Rockwell is aliased to Rokkitt. * Impact is aliased to Anton.
As discussed in topic #16435, another suggestion for a font which meets the need for a Spooky font was suggested. I'm just adding the conversation here so that it gets documented.
I mentioned that out of those, I'd go with the Anarchy font, the same as the suggester Zurreak. |
Not sure if any other fonts are needed. If users do appeal for more font on the forum or on this issue, then this can always be reopened. |
Discussed somewhat in topic #15327.
Currently, picking a font while translating is pretty hit or miss, especially with smartphones. This can drastically affect the presentation of the note to the user, compared to how the translator intended it to be seen. Instead, site-wide fonts can be supported using the
@font-face
CSS rule.https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face
This doesn't need to be an all-inclusive list of fonts, but at least several of the more common fonts like:
Perhaps also checking all of the current notes for instances of
font-family
to see what fonts the translators like to use.The text was updated successfully, but these errors were encountered: