Converts text into glyph indices. @return the corresponding glyph ids for each character.
(String s)
| 407 | * @return the corresponding glyph ids for each character. |
| 408 | */ |
| 409 | public short[] getStringGlyphs(String s) { |
| 410 | return getUTF32Glyphs(s.codePoints().toArray()); |
| 411 | } |
| 412 | |
| 413 | /** |
| 414 | * Given an array of UTF32 character codes, return their corresponding glyph IDs. |