Skip to content

CET Lua support for custom fonts inside ImGui widgets #1015

@Undisclosed-Information

Description

CET does not seem to support IO functions inside the Lua scripting part for ImGui, to make use of something like:

io.Fonts->AddFontFromFileTTF.

to use in:

ImGui.PushFont(font_obj)

According to the wiki (see link) a font can only be changed across the whole system by editing the config file, which is undesirable for use-cases where you want to build a debug tool with ImGui based on monospaced fonts, but still use sans fonts for the base menu in CyberEngineTweaks.

Can we maybe add this in an upcoming update?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions