Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Livro: Newsreader font is no longer loaded #5705

Closed

Description

@markhowellsmead

Steps to replicate

The Newsreader font is still defined in CSS but the font file/s are no longer loaded.

Result

The website typography appears in the standard browser fallback serif font.

Expected

The Newsreader fonts in the assets folder should be loaded by the theme.

Activity

  1. jffng commented on Mar 18, 2022

    @jffng
    Contributor

    Thanks for the report, we just made the switch to load the fonts via theme.json since Gutenberg was upgraded, my guess is this is an artifact of some caching.

    Newsreader is loading on the demo site, so I'm going to close this:

    Screen Shot 2022-03-18 at 11 44 57 AM

  2. markhowellsmead commented on Mar 21, 2022

    @markhowellsmead
    Author

    @jffng Font still not loading even with caching disabled on the site and it's running the latest version of the theme (1.0.9). There is no reference in the source code to the WOFF files. If I look at the documentation for theme.json, there is no reference that the src attribute is supported for fontFamilies.

  3. jffng commented on Mar 21, 2022

    @jffng
    Contributor

    The Webfonts API was recently added WordPress/gutenberg#37140, and the theme.json documentation needs to be updated accordingly. This feature is not in core yet, are you running the Gutenberg plugin?

  4. markhowellsmead commented on Mar 21, 2022

    @markhowellsmead
    Author

    No, I'm using the Theme directly from https://wordpress.org/themes/livro/. The Gutenberg plugin is highly unstable and often breaks functionality, so it's not possible to use it on a production site. I'm guessing that this issue is happening for the 200+ other non-WordPress.com users too, unless they're using the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions