PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.fonts.truetype Package / PDFUnicodeTrueTypeFont Class / PDFUnicodeTrueTypeFont Constructor / PDFUnicodeTrueTypeFont Constructor(String,int,double,boolean)
Path to TrueType font collection file.
TrueType font index in the collection.
Font size.
If true, the font will be embedded in the PDF file.
Collapse All Expand All
In This Topic

PDFUnicodeTrueTypeFont Constructor(String,int,double,boolean)
In This Topic
Initializes a new Object.
Syntax

    public PDFUnicodeTrueTypeFont(
       java.lang.String path,
       int index,
       double size,
       boolean embed
    )

#### Parameters

path
  Path to TrueType font collection file.
index
  TrueType font index in the collection.
size
  Font size.
embed
  If true, the font will be embedded in the PDF file.

See Also

#### Reference

PDFUnicodeTrueTypeFont Class
PDFUnicodeTrueTypeFont Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.