<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi Karl --<div><br></div><div>Thanks for the pointer! In this case, we struggle with some legacy overhead in StrikeFont not implementing line gap correctly and mixing it in with line spacing in TextStyle.</div><div><br></div><div>However (!), this could be finally the font the help write some TrueType tests. Thanks!!!</div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div>
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 09.06.2022 05:56:39 schrieb karl ramberg <karlramberg@gmail.com>:</p><div style="font-family:Arial,Helvetica,sans-serif">
<div dir="ltr"><div>I'm not sure this is helpful, but I just read about a font called ahem that is designed to help with layout testing. The glyphs are assigned a predefined square so it should result in predictable tests.</div><div> <br></div><div><a href="https://www.w3.org/Style/CSS/Test/Fonts/Ahem/">https://www.w3.org/Style/CSS/Test/Fonts/Ahem/</a></div><div><a href="https://github.com/Hydrock/AhemFont">https://github.com/Hydrock/AhemFont</a></div><div><br></div><div>Best,</div><div>Karl<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 8, 2022 at 3:02 PM <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex;border-left: 1px solid rgb(204,204,204);padding-left: 1ex;min-width: 500px">Marcel Taeumel uploaded a new version of MorphicTests to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/MorphicTests-mt.87.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/trunk/MorphicTests-mt.87.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: MorphicTests-mt.87<br>
Author: mt<br>
Time: 8 June 2022, 3:02:18.474335 pm<br>
UUID: 4c18dae8-f267-4c41-a3d4-7027c7a964cd<br>
Ancestors: MorphicTests-mt.86<br>
<br>
Fixes several tests that only fail if the system uses (pre-rendered) StrikeFonts, which is 100%, 125%, or 150% scale factor in a clean image.<br>
<br>
=============== Diff against MorphicTests-mt.86 ===============<br>
<br>
Item was changed:<br>
  ----- Method: TextAnchorTest>>testHavingAnAnchorInTheCenter (in category 'tests') -----<br>
  testHavingAnAnchorInTheCenter<br>
<br>
        self <br>
                assert: (anchoredMorph ownerChain includes: textMorph);<br>
+               assert: anchoredMorph topLeft >= textMorph topLeft!<br>
-               assert: anchoredMorph topLeft > textMorph topLeft!<br>
<br>
Item was changed:<br>
  ----- Method: TextAnchorTest>>testHavingAnAnchorInTheCenterWithHorizontalPadding (in category 'tests') -----<br>
  testHavingAnAnchorInTheCenterWithHorizontalPadding<br>
<br>
        anchoredMorph textAnchorProperties padding. 30@0.<br>
<br>
        self <br>
                assert: (anchoredMorph ownerChain includes: textMorph);<br>
+               assert: (anchoredMorph topLeft >= textMorph topLeft)!<br>
-               assert: (anchoredMorph topLeft > textMorph topLeft)!<br>
<br>
Item was changed:<br>
  ----- Method: TextAnchorTest>>testLayoutingSetsTheMorphPosition (in category 'tests') -----<br>
  testLayoutingSetsTheMorphPosition<br>
<br>
        anchoredMorph := Morph new.<br>
        anchoredMorph textAnchorProperties<br>
                anchorLayout: #inline.<br>
        anchorAttribute anchoredMorph: anchoredMorph.<br>
        self prepareTextMorph.<br>
<br>
        textMorph position: 100@100.<br>
<br>
+       self assert: anchoredMorph position >= (100@100).!<br>
-       self assert: anchoredMorph position > (100@100).!<br>
<br>
<br>
</blockquote></div>
</div></blockquote></div>