File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
itext.tests/itext.kernel.tests/itext/kernel/pdf Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ source product.
4242*/
4343using System ;
4444using System . Collections . Generic ;
45- using iText . IO . Font ;
45+ using iText . IO . Font . Constants ;
4646using iText . Kernel . Colors ;
4747using iText . Kernel . Font ;
4848using 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 ( ) ;
Original file line number Diff line number Diff line change 1- 1629a68f9dc12444295eb1bd55cbdaa66096f558
1+ 0d625679cd2f5be0c7fc50d62a423267b7244f4f
You can’t perform that action at this time.
0 commit comments