| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| "http://www.w3.org/TR/html4/loose.dtd"> |
| <html> |
| <head> |
| <title>ATSUI spacing features with negative values</title> |
| <style type="text/css"> |
| div.test { width: 200px; border: solid blue 1px; margin-bottom: 5px; } |
| div.rtl { direction: rtl; font-family: 'Lucida Grande'; line-height: 18px; } |
| div.ref { width: 200px; border: solid green 1px; } |
| div.word { word-spacing: -2px; } |
| div.letter { letter-spacing: -1px; } |
| </style> |
| </head> |
| <body> |
| <p> |
| Test for negative spacing values in complex text rendering. |
| </p> |
| Each green box should be identical to the blue box it follows, except for accents. |
| <hr> |
| <table> |
| <tr style="text-align: center;"> |
| <td>Word spacing</td> |
| <td>Letter spacing</td> |
| </tr> |
| <tr style="vertical-align: top;"> |
| <td> |
| <div class="word"> |
| <div class="test rtl"> |
| יְהִי, |
| אָחִי, |
| לְךָ |
| סֵפֶר |
| שְׁלַחְתִּיו |
| וּמִמְכֶּרֶת |
| צְמִיתוּת |
| לָךְ |
| מְכַרְתִּיו. |
| </div> |
| <div class="test"> |
| Lorèm ipsum dolor sit amèt, consectetuer adipiscing èlit. |
| </div> |
| <div class="ref"> |
| Lorem ipsum dolor sit amet, consectetuer adipiscing elit. |
| </div> |
| </div> |
| </td> |
| <td> |
| <div class="letter"> |
| <div class="test rtl"> |
| יְהִי, |
| אָחִי, |
| לְךָ |
| סֵפֶר |
| שְׁלַחְתִּיו |
| וּמִמְכֶּרֶת |
| צְמִיתוּת |
| לָךְ |
| מְכַרְתִּיו. |
| </div> |
| <div class="test"> |
| Lorèm ipsum dolor sit amèt, consectetuèr adipiscing èlit. |
| </div> |
| <div class="ref"> |
| Lorem ipsum dolor sit amet, consectetuer adipiscing elit. |
| </div> |
| </div> |
| </td> |
| </tr> |
| </table> |
| </body> |
| </html> |