Darrin-Lin / NTNUCSIE-CPII-Final_Project

My final project of Computer Programming II.
GNU General Public License v3.0
0 stars 0 forks source link

Auto nextline when in the between of English and Chinese in SDL #2

Open Darrin-Lin opened 3 months ago

Darrin-Lin commented 3 months ago

Dialogue will be newline when I use Chinese and English in same line and it will be a newline when it was end of English. Just like:

請取得一串 flag{} 
的文字

Maybe it is a problem of TTF_RenderUTF8_Blended_Wrapped?

Darrin-Lin commented 3 months ago

Maybe it because when it use Chinese inside it will count English character as Chinese width, so it will cut newline?