MCPcopy Create free account
hub / github.com/HumbleUI/Skija / getStringGlyphs

Method getStringGlyphs

shared/java/Font.java:409–411  ·  view source on GitHub ↗

Converts text into glyph indices. @return the corresponding glyph ids for each character.

(String s)

Source from the content-addressed store, hash-verified

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.

Callers 8

executeMethod · 0.45
appendRunMethod · 0.45
drawInterMethod · 0.45
drawFillWithPaintMethod · 0.45
drawPosHMethod · 0.45
drawPosMethod · 0.45
drawRSXformMethod · 0.45
drawBuilderMethod · 0.45

Calls 1

getUTF32GlyphsMethod · 0.95

Tested by 1

executeMethod · 0.36