Does anyone know what's in the rear of text display on Windows?
ie, How does individual characters output in such a recognized way...
I want to be in knowledge of how to draw text from scratch..
If, for example I want to display Thai characters glyphs on a system not supporting it..
What do I need to implement? What are the bearable difficulties to overcome?
ie, How does individual characters output in such a recognized way...
I want to be in knowledge of how to draw text from scratch..
If, for example I want to display Thai characters glyphs on a system not supporting it..
What do I need to implement? What are the bearable difficulties to overcome?
hosam,
there are a couple of ways that come to mind, see if you can find a true type font that has the character set you need, I gather they are in THAI versions of windows.
Alternatively you can do it the old way and build a bitmap font, some older resource editors can do that.
I don't think there is a way to reliably get below the techniques that Windows uses to display text, it is usually buried in the operating system somewhere and will vary from version to version.
Regards,
hutch@movsd.com
there are a couple of ways that come to mind, see if you can find a true type font that has the character set you need, I gather they are in THAI versions of windows.
Alternatively you can do it the old way and build a bitmap font, some older resource editors can do that.
I don't think there is a way to reliably get below the techniques that Windows uses to display text, it is usually buried in the operating system somewhere and will vary from version to version.
Regards,
hutch@movsd.com
I am completely missing this issue..
How can I embed a special TTF into my program source?
Then select the font and use it?
I want it to be used only for my program and not used by
other applications...
My main objective is to implement what is like an internal font table
and map the keypresses to screen outputs(glyphs) from one of the fonts (defined)
in the application..Dealing within the usual CreateFont, DrawText..etc
Is this apparently possible?
How can I embed a special TTF into my program source?
Then select the font and use it?
I want it to be used only for my program and not used by
other applications...
My main objective is to implement what is like an internal font table
and map the keypresses to screen outputs(glyphs) from one of the fonts (defined)
in the application..Dealing within the usual CreateFont, DrawText..etc
Is this apparently possible?
you can also do it with device independant bitmaps (dip)...
that method allows you to plot pixels with a simple MOV , PIXELCOLOR
like back in dos days. you could store all the characters you need in one-color
bit masks. i think thomas wrote a nice example... it was a little cd player or
something like that, you should check it out. you can find it in you masm folder
under \example6\lcd\
that method allows you to plot pixels with a simple MOV , PIXELCOLOR
like back in dos days. you could store all the characters you need in one-color
bit masks. i think thomas wrote a nice example... it was a little cd player or
something like that, you should check it out. you can find it in you masm folder
under \example6\lcd\
:) It helps!
thanx:alright:
thanx:alright: