Browse Source

ComPDFKit.Tool(pdftech) - FreeText创建修改

liyuxuan 8 months ago
parent
commit
bc7e3fe500
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Demo/Examples/ComPDFKit.Tool/CPDFViewerTool.Annot.cs

+ 1 - 1
Demo/Examples/ComPDFKit.Tool/CPDFViewerTool.Annot.cs

@@ -675,7 +675,7 @@ namespace ComPDFKit.Tool
 
                     string fontName = string.Empty;
                     string fontFamily = string.Empty;
-                    CPDFFont.GetFamlyStyleName(textWidget.FreeTextDa.FontName, ref fontFamily, ref fontName);
+                    CPDFFont.GetFamilyStyleName(textWidget.FreeTextDa.FontName, ref fontFamily, ref fontName);
                     textui.FontFamily = new FontFamily(fontFamily);
 
                     textui.AcceptsReturn = true;