Hello, Which guidelines do you use to choose TFont.Name? Specially because you either distribute the font with the application or you have no guarantee it will exists in the system in the chaotic universte of cross-platform development.
Different libraries have different policies about choosing the correct font if the desired one isn't present. Qt docs say that it will try to choose the best font using some kind of the logic on the name. Windows docs say nothing, so I guess it just falls to default, unless TFont.Pitch was assigned, when it tryes to find some characteristics. Any ideas about Carbon? Gtk2 should also try some logic I think ... The problem is that with this differences it gets very hard to get guidelines about how to use this property. Maybe suppose the worse case, if unavailable it will follow to default? thanks, -- Felipe Monteiro de Carvalho _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus