unreal.FontLayoutMethod

class unreal.FontLayoutMethod

Bases: unreal.EnumBase

EFont Layout Method

C++ Source:

  • Module: SlateCore

  • File: CompositeFont.h

BOUNDING_BOX

Layout the font using the values from its bounding box. This typically yields a larger line height for fonts that have valid metrics, however it can also produce much better results for fonts that have broken or incorrect metrics.

Type

1

METRICS

Layout the font using the metrics data available in the font. This is typically the desired option, however some fonts have broken or incorrect metrics so may yield better results when using the bounding box values to layout the font.

Type

0