Hi @yugandhar,
The clipping happens after the PNGs are converted into the ARGB4444 font table and rendered by the OSD module.
Therefore, some fine tuning is needed during the PNG-to-ARGB4444 conversion process, especially for glyph alignment and positioning, which is done in the script that I have written.
osd_char_w , osd_char_h that i have tested are,
- 28 56
- 32 64
- 64 128
Kindly try the attached header file, which was tuned based on the image you provided. Do let me know if there’s any issue.
custom_font_argb4444.zip (27.5 KB)
The OSD module scales and renders the characters according to osd_char_w and osd_char_h . If the scaling, character spacing, or display area is not suitable, some characters may still appear clipped, so further fine-tuning may be needed.
You may let me know if you have any osd_char_w , osd_char_h in mind that you want to try so i can tune for you beforehand.
Thank you.