Skip to content

Instantly share code, notes, and snippets.

@c-spencer
Created May 31, 2011 09:07
Show Gist options
  • Save c-spencer/1000213 to your computer and use it in GitHub Desktop.
Save c-spencer/1000213 to your computer and use it in GitHub Desktop.
Certain webfonts not rendering right size in firefox
<!DOCTYPE html>
<html>
<head>
<link href='http://fonts.googleapis.com/css?family=Crimson+Text:regular,regularitalic,bold,bolditalic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Maven+Pro:regular,500,bold,900' rel='stylesheet' type='text/css'>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
tex2jax: {inlineMath: [["%%","%%"]]}
});
</script>
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
</head>
<body>
<p style="font-family: 'Crimson Text';">I am some %%\sqrt{math}%%.</p>
<p style="font-family: 'Maven Pro';">I am some %%\sqrt{math}%%.</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment