def document.fitted.size
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
import gralha-xml-doc@0.1.0.1/xml.bend as XML
import gralha-truetype@0.1.0.1/font.bend as Font
3975def document.fitted.size(root: XML.Element, w: F32, h: F32, book: Font.FontBook, +size: Point) -> List<&2, Scene<Brush>>:
3976 Point{vw, vh} = size
3977 document.camera.fonts(root, vw, vh, document.fit.matrix(size, w, h), book)