MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / char_lengths

Function char_lengths

src_classic/utils.py:4338–4340  ·  view source on GitHub ↗

Return list of single character lengths for a string.

(x)

Source from the content-addressed store, hash-verified

4336 ) # abbreviation
4337
4338 def char_lengths(x):
4339 """Return list of single character lengths for a string."""
4340 return font.char_lengths(x, fontsize=fontsize, small_caps=small_caps)
4341
4342 def append_this(pos, text):
4343 return writer.append(

Callers 2

norm_wordsMethod · 0.85
norm_wordsFunction · 0.85

Calls 1

char_lengthsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…