sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    How to use custom fonts that are not installed?

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 1.4k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • renderizaR Offline
      renderiza
      last edited by

      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?

      [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

      1 Reply Last reply Reply Quote 0
      • TIGT Online
        TIG Moderator
        last edited by

        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-book

        PS: It's 'custom' πŸ˜‰

        TIG

        1 Reply Last reply Reply Quote 0
        • renderizaR Offline
          renderiza
          last edited by

          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!

          [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement