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

Method char_lengths

src/__init__.py:16885–16887  ·  view source on GitHub ↗

Return list of single character lengths for a string.

(x)

Source from the content-addressed store, hash-verified

16883 ) # abbreviation
16884
16885 def char_lengths(x):
16886 """Return list of single character lengths for a string."""
16887 return font.char_lengths(x, fontsize=fontsize, small_caps=small_caps)
16888
16889 def append_this(pos, text):
16890 ret = writer.append(

Callers

nothing calls this directly

Calls 1

char_lengthsMethod · 0.45

Tested by

no test coverage detected