Methods Summary |
---|
public java.lang.String | getEncoding()Returns encoding used in this font property.
return this.encoding;
|
public int[] | getExclusionRange()Returns an array of exclusion ranges. This array contain pairs of
low and high bounds of the intervals of characters to ignore in
total Unicode characters range.
return this.exclRange;
|
public java.lang.String | getFileName()Returns file name of the font that is described by this font property.
return this.fileName;
|
public java.lang.String | getName()Returns font name of this font property.
return this.name;
|
public int | getStyle()Returns font style of this font property.
return this.style;
|
public boolean | isCharExcluded(char ch)Returns true if specified character covered by exclusion ranges of this
font property, false otherwise.
if (exclRange == null ){
return false;
}
for (int i = 0; i < exclRange.length;){
int lb = exclRange[i++];
int hb = exclRange[i++];
if (ch >= lb && ch <= hb){
return true;
}
}
return false;
|