DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (409f3966645a)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
<!DOCTYPE HTML>
<html>
<head>
<title>src local with postscript names</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  
<style type="text/css">

body {
  margin: 50px;
  font-size: 24pt;
}

/* use full names */

@font-face {
  font-family: test-regular;
  src: local(HelveticaNeue), local(BitstreamVeraSans-Roman), local(FreeSans), 
       local(SwissA), local(DejaVuSans), local(ArialMT);
}

/* use Helvetica on the Mac, since Futura has no bold face on 10.4, 10.5 */
@font-face {
  font-family: test-bold;
  src: local(HelveticaNeue-Bold), local(BitstreamVeraSans-Bold), 
       local(FreeSansBold), local(SwissA-Bold), local(DejaVuSans-Bold),
       local(Arial-BoldMT);
}

@font-face {
  font-family: test-italic;
  src: local(HelveticaNeue-Italic), local(BitstreamVeraSans-Oblique), 
       local(FreeSansOblique), local(SwissA-Italic),
       local(DejaVuSans-Oblique), local(Arial-ItalicMT);
}

.regular { font-family: test-regular, serif; }
.bold { font-family: test-bold, serif; }
.italic { font-family: test-italic, serif; }

</style>
  
<script type="text/javascript">

</script>
  
</head>
<body>

<p class="regular">This should be a sans-serif face</p>

<p class="bold">This should be a bold sans-serif face</p>

<p class="italic">This should be an italic sans-serif face</p>

</body>
</html>