49 metrics.x = 0; 50 metrics.y = 0; 51 } 52 53 Rectangle2D.Float getGlyphOutlineBounds(long pContext, int glyphCode) { 54 return new Rectangle2D.Float(0, 0, 0, 0); 55 } 56 57 GeneralPath getGlyphOutline(long pScalerContext, int glyphCode, 58 float x, float y) { 59 return new GeneralPath(); 60 } 61 62 GeneralPath getGlyphVectorOutline(long pScalerContext, int[] glyphs, 63 int numGlyphs, float x, float y) { 64 return new GeneralPath(); 65 } 66 67 long getLayoutTableCache() {return 0L;} 68 69 long createScalerContext(double[] matrix, int aa, 70 int fm, float boldness, float italic, boolean disableHinting) { 71 return getNullScalerContext(); 72 } 73 74 void invalidateScalerContext(long ppScalerContext) { 75 //nothing to do 76 } 77 78 int getNumGlyphs() throws FontScalerException { 79 return 1; 80 } 81 82 int getMissingGlyphCode() throws FontScalerException { 83 return 0; 84 } 85 86 int getGlyphCode(char charCode) throws FontScalerException { 87 return 0; 88 } 89 90 long getUnitsPerEm() { | 49 metrics.x = 0; 50 metrics.y = 0; 51 } 52 53 Rectangle2D.Float getGlyphOutlineBounds(long pContext, int glyphCode) { 54 return new Rectangle2D.Float(0, 0, 0, 0); 55 } 56 57 GeneralPath getGlyphOutline(long pScalerContext, int glyphCode, 58 float x, float y) { 59 return new GeneralPath(); 60 } 61 62 GeneralPath getGlyphVectorOutline(long pScalerContext, int[] glyphs, 63 int numGlyphs, float x, float y) { 64 return new GeneralPath(); 65 } 66 67 long getLayoutTableCache() {return 0L;} 68 69 long createScalerContext(double[] matrix, double scaleX, double scaleY, 70 int aa, int fm, float boldness, float italic, 71 boolean disableHinting) { 72 return getNullScalerContext(); 73 } 74 75 void invalidateScalerContext(long ppScalerContext) { 76 //nothing to do 77 } 78 79 int getNumGlyphs() throws FontScalerException { 80 return 1; 81 } 82 83 int getMissingGlyphCode() throws FontScalerException { 84 return 0; 85 } 86 87 int getGlyphCode(char charCode) throws FontScalerException { 88 return 0; 89 } 90 91 long getUnitsPerEm() { |