L
Lloyd Dupont
I'm using ScriptTextOut function to do some styled international text
drawing char by char (glyph by glyph dare I say), along a curves or things
like that.
Anyway I just discovered ScriptTextOut only display black glyph, regardless
my current HPEN or HBRUSH.
(Note: I cannot use ExtTextOut as char by char drawing is losing glyph
replacement)
So I have 2 question:
-1. is there a way to select a color for the output of ScriptTextOut?
-2. I was thinking to draw to a gray scaled HBITMAP as a drawing mask, brush
it and then render the result.
Any advice on how to do that using plain GDI / win32 call?
drawing char by char (glyph by glyph dare I say), along a curves or things
like that.
Anyway I just discovered ScriptTextOut only display black glyph, regardless
my current HPEN or HBRUSH.
(Note: I cannot use ExtTextOut as char by char drawing is losing glyph
replacement)
So I have 2 question:
-1. is there a way to select a color for the output of ScriptTextOut?
-2. I was thinking to draw to a gray scaled HBITMAP as a drawing mask, brush
it and then render the result.
Any advice on how to do that using plain GDI / win32 call?