def minimum_x(text_blocks: list) -> float:
    """Find the minimum x coordinate of all text blocks."""
    min_x = -1
    for tb in text_blocks:
        if min_x == -1 or tb['x'] < min_x:
           min_x = tb['x']
    return min_x
Find the minimum x coordinate of all text blocks.
pdfsyntax/layout.py