x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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)

  1. Suggestion: option "cultures" doesn't support scaling factor? But why it's there? Only for using special characters? Then why without cultures scaling works? Bug?

  2. Is there any other way to scale font automatically without setting manually in each widget scaling depending on culture?

use the names of cultures - russian text big alt text

use no names - russian text scaled small alt text

Product Version: UE 4.19
Tags:
screenshot-14.png (53.3 kB)
screenshot-15.png (46.1 kB)
more ▼

asked May 25 '18 at 11:44 AM in Using UE4

avatar image

ladyplaisir
1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered May 29 '18 at 02:36 PM

avatar image

Jamie Dale STAFF
7.5k 176 66 304

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question