/** * Returns the Panose entry of the Style dictionary, if any. * * @return A Panose wrapper object. */ public PDPanose getPanose() { COSDictionary style = (COSDictionary)dic.getDictionaryObject(COSName.STYLE); if (style != null) { COSString panose = (COSString)style.getDictionaryObject(COSName.PANOSE); byte[] bytes = panose.getBytes(); return new PDPanose(bytes); } return null; } }
PDPanoseClassification panose = fontDescriptor.getPanose().getPanose(); if (panose.getFamilyKind() == info.getPanose().getFamilyKind())
@Override Object[][] getFlagBits() { PDPanoseClassification pc = new PDPanose(bytes).getPanose(); return new Object[][]{ {2, "Family Kind", pc.getFamilyKind(), getFamilyKindValue(pc.getFamilyKind())}, {3, "Serif Style", pc.getSerifStyle(), getSerifStyleValue(pc.getSerifStyle())}, {4, "Weight", pc.getWeight(), getWeightValue(pc.getWeight())}, {5, "Proportion", pc.getProportion(), getProportionValue(pc.getProportion())}, {6, "Contrast", pc.getContrast(), getContrastValue(pc.getContrast())}, {7, "Stroke Variation", pc.getStrokeVariation(), getStrokeVariationValue(pc.getStrokeVariation())}, {8, "Arm Style", pc.getArmStyle(), getArmStyleValue(pc.getArmStyle())}, {9, "Letterform", pc.getLetterform(), getLetterformValue(pc.getLetterform())}, {10, "Midline", pc.getMidline(), getMidlineValue(pc.getMidline())}, {11, "X-height", pc.getXHeight(), getXHeightValue(pc.getXHeight())}, }; }
/** * Returns the Panose entry of the Style dictionary, if any. * * @return A Panose wrapper object. */ public PDPanose getPanose() { COSDictionary style = (COSDictionary)dic.getDictionaryObject(COSName.STYLE); if (style != null) { COSString panose = (COSString)style.getDictionaryObject(COSName.PANOSE); byte[] bytes = panose.getBytes(); return new PDPanose(bytes); } return null; } }
PDPanoseClassification panose = fontDescriptor.getPanose().getPanose(); if (panose.getFamilyKind() == info.getPanose().getFamilyKind())
/** * Returns the Panose entry of the Style dictionary, if any. * * @return A Panose wrapper object. */ public PDPanose getPanose() { COSDictionary style = (COSDictionary)dic.getDictionaryObject(COSName.STYLE); if (style != null) { COSString panose = (COSString)style.getDictionaryObject(COSName.PANOSE); byte[] bytes = panose.getBytes(); return new PDPanose(bytes); } return null; } }
PDPanoseClassification panose = fontDescriptor.getPanose().getPanose(); if (panose.getFamilyKind() == info.getPanose().getFamilyKind())