Depth of field isn't really an issue with wide angle lenses for smaller format sensors. The EFL is shorter which boosts the depth of field. The bigger problem is field curvature if the page is closer than ~6" - most of these lenses weren't designed for short object distances.
For example, this 1.8mm F/2.8 low distortion lens has a hyperfocal distance of 0.2m (~8") on the Pi HQ: https://commonlands.com/products/low-distortion-m12-lens and easily covers 6"-25" depth of field.