fonts don’t work
-
Hello, I’m trying to use your great wordpress plugin on MAMP. Everything works beautifully except some minor details that can be overcome (eg I can’t use ‘id’ in the tables, but I solve with ‘class’). But what I can’t solve is the use of custom fonts, loaded in the style sheet with @font-face (formats: woff2, woff, truetype, svg). In my installation, even those loaded from the list in the plugin itself seem not to work (the fonts are also present in my system). Font-syle and font-size work perfectly. In practice, only the default font (DejaVu Serif Cond) is shown in the pdf. Otherwise I can only force with verdana or courier, calling the family without using quotes. I tried both writing the CSS in the plugin and loading the style sheet from the outside. All the rest of the styles are loaded correctly. My code, tested externally to the plugin, works. I am doing a lot of testing writing the code in different variations applying font-family in various ways: to the body, or div containers, or tags, or inline style, or class… but without success. Do you have any suggestions? For now it would also be great to be able to use the list of fonts you have already prepared (here my goal is ubuntu). Thanks for your attention.
- The topic ‘fonts don’t work’ is closed to new replies.