Package de.intarsys.cwt.font.type1
Class Type1Font
- java.lang.Object
-
- de.intarsys.cwt.font.type1.Type1Font
-
public class Type1Font extends java.lang.Object
This is the skeleton for a type 1 font implementation. Up to now, we only need the font metrics (.afm) part.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Type1Font
createFromLocator(de.intarsys.tools.locator.ILocator locator)
java.lang.String
getFontFamilyName()
AFM
getFontMetrics()
java.lang.String
getFontName()
FontStyle
getFontStyle()
de.intarsys.tools.locator.ILocator
getLocator()
protected void
initializeAfm()
protected void
initializeFromLocator()
protected void
initializePfb()
boolean
isSymbolFont()
protected void
setLocator(de.intarsys.tools.locator.ILocator locator)
-
-
-
Constructor Detail
-
Type1Font
public Type1Font()
-
Type1Font
public Type1Font(AFM afm)
-
-
Method Detail
-
createFromLocator
public static Type1Font createFromLocator(de.intarsys.tools.locator.ILocator locator) throws java.io.IOException
- Throws:
java.io.IOException
-
getFontFamilyName
public java.lang.String getFontFamilyName()
-
getFontMetrics
public AFM getFontMetrics()
-
getFontName
public java.lang.String getFontName()
-
getFontStyle
public FontStyle getFontStyle()
-
getLocator
public de.intarsys.tools.locator.ILocator getLocator()
-
initializeAfm
protected void initializeAfm() throws java.io.IOException
- Throws:
java.io.IOException
-
initializeFromLocator
protected void initializeFromLocator() throws java.io.IOException
- Throws:
java.io.IOException
-
initializePfb
protected void initializePfb()
-
isSymbolFont
public boolean isSymbolFont()
-
setLocator
protected void setLocator(de.intarsys.tools.locator.ILocator locator)
-
-