congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MaxpTable
Code IndexAdd Tabnine to your IDE (free)

How to use
MaxpTable
in
jogamp.graph.font.typecast.ot.table

Best Java code snippets using jogamp.graph.font.typecast.ot.table.MaxpTable (Showing top 14 results out of 315)

origin: ch.unibas.cs.gravis/scalismo-native-stub

public int getNumGlyphs() {
  return _maxp.getNumGlyphs();
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

  break;
case Table.maxp:
  t = new MaxpTable(de, dis);
  break;
case Table.name:
origin: org.jogamp.jogl/jogl-all-noawt

  break;
case Table.maxp:
  t = new MaxpTable(de, dis);
  break;
case Table.name:
origin: org.jogamp.jogl/jogl-all-noawt

public int getNumGlyphs() {
  return _maxp.getNumGlyphs();
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

protected LocaTable(
    final DirectoryEntry de,
    final DataInput di,
    final HeadTable head,
    final MaxpTable maxp) throws IOException {
  _de = (DirectoryEntry) de.clone();
  _offsets = new int[maxp.getNumGlyphs() + 1];
  final boolean shortEntries = head.getIndexToLocFormat() == 0;
  if (shortEntries) {
    _factor = 2;
    for (int i = 0; i <= maxp.getNumGlyphs(); i++) {
      _offsets[i] = di.readUnsignedShort();
    }
  } else {
    _factor = 1;
    for (int i = 0; i <= maxp.getNumGlyphs(); i++) {
      _offsets[i] = di.readInt();
    }
  }
}
origin: org.jogamp.jogl/jogl-all-noawt

protected LocaTable(
    final DirectoryEntry de,
    final DataInput di,
    final HeadTable head,
    final MaxpTable maxp) throws IOException {
  _de = (DirectoryEntry) de.clone();
  _offsets = new int[maxp.getNumGlyphs() + 1];
  final boolean shortEntries = head.getIndexToLocFormat() == 0;
  if (shortEntries) {
    _factor = 2;
    for (int i = 0; i <= maxp.getNumGlyphs(); i++) {
      _offsets[i] = di.readUnsignedShort();
    }
  } else {
    _factor = 1;
    for (int i = 0; i <= maxp.getNumGlyphs(); i++) {
      _offsets[i] = di.readInt();
    }
  }
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Creates a new instance of HdmxTable */
protected HdmxTable(final DirectoryEntry de, final DataInput di, final MaxpTable maxp)
throws IOException {
  _de = (DirectoryEntry) de.clone();
  _version = di.readUnsignedShort();
  _numRecords = di.readShort();
  _sizeDeviceRecords = di.readInt();
  _records = new DeviceRecord[_numRecords];
  // Read the device records
  for (int i = 0; i < _numRecords; ++i) {
    _records[i] = new DeviceRecord(maxp.getNumGlyphs(), di);
  }
}
origin: org.jogamp.jogl/jogl-all-noawt

/** Creates a new instance of HdmxTable */
protected HdmxTable(final DirectoryEntry de, final DataInput di, final MaxpTable maxp)
throws IOException {
  _de = (DirectoryEntry) de.clone();
  _version = di.readUnsignedShort();
  _numRecords = di.readShort();
  _sizeDeviceRecords = di.readInt();
  _records = new DeviceRecord[_numRecords];
  // Read the device records
  for (int i = 0; i < _numRecords; ++i) {
    _records[i] = new DeviceRecord(maxp.getNumGlyphs(), di);
  }
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

protected HmtxTable(
    final DirectoryEntry de,
    final DataInput di,
    final HheaTable hhea,
    final MaxpTable maxp) throws IOException {
  _de = (DirectoryEntry) de.clone();
  _hMetrics = new int[hhea.getNumberOfHMetrics()];
  for (int i = 0; i < hhea.getNumberOfHMetrics(); ++i) {
    _hMetrics[i] =
        di.readUnsignedByte()<<24
        | di.readUnsignedByte()<<16
        | di.readUnsignedByte()<<8
        | di.readUnsignedByte();
  }
  final int lsbCount = maxp.getNumGlyphs() - hhea.getNumberOfHMetrics();
  _leftSideBearing = new short[lsbCount];
  for (int i = 0; i < lsbCount; ++i) {
    _leftSideBearing[i] = di.readShort();
  }
}
origin: org.jogamp.jogl/jogl-all-noawt

protected HmtxTable(
    final DirectoryEntry de,
    final DataInput di,
    final HheaTable hhea,
    final MaxpTable maxp) throws IOException {
  _de = (DirectoryEntry) de.clone();
  _hMetrics = new int[hhea.getNumberOfHMetrics()];
  for (int i = 0; i < hhea.getNumberOfHMetrics(); ++i) {
    _hMetrics[i] =
        di.readUnsignedByte()<<24
        | di.readUnsignedByte()<<16
        | di.readUnsignedByte()<<8
        | di.readUnsignedByte();
  }
  final int lsbCount = maxp.getNumGlyphs() - hhea.getNumberOfHMetrics();
  _leftSideBearing = new short[lsbCount];
  for (int i = 0; i < lsbCount; ++i) {
    _leftSideBearing[i] = di.readShort();
  }
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

protected VmtxTable(
    final DirectoryEntry de,
    final DataInput di,
    final VheaTable vhea,
    final MaxpTable maxp) throws IOException {
  _de = (DirectoryEntry) de.clone();
  _vMetrics = new int[vhea.getNumberOfLongVerMetrics()];
  for (int i = 0; i < vhea.getNumberOfLongVerMetrics(); ++i) {
    _vMetrics[i] =
        di.readUnsignedByte()<<24
        | di.readUnsignedByte()<<16
        | di.readUnsignedByte()<<8
        | di.readUnsignedByte();
  }
  final int tsbCount = maxp.getNumGlyphs() - vhea.getNumberOfLongVerMetrics();
  _topSideBearing = new short[tsbCount];
  for (int i = 0; i < tsbCount; ++i) {
    _topSideBearing[i] = di.readShort();
  }
}
origin: org.jogamp.jogl/jogl-all-noawt

protected VmtxTable(
    final DirectoryEntry de,
    final DataInput di,
    final VheaTable vhea,
    final MaxpTable maxp) throws IOException {
  _de = (DirectoryEntry) de.clone();
  _vMetrics = new int[vhea.getNumberOfLongVerMetrics()];
  for (int i = 0; i < vhea.getNumberOfLongVerMetrics(); ++i) {
    _vMetrics[i] =
        di.readUnsignedByte()<<24
        | di.readUnsignedByte()<<16
        | di.readUnsignedByte()<<8
        | di.readUnsignedByte();
  }
  final int tsbCount = maxp.getNumGlyphs() - vhea.getNumberOfLongVerMetrics();
  _topSideBearing = new short[tsbCount];
  for (int i = 0; i < tsbCount; ++i) {
    _topSideBearing[i] = di.readShort();
  }
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

  final LocaTable loca) throws IOException {
_de = (DirectoryEntry) de.clone();
_descript = new GlyfDescript[maxp.getNumGlyphs()];
for (int i = 0; i < maxp.getNumGlyphs(); i++) {
  final int len = loca.getOffset(i + 1) - loca.getOffset(i);
  if (len > 0) {
for (int i = 0; i < maxp.getNumGlyphs(); i++) {
  final int len = loca.getOffset(i + 1) - loca.getOffset(i);
  if (len > 0) {
origin: org.jogamp.jogl/jogl-all-noawt

  final LocaTable loca) throws IOException {
_de = (DirectoryEntry) de.clone();
_descript = new GlyfDescript[maxp.getNumGlyphs()];
for (int i = 0; i < maxp.getNumGlyphs(); i++) {
  final int len = loca.getOffset(i + 1) - loca.getOffset(i);
  if (len > 0) {
for (int i = 0; i < maxp.getNumGlyphs(); i++) {
  final int len = loca.getOffset(i + 1) - loca.getOffset(i);
  if (len > 0) {
jogamp.graph.font.typecast.ot.tableMaxpTable

Most used methods

  • <init>
  • getNumGlyphs

Popular in Java

  • Reading from database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • getContentResolver (Context)
  • onCreateOptionsMenu (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now