Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

imgui_gm

An ImGui wrapper for modern GameMaker · By nommiin

Font anti aliasing

A topic by Nosferatube created Jul 16, 2023 Views: 205 Replies: 1
Viewing posts 1 to 2

Hey! So I’m pushing a pixel font that ive used AddFontFromFile to get, Im using it as the main font for the GUI but I’m wanting to know if I can turn off the anti aliasing when getting a font from a file, and if so how. Thank you!

Developer

Hi! Thanks for using the extension :3

Sorry for font support being a bit rudimentary, when adding AddFontFromFile I had opted to not include any support for passing in ImFontConfig. I'll take a look at exposing some APIs to generate a font config for the next release (which would then allow you to set FontBuilderFlags to include ImGuiFreeTypeBuilderFlags_Monochrome which would disable AA)