Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
lzjaiwl is currently offline  lzjaiwl
Messages: 1
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;
 
Read Message
Read Message
Previous Topic: [BUG] Translatable menu text of accelerator keys contains invalid characters.
Goto Forum:
  


Current Time: Wed Jun 29 05:08:08 CEST 2022

Total time taken to generate the page: 0.01582 seconds