Skip to content

Commit f002462

Browse files
committed
Make PdfFont#decodeIntoGlyphLine abstract
1 parent a8610f8 commit f002462

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

kernel/src/main/java/com/itextpdf/kernel/font/PdfFont.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,7 @@ public boolean containsGlyph(int unicode) {
173173
* @param content the encoded string
174174
* @return the {@link GlyphLine} containing the glyphs encoded by the passed string
175175
*/
176-
public GlyphLine decodeIntoGlyphLine(PdfString content) {
177-
throw new java.lang.IllegalStateException("decodeIntoGlyphLine(PdfString content) must be overridden");
178-
}
176+
public abstract GlyphLine decodeIntoGlyphLine(PdfString content);
179177

180178
public abstract float getContentWidth(PdfString content);
181179

0 commit comments

Comments
 (0)