
open LengthInterface
open HorzBox

val main : breakability * length -> breakability * length -> context_main -> horz_box list -> vert_box list

val natural : horz_box list -> intermediate_horz_box list * length * length

val fit : horz_box list -> length -> intermediate_horz_box list * ratios * length * length

val get_natural_metrics : horz_box list -> length * length * length

val get_leftmost_script : horz_box list -> CharBasis.script option

val get_rightmost_script : horz_box list -> CharBasis.script option
