You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While troubleshooting this problem, I created a custom PDF Style with the correct font identified, but either this font is not installed on the Pressbooks server or it is named differently, because this did not generate a PDF export using Alegreya, but instead defaulted again to Times New Roman. this custom style did not work to solve the problem:
Upon further troubleshooting, when I place the Alegreya fonts on my own web server and direct the “src: url” to that location, the PDF outputs correctly with Alegreya as indicated.
The obvious conclusion is that the Alegreya font is not installed in the PB “fonts” directory, and the code which references it therefore fails to execute and substitutes the standard serif font, Times New Roman, in its place."
Description
We can set Alegreya as the Header font under Theme Options > PDF Options, but in an exported PDF, the Header font shows up as Times New Roman. Reported here: https://pressbooks.community/t/alegreya-not-working-in-pdf-export-option/1881
Replicated on a test book with the McLuhan theme. Also replicated with the Malala theme. The issue appears to be Alegreya-specific.
Steps to Reproduce
Expected behavior: Alegreya is used as the Header font in the exported PDF.
Actual behavior: Times New Roman is used as the Header font.
The text was updated successfully, but these errors were encountered: