VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf Namespace / PdfFontManager Class / ConvertTrueTypeFontProgramToCffFontProgram(PdfFont,Boolean) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    ConvertTrueTypeFontProgramToCffFontProgram(PdfFont,Boolean) Method (PdfFontManager)
    In This Topic
    Converts TrueType font to a Type1 font with CFF font program.
    Syntax
    'Declaration
    
    Public Function ConvertTrueTypeFontProgramToCffFontProgram( _
    ByVal pdfFont
    PDF font.
    As Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont, _
    ByVal scaleCharOutlineToDefaultCoordinateSpace
    A value indicating whether the converter must scale char outlines to the default coordinate space of CFF fonts. Default value is true.
    As Boolean _
    ) As Boolean

    Parameters

    pdfFont
    PDF font.
    scaleCharOutlineToDefaultCoordinateSpace
    A value indicating whether the converter must scale char outlines to the default coordinate space of CFF fonts. Default value is true.

    Return Value

    True - font converted successfully; false - font was not converted because specified PDF font is not TrueType font.
    Exceptions
    ExceptionDescription
    Thrown if symbolic TrueType font cannot be converted into CFF font.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also