code: def _translate_string(self, data, length):
          
          for index, char in enumerate(data):
              if index == length:
                  break
  
              yield self._meta.characters - 1 - self._ct[char]
docs: Translate string into character texture positions