From e91e894501e2474cce2a774ba2c5d35f0bbd9056 Mon Sep 17 00:00:00 2001 From: Dave Pagurek Date: Wed, 18 Dec 2024 14:28:02 -0500 Subject: [PATCH] Update test case alignment --- test/unit/visual/cases/webgl.js | 4 ++-- .../WebGL/textToModel/Extruded/000.png | Bin 1859 -> 1854 bytes .../WebGL/textToModel/Flat/000.png | Bin 650 -> 634 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/visual/cases/webgl.js b/test/unit/visual/cases/webgl.js index 3bcea745de..0649b00f6b 100644 --- a/test/unit/visual/cases/webgl.js +++ b/test/unit/visual/cases/webgl.js @@ -500,7 +500,7 @@ visualSuite('WebGL', function() { '/unit/assets/Inconsolata-Bold.ttf' ); p5.textSize(20); - p5.textAlign(p5.CENTER, p5.CENTER); + p5.textAlign(p5.CENTER, p5.TOP); const geom = font.textToModel('p5*js', 0, 0, { sampleFactor: 2 }); @@ -518,7 +518,7 @@ visualSuite('WebGL', function() { '/unit/assets/Inconsolata-Bold.ttf' ); p5.textSize(20); - p5.textAlign(p5.CENTER, p5.CENTER); + p5.textAlign(p5.CENTER, p5.TOP); const geom = font.textToModel('p5*js', 0, 0, { extrude: 10, sampleFactor: 2 diff --git a/test/unit/visual/screenshots/WebGL/textToModel/Extruded/000.png b/test/unit/visual/screenshots/WebGL/textToModel/Extruded/000.png index 36b89c8020fc03843edbbc1c98c4efe3de959959..f23e88f4ba117beec55f9d2fb53eca7cee2c3842 100644 GIT binary patch delta 1826 zcmV+-2i^F?4!#bMF@N|;L_t(&L+zJ)P*nF7$3F`TA|MpGmZzfCa2LnNOddwN^0+pc z6f^C{sZO+Gn>4K^jkU2(I;qjhy-C_QQ=1M6Ej8pZ#i~p~V{{@;3Wl4&7ELiKf??69 zq>hqiQF*Q4vTl3t4O`9&*yy4@BHqXynkM=m;VDZg+OjG6+?>L zVuBD-B&0}?DiCU|AQd*?upvbPE?tluLy82cumOh+DH3q$g5(%dBuIq~IBZCffJ+x7 z$B-gHD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MBJ2p6(D=J;=1E7&-G1V-S`~_ecrDi?lQ!>AG_TFf9{{1<41Wcpoe^8r z7L;%&!b&&R!@s5RxeA=i6ljV-SRX$$h$Y>QSiP9f-rq<;dJ=b!ea5@7e7MX|I<^mD zx?y4`Vd0(pIP?NVyZ_m*AfxlNh&I@pIN{( z(f6y#paHJ<@Tj7&Jo`FYTnBOTE&?}T#Smm=r4yU&1*lDh)=q?z(~R>`^UXWS_l%_0 z`-SMAL$&J|*SUL14!iAY@*VUUMX4so{x_^`YxQ}RIs}sSYpuCB5`Q+KEWHGwmtm3% zCicSEZiwjSW>XtmT=s#E$Q6G@Nv-Ez(+rkJ{CvcT4QHV&%Sg2i@K6jw^EAX=X$Xf5 zrDv`?&W80F$S2B>{{0?AU51H0Fs2(*csH{{S}E*W#5`fmwfz%Y?|$e01(Bb_WEV{7 zf#^%bm|OXCh@Jb#Jb&%gMCoco?s^L%dWi__;XzX(*{9ABpJbHsxBi7V9QA$9SNAB4JW4o9V*2Pno;>d_zH7tm0?#QsS z{T~aixg&vs34#Pl$w0*kIua-)0~IIeNT8GqRGgqAfl@M1aUg<@1WL(3#rfVi@*jJR VZ8`V$!Yu#*002ovPDHLkV1nG1d@TR~ diff --git a/test/unit/visual/screenshots/WebGL/textToModel/Flat/000.png b/test/unit/visual/screenshots/WebGL/textToModel/Flat/000.png index 87b3164a3aca0b90ee7b9c022868ccfd113dac2c..75114b5468077d69123179f81941fa0f59afbada 100644 GIT binary patch delta 596 zcmV-a0;~Os1^NV#F@H2kL_t(&L+w^OZUQk7-EF9-Qsofbf#e1$IZUL0l*3Tw21)L~ zAyTEHqS@%J^vKg-uf1k1R%ob@*E62?nX%ih>$>I+eyszUnToE+%mis%5m%%V18%KK z#1^M@MT)7b6zGanBDOfKD^g5dr9fAt60yZ;U6EqyDh0YCm4ApWPV0&kQ&%a_6{$pQ zaavad)E&M~J%g*KMKP081zx4d>+|m!i~<6%&D(OS8nf~Qf#fnxAXG%--aj9*3J7gt z-pzKIO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