How to use custom fonts that are not installed?
-
Hi,
I am creating a user interface with
view.draw2d
and 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!
Advertisement