Hello,
I'm back again, hopefully this time i'll stay tuned on OS-dev for a longer time.
Windows supports a variety of character-sets, I was wondering how that is possible... is it possible in my OS to get chinese-letters from the video-card? And how can I use that in my OS?
I was just wondering how this is done, i'm not going to use it... or even try to use it because i'm a newbie.
Peter.
Windows character-set
Re:Windows character-set
In graphic mode you draw a font pixel by pixel yourself. Some libraries, e.g. freetype might help you with this.
Re:Windows character-set
Thanks for your reply. I thought DOS also supported character-sets?
Re:Windows character-set
By redefining the characters in the VGA card, as discussed in this very recent thread:Peter wrote: Thanks for your reply. I thought DOS also supported character-sets?
http://www.mega-tokyo.com/forum/index.p ... eadid=9803
Re:Windows character-set
for the case in windows, they can handle different character set if the encoding is in UNICODE and the proper font lib is installed too. For character sets other than UNICODE, you have to tell it what the default charset is so it will map automatically translate that for you.Peter wrote: Thanks for your reply. I thought DOS also supported character-sets?
For example, a simplified chinese character set based os can switch to tranditional chinese character set based os but most of the characters you see will be meaningless.