How do you dynamically create a UFont at Runtime in c++?

DanimalsOnParade
Thu, 28 Sep 2017 09:54:18 +0000
Rendering

How do you dynamically create a UFont object at runtime from a .ttf font in c++? Assuming I can get the .ttf font into memory as bytes, TArray, how can I create UFontFace from that and plug it into a UFont?

I want my users to be able to upload custom .ttf fonts in addition to the ones that I provide for maximum customization.

7 posts - 4 participants