Package com.google.typography.font.sfntly.table.core

Examples of com.google.typography.font.sfntly.table.core.FontHeaderTable


      font = FontFactory.getInstance().loadFonts(ttfInput)[0];
    } catch (IOException e) {
      throw new RuntimeException("Could not load font: " + name, e);
    }
   
    FontHeaderTable head = font.getTable(Tag.head);
    unitsPerEm = head.unitsPerEm();
    yMin = head.yMin();
    yMax = head.yMax();
  }
View Full Code Here

TOP

Related Classes of com.google.typography.font.sfntly.table.core.FontHeaderTable

Copyright © 2018 www.massapicom. 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.