WildByDesign Posted June 28 Posted June 28 I am trying to embed a font file in my compiled binary with the following: #AutoIt3Wrapper_Res_File_Add=embed\Aptos-Mono.ttf, rt_rcdata, aptos_ttf And trying to load it temporarily (per-session) with various iterations of the following: _WinAPI_AddFontResourceEx(@ScriptFullPath & ", aptos_ttf", $FR_PRIVATE) But I can't seem to get that to work and I've tried a few different things with the _WinAPI_AddFontResourceEx line. I know that I could FileInstall and load it easy that way, but I would prefer to load it directly from the compiled binary resources if possible. Thank you for any help or ideas with this.
Solution UEZ Posted June 29 Solution Posted June 29 (edited) Here you should find one way how to embed your font (Display Font from Memory): Edited June 29 by UEZ WildByDesign 1 Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
WildByDesign Posted June 29 Author Posted June 29 1 hour ago, UEZ said: Here you should find one way how to embed your font (Display Font from Memory): This is perfect. Thank you.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now