78 lines
2.1 KiB
HTML
78 lines
2.1 KiB
HTML
<html><head><title></title>
|
|
<style type="text/css">
|
|
table { border-collapse: collapse; }
|
|
td { border: 1px solid green; }
|
|
.times { font-family: Times; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
This is a test for <i>http://bugzilla.opendarwin.org/show_bug.cgi?id=6139
|
|
ATSUI code path should implement small caps, synthetic bold and oblique and correct metrics for fallback fonts</i>.
|
|
</p>
|
|
<hr>
|
|
<p>
|
|
The two columns should be identical except for the
|
|
accent over the e and the umlaut over the u.
|
|
</p>
|
|
<table style="font-family: Geneva; font-size: 20px;">
|
|
<tr>
|
|
<td>
|
|
Lorèm <span class="times">ipsüm</span>
|
|
</td>
|
|
<td>
|
|
Lorem <span class="times">ipsum</span>
|
|
</td>
|
|
</tr>
|
|
<tr style="font-weight: bold;">
|
|
<td>
|
|
Lorèm <span class="times">ipsüm</span>
|
|
</td>
|
|
<td>
|
|
Lorem <span class="times">ipsum</span>
|
|
</td>
|
|
</tr>
|
|
<tr style="font-style: italic;">
|
|
<td>
|
|
Lorèm <span class="times">ipsüm</span>
|
|
</td>
|
|
<td>
|
|
Lorem <span class="times">ipsum</span>
|
|
</td>
|
|
</tr>
|
|
<tr style="font-weight: bold; font-style: italic;">
|
|
<td>
|
|
Lorèm <span class="times">ipsüm</span>
|
|
</td>
|
|
<td>
|
|
Lorem <span class="times">ipsum</span>
|
|
</td>
|
|
</tr>
|
|
<tr style="font-variant: small-caps;" class="times">
|
|
<td>
|
|
Lorèm ipsüm
|
|
</td>
|
|
<td>
|
|
Lorem ipsum
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<hr>
|
|
<p>
|
|
The following two lines should be identical.
|
|
</p>
|
|
<!-- Fallback from Times to Lucida Grande -->
|
|
<p>
|
|
<span style="font-family:Times; font-size: 18px; border: solid green 1px;">
|
|
กขฃคฅฆงจกขฃคฅฆงจกขฃคฅฆงจกขฃคฅฆงจ
|
|
</span>
|
|
</p>
|
|
<!-- Lucida Grande, no fallback -->
|
|
<p>
|
|
<span style="font-family:'Lucida Grande'; font-size: 18px; border: solid green 1px;">
|
|
กขฃคฅฆงจกขฃคฅฆงจกขฃคฅฆงจกขฃคฅฆงจ
|
|
</span>
|
|
</p>
|
|
</body>
|
|
</html>
|