Skip to content

fontlib_LoadFont(my_font, 0) is not valid C++ #812

Description

@ZERICO2005

An enum can implicitly convert to int in C but not C++

typedef enum {
    /**
     * If set, then the space above/below metrics specified in the font will be
     * ignored and set to zero.  You can still manually set them later.
     */
    FONTLIB_IGNORE_LINE_SPACING = 0x01
} fontlib_load_options_t;

bool fontlib_LoadFont(const fontlib_font_t *font_data, fontlib_load_options_t flags);

fontlib_LoadFont(my_font, 0);

Metadata

Metadata

Assignees

No one assigned

    Labels

    lib/fontlibcIssues related to the font rendering library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions