Change Log

v1.9.3-dev.202010191042

Bug Fixes

  • NODE_MAP is empty with tree-shaking
  • canvas: device resolution detection

v1.9.2

Bug Fixes

  • add autoPrint option to types
  • PDF: fix font subsetting

v1.9.1

Bug Fixes

  • remove side effects that prevent tree shaking
  • measureText: measure 0 as a string

v1.9.0

Bug Fixes

  • do not apply devicePixelRatio scale during export
  • PDF: fix encoding of charcode 0x128 in plain strings
  • canvas: eventTarget is incorrect in scaled container

Features

  • pdf: Add options keepPNG and jpegQuality

v1.8.1

Bug Fixes

  • mark module as having side effects

v1.8.0

Bug Fixes

  • update pako-esm to v1

Features

  • use ES-modules fork of Pako

v1.7.0

Bug Fixes

  • PDF: fix doubling of textarea content in IE/Edge (#159)

Features

  • allow unicode characters in file metadata
  • improve cdn bundle size (#166)

v1.6.0

Bug Fixes

  • accept gradients as Shape.fill
  • errors with custom userAgent
  • blurry Canvas rendering on HiDPI screens
  • PDF: fix rendering certain linear gradients on Edge
  • pdf: don't draw invisible Group elements

Features

  • add Color isDark method

v1.5.12

Bug Fixes

  • add optional origin parameter to scale transform
  • export Color class

v1.5.11

Bug Fixes

  • export namedColors

v1.5.10

Bug Fixes

  • drawDOM: fix text shrinking in IE

v1.5.9

Bug Fixes

  • export parseColor from package

v1.5.8

Bug Fixes

  • backwards compatibility for ArcOptions
  • remove center from constructor options
  • color: fix RGB <-> HSL conversion for achromatic values

v1.5.7

Bug Fixes

  • missing umd bundle
  • stale dependencies in browser bundle
  • error in FF when used in hidden iframe
  • color: HSL::toRGB() when saturation is zero

v1.5.6

Bug Fixes

  • rearrange imports to work with the Angular build optimizer

v1.5.5

Bug Fixes

  • error in angular universal

v1.5.4

Bug Fixes

  • missing table head error in IE 9 compatibility
  • font icons in IE
  • PDF: handle errors more gracefully in the JPEG stream

v1.5.3

Bug Fixes

  • drawDOM: no splitting of elements that must be kept together

v1.5.2

Bug Fixes

  • gradients are missing if base url contains apostrophe
  • drawDOM: prevent infinite box from leaking into the output

v1.5.1

Bug Fixes

  • root-level exports

v1.5.0

Bug Fixes

  • serve CDN bundle for UNPKG and jsDelivr

Features

  • add ES2015 bundle
  • PDF: add autoPrint option

v1.4.2

Bug Fixes

  • do no access window when running on the server

v1.4.1

Bug Fixes

  • drawDOM: fix a possible JS error (closest called with text node)

v1.4.0

Features

  • add systemjs bundle

v1.3.0

Bug Fixes

  • text rendering in svg with texts including & character

Features

  • support for rendering id to SVG elements
  • drawDOM: support CSS text-transform

v1.2.1

Bug Fixes

  • bundling with Rollup
  • DrawOptions typings syntax

v1.2.0

Bug Fixes

  • add landscape to draw options
  • allow template to be a function
  • clone _kendoExportVisual during paging
  • make DrawOptions members optional
  • drawDOM:
    • fix a bunch of issues on MS Edge
    • cache background-images added via kendo-pdf-document
    • fix text with auto page breaking (clone text nodes too)
  • pdf: fix issue with "Save As" in Acrobat

Features

  • always compress PDFs, adds dependency on pako

v1.1.2

Bug Fixes

  • export drawingSurface with drawDOM
  • svg: do not reverse text anchor in IE and EDGE

v1.1.1

Bug Fixes

  • update license
  • cleanup non-functional tooltip members

v1.1.0

Bug Fixes

  • update license
  • typescript definitions

Features

  • preserve whitespaces
  • PDF: support imgDPI option in the PDF drawing backend

v1.0.3

Bug Fixes

  • geometry: convert arc path parameters according to svg specifications

v1.0.2

Bug Fixes

  • error when loading package with SystemJS

v1.0.1

Bug Fixes

  • drawDOM: fix repeating headers of Grid subclasses

v1.0.0

Features

  • official release

v0.15.6

Bug Fixes

  • drawDOM: does not export charts

v0.15.4

Bug Fixes

  • drawDOM: update counters on pseudo-elements

v0.15.2

Bug Fixes

  • resolve data URI if not all images are loaded

v0.15.1

Bug Fixes

  • drawDOM: fix rendering of elements with column-count

v0.15.0

Bug Fixes

  • drawDOM: fix stacking of inline/block elements

Features

  • PDF: add support for grayscale / cmyk JPEG-s

v0.14.2

Bug Fixes

  • make export interface members optional

v0.14.0

Bug Fixes

  • svg: changing cursor is not reflected

Features

  • canvas: implement cursor support

v0.13.10

Bug Fixes

  • point and size constructors should normalize NaN values

v0.13.8

Bug Fixes

  • eventElement should not throw error if no argument is passed

v0.13.6

Bug Fixes

  • drawDOM: rendering of Kendo widgets with auto page breaking

v0.13.3

Bug Fixes

  • PDF: fix encoding of multi-byte texts in standard font
  • drawDOM: fix error in IE when forcePageBreak is used

v0.13.1

Bug Fixes

  • fix: add drawing alias to main exports (c7d6667)

v0.12.2

Bug Fixes

  • export exportPDF method

v0.12.0

Bug Fixes

  • remove chroma related files
  • failed surface create message
  • Allow page breaks inside huge <Hx> tags
  • QuadNode child insertion
  • suspend tracking for the image export surface
  • use check for baseclss instead of generic check
  • add missing insertAt method
  • call bind with at least empty object
  • quad node children initialization
  • use single line templates
  • add missing drawing exports
  • elements array re-export name
  • assignment of zero size
  • export group with normalized origin
  • handle space separated names when unbinding events
  • options store prefix
  • set default animation options to prototype
  • handle touch event coordinates
  • remove duplicate export
  • remove observable from the exports
  • pdf: Allow any positioned element to start a new stacking context

Features

  • add drawDom.drawText method
  • remove Chroma.js dependency
  • add exportPDF method

v0.11.2

Bug Fixes

  • rollup external dependencies

v0.11.0

Features

  • add ES module bundle

v0.10.0

Features

  • add PDF export routines