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"

Does engine support ttf font on mobile?

Hi epic:
I created user interface for my project with umg tool. I never reset the font of weights. Currently the contents of weight is cn_zh. I know the weiget uses ttf font when game running in pc platform. But, i cooked my project with android configuration. I found the cook program never saves ttf font file as resource of game. I launch my game and the content of ui weiget can be successfully rendered with cn_zh configuration. It seems like weiget was created with engine fonts. Why did i get this?

    The another problem is : currently, it seems like ue4 doesn't support ttf on mobile platform, right? if my guessing is right,do you guys plan to support ttf on mobile.    

     Thanks   

     Zql
Product Version: Not Selected
Tags:
more ▼

asked Dec 03 '14 at 04:19 PM in Using UE4

avatar image

zql
196 7 22 21

avatar image Steve Hardister ♦♦ STAFF Dec 04 '14 at 10:07 PM

Hi zql,

What version of the Engine are you using? As of UE4.5.1, support for loading system fonts has been added for Android.

Have you added the true type fonts to your system fonts as shown here: http://desktoppub.about.com/cs/fixfonts/ht/install_fonts_w.htm ?

Please try this and let me know if you are still experiencing problems.

Thanks

avatar image zql Dec 05 '14 at 01:46 AM

Can i make sense engine will load the operation system fonts?

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

1 answer: sort voted first

Hi zql,

I contacted the developer to get clarification on the release notes and how they relate to your question. He responded that the release notes means DroidSans.ttf is loaded from the system fonts directory to implement FPlatformMisc::GetSystemFontBytes called by FLegacySlateFontInfoCache::GetSystemFont.

As far as your situation, you should only have to add the TTF to your content to use as a Slate font and it will get packaged.

more ▼

answered Dec 09 '14 at 02:12 PM

avatar image zql Dec 09 '14 at 02:23 PM

That is cool. Thanks, now i will upgrade to 4.6.

(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