Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<meta charset="utf-8">
<title>Operator glyph resolved from a fallback font (reference)</title>
<script src="/mathml/support/fonts.js"></script>
<style>
@font-face {
font-family: hasminus;
src: url("/fonts/GentiumPlus-R.woff"); /* Contains U+2212 MINUS SIGN. */
}
.operator {
font-size: 50px;
/* Render the same minus directly from the font that provides the glyph. */
font-family: hasminus;
}
</style>
<script>
window.addEventListener("load", () => {
loadAllFonts().then(() => document.documentElement.classList.remove("reftest-wait"));
});
</script>
</head>
<body>
<p>Test passes if there are two minus signs below.</p>
<math><mo class="operator">−</mo></math>
<math><mo class="operator">−</mo></math>
</body>
</html>