Package org.apache.fop.complexscripts.util

Examples of org.apache.fop.complexscripts.util.ScriptContextTester


            GlyphSubstitutionTable gsub = tf.getGSUB();
            assertTrue ( gsub != null );
            GlyphSubstitutionSubtable[] sta = findGSUBSubtables ( gsub, script, language, feature, lid );
            assertTrue ( sta != null );
            assertTrue ( sta.length > 0 );
            ScriptContextTester sct = findScriptContextTester ( script, language, feature );
            String[][][] tia = (String[][][]) td[5];            // test instance array
            for ( String[][] ti : tia ) {                       // test instance
                if ( ti != null ) {
                    if ( ti.length > 1 ) {                      // must have at least input and output glyph id arrays
                        String[] igia = ti[0];                  // input glyph id array
View Full Code Here


            GlyphPositioningTable gpos = tf.getGPOS();
            assertTrue ( gpos != null );
            GlyphPositioningSubtable[] sta = findGPOSSubtables ( gpos, script, language, feature, lid );
            assertTrue ( sta != null );
            assertTrue ( sta.length > 0 );
            ScriptContextTester sct = findScriptContextTester ( script, language, feature );
            Object[][] tia = (Object[][]) td[5];                // test instance array
            for ( Object[] ti : tia ) {                         // test instance
                if ( ti != null ) {
                    if ( ti.length > 0 ) {                      // must have at least input glyphs
                        String[] igia = (String[]) ti[0];       // input glyph id array
View Full Code Here

TOP

Related Classes of org.apache.fop.complexscripts.util.ScriptContextTester

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.