WildByDesign Posted 11 hours ago Posted 11 hours ago 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 10 hours ago Solution Posted 10 hours ago (edited) Here you should find one way how to embed your font (Display Font from Memory): Edited 10 hours ago 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 8 hours ago Author Posted 8 hours ago 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