Class AfmFont
java.lang.Object
org.pentaho.reporting.libraries.fonts.afm.AfmFont
- All Implemented Interfaces:
java.io.Serializable
public class AfmFont
extends java.lang.Object
implements java.io.Serializable
An AFM font is a simple text file.
- Author:
- Thomas Morgner
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAfmFont
(java.io.File font, boolean embeddable) AfmFont
(FontDataInputSource inputSource, boolean embeddable) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
getDirectionSection
(int index) java.lang.String
java.lang.String
java.lang.String
getInput()
int
boolean
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AfmFont
public AfmFont(java.io.File font, boolean embeddable) throws java.io.IOException - Throws:
java.io.IOException
-
AfmFont
- Throws:
java.io.IOException
-
-
Method Details
-
getMetricsSets
public int getMetricsSets() -
getDirectionSection
-
getInput
-
getHeader
-
getFilename
public java.lang.String getFilename() -
getFamilyName
public java.lang.String getFamilyName() -
getFontName
public java.lang.String getFontName() -
isEmbeddable
public boolean isEmbeddable() -
dispose
public void dispose()
-