andlabs / libui

Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting Custom Fonts on Controls

AndyObtiva opened this issue · comments

Hi,

I am new to libui. Thank you for making it available. I am learning it as I go while building Glimmer DSL for LibUI (on top of the Ruby bindings for LibUI).

I wanted to set the font of non_wrapping_multiline_entry in my Meta-Example to 'Consolas' or 'Courier New' since it is used for code editing, but then I noticed that I could not set the font on any control be it entry or label (with the exception of drawing text). I did not find anything about setting fonts on controls in the Go UI API guide for example.

Is setting fonts on controls something that is planned on being supported?