Webfont Support

Is there a way to utilize web fonts (.woff files) in a GoJS diagram?

We have a custom font that contains all of our icons for use in our web client. We utilize the same icons in the GoJS diagram and would like to use these same icons rather than have to export them to a different format for use in the GoJS diagram.

It should be possible. I don’t know about .woff in theselves, but custom fonts do work in GoJS.

Here’s an example:

   <link href='https://fonts.googleapis.com/css?family=Indie+Flower' rel='stylesheet' type='text/css'>

...

    $(go.TextBlock,
      { margin: 6, font: "30px Indie Flower" },

Ahh, I guess I was over-thinking the process!