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?
Posted on 2002-10-28 02:29:56 by hosam_shahin
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
Posted on 2002-10-28 02:44:18 by hutch--
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?
Posted on 2002-10-28 03:48:26 by hosam_shahin
hosam_shahin:
there are 2 ways to do it
1. make a bitmap with all symbols and BitBlt only the needed chars - oldskool way
some info here
2. use a hidden font hutch suggested - Windows way - easier
Nan source here

hope it helps somehow,
TBD
Posted on 2002-10-28 04:08:40 by TBD
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\
Posted on 2002-10-28 05:24:50 by mob
:) It helps!
thanx:alright:
Posted on 2002-10-28 18:48:42 by hosam_shahin