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 #31942 is a reply to message #31658] |
Sun, 10 April 2011 14:42 |
|
mirek
Messages: 13976 Registered: November 2005
|
Ultimate Member |
|
|
Lance wrote on Fri, 18 March 2011 18:50 | The programs I used to compare are UWord from the UPP, and MS Word. The platform is Windows 7.
The text I used to test is:
ultimate++是一个性能优良的C++GUI库
The problem with U++ drawed text is that some characters are notably larger than others and some have incorrect horizontal displacement.
|
It works fine on my Windows 7. However, I believe that the problem is caused by font substitution mechanism and perhaps on your system, you have some font that takes precendence for some glyphs, but does not contain other characters.
However, I have noticed that OpenOffice or Wordpad are preferring SimSun font, so I have given it higher priority now. Please check.
The core table for font subsitutions is in Draw/FontCR, table sFontReplacements. If U++ does not find required glyph in the font, it tries to get the glyph by going through fonts in this table and uses first glyph available... Maybe you could play with it a bit to get better results.
Quote: |
I also encountered issue where chinese characters are displayed correctly displayed on Windows but are blank on Ubuntu. And when I copies the same text that was displayed as blank to, say gedit, the text displayed correctly as in Windows. That part I will attach picture in future.
|
I believe this is basically the same issue - gedit has better knowledge about fonts, so is able to find a better replacement.
Maybe, if openoffice behaves similary in Ubuntu as in Windows, you can try to paste characters into Openoffice and then check what font it has actually used for it. Then we can add this font to replacement table...
Alternatively please post some problematic text here so that I can do this myself.
|
|
|
|
|
It's suspected to be an issue with Font.
By: Lance on Fri, 18 March 2011 23:50
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Sun, 10 April 2011 14:42
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Tue, 12 April 2011 14:03
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Tue, 12 April 2011 15:19
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Sat, 16 April 2011 20:54
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Sat, 16 April 2011 21:02
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Sat, 16 April 2011 21:21
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Wed, 20 April 2011 22:07
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Wed, 20 April 2011 22:30
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Sat, 30 April 2011 10:37
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sun, 01 May 2011 17:23
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sun, 01 May 2011 17:35
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sun, 01 May 2011 19:41
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Mon, 02 May 2011 07:07
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Mon, 02 May 2011 15:58
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Mon, 02 May 2011 16:11
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Mon, 02 May 2011 20:07
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Tue, 03 May 2011 14:48
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Tue, 03 May 2011 14:50
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Tue, 03 May 2011 14:52
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Thu, 05 May 2011 18:46
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Fri, 06 May 2011 10:05
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Fri, 06 May 2011 10:36
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Fri, 06 May 2011 14:59
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Fri, 06 May 2011 17:51
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Fri, 06 May 2011 19:18
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 03:42
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 04:00
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 05:19
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 06:01
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Sat, 07 May 2011 08:30
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 14:59
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 15:29
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 17:39
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 19:47
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 20:41
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 23:10
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 07 May 2011 23:25
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Mon, 09 May 2011 05:55
|
|
|
Re: It's suspected to be an issue with Font.
By: mirek on Fri, 13 May 2011 12:30
|
|
|
Re: It's suspected to be an issue with Font.
By: Lance on Sat, 14 May 2011 23:54
|
Goto Forum:
Current Time: Sat May 11 16:55:59 CEST 2024
Total time taken to generate the page: 0.02678 seconds
|