sile-typesetter / sile-typesetter.github.io

Github Pages source code for https://sile-typesetter.org
Creative Commons Zero v1.0 Universal
3 stars 4 forks source link

Fix font name in javanese example #41

Closed vbgl closed 9 months ago

vbgl commented 9 months ago

The Javanese example displayed on the website (https://sile-typesetter.org/examples/global/) is currently broken. Because the font cannot be found.

This PR fixes the name of the font (so as to match what is installed at build time) hence fixes the rendering of the Javanese parts. Unfortunately, said font does not seem to have any glyph for Arabic numerals. I’m not sure what would be an acceptable fix here.

alerque commented 9 months ago

Thanks for this fix. I seem to have broken it in 59294fe by swapping out the font without committing the change to the sample.

alerque commented 9 months ago

Besides merging this I added a fallback font for the Arabic numerals in the example. An example text that stuck to the language numbering system would probably be better if anybody knows how to do it correctly.