blob: bcfc5085c05d18b87b5b745003fa1ffb5a5873c7 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<p>This test makes sure that user-installed fonts work correctly when drawn into canvas. The test passes if you see a big solid black square below (and not an @ sign).</p>
<canvas id="canvas" width="300" height="300"></canvas>
<script>
let context = canvas.getContext("2d");
context.fillRect(0, 0, 300, 300);
</script>
</body>
</html>