Jump to content
Sign in to follow this  
madflame991

How to write with custom font?

Recommended Posts

madflame991

I searched the forum, but I had no luck... and that's why I'm posting

GUICtrlSetFont(-1,12,400,0,'D:\bla\blabla.ttf')

Is there any simple way of doing this?

I imagine that I need administrative rights to install a font into the Windows\Fonts directory

Share this post


Link to post
Share on other sites
madflame991

I'm not sure if it helps you but look at RichEdt UDF (in Examples forum)

...that's a bit too complicated for me. I'm surprised that not even you know a simple solution

question remains open

thx

Share this post


Link to post
Share on other sites
wraithdu

How about using AddFontResource to temporarily add the font to the system while your app is running, then RemoveFontResource when you're done?

Share this post


Link to post
Share on other sites
madflame991
martin

...sorry, I'm dumb

where do I find those functions?? I searched the help file with no luck :)

Use google to search and you'll find them straight away.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
CosmicDan

I would also like to know this, the temporary installation method I think would only work for administrators or others with specific user rights, so that doesn't help me.

I think it's just not an implemented feature of AutoIt. Funny how HTML can do it though haha. Oh well, i'll just stick to using bitmaps instead =P

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×