[lazarus] Fonts 'n stuff

Shane Miller SMiller1 at stvgb.org
Wed Nov 10 09:11:04 EST 1999


I'm fine with that.
Want to change it?  :-)  
Feel free to make that modification. 
Of course, this willl probably cause a problem when loading a FONT from the TFOntDialog.  That will have to be changed a little so it doesn't simply assign the TFont.Name to the Linux name.

Shane


>>> "Marc Weustink" <Marc.Weustink at cuperus.nl> 11/10/99 07:15AM >>>
Hi,
In examinig why mwCustomEdit dumps as it is created in main.pp, I found some
things about Fonts.

In creating a font, it fontname (in GTK) is set to
TFont.Name := '-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1';

Sure, this is a *nix font name, but I think this is not the name we should
use, since all formatting info is already in there. IMHO it should be split
up like:

TFont.Name := 'helvetica';
TFont.Style := [fsBold];
TFont.Size := 12;
and so on.

(This wouldnt solve the problem since I don't have Courier NEW, but it will
bring us closer to a solution)

Any thoughts about this.

Marc

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list