Examples of FontRecord


Examples of org.pentaho.reporting.libraries.fonts.registry.FontRecord

    reusableFontContext.setAntiAliased(antiAliasing);
    reusableFontContext.setFontSize(fontSize);
    reusableFontContext.setEncoding(encoding);
    reusableFontContext.setEmbedded(embedded);

    final FontRecord record = family.getFontRecord(bold, italics);
    final FontMetrics fm = getFontStorage().getFontMetrics(record.getIdentifier(), reusableFontContext);
    if (fm == null)
    {
      // If this case happens, then the previous steps of mapping the font name into sensible
      // defaults failed. The font-system's font-registry is not in sync with the actual font-metrics
      // provider (which indicates that the LibFonts font-system implementation is invalid).
View Full Code Here

Examples of org.pentaho.reporting.libraries.fonts.registry.FontRecord

    final String[] sourceFiles = records.keySet().toArray(new String[records.size()]);
    Arrays.sort(sourceFiles);
    for (int i = 0; i < sourceFiles.length; i++)
    {
      final String sourceFile = sourceFiles[i];
      final FontRecord fontRecord = records.get(sourceFile);
      final FontMetrics metrics = metricsFactory.createMetrics(fontRecord.getIdentifier(), context);

      writer.writeTag(null, "font-source", "source", sourceFile, false);
/*
    <global-metrics ascent="0" descent="0" italic-angle="0" leading="0"
                    max-ascent="0" max-char-advance="0" max-descent="0" max-height="0"
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.