You are not logged in.
Hi:
After using SetFont('方正小标宋简体', 16, []) to set the font,
the Chinese characters display correctly, but the numbers and English text do not display properly,but the numbers and English letters appear squeezed together.
Thanks.
Offline
Offline
1. delphi 12.2
2. Windows 10 and Windows 11
3. mORMot 1 (not mORMot 2)
4. system Ansi Code Page is 936
5. enabled Uniscribe
Offline
I tested with mORMot 2, and the results were the same. When the string contains Chinese, English, and numbers at the same time, the Chinese characters display correctly, but the English and numbers do not display properly—they appear squeezed together.
Offline
Did you try something like
https://synopse.info/forum/viewtopic.ph … 297#p37297
Offline
Thank you. I have tested the code you provided for the url address. Although the text is no longer crammed together, but the font effect is no longer the original.
If it were possible to upload images, it would be even more intuitive.
Offline