YARC-Official / YARG

YARG (a.k.a. Yet Another Rhythm Game) is a free, open-source, plastic guitar game that is still in development. It supports guitar (five fret), drums (plastic or e-kit), vocals, pro-guitar, and more!
https://yarg.in/
GNU Lesser General Public License v3.0
746 stars 167 forks source link

Font doesn't support characters beyond basic ASCII #926

Open Formedras opened 3 days ago

Formedras commented 3 days ago

The spritefont YARG uses by default seems to only support the basic ASCII codepage, causing characters beyond its bounds (including characters in Windows-1252 and CJK languages) to not be rendered. This seems to have been addressed before (in issue #760) but still persists as of b2870. For example, most German songs, such as Hier Kommt Alex by Die Toten Hosen, will have characters with umlauts (such as ü) and the eszett (ß) be missing.

YARG 2024-11-27 13_25_06 Here, the two lines Damit man täglich roboten geht / Ist die größte Aufregung, die es noch gibt are both partly visible, and multiple characters are missing.

At the very least, due to international songs, characters used in Latin-script European languages should be included in the default font. If YARG can't support CJK (or other languages) due to size limitations (as the prior issue states), there should also be some way to use system-installed fonts that do support the desired text.