Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Draw::WrawText to paint ASCII sequence
|
Re: Draw::WrawText to paint ASCII sequence [message #25782 is a reply to message #25779] |
Thu, 11 March 2010 15:26   |
cbpporter
Messages: 1427 Registered: September 2007
|
Ultimate Contributor |
|
|
AFAIK, painting ASCII characters is not very easy under Windows. You need a font that supports these characters. Wingdings does this, but with strange characters, not he ones you want. Bytes over 128 are extended ASCII and do not map to Unicode the same as in e.g. DOS and are used for the legacy code pages under modern windows if you application is not Unicode. If your setting is some European language, D1 91 will probably be something significant for you language in such application.
But in U++ it will Unicode. But most Extended Original characters are found in Unicode.
Try box drawing and block elements.
PS: If you send me more precise info about what you want your glyphs to look like, I can give you the codes. 91 is private use non glyph, D1 is Ñ in Unicode.
[Updated on: Thu, 11 March 2010 15:29] Report message to a moderator
|
|
|
Re: Draw::WrawText to paint ASCII sequence [message #25783 is a reply to message #25782] |
Thu, 11 March 2010 15:37   |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |

|
|
Thank you for quick response.
In my case there is no need to paint EXACT characters as they look in ASCII. Instead I just want to draw ANY suitable characters. What is really needed is painting 1 character per 1 byte of String (different characters for different bytes) instead of painting 1 character from a sequence of bytes. That is the primary task now.
Also I'm unable to use Windows fonts because I want to keep application cross-platform.
[Updated on: Thu, 11 March 2010 15:38] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:34:55 CEST 2025
Total time taken to generate the page: 0.02348 seconds
|