How to use custom fonts that are not installed?

How to use custom fonts that are not installed?

Postby renderiza » Tue Oct 03, 2017 4:27 pm

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 Font

Can I load a custom font provided with the plugin even though it's not installed on user's computer?
0
User avatar
renderiza 
Premium Member
Premium Member
 

Re: How to use custom fonts that are not installed?

Postby TIG » Tue Oct 03, 2017 5:28 pm

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/rsp ... windows-7/
https://apple.stackexchange.com/questio ... -font-book

PS: It's 'custom' ;)
0
TIG
User avatar
TIG 
Global Moderator
 

Re: How to use custom fonts that are not installed?

Postby renderiza » Tue Oct 03, 2017 6:12 pm

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!
0
User avatar
renderiza 
Premium Member
Premium Member
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Developers' Forum

Who is online

Users browsing this forum: No registered users and 13 guests

Visit our sponsors: