Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » Basic character set analyzer
Re: Basic character set analyzer [message #19920 is a reply to message #19918] |
Mon, 02 February 2009 11:19 |
cbpporter
Messages: 1401 Registered: September 2007
|
Ultimate Contributor |
|
|
luzr wrote on Mon, 02 February 2009 10:40 | Well, my original plan was to perform composition if both glyphs are available in the font (current algorithm), then look into other fonts to get the complete required glyph...
Mirek
|
Yes, I thought about that but I tried with this method because this way at least the basic character will look the same way as the font. Maybe it's worth a shot to try it your way also.
But anyway, we should get to the modifications in Draw to handle these algorithms. Nothing must be changed, but some methods must be added.
The first one is HasChar from the first post in this thread (I no longer need HasCharRange and CharRangeIsEmpty). So I propose either add HasChar, or if you have a better method to do it (maybe one for Win also), I'm opened for suggestions.
PS: HasChar seems pretty fast. I run it for every font on application startup for code ranges from zero to the end of Arabic range, and I didn't notice any slowdown, so I guess it is fast enough to render all the text that can appear on screen at once. At least one call for HasChar must be made for every character that will be printed, so maybe later we can cache results somewhere in home folder.
|
|
|
|
|
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: Wed May 15 10:50:46 CEST 2024
Total time taken to generate the page: 0.02995 seconds
|