Package org.axsl.font

Examples of org.axsl.font.FontServer


        final Log logger = Logging.makeQuietLogger();
        final SessionConfig sessionConfig = new SessionConfig();

        this.testDirectory = Environment.getTestDirectory();

        final FontServer fontServer = FOraySpecific.makeFontServer(logger,
                sessionConfig);
        final GraphicServer graphicServer = FOraySpecific.makeGraphicServer(
                logger);
        final HyphenationServer hyphenServer =
            FOraySpecific.makeHyphenationServer(logger, sessionConfig);
View Full Code Here


            throw new FOrayException(e);
        } catch (final ParserConfigurationException e) {
            throw new FOrayException(e);
        }
        final FOTreeBuilder foTree = this.treeServer.makeFoTree();
        final FontServer fontServer = this.treeServer.getFontServer();
        final FontConsumer fontConsumer = fontServer.makeFontConsumer();
        foTree.setFontConsumer(fontConsumer);
        xmlReader.setContentHandler(foTree);
        try {
            xmlReader.parse(foInputSource);
        } catch (final IOException e) {
View Full Code Here

                && outputStream == null) {
            throw new FOrayException("OutputStream is required.");
        }

        /* Obtain a FontConsumer instance. */
        final FontServer server = getFontServer();
        this.fontConsumer = server.makeFontConsumer();
        this.fontConsumer.setFontSources(this.getOutputTarget()
                .getFontSources());

        /* Finish configuring the OutputTarget. */
        this.outputTarget.setOutputStream(this.getOutputStream());
View Full Code Here

     * or in instantiating the FOraySession.
     */
    public static FOraySession makeFOraySession(
            final SessionConfig sessionConfig) throws FOrayException {
        final Log logger = FOraySpecific.makeLogger(sessionConfig);
        final FontServer fontServer = FOraySpecific.makeFontServer(logger,
                sessionConfig);
        final HyphenationServer hyphenServer =
                FOraySpecific.makeHyphenationServer(logger, sessionConfig);
        final TextServer textServer = FOraySpecific.makeTextServer(logger,
                hyphenServer);
View Full Code Here

TOP

Related Classes of org.axsl.font.FontServer

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.