• philbee

    (@philbee)


    Currently struggling a bit to understand how font management is supposed to work, as some fonts I downloaded / installed locally in Appearance > Editor > Styles > Typography > Fonts were installed in ~/wp-content/uploads/fonts/ (using some weird filenames), and some fonts are installed and used in ~/wp-content/themes/mytheme/assets/fonts/ (using font names as file names).

    All of the fonts are used in the theme, all of them are listed under “Installed Fonts” (none active) and “Theme Fonts”.

    When I use Create Block Theme to write my changes to the theme files and open theme.json, some fonts use e.g. “src”: “https://mysite.test/wp-content/uploads/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1y4iY1M2xLER.woff2”, while others use the much more portable

    “src”: [
    “file:./assets/fonts/fuggles/fuggles-400-normal.woff2”
    ]

    Is there a way to get all fonts to be copied to Theme/assets/fonts and use the relative pathname besides deleting the “Installed Fonts” and re-installing the same fonts?

    Thanks for an incredibly useful plugin, which is getting even better with each release, by the way!

  • You must be logged in to reply to this topic.