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"

Scale or Font Size for Draw Text (Canvas)

How can you set the Size of the Font used in "Draw Text" (Canvas) Target is Canvas?

I suspected at first you cant, but then I looked at Clipped Text Size *Canvas) Target is Canvas, and it has a property for scale (2D Vector)

Is there a way to control the size of the FONT (eg different pt font) or a way to scale the font as is, or some other means of controllign the rendered size of the font when using Draw Text (Canvas)

Product Version: UE 4.15
more ▼

asked Aug 22 '17 at 02:43 PM in Rendering

avatar image

120 26 34 40

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

1 answer: sort voted first

Yes there is , open your font from content browser and change the size there and just use draw text in your blueprint and it will take the font size from your font file.

more ▼

answered Nov 02 '17 at 01:13 PM

avatar image

14 1 4

avatar image fudo Nov 14 '17 at 04:30 PM

does that mean that i need a copy of my font asset for each font size i need into my project? isn't ther an option to scale it from inside bp?

avatar image Noowai Nov 21 '17 at 03:37 PM

Kinda have same problem. Need to render text, but I don't want to change it's default setting, plus, I might need to render different sizes. I found that I could scale canvas on which I render inside the material, but in that case quality suffers alot.

avatar image theonecalledtom Nov 22 '17 at 01:01 AM

Quality level hasn't been worth it in my experience. Sadly I have five sizes in my app, though I may be able to get rid of two of them. What I found when scaling was an eye catching aliasing variation - particularly noticeable on the bottom of the text.

(This is from C++, where the scale is available).

(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