Expand description
Character bounding box calculation from content stream events.
Combines font metrics, text state, and CTM to calculate the final bounding box for each character in top-left origin coordinates. This bridges Layer 2 (interpreter) and Layer 3 (object extraction).
Functionsยง
- char_
from_ event - Convert a
CharEventand font metrics into a fully-populatedCharwith bounding box in top-left origin page coordinates.