PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Getting a list of fonts/color model from a Pdf
https://forum.pdfsharp.net/viewtopic.php?f=2&t=2294
Page 1 of 1

Author:  Bladedo [ Thu Jan 10, 2013 8:57 am ]
Post subject:  Getting a list of fonts/color model from a Pdf

Hello,

I am pretty new to PdfSharp and am trying to build an application around it, I have a few questions.

Is it possible to get a list of fonts used by a pdf when you open a pdf through PdfReader.Open()?
Are you able to see if they are embedded in the document too perhaps?
Also are you able to find out the color profile/model(RGB or CMYK) from a document?

Thanks in advance.

Edit: I've tried using Options.ColorMode() but it's always undefined when loading in a pdf. For the fonts I've tried calling settings.PrivateFontCollection but that seems to be a private get.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/