-
Notifications
You must be signed in to change notification settings - Fork 83
/
uc-spacing-03.php
39 lines (33 loc) · 1.24 KB
/
uc-spacing-03.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<div>
<p class="sizelabel">Spacing Test: (Be sure to disable kerning when testing spcing)</p>
<p> </p>
<table>
<?php
$glyphs = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z');
$amigos = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z');
$size = 30;
foreach ($amigos as $amigo) {
echo '<tr>';
foreach ($glyphs as $glyph) {
echo '<td><p style="font-size: '.$size.'px;">H'.$amigo.$glyph.$amigo.'H</p></td><td><p> </p></td>';
}
echo '</tr>';
}
?>
</table>
<p> </p>
<table>
<?php
$glyphs = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z');
$amigos = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z');
$size = 30;
foreach ($amigos as $amigo) {
echo '<tr>';
foreach ($glyphs as $glyph) {
echo '<td><p style="font-size: '.$size.'px;">O'.$amigo.$glyph.$amigo.'O</p></td><td><p> </p></td>';
}
echo '</tr>';
}
?>
</table>
</div>