How to use custom fonts that are not installed?
-
Hi,
I am creating a user interface with
view.draw2dand since drawing images is not easy I want to use custom fonts that look like icons. Here is an example... Custom FontCan I load a custom font provided with the plugin even though it's not installed on user's computer?
-
The easiest way is to get the user to install it separately.
Otherwise you need to devise 'system' calls to do it - different on PC and MAC...
https://blogs.technet.microsoft.com/rspitz/2010/09/25/how-to-install-a-font-from-the-command-line-on-windows-7/
https://apple.stackexchange.com/questions/240381/installing-fonts-from-terminal-instead-of-font-bookPS: It's 'custom'

-
Hi,
I was not expecting it to be that difficult and don't think its practical anymore to use custom fonts on my plugins.
Maybe I'll start looking into drawing images again.

Thanks for your help!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement