Skip to content

WIP: Docunits

username-removed-401586 requested to merge docunits into master
Changes:
  • Partial rewrite of the code taken from extensions-svgunitfactor
    (get_document_scale() used in overloaded unittouu() and uutounit() methods to convert lengths based on the document's actual scale instead of a match to one of the known unit factors).
  • Update of set_dpi() to only overload the unit conversion table for files without viewBox (or on request).
Todo:
  • Decide strategy on supporting relative units in SVG width, height (%, em, ex).

Merge request reports