sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

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