If you do a cpoy of those fonts on a NT machine, they will still be looking
for an entry in the registry, the key being
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Fonts
maybe that will account for the 20% you are failing?
Tony Sinclair
Holliday Group Limited
Christchurch
New Zealand
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 17 March 2000 09:32
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Fonts
>
> I use a couple of "fancy" fonts in my app and simply distribute the .TTF
> with my app. I just copy it into the fonts directory BUT I notice on 20%
> of the installs I have done this still doesn't work. I have to install
> fonts from the control panel even though they are already there and it's
> fine after that. Is there an Win API call to do this ? Still, all installs
> are done on site so this isn't really a problem for me. In essence,
> distributing the fonts your app requires shouldn't be a problem, should it
> ?
>
> Regards
> Andrew
>
> -----Original Message-----
> From: Dennis Chuah [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, March 17, 2000 9:01 AM
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Fonts
>
>
> I'm afraid GDI will pick the "nearest" font and use that. You stand
> a
> better chance at picking the 6 lotto balls than figuring out which
> font GDI
> will substitute it for. If you must use a fancy font, you will
> probably
> have to get a redistributable font and embed that into your
> application (as
> a resource perhaps), and install that font during setup. Having
> said that,
> I normally go around deleting fonts that setup program installs into
> my
> machine.
>
> Regards,
> Dennis.
>
> > Just a Newbie question:
> >
> > If you use a unusual font with a TLabel, will another
> > computer without the
> > font be able to view it, or will it appear as the default?
> > i.e. System etc.
>
>
> --------------------------------------------------------------------------
> -
> New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz