| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <TITLE> |
| ArabicTextHandler (Apache Batik Javadoc) |
| </TITLE> |
| |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ArabicTextHandler (Apache Batik Javadoc)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ArabicTextHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| PREV CLASS |
| <A HREF="../../../../../org/apache/batik/gvt/text/AttributedCharacterSpanIterator.html" title="class in org.apache.batik.gvt.text"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/apache/batik/gvt/text/ArabicTextHandler.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="ArabicTextHandler.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.batik.gvt.text</FONT> |
| <BR> |
| Class ArabicTextHandler</H2> |
| <PRE> |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.batik.gvt.text.ArabicTextHandler</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>ArabicTextHandler</B><DT>extends <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL> |
| </PRE> |
| |
| <P> |
| Handles the processing of arabic text. In particular it determines the |
| form each arabic char should take. It also contains methods for substituting |
| plain arabic glyphs with their shaped forms. This is needed when the arabic |
| text is rendered using an AWT font. |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/gvt/text/ArabicTextHandler.html#arabicChar(char)">arabicChar</A></B>(char c)</CODE> |
| |
| <BR> |
| Returns true if the char is a standard arabic char.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/gvt/text/ArabicTextHandler.html#arabicCharTransparent(char)">arabicCharTransparent</A></B>(char c)</CODE> |
| |
| <BR> |
| Returns true if the char is transparent.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/AttributedString.html?is-external=true" title="class or interface in java.text">AttributedString</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/gvt/text/ArabicTextHandler.html#assignArabicForms(java.text.AttributedString)">assignArabicForms</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/AttributedString.html?is-external=true" title="class or interface in java.text">AttributedString</A> as)</CODE> |
| |
| <BR> |
| If the AttributedString contains any arabic chars, assigns an |
| arabic form attribute, i.e. initial|medial|terminal|isolated, |
| to each arabic char.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/gvt/text/ArabicTextHandler.html#charStartsLigature(char)">charStartsLigature</A></B>(char c)</CODE> |
| |
| <BR> |
| Returns true if a ligature exists that starts with the |
| specified character.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/gvt/text/ArabicTextHandler.html#containsArabic(java.text.AttributedCharacterIterator)">containsArabic</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/AttributedCharacterIterator.html?is-external=true" title="class or interface in java.text">AttributedCharacterIterator</A> aci)</CODE> |
| |
| <BR> |
| Returns true if the ACI contains any arabic characters.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/gvt/text/ArabicTextHandler.html#containsArabic(java.text.AttributedString)">containsArabic</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/AttributedString.html?is-external=true" title="class or interface in java.text">AttributedString</A> as)</CODE> |
| |
| <BR> |
| Returns true if the string contains any arabic characters.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/gvt/text/ArabicTextHandler.html#createSubstituteString(java.text.AttributedCharacterIterator)">createSubstituteString</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/AttributedCharacterIterator.html?is-external=true" title="class or interface in java.text">AttributedCharacterIterator</A> aci)</CODE> |
| |
| <BR> |
| Where possible substitues plain arabic glyphs with their shaped |
| forms.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/gvt/text/ArabicTextHandler.html#getNumChars(char)">getNumChars</A></B>(char c)</CODE> |
| |
| <BR> |
| Returns the number of characters the glyph for the specified |
| character represents.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/gvt/text/ArabicTextHandler.html#getSubstituteChar(char, char, int)">getSubstituteChar</A></B>(char ch1, |
| char ch2, |
| int form)</CODE> |
| |
| <BR> |
| Will try and find a substitute character of the specified form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/gvt/text/ArabicTextHandler.html#getSubstituteChar(char, int)">getSubstituteChar</A></B>(char ch, |
| int form)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/gvt/text/ArabicTextHandler.html#hasSubstitute(char, char)">hasSubstitute</A></B>(char ch1, |
| char ch2)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/batik/gvt/text/ArabicTextHandler.html#isLigature(char)">isLigature</A></B>(char c)</CODE> |
| |
| <BR> |
| Returns true if the glyph for the specified character |
| respresents a ligature.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="assignArabicForms(java.text.AttributedString)"><!-- --></A><H3> |
| assignArabicForms</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/AttributedString.html?is-external=true" title="class or interface in java.text">AttributedString</A> <B>assignArabicForms</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/AttributedString.html?is-external=true" title="class or interface in java.text">AttributedString</A> as)</PRE> |
| <DL> |
| <DD>If the AttributedString contains any arabic chars, assigns an |
| arabic form attribute, i.e. initial|medial|terminal|isolated, |
| to each arabic char. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>as</CODE> - The string to attach the arabic form attributes to. |
| <DT><B>Returns:</B><DD>An attributed string with arabic form attributes.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="arabicChar(char)"><!-- --></A><H3> |
| arabicChar</H3> |
| <PRE> |
| public static boolean <B>arabicChar</B>(char c)</PRE> |
| <DL> |
| <DD>Returns true if the char is a standard arabic char. |
| (ie. within the range U+0600 - U+6FF) |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>c</CODE> - The character to test. |
| <DT><B>Returns:</B><DD>True if the char is arabic, false otherwise.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="containsArabic(java.text.AttributedString)"><!-- --></A><H3> |
| containsArabic</H3> |
| <PRE> |
| public static boolean <B>containsArabic</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/AttributedString.html?is-external=true" title="class or interface in java.text">AttributedString</A> as)</PRE> |
| <DL> |
| <DD>Returns true if the string contains any arabic characters. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>as</CODE> - The string to test. |
| <DT><B>Returns:</B><DD>True if at least one char is arabic, false otherwise.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="containsArabic(java.text.AttributedCharacterIterator)"><!-- --></A><H3> |
| containsArabic</H3> |
| <PRE> |
| public static boolean <B>containsArabic</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/AttributedCharacterIterator.html?is-external=true" title="class or interface in java.text">AttributedCharacterIterator</A> aci)</PRE> |
| <DL> |
| <DD>Returns true if the ACI contains any arabic characters. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>aci</CODE> - The AttributedCharacterIterator to test. |
| <DT><B>Returns:</B><DD>True if at least one char is arabic, false otherwise.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="arabicCharTransparent(char)"><!-- --></A><H3> |
| arabicCharTransparent</H3> |
| <PRE> |
| public static boolean <B>arabicCharTransparent</B>(char c)</PRE> |
| <DL> |
| <DD>Returns true if the char is transparent. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>c</CODE> - The character to test. |
| <DT><B>Returns:</B><DD>True if the character is transparent, false otherwise.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="hasSubstitute(char, char)"><!-- --></A><H3> |
| hasSubstitute</H3> |
| <PRE> |
| public static boolean <B>hasSubstitute</B>(char ch1, |
| char ch2)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSubstituteChar(char, char, int)"><!-- --></A><H3> |
| getSubstituteChar</H3> |
| <PRE> |
| public static int <B>getSubstituteChar</B>(char ch1, |
| char ch2, |
| int form)</PRE> |
| <DL> |
| <DD>Will try and find a substitute character of the specified form. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ch1</CODE> - The first character of two to replace.<DD><CODE>ch2</CODE> - The second character of two to replace.<DD><CODE>form</CODE> - Indicates the required arabic form. |
| (isolated = 1, final = 2, initial = 3, medial = 4) |
| <DT><B>Returns:</B><DD>The unicode value of the substutute char, or -1 if no substitute |
| exists.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSubstituteChar(char, int)"><!-- --></A><H3> |
| getSubstituteChar</H3> |
| <PRE> |
| public static int <B>getSubstituteChar</B>(char ch, |
| int form)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createSubstituteString(java.text.AttributedCharacterIterator)"><!-- --></A><H3> |
| createSubstituteString</H3> |
| <PRE> |
| public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>createSubstituteString</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/AttributedCharacterIterator.html?is-external=true" title="class or interface in java.text">AttributedCharacterIterator</A> aci)</PRE> |
| <DL> |
| <DD>Where possible substitues plain arabic glyphs with their shaped |
| forms. This is needed when the arabic text is rendered using |
| an AWT font. Simple arabic ligatures will also be recognised |
| and replaced by a single character so the length of the |
| resulting string may be shorter than the number of characters |
| in the aci. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>aci</CODE> - Contains the text to process. Arabic form attributes |
| should already be assigned to each arabic character. |
| <DT><B>Returns:</B><DD>A String containing the shaped versions of the arabic characters</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="charStartsLigature(char)"><!-- --></A><H3> |
| charStartsLigature</H3> |
| <PRE> |
| public static boolean <B>charStartsLigature</B>(char c)</PRE> |
| <DL> |
| <DD>Returns true if a ligature exists that starts with the |
| specified character. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>c</CODE> - The character to test. |
| <DT><B>Returns:</B><DD>True if there is a ligature that starts with c, false otherwise.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNumChars(char)"><!-- --></A><H3> |
| getNumChars</H3> |
| <PRE> |
| public static int <B>getNumChars</B>(char c)</PRE> |
| <DL> |
| <DD>Returns the number of characters the glyph for the specified |
| character represents. If the glyph represents a ligature this |
| will be 2, otherwise 1. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>c</CODE> - The character to test. |
| <DT><B>Returns:</B><DD>The number of characters the glyph for c represents.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isLigature(char)"><!-- --></A><H3> |
| isLigature</H3> |
| <PRE> |
| public static boolean <B>isLigature</B>(char c)</PRE> |
| <DL> |
| <DD>Returns true if the glyph for the specified character |
| respresents a ligature. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>c</CODE> - The character to test. |
| <DT><B>Returns:</B><DD>True if c is a ligature, false otherwise.</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ArabicTextHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| PREV CLASS |
| <A HREF="../../../../../org/apache/batik/gvt/text/AttributedCharacterSpanIterator.html" title="class in org.apache.batik.gvt.text"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/apache/batik/gvt/text/ArabicTextHandler.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="ArabicTextHandler.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2017 <a href='http://www.apache.org/'>Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |