Skip to content

Commit c108ea7

Browse files
committed
test: add comprehensive font testing to playground
- Add TM symbol tests across all heading levels (H1-H6) - Test rendering in common font families (Arial, Times, Georgia, etc.) - Include system UI font testing for native appearance - Helps verify consistent rendering across different typography Authored by: Aaron Lippold<lippold@gmail.com>
1 parent bf8ecdf commit c108ea7

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

playground/pages/index.vue

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<template>
22
<div class="container">
3-
<h1>Nuxt SmartScript™ Demo</h1>
3+
<h1>H1: Nuxt SmartScript™ Demo - MITRE(TM)</h1>
4+
<h2>H2: MITRE(TM) Test</h2>
5+
<h3>H3: MITRE(TM) Test</h3>
6+
<h4>H4: MITRE(TM) Test</h4>
7+
<h5>H5: MITRE(TM) Test</h5>
8+
<h6>H6: MITRE(TM) Test</h6>
49

510
<section>
611
<h2>Debug Info</h2>
@@ -21,6 +26,30 @@
2126
</div>
2227
</section>
2328

29+
<section>
30+
<h2>Font Testing</h2>
31+
<div style="font-family: Arial, sans-serif;">
32+
<h3>Arial: MITRE(TM) ACT(TM)</h3>
33+
<p>Body text: MITRE(TM) and ACT(TM) testing</p>
34+
</div>
35+
<div style="font-family: 'Times New Roman', serif;">
36+
<h3>Times New Roman: MITRE(TM) ACT(TM)</h3>
37+
<p>Body text: MITRE(TM) and ACT(TM) testing</p>
38+
</div>
39+
<div style="font-family: Georgia, serif;">
40+
<h3>Georgia: MITRE(TM) ACT(TM)</h3>
41+
<p>Body text: MITRE(TM) and ACT(TM) testing</p>
42+
</div>
43+
<div style="font-family: 'Courier New', monospace;">
44+
<h3>Courier New: MITRE(TM) ACT(TM)</h3>
45+
<p>Body text: MITRE(TM) and ACT(TM) testing</p>
46+
</div>
47+
<div style="font-family: system-ui, -apple-system, sans-serif;">
48+
<h3>System UI: MITRE(TM) ACT(TM)</h3>
49+
<p>Body text: MITRE(TM) and ACT(TM) testing</p>
50+
</div>
51+
</section>
52+
2453
<section>
2554
<h2>Copyright Symbol</h2>
2655
<p>Copyright: (C) 2024 Example Corporation</p>

0 commit comments

Comments
 (0)