novelate.fonts

Copyright © Novelate 2020

Public Imports

novelate.external
public import novelate.external : ExternalFont;

Members

Enums

FontStyle
enum FontStyle

Enumeration of font styles.

Functions

loadFont
ExternalFont loadFont(string path)

Loads a font from a specific file. Supports .ttf and .ttc file extensions.

loadFonts
void loadFonts(string path)

Loads fonts within a specific folder. Supports .ttf and .ttc file extensions. It also looks through sub-folders.

retrieveFont
ExternalFont retrieveFont(string fontName, FontStyle style)

Retrieves a font by its name and font style.

Meta

Authors

Jacob Jensen (bausshf) Website: https://novelate.com/

Novelate is a free and open-source visual novel engine and framework written in the D programming language.
It can be used freely for both personal and commercial projects.

Module Description: This module handles fonts.