Package org.apache.fop.complexscripts.scripts

Examples of org.apache.fop.complexscripts.scripts.ScriptProcessor


     * @param script a script identifier
     * @param language a language identifier
     * @return the reordered (output) glyph sequence
     */
    public GlyphSequence reorderCombiningMarks ( GlyphSequence gs, int[][] gpa, String script, String language ) {
        ScriptProcessor sp = ScriptProcessor.getInstance ( script );
        return sp.reorderCombiningMarks ( this, gs, gpa, script, language );
    }
View Full Code Here


     * @return true if some adjustment is not zero; otherwise, false
     */
    public boolean position ( GlyphSequence gs, String script, String language, int fontSize, int[] widths, int[][] adjustments ) {
        Map/*<LookupSpec,List<LookupTable>>*/ lookups = matchLookups ( script, language, "*" );
        if ( ( lookups != null ) && ( lookups.size() > 0 ) ) {
            ScriptProcessor sp = ScriptProcessor.getInstance ( script );
            return sp.position ( this, gs, script, language, fontSize, lookups, widths, adjustments );
        } else {
            return false;
        }
    }
View Full Code Here

     */
    public GlyphSequence substitute ( GlyphSequence gs, String script, String language ) {
        GlyphSequence ogs;
        Map/*<LookupSpec,List<LookupTable>>*/ lookups = matchLookups ( script, language, "*" );
        if ( ( lookups != null ) && ( lookups.size() > 0 ) ) {
            ScriptProcessor sp = ScriptProcessor.getInstance ( script );
            ogs = sp.substitute ( this, gs, script, language, lookups );
        } else {
            ogs = gs;
        }
        return ogs;
    }
View Full Code Here

TOP

Related Classes of org.apache.fop.complexscripts.scripts.ScriptProcessor

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.