Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Draw was added to plugin/png.
Draw was added to plugin/png. [message #19212] |
Thu, 20 November 2008 14:44  |
cbpporter
Messages: 1427 Registered: September 2007
|
Ultimate Contributor |
|
|
I just noticed that Draw was added to plugin/png. Is this a good idea?
There are two features which I'm going to need ASAP (read latest by January, so I am very motivated to contribute here):
1. Image formats supported without X11 libs, for a server (this is a X only issue, since AFAIK one can call some GDI API from console windows applications). I haven't' investigated how this can be done, but and obvious solution would be to make an Image that is not dependent on Draw. So adding Draw seems a little counterintuitive. I doubt it is going to be easy to extract the X stuff from draw, so Image should be a better choice.
2. Make i18n text output under X as feature rich as Win32 (which is still pretty weak). I created a HasChar method for font (only X) and am slowly creating the list necessary for static analysis of fonts and the languages they provide. I should have the data available in abut a week and then we can decide which is the best method to determine at runtime the font. I also created a function that returns the script for a unicode character with only a few binary operations and a couple of if's, so I'm going for using that return value as an index for a font list.
|
|
|
Goto Forum:
Current Time: Tue May 13 11:33:07 CEST 2025
Total time taken to generate the page: 0.06598 seconds
|