Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line exceeds 1024 characters -> CJK characters are rendered with half-width #5820

Open
zzm-note opened this issue Dec 16, 2024 · 4 comments
Open
Labels

Comments

@zzm-note
Copy link

Test Version:CudaText 1.220.0.0, win64-x86_64-win32, fpc 3.2.3
Test text:
"change_log":"【Test】高低版本OTA(0.13-\u003e0.15),高版本0.15","url":"https://d2htfo7ft368vgfewfewfewfewfefewwwwwwwwwwwwwwwwfewfewfewwwfew.uf3fewwwwwwww12w32e12e23fefewfewfewf","size":1276480,"update_time":1733406543,"create_time":0,"upgrade_scheme":9,"upgrade_scheme_action":0,"ext":"{\"file_name\":\"11111111111111111111111111111111111111efewfew.fewfewfewf\",\"instruction_set\":[],\"ios_upgrade_time\":10,\"android_upgrade_time\":10}","component_name":"ALL","status":3,"verifier":"[email protected]","note":"高低版本OTA(0.13-\u003e0.15),高版本0.15","client_system":"","change_log_de":"【Test】高低版本OTA(0.13-\u003e0.15),高版本0.15","change_log_jp":"【Test】高低版本OTA(0.13-\u003e0.15),高版本0.15","change_log_fr":"【Test】高低版本OTA(0.13-\u003e0.15),高版本0.15","change_log_it":"【Test】高低版本OTA(0.13-\u003e0.15),高版本0.15","change_log_es":"【Test】高低版本OTA(0.13-\u003e0.15),高版本0.15","change_log_zh_hans":"【Test】高低版本OTA(0.13-\u003e0.15),高版本0.15","change_log_zh_hant":"【Test】高低版本OTA(0.13-\u003e0.15),高版本0.15","change_log_zh":"【Test】","change_log_ru":"【Test】高低版本OTA(0.13-\u003e0.15)

As shown:
image

@Alexey-T
Copy link
Owner

Alexey-T commented Dec 16, 2024

that was answered many times.
Cud has limitation- if line is longer than 1024, it does not render CJK chars as full-width. ie it renders all chars as half-width. sorry.

@Alexey-T Alexey-T changed the title A single line exceeds 1024 characters, and the GBK characters display overlaps A single line exceeds 1024 characters, and the CJK characters are rendered with half-width Dec 16, 2024
@Alexey-T Alexey-T changed the title A single line exceeds 1024 characters, and the CJK characters are rendered with half-width Line exceeds 1024 characters -> CJK characters are rendered with half-width Dec 16, 2024
@zzm-note
Copy link
Author

OK, thanks for the reply

@Alexey-T
Copy link
Owner

re-opened the issue, to stay visible for others.

@Alexey-T
Copy link
Owner

Made new topic in the wiki for future users:
https://wiki.freepascal.org/CudaText#CJK_text_is_rendered_bad_on_huge_lines

@Alexey-T Alexey-T added the talk label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants