Need help with MD_parola font design!!!

In Thai font, there are some character that start position must -2 or -3 for example

character from pic number 1 and pic number 2 but pic number 2 must start at that position like pic number 3

I don't know how to customize displayText function in md_parola library

THANK YOU SO MUCH FOR ANY HELP.

pic1.jpg

pic2.jpg

result.jpg

pic1.jpg

pic2.jpg

result.jpg

Characters start and end in a rectangular block, so they cannot overlap.

Either define a character which is a combination of the first character with the circle above of the second or define a whole new character which is like your third character.

A more complicated alternative is to combine the characters in real time by merging the bitmaps and creating a temporary character for display. Without knowing the rules of Thai script I cannot comment on the feasibility of this.

EDIT: Quick search gave me this:
"Consonants are written horizontally from left to right, with vowels arranged above, below, to the left, or to the right of the corresponding consonant, or in a combination of positions. "

If this is the case then the dynamic editing option I gave as the last one is probably the most suitable, as it would seem there are specific rules for combining these symbols.

marco_c:
Characters start and end in a rectangular block, so they cannot overlap.

Either define a character which is a combination of the first character with the circle above of the second or define a whole new character which is like your third character.

A more complicated alternative is to combine the characters in real time by merging the bitmaps and creating a temporary character for display. Without knowing the rules of Thai script I cannot comment on the feasibility of this.

EDIT: Quick search gave me this:
"Consonants are written horizontally from left to right, with vowels arranged above, below, to the left, or to the right of the corresponding consonant, or in a combination of positions. "

If this is the case then the dynamic editing option I gave as the last one is probably the most suitable, as it would seem there are specific rules for combining these symbols.

Thank you for your reply but this case is dynamic.I must set the rule to draw overlap each character.
I use setpoint(row,col,true or false) from MD_mx72xx to customize this case but i must start it from scrath.

I love MD_parola effect i that why i try to find how to solve this problem.

I will try to defined the 2nd character as symbols

Thank you so much

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.