Your function clean_set_fontwww($css) seems to be looking for setting:fontwww where your CSS has [[font:OpenDyslexic]], you should change the latter in your CSS to match the former.
Generally to track down what's going wrong it's best to look at the CSS that gets produced, and then search for OpenDyslexic to see how it looks after it's been processed by Moodle.
Also, though probably just a typo .h2 and h2. are incorrect, you'd just use h2 (without any dots) in your CSS to target h2 tags.
David Scotson
Posts made by David Scotson
Is it perhaps because of using $CFG->theme rather than current_theme()? (Which is now supposed to be $PAGE->theme->name).
I think that might have been what was causing me trouble anyway.
I think that might have been what was causing me trouble anyway.
This is the Feedback Module, yes?
If so I filed a bug last week and it appears to already have a patch:
https://tracker.moodle.org/browse/MDL-40746
If so I filed a bug last week and it appears to already have a patch:
https://tracker.moodle.org/browse/MDL-40746
There's a few related issues already, the most directly relevant one is: MDL-37231 "Make the new SVG icons into an icon font", which in turns links to some, but not all, of the others.
Most of the discussion about Font Awesome seems to have happened in various tangential bugs like MDL-39138, so perhaps the time is right for a more direct "Use Font Awesome for all icons" issue to be opened. So here it is: MDL-40759
Most of the discussion about Font Awesome seems to have happened in various tangential bugs like MDL-39138, so perhaps the time is right for a more direct "Use Font Awesome for all icons" issue to be opened. So here it is: MDL-40759