com.agilejava.docbkx.support.fop
Class FontmetricsMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.agilejava.docbkx.support.fop.FontmetricsMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class FontmetricsMojo
extends org.apache.maven.plugin.AbstractMojo

A Maven plugin for generating FOP font metrics files from font files.

Author:
Wilfred Springer

Field Summary
protected  boolean ansi
          Creates a WinAnsi-encoded font metrics file.
protected  File sourceDirectory
          The directory containing the font files.
protected  File targetDirectory
          The directory to which the metrics files will be generated.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
FontmetricsMojo()
           
 
Method Summary
 void execute()
           Generates font metric files from the font files found in the source directory.
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceDirectory

protected File sourceDirectory
The directory containing the font files.


targetDirectory

protected File targetDirectory
The directory to which the metrics files will be generated.


ansi

protected boolean ansi
Creates a WinAnsi-encoded font metrics file. Without this option, a CID-keyed font metrics file is created. The table below summarizes the differences between these two encoding options as currently used within FOP. Please note that this information only applies to TrueType fonts and TrueType collections

Constructor Detail

FontmetricsMojo

public FontmetricsMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Generates font metric files from the font files found in the source directory.

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2006-2013. All Rights Reserved.