Skip to content

Non-system Fonts Don't Seem to be Supported #7

Description

@schmidtw

It appears that the non-system font directory that can be passed in from maven-jdocbook-plugin gets silently ignored, providing no way to use a non-system font directory path.

src/main/java/org/jboss/jdocbook/render/fop/FopConfigHelper.java:

// did not work for me :(
//          if ( environment.getFontDirectories() != null ) {
//              for ( File fontDirectory : environment.getFontDirectories() ) {
//                  DefaultConfiguration fontDirectoryElement = new DefaultConfiguration( "directory" );
//                  fontDirectoryElement.setValue( fontDirectory.getAbsolutePath() );
//                  fontsConfig.addChild( fontDirectoryElement );
//              }
//          }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions