advanceTransform.transform(glyphPos, 0, //source
glyphAdvPos, 0, //destination
glyphPos.length/2); //num points
Font2D font2D = FontManager.getFont2D(font);
if (font2D instanceof TrueTypeFont) {
String family = font2D.getFamilyName(null);
int style = font.getStyle() | font2D.getStyle();
if (!wPrinterJob.setFont(family, scaledFontSizeY, style,
iangle, awScale)) {
return false;
}
wPrinterJob.glyphsOut(glyphCodes, devpos.x, devpos.y, glyphAdvPos);