Lazarus RichMemo set the chinese font failed
Original Reporter info from Mantis: totomato
-
Reporter name: tomato
Original Reporter info from Mantis: totomato
- Reporter name: tomato
Description:
When use RichMemo, it's invalid to set the chinese font by the IDE-Attributes-Font, or by the code 'SetTextAttributes(start,length,Font)'.
but RichMemo surely can support chinese-font by copy-paste, or by load a .rtf file, it's just invalid by the RichMemo Attributes itself or by code, so I think maybe there some code wrong while set the font, just like the code doesn't Identify chinese correctly.
BTW, the Control like TMemo, TButton, balabala, they can set chinese font perfectly.
Steps to reproduce:
set the chinese font by the IDE-Attributes-Font,
set the chinese font by the code 'SetTextAttributes(start,length,Font)'.
it's all invalid.
Mantis conversion info:
- Mantis ID: 37148
- OS: win7