Examples of glyph()


Examples of com.google.typography.font.sfntly.table.truetype.GlyphTable.glyph()

      LocaTable locaTable = font.getTable(Tag.loca);
      GlyphTable glyphTable = font.getTable(Tag.glyf);
      int offset = locaTable.glyphOffset(glyphId);
      int length = locaTable.glyphLength(glyphId);
     
      com.google.typography.font.sfntly.table.truetype.Glyph glyph = glyphTable.glyph(offset, length);
    return glyph;
  }

  private int lookupGlyphIndex(char ch) {
    CMapTable cmapTable = font.getTable(Tag.cmap);
View Full Code Here

Examples of iryrwarosh.Item.glyph()

            x, y+1,
            t.color(),
            t.background());
      } else {
        terminal.write(
            item.glyph(),
            x, y+1,
            item.color(),
            t.background());
      }
    }
View Full Code Here

Examples of iryrwarosh.Tile.glyph()

      Tile t = world.tile(x + getScrollX(), y + getScrollY());
      Item item = world.item(x + getScrollX(), y + getScrollY());
     
      if (item == null) {
        terminal.write(
            t.glyph(),
            x, y+1,
            t.color(),
            t.background());
      } else {
        terminal.write(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.