Jump to content

Recommended Posts

Posted

image.png.622cbbad8e53239df1a9a1f8919187f9.png

"Font Awesome" from memory, coded by KaFu 16-Feb-2019, heavily based on code by UEZ

otf "Font Awesome" desktop font files downloaded from
https://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 - Solid
https://fontawesome.com/icons?d=gallery&s=solid&m=free

Font Awesome - Regular
https://fontawesome.com/icons?d=gallery&s=regular&m=free

Font Awesome - Brands
https://fontawesome.com/icons?d=gallery&s=brands&m=free

 

Download example script

Font Awesome from Memory_v0003.zip

 

Enjoy  :thumbsup:

 

Posted

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.
autoit_scripter_blue_userbar.png

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...