Skip to content

Commit f145986

Browse files
Snipxitext-teamcity
authored andcommitted
Make PdfFont#decodeIntoGlyphLine abstract
Autoported commit. Original commit hash: [f00246298]
1 parent 4be1cdb commit f145986

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

itext/itext.kernel/itext/kernel/font/PdfFont.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,7 @@ public virtual bool ContainsGlyph(int unicode) {
166166
/// <see cref="iText.IO.Font.Otf.GlyphLine"/>
167167
/// containing the glyphs encoded by the passed string
168168
/// </returns>
169-
public virtual GlyphLine DecodeIntoGlyphLine(PdfString content) {
170-
throw new InvalidOperationException("decodeIntoGlyphLine(PdfString content) must be overridden");
171-
}
169+
public abstract GlyphLine DecodeIntoGlyphLine(PdfString content);
172170

173171
public abstract float GetContentWidth(PdfString content);
174172

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a8610f86bd6c6da0929370590cab987d77be219f
1+
f0024629850a2b0265e424919439f790c32250e2

0 commit comments

Comments
 (0)