Examples of FontFamily


Examples of net.sf.jasperreports.engine.fonts.FontFamily

    {
      FontInfo fontInfo = JRFontUtil.getFontInfo(fontName, locale);
      if (fontInfo != null)
      {
        //fontName found in font extensions
        FontFamily family = fontInfo.getFontFamily();
        String exportFont = family.getExportFont(exporterKey);
        if (exportFont != null)
        {
          fontName = exportFont;
        }
      }
View Full Code Here

Examples of net.sf.jasperreports.engine.fonts.FontFamily

      {
        FontInfo fontInfo = JRFontUtil.getFontInfo(fontFamilyAttr, locale);
        if (fontInfo != null)
        {
          //fontName found in font extensions
          FontFamily family = fontInfo.getFontFamily();
          String exportFont = family.getExportFont(exporterKey);
          if (exportFont != null)
          {
            fontFamily = exportFont;
          }
        }
View Full Code Here

Examples of net.sf.jasperreports.engine.fonts.FontFamily

      {
        FontInfo fontInfo = JRFontUtil.getFontInfo(fontFamilyAttr, locale);
        if (fontInfo != null)
        {
          //fontName found in font extensions
          FontFamily family = fontInfo.getFontFamily();
          String exportFont = family.getExportFont(exporterKey);
          if (exportFont != null)
          {
            fontFamily = exportFont;
          }
        }
View Full Code Here

Examples of net.sf.jasperreports.engine.fonts.FontFamily

    {
      FontInfo fontInfo = JRFontUtil.getFontInfo(fontName, locale);
      if (fontInfo != null)
      {
        //fontName found in font extensions
        FontFamily family = fontInfo.getFontFamily();
        String exportFont = family.getExportFont(getExporterKey());
        if (exportFont != null)
        {
          fontName = exportFont;
        }
      }
View Full Code Here

Examples of net.sf.jasperreports.engine.fonts.FontFamily

    {
      FontInfo fontInfo = JRFontUtil.getFontInfo(fontName, locale);
      if (fontInfo != null)
      {
        //fontName found in font extensions
        FontFamily family = fontInfo.getFontFamily();
        String exportFont = family.getExportFont(getExporterKey());
        if (exportFont != null)
        {
          fontName = exportFont;
        }
      }
View Full Code Here

Examples of net.sf.jasperreports.engine.fonts.FontFamily

    {
      FontInfo fontInfo = JRFontUtil.getFontInfo(fontFamilyAttr, locale);
      if (fontInfo != null)
      {
        //fontName found in font extensions
        FontFamily family = fontInfo.getFontFamily();
        String exportFont = family.getExportFont(getExporterKey());
        if (exportFont != null)
        {
          fontFamily = exportFont;
        }
      }
View Full Code Here

Examples of net.sf.jasperreports.engine.fonts.FontFamily

      {
        FontInfo fontInfo = JRFontUtil.getFontInfo(fontFamilyAttr, locale);
        if (fontInfo != null)
        {
          //fontName found in font extensions
          FontFamily family = fontInfo.getFontFamily();
          String exportFont = family.getExportFont(exporterKey);
          if (exportFont != null)
          {
            fontFamily = exportFont;
          }
        }
View Full Code Here

Examples of org.jfree.fonts.registry.FontFamily

    registry.initialize();
    final String[] fontFamilies = registry.getRegisteredFamilies();
    for (int i = 0; i < fontFamilies.length; i++)
    {
      final String fontFamily = fontFamilies[i];
      final FontFamily family = registry.getFontFamily(fontFamily);
      //final String[] names = family.getAllNames();
      printRecord(family.getFontRecord(false, false));
      printRecord(family.getFontRecord(true, false));
      printRecord(family.getFontRecord(false, true));
      printRecord(family.getFontRecord(true, true));
    }
  }
View Full Code Here

Examples of org.jfree.fonts.registry.FontFamily

    final TrueTypeFontRegistry tfr = new TrueTypeFontRegistry();
    tfr.registerDefaultFontPath();
    for (int i = 0; i < names.length; i++)
    {
      final String name = names[i];
      final FontFamily fofam = tfr.getFontFamily(name);
      if ("AmerType Md BT".equals(name))
      {
        final FontSource fr = (FontSource) fofam.getFontRecord(false, false);
        final FontDataInputSource fs = fr.getFontInputSource();
        final TrueTypeFont ttf = new TrueTypeFont(fs);
        final NameTable nt = (NameTable) ttf.getTable(NameTable.TABLE_ID);
        //PostscriptInformationTable pst = ttf.getTable(PostscriptInformationTable.TABLE_ID);
        final FontHeaderTable fht = (FontHeaderTable) ttf.getTable(FontHeaderTable.TABLE_ID);
View Full Code Here

Examples of org.jfree.fonts.registry.FontFamily

  public FontFamily getFontFamily(final String name)
  {
    for (int i = 0; i < registries.size(); i++)
    {
      final FontRegistry fontRegistry = (FontRegistry) registries.get(i);
      final FontFamily fontFamily = fontRegistry.getFontFamily(name);
      if (fontFamily != null)
      {
        return new CompoundFontFamily(fontFamily, fontRegistry);
      }
    }
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.