From: Chris Lattner Date: Sun, 6 Apr 2008 04:37:21 +0000 (+0000) Subject: fix css font name, patch by Cédric Venet X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ccb91abc37700e646139f49c448ccdbf14eb575;p=clang fix css font name, patch by Cédric Venet git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49260 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Rewrite/HTMLRewrite.cpp b/lib/Rewrite/HTMLRewrite.cpp index c832eff46d..345380f29a 100644 --- a/lib/Rewrite/HTMLRewrite.cpp +++ b/lib/Rewrite/HTMLRewrite.cpp @@ -180,7 +180,7 @@ void html::AddHeaderFooterInternalBuiltinCSS(Rewriter& R, unsigned FileID) { << " body { font-family:Helvetica, sans-serif; font-size:10pt }\n" << " h1 { font-size:12pt }\n" << " .code { border-spacing:0px; width:100%; }\n" - << " .code { font-family: \"Andale Mono\", fixed; font-size:10pt }\n" + << " .code { font-family: \"Andale Mono\", monospace; font-size:10pt }\n" << " .code { line-height: 1.2em }\n" << " .num { width:2.5em; padding-right:2ex; background-color:#eeeeee }\n" << " .num { text-align:right; font-size: smaller }\n"