Hi all,
Using DM36x-IPNC_RDK-5.1 for my development. I'm trying to add a few characters to existing OSD ASCII font database.
To do so, i created few characters(jpg images), converted them as ascii.(using bin2c utility available with SDK) and appended them in the existing databases.
The new characters are of resolution 10x20 each and i'm adding it into font database XXXFONT_770_20 font database(by default they are available for 77 characters only as defined by SWOSD_STRINGPATTERN). so adding a new chacter will increase string width by my chacter width. After updating database, i adjusted width/height(SWOSD_STRINGWIDTH_XXXX, SWOSD_CHARWIDTH_XXX,SWOSD_STRINGPATTERN, etc) MACROs, as per the new database. But it is not helping and corrupting entire database. I'm not getting even a single correct character over the display.
Is this is the right way to go Or I've to create entire new database including my new characters? I've seen few posts regarding this issue, but none of them answered this. Has anybody tried adding new characters with this SDK. Can anybody provide some information on how OSD library uses database to display characters.
Thanks in advance.