| Constructor and Description |
|---|
Type1Scaler(Type1Font font,
ScanConverter scanConverter) |
| Modifier and Type | Method and Description |
|---|---|
void |
getBitmap(int gid,
BitmapConsumer bitmapConsumer)
Return the bitmap of a glyph.
|
void |
getOutline(int gid,
OutlineConsumer outlineConsumer)
Return the (hinted) outline of a glyph.
|
void |
setDebugger(ScalerDebugger debugger)
Set a debugger to receive details about the computations.
|
void |
setScale(double pointSize,
double ppemX,
double ppemY,
double dX,
double dY)
Set the scale factor for the font, and describe the target device.
|
public Type1Scaler(Type1Font font, ScanConverter scanConverter)
public void setScale(double pointSize,
double ppemX,
double ppemY,
double dX,
double dY)
throws InvalidFontException,
UnsupportedFontException
ScalersetScale in interface ScalerInvalidFontExceptionUnsupportedFontExceptionpublic void getOutline(int gid,
OutlineConsumer outlineConsumer)
throws UnsupportedFontException,
InvalidFontException
ScalergetOutline in interface ScalerUnsupportedFontExceptionInvalidFontExceptionpublic void getBitmap(int gid,
BitmapConsumer bitmapConsumer)
throws UnsupportedFontException,
InvalidFontException
ScalergetBitmap in interface ScalerUnsupportedFontExceptionInvalidFontExceptionpublic void setDebugger(ScalerDebugger debugger)
ScalersetDebugger in interface ScalerCopyright © 2010 - 2020 Adobe. All Rights Reserved