Skip to content

Added a simple routine to load a Olivec_Font dynamically#27

Open
uri-nyx wants to merge 1 commit intotsoding:masterfrom
uri-nyx:master
Open

Added a simple routine to load a Olivec_Font dynamically#27
uri-nyx wants to merge 1 commit intotsoding:masterfrom
uri-nyx:master

Conversation

@uri-nyx
Copy link

@uri-nyx uri-nyx commented Mar 17, 2023

I didn't notice the tools to convert png to a font header or the pull request #25 until I finished implementing this. I add this here in case it is useful.

I implemented a simple routine that takes a byte buffer and generates a dynamically allocated Olivec_Font. I also changed all font-related data to unsigned char instead of char.

…r of bytes (didn't notice png2c nor font2c...) and made all dealings with glyphs unsigned chars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant