aboutsummaryrefslogtreecommitdiff
path: root/src/graphics/font.c
AgeCommit message (Collapse)Author
2022-09-23Make window rgba and set background transparent to allow window clear to ↵dec05eba
work with transparency
2022-03-30Proper y offset for text, add option to create hidden window and add ↵dec05eba
function to make it visible (map, unmap)
2022-02-15Revert text offset y fix because it breaks quickmedia. Revert vertex draw ↵dec05eba
texture coordinate reset because it breaks quickmedia
2022-02-15Render missing glyphs as a crossed out boxdec05eba
2021-11-27Add max glyph height propertydec05eba
2021-11-27Use correct offset y for font position (ascent)dec05eba
2021-11-25Fix possible corrupt font atlasdec05eba
2021-11-24Fix glyphs overlapping, but adds unnecessary paddingdec05eba
2021-11-21Fix bug where window resize event is updated every framedec05eba
2021-11-19Slightly improve font rendering qualitydec05eba
2021-11-18Move glyph creation for text to render function instead of in set string, ↵dec05eba
clear font glyph background before rendering the text
2021-11-17Readd kerningdec05eba
2021-11-17Increase glyph paddingdec05eba
2021-11-17Attempt to fix font glyph texture overlap by aligning texture size todec05eba
next character size Add function to get the start of a utf8 codepoint (backwards), test utf8 functions
2021-11-15Add dynamic font atlas creation (not finished)dec05eba
2021-11-08Do not check for valid utf8 in set text, render the invalid utf8 instead. ↵dec05eba
Mmap fonts instead of loading the whole font
2021-11-06Fix exit being called when closing window, respond to wm ping, add is_open ↵dec05eba
function to window
2021-11-05Fix font being corrupt with certain sizes, fix image being corrupt if its ↵dec05eba
rgb, fix window resize incorrect size
2021-11-02Start on syntax highlighting, output correct key button eventdec05eba
2021-10-30Add option to make mgl_file_load result null terminateddec05eba
2021-10-28Move vertex buffer generation from init to first update, making init voiddec05eba
2021-10-19Change from callback to window polldec05eba
2021-10-16Create font atlas with optimal sizedec05eba
2021-10-16Add font renderingdec05eba