@@ -45,10 +45,6 @@ This file is part of the iText (R) project.
45
45
46
46
import java .io .Serializable ;
47
47
48
- /**
49
- *
50
- * @author psoares
51
- */
52
48
public abstract class OpenTableLookup implements Serializable {
53
49
54
50
private static final long serialVersionUID = 8381791136767127636L ;
@@ -65,15 +61,7 @@ protected OpenTableLookup(OpenTypeFontTableReader openReader, int lookupFlag, in
65
61
public int getLookupFlag () {
66
62
return lookupFlag ;
67
63
}
68
-
69
- protected void readSubTables () throws java .io .IOException {
70
- for (int subTableLocation : subTableLocations ) {
71
- readSubTable (subTableLocation );
72
- }
73
- }
74
-
75
- protected abstract void readSubTable (int subTableLocation ) throws java .io .IOException ;
76
-
64
+
77
65
public abstract boolean transformOne (GlyphLine line );
78
66
79
67
public boolean transformLine (GlyphLine line ) {
@@ -84,7 +72,19 @@ public boolean transformLine(GlyphLine line) {
84
72
}
85
73
return changed ;
86
74
}
87
-
75
+
76
+ public boolean hasSubstitution (int index ) {
77
+ return false ;
78
+ }
79
+
80
+ protected void readSubTables () throws java .io .IOException {
81
+ for (int subTableLocation : subTableLocations ) {
82
+ readSubTable (subTableLocation );
83
+ }
84
+ }
85
+
86
+ protected abstract void readSubTable (int subTableLocation ) throws java .io .IOException ;
87
+
88
88
public static class GlyphIndexer {
89
89
public GlyphLine line ;
90
90
public Glyph glyph ;
@@ -113,7 +113,4 @@ public void previousGlyph(OpenTypeFontTableReader openReader, int lookupFlag) {
113
113
}
114
114
}
115
115
116
- public boolean hasSubstitution (int index ) {
117
- return false ;
118
- }
119
116
}
0 commit comments