Skip to content

Releases: weizhenye/ASS

v0.1.2

01 Sep 17:58
Compare
Choose a tag to compare

New Features

  • support animation for \clip
  • support fadeaway of Effects
  • support <accel> in \t()

Refactors

  • use CSS path() to replace svg <clipPath> for \clip
  • use TextMetrics for font size if supported
  • don't merge multi \t() tags

Fixes

  • origin of animation
  • \blur with \bord0
  • font size in Firefox
  • margin with custom effect name
  • missed spaces with \q0, #50

v0.1.1

28 Jul 15:42
Compare
Choose a tag to compare

New

  • add dist/ass.global.js for classic script usage
  • support LayoutRes

Fix

  • circular JSON error
  • calculate font size more accurately
  • \org only affects rotates
  • animation for \fsp
  • corrent index when seeking, #48

Refactors

  • use CSS vars for animatable tags
  • cache clip path

v0.1.0

10 Jun 16:28
Compare
Choose a tag to compare

Breaking Changes

  • Drop support of IE 11
  • remove UMD dist, only support ES Module
  • In the past, ASS.js will create a container when it's not provided. Now ASS.js will use video.parentNode as default.
  • remove resize API, ASS.js will resize to video size automatically by ResizeObserver

New Features

  • add delay API
  • use text-wrap: balance for WrapStyle 0 and 3

Refactors

  • use text-stroke to render border
  • use Web Animation API to replace CSS Animation
  • use Vitest
  • use Class private fields

Fixes

  • #21 avoid dialogue's line-height to be changed by global styles
  • use text-stroke to render border
  • scale \org
  • #29 position logic
  • ignore empty drawings
  • difference of \fad and \fade
  • binding video playing and waiting events
  • #36 fallback script resolution to video.clientWidth
  • #40 scale \fsp
  • #41 height of long dialogues
  • #43 large MarginV

v0.0.11

29 Dec 08:21
Compare
Choose a tag to compare

Fix

  • specify line height to normal when calculate font size

Dependency

v0.0.10

23 Jul 16:59
Compare
Choose a tag to compare

New

  • allow to use fake video object, see #19

v0.0.9

17 Jan 15:02
Compare
Choose a tag to compare

Fix

  • avoid calling multi framing() at the same time (#15)

v0.0.8

01 Dec 04:14
Compare
Choose a tag to compare

Dependency

v0.0.7

02 Oct 07:01
Compare
Choose a tag to compare

Fix

  • support Shadow DOM, see #10

v0.0.6

06 Apr 18:41
Compare
Choose a tag to compare

Dependency

v0.0.5

27 Feb 16:09
Compare
Choose a tag to compare

Dependency