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 » It's suspected to be an issue with Font.
Re: It's suspected to be an issue with Font. [message #32240 is a reply to message #32235] Mon, 02 May 2011 20:07 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Lance wrote on Mon, 02 May 2011 10:11

By the way, SimSun should be a safe bet. Any Chinese characters should be representable in SimSun. Say there is a fancy font FancyFont. It only implemented 2000 most common chinese characters, than a character that's not in this set should be displayed in SimSun


Well, but problem is that SimSun is already tested and required...

It is all really weird. In Windows, it works for me just fine. In your machine, it seems to choose "Arial Unicode MS" instead.

Hm, one possible explanation: Do not you have the same Arial Unicode MS installed on ubuntu?

It actually seems there is something wrong with that font, the replacement algorithm seems to have detected required glyphs in it...

OK, one more try: try to move SimSun in the list BEFORE Arial Unicode MS.

struct sRFace {
	const char *name;
	dword l, h;
} sFontReplacements[] = {
	{ "sans-serif", 0xffee0008, 0xdc000801 },
	{ "Arial", 0xfffe0000, 0x09c00080 },
	{ "SimSun", 0xfd800000, 0x09ffff00 },
	{ "Arial Unicode MS", 0xfffc3fef, 0xfa7ff7e7 },
	{ "MS UI Gothic", 0xffc01008, 0x0fffff00 },
	{ "MS Mincho", 0xffc01008, 0x0fffff00 },
.....


Let us see, maybe it could help in windows.

Another thing to consider is to list all fonts to find out whether there is something bad with names:

GUI_APP_MAIN
{
	for(int i = 0; i < Font::GetFaceCount(); i++)
		LOG(Font::GetFaceName(i));
}

[Updated on: Mon, 02 May 2011 20:07]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: There are too short lines after synchronization. t files.
Next Topic: A proposal: Adding a Translation & Localization GUI to TheIDE
Goto Forum:
  


Current Time: Sat Apr 27 23:51:49 CEST 2024

Total time taken to generate the page: 0.06299 seconds