Skip to content

Commit bcf7868

Browse files
LodrKumquatitext-teamcity
authored andcommitted
Replace usage of deprecated constant with actual one
DEVSIX-1013 Autoported commit. Original commit hash: [0d625679c]
1 parent 694f1a3 commit bcf7868

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

itext.tests/itext.kernel.tests/itext/kernel/pdf/PdfNameTreeTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ source product.
4242
*/
4343
using System;
4444
using System.Collections.Generic;
45-
using iText.IO.Font;
45+
using iText.IO.Font.Constants;
4646
using iText.Kernel.Colors;
4747
using iText.Kernel.Font;
4848
using iText.Kernel.Geom;
@@ -84,7 +84,7 @@ public virtual void AnnotationAppearanceTest() {
8484
));
8585
PdfPage page = pdfDocument.AddNewPage();
8686
PdfCanvas canvas = new PdfCanvas(page);
87-
canvas.SetFillColor(ColorConstants.MAGENTA).BeginText().SetFontAndSize(PdfFontFactory.CreateFont(FontConstants
87+
canvas.SetFillColor(ColorConstants.MAGENTA).BeginText().SetFontAndSize(PdfFontFactory.CreateFont(StandardFonts
8888
.TIMES_ROMAN), 30).SetTextMatrix(25, 500).ShowText("This file has AP key in Names dictionary").EndText
8989
();
9090
PdfArray array = new PdfArray();

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1629a68f9dc12444295eb1bd55cbdaa66096f558
1+
0d625679cd2f5be0c7fc50d62a423267b7244f4f

0 commit comments

Comments
 (0)