WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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