<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>This test makes sure a CTRun with an initial advance doesn't get incorporated incorrectly when glyph origins are used. The test passes if the lower dots do not appear too low.</p>
<div style="position: relative;">
<span style="font-family: Helvetica, Arial, sans-serif;" dir="RTL">AAA <span>&#x634;&#x633;&#x6cc;&#x634;&#x633;&#x6cc;</span> <span>&#x634;&#x633;&#x6cc;&#x634;&#x633;&#x6cc;</span> <span>&#x634;&#x633;&#x6cc;&#x634;&#x633;&#x6cc;</span> <span>&#x6af;&#x632;&#x6cc;&#x646;&#x647;&#x654;</span> <span>&#x634;&#x633;&#x6cc;&#x634;&#x633;&#x6cc;&#x02e;</span>
</span>
<div style="position: absolute; left: 0px; top: -2px; width: 100px; height: 25px; background: black;"></div>
</div>
</body>
</html>