pede
asked on
Getting the right font
Hi,
How can I make sure that the font I am using in my application always will be available on other computers? Should I link it as a ressource? And how do I do that?
I am using Delphi 1.0.
Thanks,
/Pede
How can I make sure that the font I am using in my application always will be available on other computers? Should I link it as a ressource? And how do I do that?
I am using Delphi 1.0.
Thanks,
/Pede
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
viktor,
I don't think this works in D1.
Besides, Pede asked how to make it so that on all PC's his own font-type (e.g. Arial, Roman, ... own made...) will be used.
Zif.
I don't think this works in D1.
Besides, Pede asked how to make it so that on all PC's his own font-type (e.g. Arial, Roman, ... own made...) will be used.
Zif.
ASKER
Yep - this is what I was looking for :)
/Pede
/Pede
And here is the line of code you need...
Form1.Font.Pitch := fpVariable;
Set this property to all form's Font property and there you have it... It updates the appropriate fonts depending on the resolution of the computer...
Hope this helps....
Cheers,
Viktor