Skip to content

Commit

Permalink
CSS: Hack font order so Prince can fallback OK
Browse files Browse the repository at this point in the history
Without DejaVu Sans, the msttcorefonts took over, and the glyphs we use for
callouts rendered as '?' in the PDF
  • Loading branch information
runpaint committed May 6, 2010
1 parent 49ac20a commit b44dd84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions templates/pdf.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion templates/web.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit b44dd84

Please sign in to comment.