pandoc can embed fonts and stylesheets on export which apostrophe uses — however it has hardcoded paths for the fonts which only work in the flatpak version, so we need to substitute them. (cherry picked from commit 4e1acab880f0c27741810754c237dfd50e9be5f8)