This Sample Loads an Arbitrary PDF Into a Temporary Gcpdfdocument, and Lists All Fonts Found in That Document, with Some of Their Properties

This Sample Loads an Arbitrary PDF Into a Temporary Gcpdfdocument, and Lists All Fonts Found in That Document, with Some of Their Properties

This sample loads an arbitrary PDF into a temporary GcPdfDocument, and lists all fonts found in that document, with some of their properties. It also tries to create a Font object from each of those PDF fonts, and reports whether this operation succeeded. Total of 15 fonts found in CompleteJavaScriptBook.pdf: 0: BaseFont: ABCDEE+SegoeUI; IsEmbedded: True. CreateNativeFont succeeded, family: Segoe UI; bold: False; italic: False. 1: BaseFont: ABCDEE+SegoeUI-Semibold; IsEmbedded: True. CreateNativeFont succeeded, family: Segoe UI Semibold; bold: False; italic: False. 2: BaseFont: ABCDEE+SegoeUI-Bold; IsEmbedded: True. CreateNativeFont succeeded, family: Segoe UI; bold: True; italic: False. 3: BaseFont: ABCDEE+SegoeUI-Italic; IsEmbedded: True. CreateNativeFont succeeded, family: Segoe UI; bold: False; italic: True. 4: BaseFont: ABCDEE+Consolas; IsEmbedded: True. CreateNativeFont succeeded, family: Consolas; bold: False; italic: False. 5: BaseFont: ABCDEE+SegoeUI-Italic; IsEmbedded: True. CreateNativeFont succeeded, family: Segoe UI; bold: False; italic: True. 6: BaseFont: ABCDEE+SegoeUI; IsEmbedded: True. CreateNativeFont succeeded, family: Segoe UI; bold: False; italic: False. 7: BaseFont: ABCDEE+SegoeUI-SemiboldItalic; IsEmbedded: True. CreateNativeFont succeeded, family: Segoe UI Semibold; bold: False; italic: True. 8: BaseFont: ABCDEE+Consolas-Bold; IsEmbedded: True. CreateNativeFont succeeded, family: Consolas; bold: True; italic: False. 9: BaseFont: ArialMT; IsEmbedded: False. CreateNativeFont failed 10: BaseFont: ABCDEE+Consolas-Italic; IsEmbedded: True. CreateNativeFont succeeded, family: Consolas; bold: False; italic: True. 11: BaseFont: ABCDEE+SegoeUI-Semibold; IsEmbedded: True. CreateNativeFont succeeded, family: Segoe UI Semibold; bold: False; italic: False. 12: BaseFont: ABCDEE+SegoeUI-Bold; IsEmbedded: True. CreateNativeFont succeeded, family: Segoe UI; bold: True; italic: False. 13: BaseFont: ABCEEE+SegoeUI-BoldItalic; IsEmbedded: True. CreateNativeFont succeeded, family: Segoe UI; bold: True; italic: True. 14: BaseFont: SymbolMT; IsEmbedded: True. CreateNativeFont succeeded, family: Symbol; bold: False; italic: False..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us