Re: code pages I think
- Posted by daryl_vdb at HOTMAIL.COM May 11, 2001
- 522 views
Looking good. Now, when I use a font dialog, I'll also need to know if it's SYMBOL_CHARSET or EOM_CHARSET etc. Oh well, thanks for improving it, and now I know I can (hopefully) use every font on my computer. Can't wait for the next version. Thanks again, Daryl van den Brink >Hello Daryl, > >----- Original Message ----- >From: <daryl_vdb at HOTMAIL.COM> >To: "EUforum" <EUforum at topica.com> >Sent: Friday, May 11, 2001 9:50 PM >Subject: Re: code pages I think > > > > > What if I made a windows euphoria editor using win32lib? Do you think it > > would use the "terminal" font? NO! And even worse, I found a true type >font > > that has the same set of characters, and do you think that would work? > > NO!!!! This has me stumped, as I used a font selection dialog box to >select > > the font, and it worked with every other font I tried. What is wrong >with > > the win32lib font routines? (this true type font is called "MS LindDraw" >and > > is included with microsoft office, but the characters don't join up > > vertically like the "terminal" font and is generally not as good fof >what >I > > wanted it for) > > > > This would be especially annoying if I distributed a program and people > > complained that they can't use any font they want to. BTW, I am not >making > > an editor, I just used it as an example. I know I have brought this up > > before, but I would like to see win32lib support *every* font, even if >it >is > > old, ugly and rarely used. > >This is a limitation with the setFont() routine in win32lib. The current >version assumes that only TrueType ANSI character fonts will be used. This >has been enhanced in the next version by expanding the attributes >parameter. > >Examples: > > setFont(id, "Marlett", 12, > { > Normal, > 0, > 0, > 0, > SYMBOL_CHARSET, > 0, <snip>