Browse Source

line debug

marinofaggiana 5 years ago
parent
commit
faaeea4169
1 changed files with 2 additions and 0 deletions
  1. 2 0
      iOSClient/Main/Create cloud/NCCreateFormUploadScanDocument.swift

+ 2 - 0
iOSClient/Main/Create cloud/NCCreateFormUploadScanDocument.swift

@@ -479,6 +479,8 @@ class NCCreateFormUploadScanDocument: XLFormViewController, NCSelectDelegate {
                                     let bounds = textLine.bounds
                                     let text = textLine.value!
                                     
+                                    print(text)
+                                    
                                     let font = UIFont.systemFont(ofSize: bounds.size.height, weight: .regular)
                                     let bestFittingFont = UIFont.bestFittingFont(for: text, in: bounds, fontDescriptor: font.fontDescriptor, additionalAttributes: nil)
                                     let paragraphStyle:NSMutableParagraphStyle = NSMutableParagraphStyle.default.mutableCopy() as! NSMutableParagraphStyle