Object Model Reference : Classes : P : PDFVBASettings : Properties : PDFVBASettings.TrueTypeToType1 |
Property TrueTypeToType1 As Boolean
Member of PDFVBASettings
The TrueTypeToType1 property determines whether to convert TrueType fonts to Type 1 fonts when publishing a document to PDF.
The following VBA example publishes the document to PDF. All document fonts are converted to Type 1 and embedded in the PDF file along with the base-14 fonts. Fonts are subset if less than 80% of their character set is used.
Sub Test() |
With ActiveDocument.PDFSettings |
.EmbedBaseFonts = True |
.EmbedFonts = True |
.SubsetFonts = True |
.SubsetPct = 80 |
.TextAsCurves = False |
.TrueTypeToType1 = True |
End With |
ActiveDocument.PublishToPDF "C:\MyDocument.pdf" |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.