When I started typography ( https://github.com/treeform/typograph ) with an aim for writing a full font and typography engine from scratch, I did not know much about fonts. I did not know what I was getting into, its been quite a journey. At first it could only render SVG Fonts but over time I added TrueType support and fixed issues with fonts I found. Most of the time stuff would break because a font feature was not supported. But I think I reached a new milestone where I can render most of the Google Fonts ( https://fonts.google.com/ ). Which means any font your find will probably work as well. I just had to share!
Check out the output of the test here:
https://github.com/treeform/typography/blob/master/tests/samples/google.md
Thanks!
Awesome! , now it needs some kind of DSL to just write Latex-like syntax directly on Nim code, kinda like Rmarkdown but better.
:P
I haven't had a use for this so far, but this is amazing!
You have a typo in your URL there. Missing the y at the end. :)
Kerning already supported ... text would look broken without it.
glyph composition and rtl/ttb/btt - I don't support that now, but I want to support it eventually.
Hebrew and Arabic are the only major rtl languages I want to support. Almost no one uses ttb/btt in computer UIs, CJK use it in signage and books though. Even traditional Mongolian which is hard ttb is replaced by Cyrillic letters on computers. Doing boustrophedon direction could be fun... but probably just as pointless as Egyptian hieroglyphs pointing their heads in correct orientations.
I totally agree that stacking is very important to render many of the world's languages. And it will be a slog to get to 99.9999% support. Eventually I will figure all of that out. But I am already happy-that I support ~99.98% of world's online users with just Alphabets + CJK in my demographic according steam survey: https://store.steampowered.com/hwsurvey/Steam-Hardware-Software-Survey-Welcome-to-Steam
Language Support chart: