0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved 0N/A// This table maps Unicode joining types to 0N/A shaping array holds types for Arabic chars between 0610 and 0700 0N/A other values are either unshaped, or transparent if a mark or format 0N/A code, except for format codes 200c (zero-width non-joiner) and 200d 0N/A (dual-width joiner) which are both unshaped and non_joining or 0N/A dual-joining, respectively. 0N/A// The isol, fina, init and medi features must be 0N/A// defined in the above order, and have masks that 0N/A// are all in the same nibble. 0N/A // iterate in logical order, store tags in visible order 0N/A // the effective right char is the most recently encountered 0N/A // non-transparent char 0N/A // four boolean states: 0N/A // the effective right char shapes 0N/A // the effective right char causes left shaping 0N/A // the current char shapes 0N/A // the current char causes right shaping 0N/A // if both cause shaping, then 0N/A // shaper.shape(errout, 2) (isolate to initial, or final to medial) 0N/A // erout is effective right logical index