Saturday, October 28, 2023

request for new font in Moodle instance

Following a request to install a new font in a Moodle instance, I did a local install with

sudo mkdir -p /user/share/fonts/googlefonts 
cd /usr/share/fonts/googlefonts
sudo unzip -d . ~/Tangerine.zip
sudo fc-cache -fv
Links - Using web fonts -
Using local installation -

 
But then it was reported that this font is not seen as one of the options when editing an element in the custom certificate plugin.
 
Certificate builder needs fonts in a separate format?
 
Tried purging cache, purging cloudflare cache etc, but still not seen. 
 
Not the manual method, but this plugin method in the up-to-date docs.


Finally, trying the TCPDF fonts plugin
As screenshot shows,
Dashboard - Site Administration - Server - TCPDF Fonts
 
After initialization and adding the font that way, works fine - did not have to purge caches etc.
 
 

No comments:

Post a Comment