private void drawGlyphTextLine(String text, DocumentData documentData,
      Font font, Canvas canvas, float parentScale, float fontScale, float tracking, int parentAlpha) {
    for (int i = 0; i < text.length(); i++) {
      char c = text.charAt(i);
      int characterHash = FontCharacter.hashFor(c, font.getFamily(), font.getStyle());
      FontCharacter character = composition.getCharacters().get(characterHash);
      if (character == null) {
        // Something is wrong. Potentially, they didn't export the text as a glyph.
        continue;
      }
      drawCharacterAsGlyph(character, fontScale, documentData, canvas, i, parentAlpha);
      float tx = (float) character.getWidth() * fontScale * Utils.dpScale() + tracking;
      canvas.translate(tx, 0);
    }
  }
Configures the [fillPaint] and [strokePaint] used for drawing based on currently active text ranges.

@param parentAlpha A value from 0 to 255 indicating the alpha of the parented layer.
lottie/src/main/java/com/airbnb/lottie/model/layer/TextLayer.java