![]() |
Font mit Delphi Installieren
Hallo,
ist es möglich mit Delphi einen Font zu installieren, da das kopieren einer TTF Datei in das Fonts verzeichnis nicht ausreicht. Wenn ich Die Datei einfach reinkopiere und dann Öffne zeigt er mir nicht diesen Beispiel Text. Vielleicht gibts ja irgendwie Ne API oder Delphi Funktion. hab schon in der OH und im PSDK gesucht aber nix gefunden. mfg Lordcroc |
Re: Font mit Delphi Installieren
Wie wäre es mit: AddFontResource?
Code:
int AddFontResource(
LPCTSTR lpszFilename // pointer to font-resource filename ); Parameters lpszFilename Pointer to a null-terminated character string that contains a valid font file filename. The filename may specify either a .FON font resource file, a .FNT raw bitmap font file, a .TTF raw TrueType file, or a .FOT TrueType resource file. |
Re: Font mit Delphi Installieren
@IcyT
Danke werde ich gleich ma ausprobieren, muss ich aber trotzdem die TTF DAtei ins Fontsverzeichnis kopieren oder kann ich darauf verzichten? |
Re: Font mit Delphi Installieren
Funktioniert Supi Danke
|
Re: Font mit Delphi Installieren
Gern geschehen :-D
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:04 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz