How to change font scale for dirrefent cultures?
I wanted to scale my text when localized in Russian and German.
There is an option scaling factor and cultures in the Font-asset I created. It is sais that "Optional semi-colon separated list of cultures that this sub-font should be used with (if specified, this sub-font will be favored by those cultures and ignored by others)" - and when I used cultures (ru-RU;de-DE) - the scale doesn't change. If I leave this place empty - then russian text scaled to 0,6, german stays the same.
So there is questions: 1. What am I doing wrong? probably the names of the cultures should be written somehow dirrefently? But I tried many variants (ru, de, RU-ru, DE-de, Russian, German etc)
use the names of cultures - russian text big
use no names - russian text scaled small
You generally don't need to provide a list of culture names unless you're doing some very specific (like overriding Chinese-style Han characters with Japanese-style Han characters). Culture specific sub-fonts are only active when that culture is, which is why they didn't seem to have any effect on the preview.
As for why your German isn't working, you'll actually need that to be in its own sub-font due to the way font families work.
answered May 29 '18 at 02:36 PM
Jamie Dale STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here