| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: whether all characters are printablea non-null string to test str)Returns |
| public static int | |
| public static boolean | Returns: whether codePoint is printableChecks if a code point is printable. |
| public static boolean | isSafeFontCodePointToPrint(int codePoint)
Whether the code point should be passed through to the font for rendering. |
| public static Integer |
| OpenUtil | back to summary |
|---|---|
| private OpenUtil() | |
| areAllCharactersPrintable | back to summary |
|---|---|
| public static boolean areAllCharactersPrintable(String str) Returns
| |
| firstNonZero | back to summary |
|---|---|
| public static int firstNonZero(int... values) First non-zero value or zero if none. | |
| isCodePointPrintable | back to summary |
|---|---|
| public static boolean isCodePointPrintable(int codePoint) Checks if a code point is printable. If false, it can be safely discarded at the rendering stage, else it should be replaced with the replacement character, if a suitable glyph can not be found. Note This should only be called after a character has been shown to be NOT present in the font. It can not be called beforehand because some fonts contain private area characters and so on. Issue#588.
| |
| isSafeFontCodePointToPrint | back to summary |
|---|---|
| public static boolean isSafeFontCodePointToPrint(int codePoint) Whether the code point should be passed through to the font for rendering. It effectively filters out characters that have been shown to be problematic in some (broken) fonts such as visible soft-hyphens. | |
| parseIntegerOrNull | back to summary |
|---|---|
| public static Integer parseIntegerOrNull(String possibleInteger) | |