The locally installed font should be listed under "Fonts from Folder".
The only font listed under "Fonts from Folder" is "Roboto (local)".
Joomla 4.3.3 running on Apache/2.4.41 (Ubuntu) with PHP Version 8.0.29 (FPM/FastCGI).
BTW, I did add "woff2" to Templates: Styles (Site) > Templates > Valid Font Formats. IMHO this should included in the standard settings.
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
There is no functionality to dynamically populate that list from the fonts in the folder. It would be a good addition
You could create a child template and then edit the "useFontScheme" field in the templateDetails.xml file: https://github.com/joomla/joomla-cms/blob/4.3-dev/templates/cassiopeia/templateDetails.xml#L90-L104
Thanks @brianteeman, @richard67! Your points explain the situation and point me to a work-around.
@sm8ps You could create a css file based on this one https://github.com/joomla/joomla-cms/blob/4.3-dev/build/media_source/templates/site/cassiopeia/scss/global/fonts-local_roboto.scss and use it in your child template's XML in the same way.
Can we close this issue now as it is not a core bug?
Sure! Done.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-07-20 11:16:16 |
Closed_By | ⇒ | sm8ps |
Added additional comment about font format "woff2"
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41193.