badgemagic-android
badgemagic-android copied to clipboard
Implement Option to Change Font
Currently there is only one standard font implemented. Please implement an option to change the font.
@mariobehling this is not possible as of now, we need to have some extra pixels in the badge to morph our letters
@mariobehling @iamareebjamal please give me an update
@adityastic This should be possible. It does not depend on the font.
@mariobehling we are talking about the font we send to the device or the font in our application?
We send bitmap to pixel. Where do we send the font?
@iamareebjamal yes, we created hexadecimals of every character, then we convert the input string into characters and fetch the respective hexadecimal for the character. We are not sending the font
By sending the font, I meant the saved hexadecimal codes for every character
Nobody is talking about sending the font. We're talking about converting the font chars to bitmaps
That's underestimating work. There's no "magic" way to create bitmap fonts. Either you rasterize the vector/truetype font (on 1bpp that's really bad) which will look usually bad compared to a hand written bitmap. Or you use a Unicode Bitmap font, but I doubt you'll find a matching height and that will grow the app.