Hello,
This is my first post the python win32 programming list, so hello.
I'm trying to figure out a way to tell where a Reparse Point
(JUNCTION) is really pointing programmatically. I can determine
pretty easily a folder is a Junction
(win32api.GetFileAttributes(folder)==1040), but from
I'm trying to use GDI+ (via ctypes) to draw text.
It works for some fonts but messes up with others.
Using Times, for example, it seems to be using the
glyphs for one character earlier in the code sequence,
so that Times comes out as Shldr -- except that it
uses the widths of the original
Greg Ewing wrote:
I'm trying to use GDI+ (via ctypes) to draw text.
It works for some fonts but messes up with others.
Using Times, for example, it seems to be using the
glyphs for one character earlier in the code sequence,
so that Times comes out as Shldr -- except that it
uses the widths
Tim Roberts wrote:
Sadly, I see Times Italic 48 in black-on-yellow.
Do you really have a font called Times?
I'm not sure, but I can use the name Times with
plain GDI and it works fine, so it seems to be able
to find something equivalent.
But I'll try using the exact name and see if it
works
Turns out I *sort* of have a font called Times... I've got
Times Bold, Times Italic and Times Bold Italic, but
no plain Times!
Times New Roman works fine, though, and it seems that the
same is true of all the other fonts for which there is a
full set of variations.
So it looks like I'll be