Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » Basic character set analyzer
Re: Basic character set analyzer [message #19571 is a reply to message #19546] |
Wed, 17 December 2008 11:21 |
cbpporter
Messages: 1401 Registered: September 2007
|
Ultimate Contributor |
|
|
Quote: |
I've continued experimenting and reached an interesting conclusion: X does some very basic character substitution and composition for Latin characters.
I tested pretty much every font that doesn't have Latin-1 Supplement support and it seems that if the given font has basic Latin alphabetic characters, it will manage to draw also those from the supplement by doing on the fly composition. The results are pretty good. I think we can skip substitution for the supplement if alphabetic characters are available. If alphabet is not available, we need to substitute those characters and use probably the same method you used for replacing Latin characters for Font::COMPOSED.
Also, X tries to compose missing characters from Latin Extended-A. Some fonts handle this OK, but most will either fail, or draw a rectangular outline and superimpose the root character of the composition. E.G. if I have a very strange "L" with dots on it's right, I will get a box and a normal L. In this case I don't know which is better. Using substitution will result in a correct character, but quite likely the typeface will be different. Using X scheme, we get the same type face, but the result is ugly.
|
This is what I was just about to post this when I realized: Maybe X is not the one who is doing the composition. Maybe It's U++ with the mechanism I mentioned earlier! Am I right? Or is the composition used only under Windows. I couldn't figure it out by testing under other application, because all feature under a form or other font substitution. Does anybody know a very primitive plain X editor which can choose it's font. Or maybe a font exploration tool for Linux?
|
|
|
|
|
Basic character set analyzer
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
By: mirek on Thu, 18 December 2008 11:34
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
By: mirek on Sat, 24 January 2009 14:00
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
By: mirek on Sun, 25 January 2009 10:56
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
By: mirek on Fri, 30 January 2009 08:53
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
By: mirek on Fri, 30 January 2009 09:28
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
By: mr_ped on Sat, 31 January 2009 14:18
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
By: mirek on Mon, 02 February 2009 09:40
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
By: mirek on Sat, 07 February 2009 14:53
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
By: mirek on Mon, 09 February 2009 08:47
|
|
|
Re: Basic character set analyzer
|
|
|
Re: Basic character set analyzer
By: mirek on Mon, 09 February 2009 08:42
|
Goto Forum:
Current Time: Thu May 16 00:08:45 CEST 2024
Total time taken to generate the page: 0.02417 seconds
|