How to choose character mapping format when creating a font?
enum {
LV_FONT_FMT_TXT_CMAP_FORMAT0_FULL,
LV_FONT_FMT_TXT_CMAP_SPARSE_FULL,
LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY,
LV_FONT_FMT_TXT_CMAP_SPARSE_TINY,
};
I’m not sure but it seems like the same case that we have with Arabic and Persian letter. In these languages a different unicode character should be used depending on the poistion of the letter in each word.
So in some cases completely different letters needs to be used. Can you confirm it?
But with some other differences, there are multiple characters mapped to a new character(Devanagari conjuncts - Wikipedia).And some rules can be obtained by parsing the GSUB and GPOS tables of the font file.