Hi,

Something like:

        String fopxconf = "<fop version=\"1.0\">xxx</fop>";
        FopFactory fopFactory = FopFactory.newInstance(new File(".").toURI(),
                new ByteArrayInputStream(fopxconf.getBytes()));
        FOUserAgent foUserAgent = fopFactory.newFOUserAgent();

Thanks

-----Original Message-----
From: Roman Steiner <ro...@gmx.ch> 
Sent: 08 February 2020 14:48
To: fop-users@xmlgraphics.apache.org
Subject: Embedding Apache FOP 2.4: auto detect fonts without reading a 
config-file

Hello,

At the moment I try various things with the "ExampleFO2PDF < 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop/examples/embedding/java/embedding/ExampleFO2PDF.java?view=markup
>
".

Is it possible to set auto detecting fonts direct in the Java code without 
reading a config-file.
Could someone give me an example of how this would work, if it is possible?

Thanks,
Roman


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to