Examples of descender()


Examples of com.google.typography.font.sfntly.table.core.HorizontalHeaderTable.descender()

        0, // underline thickness,
        0, //_underlineOffset
        0, //_strikethroughThickness,
        0, //_strikethroughOffset,
        toPixels(hhead.lineGap()),
        toPixels(hhead.lineGap() + hhead.ascender() + hhead.descender()),
        toPixels(hhead.ascender()),
        toPixels(hhead.descender()),
        toPixels(0)); // _maxCharWidth
  }
 
View Full Code Here

Examples of com.google.typography.font.sfntly.table.core.HorizontalHeaderTable.descender()

        0, //_strikethroughThickness,
        0, //_strikethroughOffset,
        toPixels(hhead.lineGap()),
        toPixels(hhead.lineGap() + hhead.ascender() + hhead.descender()),
        toPixels(hhead.ascender()),
        toPixels(hhead.descender()),
        toPixels(0)); // _maxCharWidth
  }
 
  private float toPixels(double sizeInUnits) {
    return (float) (sizeInUnits / unitsPerEm * size);
 
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.