| ||
SharpPlot Tutorials General Tutorials Chart Samples Style Examples SharpLeaf Tutorials Document Layout Tutorials Text Flow Tutorials Table Tutorials Visual Glossaries SharpPlot Reference SharpPlot Class SharpPlot Properties SharpPlot Methods SharpPlot Structures SharpPlot Enumerations PageMap Class SharpLeaf Class SharpLeaf Properties SharpLeaf Methods Table Class Table Properties Table Methods SharpLeaf Structures ParagraphStyle Structure BoxStyle Structure SharpLeaf Enumerations DocumentLayout Classes DocumentLayout Class PageLayout Class PageElement Abstract Class Frame : PageElement Class TextBlock : PageElement Class ImageBlock : PageElement Class Box : PageElement Class Rule : PageElement Class Common Reference Document Class VectorMath Class DbUtil Class Download Release Notes Licensing |
SharpLeaf Reference > FontType Structure > PostscriptName Property FontType.PostscriptName PropertyPostScript-specific font name, which may be different from the system’s TrueType font name. public string PostscriptName {get; set;} Examplefont.PostscriptName = "Univers"; Description4 variants (regular, bold, italic, bold+italic) may be provided here, separated by ‘,’ Otherwise, the standard ‘-Bold’ ‘-Italic’ ‘-BoldItalic’ suffixes are used. So the example above is equivalent to : font.PostscriptName = "Univers,Univers-Bold,Univers-Italic,Univers-BoldItalic"; Embedding PFA font filesA PFA font file can be embedded if a fontname is followed by ‘@’ and then the path to the font file. That allows the Postscript file to be independent of the presence of the font by the displaying device. font.PostscriptName = "Univers@C:\\fonts\\universe.pfa"; // specify the font file to embed that has the font as described by the name. A PFA font file can be generated from a TTF file with “ttd2pt1 -e”. See also ... |