com.gnostice.pdfone
Class PDFViewerXFEFont
java.lang.Object
com.gnostice.pdfone.PDFViewerXFEFont
public class PDFViewerXFEFont
- extends Object
Method Summary |
void |
createFont(String FontBaseName,
byte[] memory,
double size,
long xRes,
long YRes,
int encoding)
|
void |
dispose()
|
short |
getAscent()
|
int |
getBbox_x_max()
|
int |
getBbox_x_min()
|
int |
getBbox_y_max()
|
int |
getBbox_y_min()
|
float |
getCap_height()
|
int |
getContoursCountForChar(double fontSize,
char ch,
boolean isKerning,
boolean isANSI)
|
short |
getDescent()
|
int |
getEncoding()
|
int |
getErrorCode()
|
String |
getFamily_name()
|
double |
getFontSize()
|
short |
getLeading()
|
String |
getName()
|
String |
getPostscript_name()
|
Shape |
getShapeForChar(double fontSize,
char ch,
boolean isANSI)
|
Shape |
getShapeForGlyphIndex(double fontSize,
long glyphIndex,
boolean isANSI)
|
Shape |
getShapeForGlyphName(double fontSize,
String glyphName,
boolean isANSI)
|
Shape |
getShapeForIdentityH_Text(double fontSize,
String str,
boolean isKerning,
boolean isANSI,
float charWidthForCharCodeZero)
|
Shape |
getShapeForStringArray(double fontSize,
String[] str,
boolean isKerning,
boolean isANSI)
|
Shape |
getShapeForText(double fontSize,
String str,
boolean isKerning,
boolean isANSI)
|
float |
getStem_v()
|
String |
getStyle_name()
|
short |
getUnderscore_position()
|
short |
getUnderscore_size()
|
int |
getUnits_per_em()
|
float |
getX_height()
|
long |
getXRes()
|
long |
getYRes()
|
boolean |
isFontAttributesLoaded()
|
boolean |
isVertical_direction()
|
void |
setFontSize(double size)
|
ENCODING_NONE
public static final int ENCODING_NONE
- See Also:
- Constant Field Values
ENCODING_ADOBE_CUSTOM
public static final int ENCODING_ADOBE_CUSTOM
- See Also:
- Constant Field Values
ENCODING_UNICODE
public static final int ENCODING_UNICODE
- See Also:
- Constant Field Values
ENCODING_APPLE_ROMAN
public static final int ENCODING_APPLE_ROMAN
- See Also:
- Constant Field Values
ENCODING_MS_SYMBOL
public static final int ENCODING_MS_SYMBOL
- See Also:
- Constant Field Values
PDFViewerXFEFont
public PDFViewerXFEFont()
createFont
public void createFont(String FontBaseName,
byte[] memory,
double size,
long xRes,
long YRes,
int encoding)
throws com.gnostice.pdfone.PdfViewerFontProcessorException
- Throws:
com.gnostice.pdfone.PdfViewerFontProcessorException
getDescent
public short getDescent()
dispose
public void dispose()
throws IOException
- Throws:
IOException
getAscent
public short getAscent()
getShapeForChar
public Shape getShapeForChar(double fontSize,
char ch,
boolean isANSI)
throws com.gnostice.pdfone.PdfViewerFontProcessorException
- Throws:
com.gnostice.pdfone.PdfViewerFontProcessorException
getShapeForGlyphIndex
public Shape getShapeForGlyphIndex(double fontSize,
long glyphIndex,
boolean isANSI)
throws com.gnostice.pdfone.PdfViewerFontProcessorException
- Throws:
com.gnostice.pdfone.PdfViewerFontProcessorException
getShapeForGlyphName
public Shape getShapeForGlyphName(double fontSize,
String glyphName,
boolean isANSI)
throws com.gnostice.pdfone.PdfViewerFontProcessorException
- Throws:
com.gnostice.pdfone.PdfViewerFontProcessorException
getShapeForStringArray
public Shape getShapeForStringArray(double fontSize,
String[] str,
boolean isKerning,
boolean isANSI)
throws com.gnostice.pdfone.PdfViewerFontProcessorException
- Throws:
com.gnostice.pdfone.PdfViewerFontProcessorException
getContoursCountForChar
public int getContoursCountForChar(double fontSize,
char ch,
boolean isKerning,
boolean isANSI)
getBbox_x_max
public int getBbox_x_max()
getBbox_x_min
public int getBbox_x_min()
getBbox_y_max
public int getBbox_y_max()
getBbox_y_min
public int getBbox_y_min()
getCap_height
public float getCap_height()
getEncoding
public int getEncoding()
getErrorCode
public int getErrorCode()
getFamily_name
public String getFamily_name()
getFontSize
public double getFontSize()
getLeading
public short getLeading()
getName
public String getName()
getPostscript_name
public String getPostscript_name()
getShapeForIdentityH_Text
public Shape getShapeForIdentityH_Text(double fontSize,
String str,
boolean isKerning,
boolean isANSI,
float charWidthForCharCodeZero)
throws com.gnostice.pdfone.PdfViewerFontProcessorException
- Throws:
com.gnostice.pdfone.PdfViewerFontProcessorException
getShapeForText
public Shape getShapeForText(double fontSize,
String str,
boolean isKerning,
boolean isANSI)
throws com.gnostice.pdfone.PdfViewerFontProcessorException
- Throws:
com.gnostice.pdfone.PdfViewerFontProcessorException
getStem_v
public float getStem_v()
getStyle_name
public String getStyle_name()
getUnderscore_position
public short getUnderscore_position()
getUnderscore_size
public short getUnderscore_size()
getUnits_per_em
public int getUnits_per_em()
getXRes
public long getXRes()
getX_height
public float getX_height()
getYRes
public long getYRes()
isFontAttributesLoaded
public boolean isFontAttributesLoaded()
isVertical_direction
public boolean isVertical_direction()
setFontSize
public void setFontSize(double size)
throws com.gnostice.pdfone.PdfViewerFontProcessorException
- Throws:
com.gnostice.pdfone.PdfViewerFontProcessorException
To contact our support team, send an e-mail to support@gnostice.com.
© 2015 Gnostice Information Technologies Private Limited. All rights reserved.
www.gnostice.com