Skip to content
Browse files

CSS: Hack font order so Prince can fallback OK

Without DejaVu Sans, the msttcorefonts took over, and the glyphs we use for
callouts rendered as '?' in the PDF
  • Loading branch information...
1 parent 49ac20a commit b44dd84324b8236ea382c04f091bb6d1b3105429 @runpaint committed
Showing with 4 additions and 1 deletion.
  1. +3 −0 templates/pdf.css
  2. +1 −1 templates/web.css
View
3 templates/pdf.css
@@ -287,3 +287,6 @@ a{text-decoration:none}
a:hover{color: steelblue; border-bottom:1px solid}
a:link,.w a{border-bottom:1px dotted}
a:visited{color:darkorchid}
+h5,h6,blockquote {
+ font-family: "Gill Sans", "Gill Sans MT Pro", "DejaVu Sans", sans-serif;
+}
View
2 templates/web.css
@@ -51,7 +51,7 @@ span.fn a:link {
}
@media screen, handheld {
- html { margin: 1em; font: 14px "Gill Sans", sans-serif; }
+ html { margin: 1em; font: 14px "Gill Sans", "Gill Sans MT", "DejaVu Sans", sans-serif; }
h1 { margin-bottom: 0.5em }
div.frontcover, div.backcover, div.halftitlepage, div.titlepage, div.imprint,
div.dedication, div.foreword, div.toc, div.index { display: none }

0 comments on commit b44dd84

Please sign in to comment.
Something went wrong with that request. Please try again.