[Plugin] Color Embled Fix (CEFix)
#7

Now release 2.0, it work perfectly. (not support on /fontsize 1 and 4 )

In conclusion, the problem of the Thai alphabet is mixed with the tonal, resulting in a shorter text length for the display. So colors are created according to the size of the original text. It can not be used with Thai characters mixed with tonal.

Release source code: Github

Explain:
  • Suppose 'A' is a normal character like
  • Suppose 'B' is a vowel/tone character like

  • Suppose 'C' = A+B
    If next to 'A' are 'B' they will display like this
simple color embled in English
{00FF00}JKL{FF0000}P: count 4 character, color start after 'L' (index 10) = index 11
Display: JKLP

simple color embled in Thai
{00FF00}AAB{FF0000}A: count 4 character, color start after 'B' (index 10) = index 11 << But not like this...
When display It will be: {00FF00}ACA{FF0000}: count 4 also but vowel/tone will merge to normal character, color start after index 11
Display: ACA
{00FF00}ACA{FF0000} << Here!! red color will disappear.
(My plugin will left shift color embled for 1 step per total vowel found before current embled tag to fix this. example AC{FF0000}A will display correct color like ACA)

And have more some vowel with blank space " " need to shift too. Going github for more information.






I think my post was ignored. Just because it does not involve you. We feel so bad

We could not get a good reception, maybe because of Alien language. Good luck!!
Reply


Messages In This Thread
Color Embled Fix (only for Thai Language) - by bigtigerbeee - 03.10.2018, 14:25
Re: Color Embled Fix (CEFix) - by Tenka - 03.10.2018, 16:41
Re: Color Embled Fix (CEFix) - by J0sh... - 03.10.2018, 16:44
Re: Color Embled Fix (CEFix) - by bigtigerbeee - 03.10.2018, 16:51
Re: Color Embled Fix (CEFix) - by bigtigerbeee - 04.10.2018, 03:52
Re: Color Embled Fix (CEFix) - by IllidanS4 - 04.10.2018, 15:36
Re: Color Embled Fix (CEFix) - by bigtigerbeee - 23.10.2018, 10:23
Re: Color Embled Fix (CEFix) - by Verc - 26.10.2018, 07:46
Re: Color Embled Fix (CEFix) - by Dayrion - 26.10.2018, 18:54
Re: Color Embled Fix (CEFix) - by bigtigerbeee - 26.10.2018, 19:31

Forum Jump:


Users browsing this thread: 1 Guest(s)