Extended font & glyph support (#114)

* Separate font utils, add glyph support (#113)
* Implement font glyph ranges builder
* Implement raw font config binds
* Implement font atlas module
* Rewrite font altas rebuilder in Managed
This commit is contained in:
Mikhail Chekan
2021-12-22 18:28:46 +08:00
committed by GitHub
parent 13e68242a1
commit bb94341ad5
12 changed files with 1380 additions and 95 deletions

View File

@ -134,12 +134,6 @@ app = do
ImGui.createContext
ImGui.destroyContext
logDebug "Adding fonts"
ImGui.clearFontAtlas
_default <- ImGui.addFontDefault
_custom <- ImGui.addFontFromFileTTF "imgui/misc/fonts/ProggyTiny.ttf" 10
ImGui.buildFontAtlas
let
preferredFormat :: Vulkan.SurfaceFormatKHR
preferredFormat =