microsoft/SandDance

[bug] fontFamily viewerOptions doesn't work

charnould opened this issue · 0 comments

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Expected Behavior

fontFamily should allow modifying canvas font-family.

Current Behavior

It doesn't work.

Steps to Reproduce

  1. Clone public repo: https://github.com/charnould/sanddance-bug-1.git
  2. Open index.html with Liver-server to avoid CORS issue
  3. See that canvas font is sans serif
  4. See that source code indicates fontFamily: "Monospace" --> That's the bug!

Expected result

Canvas font should be Monospace