go-vikunja / vikunja

Mirror of vikunja from https://code.vikunja.io/api
GNU Affero General Public License v3.0
902 stars 63 forks source link

Font missing diacritics characters #143

Open sq3tle opened 1 year ago

sq3tle commented 1 year ago

Description

Font used in sidebar and task editing panel is missing diacritics characters used in Polish language. In case of some languages, it may be worth to fallback to some regular font.

Vikunja Frontend Version

0.20.5

Vikunja API Version

0.20.4

Browser and version

chrome 112.0.5615.138

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

image

dpschen commented 1 year ago

Seems like our font subsetting script needs to be extended to support latin-ext. One way could be to extend the SUBSETTER_ARGS argument of the instance_and_subset function to support an array of subsetting arguments. For each element of the array we would create a new output file.

Looking at Googles subsets of OpenSans I'm pretty sure, that there are currently similar problems with our Vietnamese translations.

We need to adjust the preloading of the font as well based on the selected language