CSS font-family


#1

I notice that, when I export to PDF, Stackedit seems to ignore my font-family style. It does allow me to use font-size just fine, but any attempt to set a serif font doesn’t seem to work.

I created a custom template that includes:

<style> 
        body {
          font-size: 18pt;
          font-family: Charter, Gentium, serif;
        } 
</style>

The resulting text size is correct, but the font face is unchanged. Is there a way to get serif fonts in the output? I find Charter or Gentium more pleasant to read.