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

Function detect_super_script

src/__init__.py:22249–22252  ·  view source on GitHub ↗
(line, ch)

Source from the content-addressed store, hash-verified

22247
22248
22249def detect_super_script(line, ch):
22250 if line.m_internal.wmode == 0 and line.m_internal.dir.x == 1 and line.m_internal.dir.y == 0:
22251 return ch.m_internal.origin.y < line.m_internal.first_char.origin.y - ch.m_internal.size * 0.1
22252 return 0
22253
22254
22255def dir_str(x):

Callers 1

JM_char_font_flagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…