sferyx.administration.renderers.pdfexport
Class FontProperties
java.lang.Object
sferyx.administration.renderers.pdfexport.FontProperties
public class FontProperties
- extends java.lang.Object
Constructor Summary |
FontProperties()
Creates a new instance of FontProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
charUTFGlyphs
public static java.util.Hashtable charUTFGlyphs
FontProperties
public FontProperties()
- Creates a new instance of FontProperties
loadFileSpecs
public static void loadFileSpecs(java.io.InputStream stream)
putFontFileToFontEntry
public static void putFontFileToFontEntry(java.lang.String fileName,
java.lang.String fontName)
saveFileSpecs
public static void saveFileSpecs(java.io.OutputStream stream,
java.lang.String header)
throws java.lang.Exception
- Throws:
java.lang.Exception
getFontForFontFile
public static java.awt.Font getFontForFontFile(java.lang.String fileName)
getStringWidth
public static double getStringWidth(java.lang.String string,
java.lang.String pdfFontName,
float fontSize)
getFontSubstitutionName
public static java.lang.String getFontSubstitutionName(javax.swing.text.View view)
getFontSubsetFromFont
public static byte[] getFontSubsetFromFont(java.awt.Font font,
java.lang.String text)
getFontSubset
public static byte[] getFontSubset(java.io.File fileName,
java.util.Map glyphsUsed)
readStandardString
protected static java.lang.String readStandardString(int length,
java.io.RandomAccessFile rf)
throws java.io.IOException
- Throws:
java.io.IOException