Skip to content

Support WordPress Font Library fonts in Style Manager font controls #56

@georgeolaru

Description

@georgeolaru

Summary

LT users want to manage custom or self-hosted fonts through WordPress core (or compatible font providers) and have those fonts show up in Style Manager font controls, so Fonto becomes optional instead of mandatory.

Why

A recent Felt LT support request asked for native WordPress font management, or at least compatibility with another font manager, because custom fonts uploaded outside Fonto do not appear in LT typography pickers today.

Current behavior

  • LT typography controls are defined as Style Manager fields in ().
  • Style Manager currently builds its font sources from:

    • bundled Google fonts
  • integrates by pushing its fonts into .
  • There is no equivalent provider for WordPress core Font Library / core-registered custom fonts, so fonts managed outside Fonto are invisible to SM controls.

Requested outcome

Add a WordPress-core font provider to Style Manager so SM font controls and loaders can consume fonts registered outside Fonto.

Acceptance criteria

  • Fonts added through the WordPress Font Library appear in Style Manager controls.
  • Selected core-managed fonts load correctly in the frontend, Customizer, and block editor.
  • Variant metadata is normalized into the same structure SM already expects (, , source/load info).
  • Compatible third-party plugins that register fonts through core APIs should work automatically where possible, without hardcoding a one-off integration per plugin.
  • Fonto remains supported, but it is no longer the only way to use custom fonts in LT themes.

Implementation notes

Relevant code paths:

This likely pairs with a companion change so LT themes stop suppressing the native Font Library workflow once SM can consume those fonts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions