Font.AddFontFromFileBytes method - feature request
gucio321 opened this issue · comments
Hi there,
as of go 1.16
, there is //go:embed
directive available.
But it allows only for saving file as a byte slice. Imgui currently has only AddFontFrom...(filepath). So if I want to connect go-embed and imgui font loader I need some method (like AddFontFromFileBytes(data []byte)) to use go-embeded file.
oh, imgui.AddFontFromMemoryTTF is there, sorry