Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » About Chinese font display solutions
About Chinese font display solutions [message #57516] |
Thu, 16 September 2021 08:56  |
lzjaiwl
Messages: 2 Registered: September 2021
|
Junior Member |
|
|
Chinese fonts cannot be drawn correctly under Win32 system. Please modify the following files:
FontWin32.cpp
function:static int CALLBACK Win32_AddFace(const LOGFONT *logfont, const TEXTMETRIC *, dword type, LPARAM param)
int q = sList->Find(name);
FaceInfo& f = q < 0 ? sList->Add(logfont->lfFaceName) : (*sList)[q];
f.name = FromSystemCharset(logfont->lfFaceName);
f.name = FromSystemCharset(logfont->lfFaceName);
------------------------Change to:--------------------------
f.name = logfont->lfFaceName;
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 07:59:40 CEST 2025
Total time taken to generate the page: 0.01611 seconds
|