Package org.pentaho.reporting.libraries.fonts.registry

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


public class GraphicsOutputProcessorMetaData extends AbstractOutputProcessorMetaData
{
  public GraphicsOutputProcessorMetaData()
  {
    this(new DefaultFontStorage(new AWTFontRegistry()));
  }
View Full Code Here


  public static final OutputProcessorFeature.NumericOutputProcessorFeature CHAR_HEIGHT =
      new OutputProcessorFeature.NumericOutputProcessorFeature("txt.character-height-pt");

  public TextOutputProcessorMetaData(final float lpi, final float cpi)
  {
    super(new DefaultFontStorage(new MonospaceFontRegistry(lpi, cpi)));
    setNumericFeatureValue(TextOutputProcessorMetaData.CHAR_WIDTH, 72.0 / cpi);
    setNumericFeatureValue(TextOutputProcessorMetaData.CHAR_HEIGHT, 72.0 / lpi);
    // the plain text target does not support arabic text at all.
    removeFeature(OutputProcessorFeature.COMPLEX_TEXT);
  }
View Full Code Here

      throws ReportProcessingException, ContentProcessingException
  {
    final FontStorage fontRegistry;
    if (monospaced)
    {
      fontRegistry = new DefaultFontStorage(new MonospaceFontRegistry(9, 18));
    }
    else
    {
      fontRegistry = DebugOutputProcessorMetaData.getLocalFontStorage();
    }
View Full Code Here

  private double deviceResolution;
  private CacheKey lookupCacheKey;

  protected AbstractOutputProcessorMetaData()
  {
    this(new DefaultFontStorage(new AWTFontRegistry()));
  }
View Full Code Here

    if (localFontRegistry == null)
    {
      localFontRegistry = new LocalFontRegistry();
      localFontRegistry.initialize();
    }
    return new DefaultFontStorage(localFontRegistry);
  }
View Full Code Here

*/
public class DesignerOutputProcessorMetaData extends AbstractOutputProcessorMetaData
{
  public DesignerOutputProcessorMetaData(final Configuration configuration)
  {
    super(configuration, new DefaultFontStorage(new AWTFontRegistry()));
    addFeature(OutputProcessorFeature.FAST_FONTRENDERING);
    addFeature(OutputProcessorFeature.BACKGROUND_IMAGE);
    addFeature(OutputProcessorFeature.SPACING_SUPPORTED);
    addFeature(OutputProcessorFeature.WATERMARK_SECTION);
    addFeature(OutputProcessorFeature.DESIGNTIME);
View Full Code Here

  private PrototypeBuildingRenderer prototypeBuilder;

  public FlowGraphicsOutputProcessor(final Configuration configuration)
  {
    super(configuration);
    final DefaultFontStorage fontStorage = new DefaultFontStorage(new AWTFontRegistry());

    // Todo:
    metaData = new GraphicsOutputProcessorMetaData(fontStorage, true);
  }
View Full Code Here

    this(createFontStorage(), paginationMode);
  }

  private static FontStorage createFontStorage()
  {
    return new DefaultFontStorage(new AWTFontRegistry());
  }
View Full Code Here

  public StreamingHtmlOutputProcessor(final Configuration configuration)
  {
    super(configuration);

    final FontRegistry fontRegistry = new AWTFontRegistry();
    final FontStorage fontStorage = new DefaultFontStorage(fontRegistry);
    this.metaData = new HtmlOutputProcessorMetaData
        (fontStorage, HtmlOutputProcessorMetaData.PAGINATION_NONE);

    final ContentLocation contentLocation = new DummyRepository().getRoot();
    final NameGenerator contentNameGenerator = new DefaultNameGenerator(contentLocation);
View Full Code Here

*/
public class PlaintextOutputMetaData extends AbstractOutputProcessorMetaData
{
  public PlaintextOutputMetaData(final FontRegistry registry)
  {
    super(new DefaultFontStorage(registry));
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.fonts.registry.DefaultFontStorage

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.