Version: 2019.4
LanguageEnglish
  • C#

GlyphLoadFlags

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The various options (flags) used by the FontEngine when loading glyphs from a font face.

Properties

LOAD_DEFAULTLoad glyph metrics and bitmap representation if available for the current face size.
LOAD_NO_SCALELoad glyphs at default font units without scaling. This flag implies LOAD_NO_HINTING and LOAD_NO_BITMAP and unsets LOAD_RENDER.
LOAD_NO_HINTINGLoad glyphs without hinting.
LOAD_RENDERLoad glyph metrics and render outline using 8-bit or antialiased image of the glyph.
LOAD_NO_BITMAPLoad glyphs and ignore embedded bitmap strikes.
LOAD_FORCE_AUTOHINTLoad glyphs using the auto hinter instead of the font's native hinter.
LOAD_MONOCHROMELoad glyph metrics and render outline using 1-bit monochrome.
LOAD_NO_AUTOHINTLoad glyphs using the font's native hinter.
LOAD_COMPUTE_METRICSLoad glyph metrics without using the 'hdmx' table. This flag is mostly used to validate font data.
LOAD_BITMAP_METRICS_ONLYLoad glyph metrics without allocating and loading the bitmap data.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961