evstevemd wrote:I want to use wxPDFDoc with my app. I don't want to build it separately and I wonder if I can just include the files with my project and build them together.
Sure, you can do that of course. There are currently no external dependencies except wxWidgets.
evstevemd wrote:Also I want to use System fonts so I don't want to include with my app extra fonts. Are those two things possible?
Well, that depends on the requirements of your application. If you can restrict your application to just use the 14 PDF / PostScript core fonts Helvetica
(Regular, Bold, Oblique, BoldOblique), Times Roman
((Regular, Bold, Oblique, BoldOblique), Courier
(Regular, Bold, Oblique, BoldOblique), Symbol
, and ZapfDingbats
, then no fonts have to be embedded into the resulting PDF document. You refer to those fonts by the names "Courier", "Helvetica", "Times", "Symbol", and "ZapfDingbats" in the wxPdfDocument API. It is not required to "register" those fonts; they are always "known" by wxPdfDocument.
However, you have to face the fact that the core fonts support only a limited character set, corresponding more or less to Windows-1252
(Latin-1) or ISO-8859-1
codepages. You can find the list of available characters in Appendix D
of the Adobe PDF reference