News for hackers. Stuff that matters.
Re:Programming Fonts – Test Drive by me_bx on Monday January 21, 2019 @05:48AM (#18959392)
Reporting a bug here as I see that the author is around:

For some reason, switching fonts does not work on my browser.

Firefox 64.0.2, windows 10 64 bits

No error message in the console, and ublock origin plugin didn't block anything on the page.

Opening the same page in Google Chrome worked well: font changes in the demo code whenever user clicks on a font in the list.

Re:Programming Fonts – Test Drive by strainer on Monday January 21, 2019 @08:53AM (#18960355)
Likely this setting has been disabled: View > Preferences > Language & Appearance > Advanced > Allow pages to choose their own fonts...
Re:Programming Fonts – Test Drive by me_bx on Monday January 21, 2019 @09:49AM (#18960703)
Turns out it was something like this.

The `Allow pages to choose their own fonts` option was enabled. However, a customization in my userContent.css prevented the font changes to be applied:

    pre {
        font-family: "DejaVu Sans Mono" !important;
    }
Starting Firefox with a new profile showed that the site works correctly.
Re:Programming Fonts – Test Drive by davman on Monday January 21, 2019 @05:50AM (#18959405)
Working for me on the same environment