507 public String getPostscriptName() { 508 return fullName; 509 } 510 511 public String getFontName(Locale l) { 512 return fullName; 513 } 514 515 public String getFamilyName(Locale l) { 516 return familyName; 517 } 518 519 public int getNumGlyphs() { 520 return getMapper().getNumGlyphs(); 521 } 522 523 public int charToGlyph(int wchar) { 524 return getMapper().charToGlyph(wchar); 525 } 526 527 public int getMissingGlyphCode() { 528 return getMapper().getMissingGlyphCode(); 529 } 530 531 public boolean canDisplay(char c) { 532 return getMapper().canDisplay(c); 533 } 534 535 public boolean canDisplay(int cp) { 536 return getMapper().canDisplay(cp); 537 } 538 539 public byte getBaselineFor(char c) { 540 return Font.ROMAN_BASELINE; 541 } 542 543 public float getItalicAngle(Font font, AffineTransform at, 544 Object aaHint, Object fmHint) { 545 /* hardwire psz=12 as that's typical and AA vs non-AA for 'gasp' mode 546 * isn't important for the caret slope of this rarely used API. | 507 public String getPostscriptName() { 508 return fullName; 509 } 510 511 public String getFontName(Locale l) { 512 return fullName; 513 } 514 515 public String getFamilyName(Locale l) { 516 return familyName; 517 } 518 519 public int getNumGlyphs() { 520 return getMapper().getNumGlyphs(); 521 } 522 523 public int charToGlyph(int wchar) { 524 return getMapper().charToGlyph(wchar); 525 } 526 527 public void charsToGlyphs(int count, int[] wchars, int[] glyphs) { 528 getMapper().charsToGlyphs(count, wchars, glyphs); 529 } 530 531 public int getMissingGlyphCode() { 532 return getMapper().getMissingGlyphCode(); 533 } 534 535 public boolean canDisplay(char c) { 536 return getMapper().canDisplay(c); 537 } 538 539 public boolean canDisplay(int cp) { 540 return getMapper().canDisplay(cp); 541 } 542 543 public byte getBaselineFor(char c) { 544 return Font.ROMAN_BASELINE; 545 } 546 547 public float getItalicAngle(Font font, AffineTransform at, 548 Object aaHint, Object fmHint) { 549 /* hardwire psz=12 as that's typical and AA vs non-AA for 'gasp' mode 550 * isn't important for the caret slope of this rarely used API. |