Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Fontdatei (font.ttf) in eine DLL packen? (https://www.delphipraxis.net/80781-fontdatei-font-ttf-eine-dll-packen.html)

smart 15. Nov 2006 09:26


Fontdatei (font.ttf) in eine DLL packen?
 
Hallo Alle!

Kann man eine Fontdatei (font.ttf) in eine DLL packen? wen ja, wie und vorallen wie ruft man sie dann auf?

Gruß
Heike

SirThornberry 15. Nov 2006 09:57

Re: Fontdatei (font.ttf) in eine DLL packen?
 
in eine DLL packen geht ohne Probleme (entweder als Ressource oder Per Componente welche eine Datei mit in die DFM packt).
Allerdings wüsste ich nicht wie man einen Font direkt aus dem Speicher lädt, so weit ich weiß muss die Datei dann auf der Platte liegen damit diese mit AddFontRessource geladen werden kann.


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:14 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz