Drawing

v1.20.1
17 April 2024

Bug Fixes

  • encode HTML entities in aria attributes

Current Dev
v1.20.1-dev.202404171042
17 April 2024

Bug Fixes

  • encode HTML entities in aria attributes

v1.20.0
26 March 2024

Features

  • add paintOrder textNode option

v1.19.1
4 March 2024

Bug Fixes

  • pdf: remove PDFName cache

v1.19.0
14 November 2023

Features

  • add drawing unordered list bullets in pdf export
  • add aria-checked attribute support for svg

v1.18.1
2 November 2023

Bug Fixes

  • allow clipping with multipe paths (#274)

v1.18.0
29 September 2023

Bug Fixes

  • grid: header is not repeated in pdf pages

Features

  • add accessibility features

v1.17.6
24 August 2023

Bug Fixes

  • drawDOM: first image is not exported in Chrome

v1.17.5
31 March 2023

Bug Fixes

  • draw underline below text
  • drawDOM: support text-underline-offset

v1.17.4
23 February 2023

Bug Fixes

  • pdf: hang during PDF export in Chrome

v1.17.3
20 January 2023

Bug Fixes

  • renderSVG violates style-src-attr CSP

v1.17.2
31 October 2022

Bug Fixes

  • csp violations

v1.17.1
26 August 2022

Bug Fixes

  • color: equals should return false when argument is undefined (#255)

v1.17.0
15 August 2022

Features

  • add Path.curveFromPoints method
  • add toString method to Path and MultiPath

v1.16.3
2 March 2022

Bug Fixes

  • cdn bundles global imports

v1.16.2
25 January 2022

Bug Fixes

  • pdf: incorrect text layout in Safari

v1.16.1
12 January 2022

Bug Fixes

  • pdf: export inline SVGs with no set size in Firefox

v1.16.0
9 November 2021

Bug Fixes

  • browser detection
  • PDF: workaround for SVG-s without width/height in Firefox

Features

  • pdf: set default export resolution to 300dpi

v1.15.0
13 October 2021

Features

  • Color: support 4 and 8 digit HEX (#225)

v1.14.0
20 September 2021

Features

  • version bump to 1.14 (part 3/3) as a workaround for stackblitz/core#1302

v1.13.0
20 September 2021

Features

  • version bump to 1.14 (part 2/3)

v1.12.0
20 September 2021

Bug Fixes

  • add imgDPI to PDFOptions

Features

  • version bump to 1.14 (part 1/3)

v1.11.0
29 July 2021

Features

  • add corner radius to Rect

v1.10.1
20 May 2021

Bug Fixes

  • export of inline SVGs with emoji characters

v1.10.0
23 March 2021

Bug Fixes

  • error when exporting with different imgDPI (dev builds)
  • drawDOM: proper wait for images completed before page breaking

Features

  • drawDOM: draw inline SVGs via data URL

v1.9.4
10 February 2021

Bug Fixes

  • pdf: allow SVGs to be upscaled to the set imgDPI

v1.9.3
20 October 2020

Bug Fixes

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

v1.9.2
29 September 2020

Bug Fixes

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

v1.9.1
1 September 2020

Bug Fixes

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

v1.9.0
13 August 2020

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
25 June 2020

Bug Fixes

  • mark module as having side effects

v1.8.0
25 June 2020

Bug Fixes

  • update pako-esm to v1

Features

  • use ES-modules fork of Pako

v1.7.0
8 May 2020

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
1 October 2019

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
14 May 2019

Bug Fixes

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

v1.5.11
10 April 2019

Bug Fixes

  • export namedColors

v1.5.10
4 April 2019

Bug Fixes

  • drawDOM: fix text shrinking in IE

v1.5.9
13 March 2019

Bug Fixes

  • export parseColor from package

v1.5.8
11 January 2019

Bug Fixes

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

v1.5.7
23 July 2018

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
29 May 2018

Bug Fixes

  • rearrange imports to work with the Angular build optimizer

v1.5.5
15 May 2018

Bug Fixes

  • error in angular universal

v1.5.4
10 May 2018

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
24 April 2018

Bug Fixes

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

v1.5.2
3 April 2018

Bug Fixes

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

v1.5.1
14 February 2018

Bug Fixes

  • root-level exports

v1.5.0
14 February 2018

Bug Fixes

  • serve CDN bundle for UNPKG and jsDelivr

Features

  • add ES2015 bundle
  • PDF: add autoPrint option

v1.4.2
2 February 2018

Bug Fixes

  • do no access window when running on the server

v1.4.1
16 January 2018

Bug Fixes

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

v1.4.0
22 September 2017

Features

  • add systemjs bundle

v1.3.0
11 September 2017

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
25 August 2017

Bug Fixes

  • bundling with Rollup
  • DrawOptions typings syntax

v1.2.0
10 August 2017

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
7 July 2017

Bug Fixes

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

v1.1.1
28 June 2017

Bug Fixes

  • update license
  • cleanup non-functional tooltip members

v1.1.0
15 June 2017

Bug Fixes

  • update license
  • typescript definitions

Features

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

v1.0.3
29 May 2017

Bug Fixes

  • geometry: convert arc path parameters according to svg specifications

v1.0.2
19 May 2017

Bug Fixes

  • error when loading package with SystemJS

v1.0.1
16 May 2017

Bug Fixes

  • drawDOM: fix repeating headers of Grid subclasses

v1.0.0
4 May 2017

Features

  • official release

v0.16.1
3 May 2017

Bug Fixes

  • better fix for svg text with rtl direction
  • exported svg on pages with base href

v0.16.0
28 April 2017

Bug Fixes

  • text rendering for rtl direction

Features

  • layout: add reverse option

v0.15.6
25 April 2017

Bug Fixes

  • drawDOM: does not export charts

v0.15.5
11 April 2017

Bug Fixes

  • drawDOM:
    • fix layout of tables when auto page breaking
    • maintain selection in

v0.15.4
31 March 2017

Bug Fixes

  • drawDOM: update counters on pseudo-elements

v0.15.3
29 March 2017

Bug Fixes

  • name default exports

v0.15.2
27 March 2017

Bug Fixes

  • resolve data URI if not all images are loaded

v0.15.1
17 March 2017

Bug Fixes

  • drawDOM: fix rendering of elements with column-count

v0.15.0
10 March 2017

Bug Fixes

  • drawDOM: fix stacking of inline/block elements

Features

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

v0.14.3
9 March 2017

Bug Fixes

  • add CDN bundle

v0.14.2
9 March 2017

Bug Fixes

  • make export interface members optional

v0.14.1
3 March 2017

Bug Fixes

  • drawDOM: fix again closest for IE < 11

v0.14.0
28 February 2017

Bug Fixes

  • svg: changing cursor is not reflected

Features

  • canvas: implement cursor support

v0.13.11
24 February 2017

Bug Fixes

  • drawDOM: fix closest for IE (was not iframe-proof)

v0.13.10
24 February 2017

Bug Fixes

  • point and size constructors should normalize NaN values

v0.13.9
17 February 2017

Bug Fixes

  • drawDOM: weird IE case for background-position

v0.13.8
15 February 2017

Bug Fixes

  • eventElement should not throw error if no argument is passed

v0.13.7
10 February 2017

Bug Fixes

  • don't require window object at load time
  • drawDOM: rendering LI elements on continued pages

v0.13.6
10 February 2017

Bug Fixes

  • drawDOM: rendering of Kendo widgets with auto page breaking

v0.13.5
3 February 2017

Bug Fixes

  • drawDOM:
    • workaround for missing Element.classList in IE < 11
    • fix error when loading script in non-browser environment

v0.13.4
1 February 2017

Bug Fixes

  • use kendo.jQuery instance to test for widgets

v0.13.3
30 January 2017

Bug Fixes

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

v0.13.2
20 January 2017

Bug Fixes

  • drawDOM: fix drawing text decorations for justified text

v0.13.1
12 January 2017

Bug Fixes

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

v0.13.0
10 January 2017

Bug Fixes

  • include Surface in typings
  • add Color export
  • reexport drawing namespace
  • update typings

Features

  • add entry points for geometry and pdf
  • re-organize exports

v0.12.2
23 December 2016

Bug Fixes

  • export exportPDF method

v0.12.1
21 December 2016

Bug Fixes

  • distribute tree shakeable modules

v0.12.0
19 December 2016

Bug Fixes

  • remove chroma related files
  • failed surface create message
  • Allow page breaks inside huge 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
26 November 2016

Bug Fixes

  • rollup external dependencies

v0.11.1
26 November 2016

Bug Fixes

  • strict mode errors

v0.11.0
25 November 2016

Features

  • add ES module bundle

v0.10.0
24 October 2016

Features

  • add PDF export routines

v0.9.1
21 October 2016

Bug Fixes

  • set correct return types
  • canvas mouse tracking
  • merge duplicate import
  • circular dependency in point
  • remove promise dependency
  • throttle function arguments
  • export Observable
  • typings
  • remove unnecessary file from NPM package
  • The CDN example works now
  • travis: build should pass now

Features

  • check if document exists to avoid compile errors
  • export observable and throttle
  • add drawing and geometry implentation
  • e2e example