KaFu Posted February 16, 2019 Posted February 16, 2019 "Font Awesome" from memory, coded by KaFu 16-Feb-2019, heavily based on code by UEZ otf "Font Awesome" desktop font files downloaded fromhttps://fontawesome.com/how-to-use/on-the-desktop/setup/getting-started encoded and embedded into the script using UEZ - File to Base64 String Code Generator v1.20 Build 2015-01-20 (embed your files easily) plus his excellent example "Display Font from Memory" There are three free font files from Font Awesome. Copy the relevant parts per font from the example to your script. Search here for the icon you want, when you click the single icon you'll find the corresponding Unicode to use for this icon on the top-left. Font Awesome - Solidhttps://fontawesome.com/icons?d=gallery&s=solid&m=free Font Awesome - Regularhttps://fontawesome.com/icons?d=gallery&s=regular&m=free Font Awesome - Brandshttps://fontawesome.com/icons?d=gallery&s=brands&m=free Download example script Font Awesome from Memory_v0003.zip Enjoy OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
argumentum Posted February 16, 2019 Posted February 16, 2019 Thanks for sharing, and now, a request. There is https://www.autoitscript.com/forum/topic/183610-fontawesome-udf-v10-easy-to-add-cool-icon-text-to-your-project/ and https://www.autoitscript.com/forum/topic/181997-font-icon-udf/. There is also https://www.autoitscript.com/forum/files/file/399-svg2png/ The request is to have the SVG to load from memory to a control. It'd be easier to find, and would take less space Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
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