From 342ba76a6579289a28c02372e12cece0f25f4f6b Mon Sep 17 00:00:00 2001 From: Nikita Kovaliov Date: Wed, 30 Mar 2022 19:04:27 +0000 Subject: [PATCH] Add tests for verticalAlignment property DEVSIX-6490 Autoported commit. Original commit hash: [a52ee6007] --- .../itext/layout/AlignmentTest.cs | 152 +++++++++++------- .../cmp_verticalAlignmentBottom.pdf | Bin 0 -> 1046 bytes .../cmp_verticalAlignmentMiddle.pdf | Bin 0 -> 1048 bytes .../cmp_verticalAlignmentTop.pdf | Bin 0 -> 1040 bytes port-hash | 2 +- 5 files changed, 96 insertions(+), 58 deletions(-) create mode 100644 itext.tests/itext.layout.tests/resources/itext/layout/AlignmentTest/cmp_verticalAlignmentBottom.pdf create mode 100644 itext.tests/itext.layout.tests/resources/itext/layout/AlignmentTest/cmp_verticalAlignmentMiddle.pdf create mode 100644 itext.tests/itext.layout.tests/resources/itext/layout/AlignmentTest/cmp_verticalAlignmentTop.pdf diff --git a/itext.tests/itext.layout.tests/itext/layout/AlignmentTest.cs b/itext.tests/itext.layout.tests/itext/layout/AlignmentTest.cs index b33a99f688..ff1b0fb248 100644 --- a/itext.tests/itext.layout.tests/itext/layout/AlignmentTest.cs +++ b/itext.tests/itext.layout.tests/itext/layout/AlignmentTest.cs @@ -57,21 +57,21 @@ source product. namespace iText.Layout { public class AlignmentTest : ExtendedITextTest { - public static readonly String sourceFolder = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext + private static readonly String SOURCE_FOLDER = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext .CurrentContext.TestDirectory) + "/resources/itext/layout/AlignmentTest/"; - public static readonly String destinationFolder = NUnit.Framework.TestContext.CurrentContext.TestDirectory + private static readonly String DESTINATION_FOLDER = NUnit.Framework.TestContext.CurrentContext.TestDirectory + "/test/itext/layout/AlignmentTest/"; [NUnit.Framework.OneTimeSetUp] public static void BeforeClass() { - CreateDestinationFolder(destinationFolder); + CreateOrClearDestinationFolder(DESTINATION_FOLDER); } [NUnit.Framework.Test] public virtual void JustifyAlignmentTest01() { - String outFileName = destinationFolder + "justifyAlignmentTest01.pdf"; - String cmpFileName = sourceFolder + "cmp_justifyAlignmentTest01.pdf"; + String outFileName = DESTINATION_FOLDER + "justifyAlignmentTest01.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_justifyAlignmentTest01.pdf"; PdfDocument pdfDocument = new PdfDocument(new PdfWriter(outFileName)); Document document = new Document(pdfDocument); Paragraph paragraph = new Paragraph().SetTextAlignment(TextAlignment.JUSTIFIED); @@ -81,28 +81,28 @@ public virtual void JustifyAlignmentTest01() { } document.Add(paragraph); document.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } [NUnit.Framework.Test] public virtual void JustifyAlignmentTest02() { - String outFileName = destinationFolder + "justifyAlignmentTest02.pdf"; - String cmpFileName = sourceFolder + "cmp_justifyAlignmentTest02.pdf"; + String outFileName = DESTINATION_FOLDER + "justifyAlignmentTest02.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_justifyAlignmentTest02.pdf"; PdfDocument pdfDocument = new PdfDocument(new PdfWriter(outFileName)); Document document = new Document(pdfDocument); Paragraph paragraph = new Paragraph().SetTextAlignment(TextAlignment.JUSTIFIED); paragraph.Add(new Text("Hello World!")).Add(new Text(" ")).Add(new Text("Hello People! ")).Add("End"); document.Add(paragraph); document.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } [NUnit.Framework.Test] public virtual void JustifyAlignmentTest03() { - String outFileName = destinationFolder + "justifyAlignmentTest03.pdf"; - String cmpFileName = sourceFolder + "cmp_justifyAlignmentTest03.pdf"; + String outFileName = DESTINATION_FOLDER + "justifyAlignmentTest03.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_justifyAlignmentTest03.pdf"; PdfDocument pdfDocument = new PdfDocument(new PdfWriter(outFileName)); Document document = new Document(pdfDocument); Paragraph paragraph = new Paragraph().SetTextAlignment(TextAlignment.JUSTIFIED); @@ -112,14 +112,14 @@ public virtual void JustifyAlignmentTest03() { } document.Add(paragraph); document.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } [NUnit.Framework.Test] public virtual void JustifyAlignmentTest04() { - String outFileName = destinationFolder + "justifyAlignmentTest04.pdf"; - String cmpFileName = sourceFolder + "cmp_justifyAlignmentTest04.pdf"; + String outFileName = DESTINATION_FOLDER + "justifyAlignmentTest04.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_justifyAlignmentTest04.pdf"; PdfDocument pdfDocument = new PdfDocument(new PdfWriter(outFileName)); Document document = new Document(pdfDocument); Paragraph paragraph = new Paragraph().SetTextAlignment(TextAlignment.JUSTIFIED); @@ -129,14 +129,14 @@ public virtual void JustifyAlignmentTest04() { } document.Add(paragraph); document.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } [NUnit.Framework.Test] public virtual void JustifyAlignmentForcedNewlinesTest01() { - String outFileName = destinationFolder + "justifyAlignmentForcedNewlinesTest01.pdf"; - String cmpFileName = sourceFolder + "cmp_justifyAlignmentForcedNewlinesTest01.pdf"; + String outFileName = DESTINATION_FOLDER + "justifyAlignmentForcedNewlinesTest01.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_justifyAlignmentForcedNewlinesTest01.pdf"; PdfDocument pdfDocument = new PdfDocument(new PdfWriter(outFileName)); Document document = new Document(pdfDocument); Paragraph paragraph = new Paragraph().SetTextAlignment(TextAlignment.JUSTIFIED); @@ -148,14 +148,14 @@ public virtual void JustifyAlignmentForcedNewlinesTest01() { ); document.Add(paragraph); document.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } [NUnit.Framework.Test] public virtual void JustifyAllTest01() { - String outFileName = destinationFolder + "justifyAllTest01.pdf"; - String cmpFileName = sourceFolder + "cmp_justifyAllTest01.pdf"; + String outFileName = DESTINATION_FOLDER + "justifyAllTest01.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_justifyAllTest01.pdf"; PdfDocument pdfDocument = new PdfDocument(new PdfWriter(outFileName)); Document document = new Document(pdfDocument); Paragraph paragraph = new Paragraph().SetTextAlignment(TextAlignment.JUSTIFIED_ALL); @@ -167,19 +167,19 @@ public virtual void JustifyAllTest01() { ); document.Add(paragraph); document.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } [NUnit.Framework.Test] public virtual void JustifyAllTest02() { - String outFileName = destinationFolder + "justifyAllTest02.pdf"; - String cmpFileName = sourceFolder + "cmp_justifyAllTest02.pdf"; + String outFileName = DESTINATION_FOLDER + "justifyAllTest02.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_justifyAllTest02.pdf"; PdfDocument pdfDocument = new PdfDocument(new PdfWriter(outFileName)); Document document = new Document(pdfDocument); - PdfFont type0 = PdfFontFactory.CreateFont(sourceFolder + "/../fonts/NotoSans-Regular.ttf", PdfEncodings.IDENTITY_H + PdfFont type0 = PdfFontFactory.CreateFont(SOURCE_FOLDER + "/../fonts/NotoSans-Regular.ttf", PdfEncodings.IDENTITY_H ); - PdfFont simpleFont = PdfFontFactory.CreateFont(sourceFolder + "/../fonts/NotoSans-Regular.ttf", PdfFontFactory.EmbeddingStrategy + PdfFont simpleFont = PdfFontFactory.CreateFont(SOURCE_FOLDER + "/../fonts/NotoSans-Regular.ttf", PdfFontFactory.EmbeddingStrategy .PREFER_EMBEDDED); Paragraph paragraph = new Paragraph().SetSpacingRatio(1).SetTextAlignment(TextAlignment.JUSTIFIED_ALL); paragraph.Add("If you need to stop reading before you reach the end"); @@ -187,14 +187,14 @@ public virtual void JustifyAllTest02() { paragraph.SetFont(simpleFont); document.Add(paragraph); document.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } [NUnit.Framework.Test] public virtual void BlockAlignmentTest01() { - String outFileName = destinationFolder + "blockAlignmentTest01.pdf"; - String cmpFileName = sourceFolder + "cmp_blockAlignmentTest01.pdf"; + String outFileName = DESTINATION_FOLDER + "blockAlignmentTest01.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_blockAlignmentTest01.pdf"; PdfDocument pdfDocument = new PdfDocument(new PdfWriter(outFileName)); Document document = new Document(pdfDocument); List list = new List(ListNumberingType.GREEK_LOWER); @@ -209,18 +209,18 @@ public virtual void BlockAlignmentTest01() { list.SetTextAlignment(TextAlignment.CENTER); document.Add(list); document.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } [NUnit.Framework.Test] public virtual void BlockAlignmentTest02() { - String outFileName = destinationFolder + "blockAlignmentTest02.pdf"; - String cmpFileName = sourceFolder + "cmp_blockAlignmentTest02.pdf"; + String outFileName = DESTINATION_FOLDER + "blockAlignmentTest02.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_blockAlignmentTest02.pdf"; PdfDocument pdfDocument = new PdfDocument(new PdfWriter(outFileName)); Document document = new Document(pdfDocument); Div div = new Div(); - PdfImageXObject xObject = new PdfImageXObject(ImageDataFactory.CreateJpeg(UrlUtil.ToURL(sourceFolder + "Desert.jpg" + PdfImageXObject xObject = new PdfImageXObject(ImageDataFactory.CreateJpeg(UrlUtil.ToURL(SOURCE_FOLDER + "Desert.jpg" ))); iText.Layout.Element.Image image1 = new iText.Layout.Element.Image(xObject, 100).SetHorizontalAlignment(HorizontalAlignment .RIGHT); @@ -231,44 +231,44 @@ public virtual void BlockAlignmentTest02() { div.Add(image1).Add(image2).Add(image3); document.Add(div); document.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } [NUnit.Framework.Test] public virtual void ImageAlignmentTest01() { - String outFileName = destinationFolder + "imageAlignmentTest01.pdf"; - String cmpFileName = sourceFolder + "cmp_imageAlignmentTest01.pdf"; + String outFileName = DESTINATION_FOLDER + "imageAlignmentTest01.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_imageAlignmentTest01.pdf"; PdfWriter writer = new PdfWriter(outFileName); PdfDocument pdfDoc = new PdfDocument(writer); Document doc = new Document(pdfDoc); - PdfImageXObject xObject = new PdfImageXObject(ImageDataFactory.CreateJpeg(UrlUtil.ToURL(sourceFolder + "Desert.jpg" + PdfImageXObject xObject = new PdfImageXObject(ImageDataFactory.CreateJpeg(UrlUtil.ToURL(SOURCE_FOLDER + "Desert.jpg" ))); iText.Layout.Element.Image image = new iText.Layout.Element.Image(xObject, 100).SetHorizontalAlignment(HorizontalAlignment .RIGHT); doc.Add(image); doc.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } [NUnit.Framework.Test] public virtual void EmptyLineJustification01() { - String outFileName = destinationFolder + "emptyLineJustification01.pdf"; - String cmpFileName = sourceFolder + "cmp_emptyLineJustification01.pdf"; + String outFileName = DESTINATION_FOLDER + "emptyLineJustification01.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_emptyLineJustification01.pdf"; PdfWriter writer = new PdfWriter(outFileName); PdfDocument pdfDoc = new PdfDocument(writer); Document doc = new Document(pdfDoc); doc.Add(new Paragraph().SetTextAlignment(TextAlignment.JUSTIFIED)); doc.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } [NUnit.Framework.Test] public virtual void FloatAlignmentTest01() { - String outFileName = destinationFolder + "floatAlignmentTest01.pdf"; - String cmpFileName = sourceFolder + "cmp_floatAlignmentTest01.pdf"; + String outFileName = DESTINATION_FOLDER + "floatAlignmentTest01.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_floatAlignmentTest01.pdf"; PdfWriter writer = new PdfWriter(outFileName); PdfDocument pdfDoc = new PdfDocument(writer); pdfDoc.SetDefaultPageSize(new PageSize(350, 450)); @@ -282,7 +282,7 @@ public virtual void FloatAlignmentTest01() { AddFloatAndText(doc, FloatPropertyValue.RIGHT); AddFloatAndText(doc, FloatPropertyValue.LEFT); doc.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } @@ -301,8 +301,8 @@ private static void AddFloatAndText(Document doc, FloatPropertyValue? floatPrope [NUnit.Framework.Test] public virtual void FloatAlignmentTest02() { - String outFileName = destinationFolder + "floatAlignmentTest02.pdf"; - String cmpFileName = sourceFolder + "cmp_floatAlignmentTest02.pdf"; + String outFileName = DESTINATION_FOLDER + "floatAlignmentTest02.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_floatAlignmentTest02.pdf"; PdfWriter writer = new PdfWriter(outFileName); PdfDocument pdfDoc = new PdfDocument(writer); pdfDoc.SetDefaultPageSize(new PageSize(350, 450)); @@ -317,24 +317,37 @@ public virtual void FloatAlignmentTest02() { div.SetProperty(Property.FLOAT, FloatPropertyValue.RIGHT); AddInlineBlockFloatAndText(doc, div); doc.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } - private void AddInlineBlockFloatAndText(Document doc, Div div) { - doc.Add(new Paragraph("Left aligned.").SetMarginBottom(30).Add(div).SetTextAlignment(TextAlignment.LEFT)); - doc.Add(new Paragraph("Right aligned.").SetMarginBottom(30).Add(div).SetTextAlignment(TextAlignment.RIGHT) - ); - doc.Add(new Paragraph("Center aligned.").SetMarginBottom(30).Add(div).SetTextAlignment(TextAlignment.CENTER - )); - doc.Add(new Paragraph().Add(div).Add("Justified. " + "The text is laid out using the correct width, but the alignment value uses the full width." - ).SetTextAlignment(TextAlignment.JUSTIFIED)); + [NUnit.Framework.Test] + public virtual void VerticalAlignmentMiddleTest() { + //TODO DEVSIX-6490 Support verticalAlignment property in layout + String outPdf = DESTINATION_FOLDER + "verticalAlignmentMiddle.pdf"; + String cmpPdf = SOURCE_FOLDER + "cmp_verticalAlignmentMiddle.pdf"; + CreateDocumentWithAlignment(outPdf, cmpPdf, VerticalAlignment.MIDDLE); + } + + [NUnit.Framework.Test] + public virtual void VerticalAlignmentBottomTest() { + //TODO DEVSIX-6490 Support verticalAlignment property in layout + String outPdf = DESTINATION_FOLDER + "verticalAlignmentBottom.pdf"; + String cmpPdf = SOURCE_FOLDER + "cmp_verticalAlignmentBottom.pdf"; + CreateDocumentWithAlignment(outPdf, cmpPdf, VerticalAlignment.BOTTOM); + } + + [NUnit.Framework.Test] + public virtual void VerticalAlignmentTopTest() { + String outPdf = DESTINATION_FOLDER + "verticalAlignmentTop.pdf"; + String cmpPdf = SOURCE_FOLDER + "cmp_verticalAlignmentTop.pdf"; + CreateDocumentWithAlignment(outPdf, cmpPdf, VerticalAlignment.TOP); } [NUnit.Framework.Test] public virtual void FloatAlignmentTest03() { - String outFileName = destinationFolder + "floatAlignmentTest03.pdf"; - String cmpFileName = sourceFolder + "cmp_floatAlignmentTest03.pdf"; + String outFileName = DESTINATION_FOLDER + "floatAlignmentTest03.pdf"; + String cmpFileName = SOURCE_FOLDER + "cmp_floatAlignmentTest03.pdf"; PdfWriter writer = new PdfWriter(outFileName); PdfDocument pdfDoc = new PdfDocument(writer); pdfDoc.SetDefaultPageSize(new PageSize(350, 450)); @@ -350,10 +363,35 @@ public virtual void FloatAlignmentTest03() { AddInlineBlockFloatAndText(doc, text); doc.Close(); doc.Close(); - NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, destinationFolder + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outFileName, cmpFileName, DESTINATION_FOLDER , "diff")); } + private static void CreateDocumentWithAlignment(String outPdf, String cmpPdf, VerticalAlignment? verticalAlignment + ) { + PdfDocument pdfDoc = new PdfDocument(new PdfWriter(outPdf)); + Document doc = new Document(pdfDoc); + Paragraph p = new Paragraph(); + p.SetBackgroundColor(new DeviceRgb(189, 239, 73)); + p.SetVerticalAlignment(verticalAlignment); + p.Add("vertical Alignment " + verticalAlignment + " one"); + p.Add("\n vertical Alignment " + verticalAlignment + " two"); + p.Add("\n vertical Alignment " + verticalAlignment + " three"); + doc.Add(p); + pdfDoc.Close(); + NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); + } + + private void AddInlineBlockFloatAndText(Document doc, Div div) { + doc.Add(new Paragraph("Left aligned.").SetMarginBottom(30).Add(div).SetTextAlignment(TextAlignment.LEFT)); + doc.Add(new Paragraph("Right aligned.").SetMarginBottom(30).Add(div).SetTextAlignment(TextAlignment.RIGHT) + ); + doc.Add(new Paragraph("Center aligned.").SetMarginBottom(30).Add(div).SetTextAlignment(TextAlignment.CENTER + )); + doc.Add(new Paragraph().Add(div).Add("Justified. " + "The text is laid out using the correct width, but the alignment value uses the full width." + ).SetTextAlignment(TextAlignment.JUSTIFIED)); + } + private void AddInlineBlockFloatAndText(Document doc, Text text) { doc.Add(new Paragraph("Left aligned.").SetMarginBottom(30).Add(text).SetTextAlignment(TextAlignment.LEFT)); doc.Add(new Paragraph("Right aligned.").SetMarginBottom(30).Add(text).SetTextAlignment(TextAlignment.RIGHT diff --git a/itext.tests/itext.layout.tests/resources/itext/layout/AlignmentTest/cmp_verticalAlignmentBottom.pdf b/itext.tests/itext.layout.tests/resources/itext/layout/AlignmentTest/cmp_verticalAlignmentBottom.pdf new file mode 100644 index 0000000000000000000000000000000000000000..5e7a74699c7c48fab79fd5a51d54d8ad25e6323b GIT binary patch literal 1046 zcmah|TSyd97^bISKyaV;&sm}exw0^E6msjY=kJ!c~mMstdd!brs$f=$TC+FgM2ih+P-n@H(q3S;N5 za+QMzH$=YsACJDi{P4iO$x0Ghk&&*I_>tMp z5BFzpN7>dH_o1bR#+*s+Jh6H zZtP;=G^|{lQdaQ9=OS}!=cVAO?ObffSm=#3_jKy*t7i*C#~w)oCzrnrcZ{diuhXa3 zZ5>EGXON+l$|XD6o>*=(gbf=RwgqVG3D}G@U8%!`HkN!!ehK(QJ`LlFNjQLaC<$cY zys09KibSI6ivwPI79b0zOuhTB45_{zMABqYAVABZMQ|jdq%}RTO6eVDNU@b1&X&nS znH(a*+d4MF#F*;vexBudRuEWD7QB*gFDq2BY?T`}W9{FBxQVsAip**~g$njv5W*$` zat&W2c#QR=Hs zu@IFAHlSQDvUOE~5rd49Ze-z6-3S_%zWSZaciL1W+CS$!9d*ljsrse7A)F_6aPY9M zS#8wJMEYlhBV;+GV4@7e0+}IImlp6!k|2Q$_=O3wA2?^gSjD_PqBmW?VIog1T7&T- zX?6|9a%7U$V04gHG22x195U%Y)))qDwHco*A{B9JM)heZixu1qKC_I%R@c({OK`c*@|g9Ldk;2xLlD~l=%TMiAq5L literal 0 HcmV?d00001 diff --git a/itext.tests/itext.layout.tests/resources/itext/layout/AlignmentTest/cmp_verticalAlignmentMiddle.pdf b/itext.tests/itext.layout.tests/resources/itext/layout/AlignmentTest/cmp_verticalAlignmentMiddle.pdf new file mode 100644 index 0000000000000000000000000000000000000000..7ca44756ebdda64f4f0ac5862c4330ba3a965bf8 GIT binary patch literal 1048 zcmah|T}TvB6o$x`fxv?vgmkTaZn6pO%>7I$jCV(fDuJmwjB#8V^rbxrR($5 zb67p~<-)Yj4d3co>1v-lxcBJACzB(YhK0GgPaD3)K!>~dp}4ue8M#rLX-?17C_cJ4 zQ+1i@p1v7M9t!#%Pq9~`lLxN7UV6DS`rs7z%{uP)&)$9dth9e>UcPg9P;yt-qRk~` z_T$!`qIlxRKI-SgvoC6|mRMGM^ZrQFDqpj8Pn3&aGv8kp}rnqfygvkm1;XG@qnMKh-ZiBgkoU~U_D3@*`{k{ zkxgjA(d5Sfk(|lc=(MGe?aGioH;!H4k?1c5oNZ?fn84TA)|_;=pMLEr?Sfj>SjgoPjmjBTG7!qc$B$FsPx9X^&1?ealp zcdQVWDmced^gOc2E9;DbftIX<1Q=FDb(j-0O+#T`VYD#MDPoovL?tBuA2CFC8kz~n skR<7(X<}}?WlBGfHN|}RJ+*>FmjD0& literal 0 HcmV?d00001 diff --git a/itext.tests/itext.layout.tests/resources/itext/layout/AlignmentTest/cmp_verticalAlignmentTop.pdf b/itext.tests/itext.layout.tests/resources/itext/layout/AlignmentTest/cmp_verticalAlignmentTop.pdf new file mode 100644 index 0000000000000000000000000000000000000000..7cdae1b342718a50a91efd3828fb2201c1618a26 GIT binary patch literal 1040 zcmah|O=uHA6uyYULPZqB9xP*RXi81?FT0!85^R#D|7}Qu1>0hGv$Js}*(tk|5=ASP z9t6>gT2MTA&_fjpq7^S4#oUsZUJFa$L-@p6X z#YN-s5?rdDsHx1ZrL>`k#S1eP+O4tKmoH`)R*FLv$Io2x_f>yUjy(x~zW3?Q^G8!N zE0s5@eip)S#;4ECzg=H{uy9cPSRBB&57qOXsda00QssLO@10bqU$?APJwvZ{d}~a2 z8EEOHLdl9Y7AQ9uK^BG21f|x z*hE&8NaBq)3Y;KtqR8=zD050ZC)RRYZ5`W<^nU~5Hq!HHXnV~REZ`{+K{f=6U+{~* zWKVNE+18r^1K#G=co!IfwnHu)r~{J%$8kP-C2+$)tBvx*pyy~^xm3zTsjsl=KuQtY z2D2j&n`xD8vB(gaR)*~}t!B$HH}=WAhABz3f8PDN?3VLV_DgvqC{N_z*-le;`l*!wr4Go3^3PY+c8IUDOlz;*L_(X+pOAS~XK3P$=_yT-zi%$rUG1(N$@nn)V z`J`Y&*@tb_%tD*KuJ$PCZ<6FRuZapYpl0xjAnO4^7UhPZk=ArsRrS#S5rb^IWgtL@ rB*7*SBHXykqdB}x&3jK|Z`8)JR}UXe*p literal 0 HcmV?d00001 diff --git a/port-hash b/port-hash index 4cb99430fe..2c28150d19 100644 --- a/port-hash +++ b/port-hash @@ -1 +1 @@ -06917a9f507656499c6efad90523dcef926f5ff2 +a52ee600764272a4b8a19405f4f55616ef18abf1