class_docstr: A class for converting documents from the hOCR format.
  
  For details of the hOCR format, see:
  http://kba.cloud/hocr-spec/.
class_docstr_tok: ["A","class","for","converting","documents","from","the","hOCR","format",".","For","details","of","the","hOCR","format",",","see",":","http",":","\/\/kba.cloud\/hocr-spec\/","."]
docstr: Render a box depicting the space between two words.
docstr_tok: ["Render","a","box","depicting","the","space","between","two","words","."]
code: def _debug_draw_space_bbox(
      self,
      canvas: Canvas,
      box: Rectangle,
      color=DARKGREEN,
      line_width=0.1,
  ):
      """Render a box depicting the space between two words."""
      if not self.render_options.render_space_bbox:  # pragma: no cover
          return
      with canvas.do.save_state():
          canvas.do.fill_color(color).line_width(line_width).rect(
              box.llx, box.lly, box.width, box.height, fill=1
          )
  
imports: from __future__ import annotations
  import logging
  import os
  import re
  import unicodedata
  from dataclasses import dataclass
  from itertools import pairwise
  from math import atan, cos, pi
  from pathlib import Path
  from xml.etree import ElementTree
  from pikepdf import Matrix, Name, Rectangle
  from pikepdf.canvas import BLACK, BLUE, CYAN, DARKGREEN, GREEN, MAGENTA, RED, Canvas, Text, TextDirection
  from ocrmypdf.hocrtransform._font import EncodableFont
  from ocrmypdf.hocrtransform._font import GlyphlessFont
label_desc: Use image node_id 17 for calling the HocrTransform obj's underlying member method code with example usage: obj._debug_draw_space_bbox(canvas, box, color, line_width) without return types