PeterVCNT Posted December 13, 2019 Report Posted December 13, 2019 We managed to pack the arrays and structures of the c font file in a binary form. We are also able to load and unload such "binary" fonts into uGFX during runtime. My question is: how can we distinguish if the binary data in the font file is a RLE or a BW one based on the properties in struct mf_font_s? I assume that if the flags value is 2 (MF_FONT_FLAG_BW), then the file is a BW. RLE has flags value set to 0. Is this correct?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now