Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/preview-chart-auto-layout.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/preview-raster-resolve-family.md

This file was deleted.

9 changes: 9 additions & 0 deletions packages/dev/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @office-kit/pptx-dev

## 0.14.4

### Patch Changes

- Updated dependencies [baf373a]
- Updated dependencies [bfeebf5]
- @office-kit/pptx-preview@0.21.0
- @office-kit/pptx-editor@0.2.4

## 0.14.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@office-kit/pptx-dev",
"version": "0.14.3",
"version": "0.14.4",
"description": "Build and preview TSX presentations locally",
"license": "MIT",
"repository": {
Expand Down
8 changes: 8 additions & 0 deletions packages/editor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @office-kit/pptx-editor

## 0.2.4

### Patch Changes

- Updated dependencies [baf373a]
- Updated dependencies [bfeebf5]
- @office-kit/pptx-preview@0.21.0

## 0.2.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@office-kit/pptx-editor",
"version": "0.2.3",
"version": "0.2.4",
"description": "Embeddable browser editor for .pptx presentations, built on @office-kit/pptx",
"keywords": [
"editor",
Expand Down
10 changes: 10 additions & 0 deletions packages/preview/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# pptx-kit-preview

## 0.21.0

### Minor Changes

- bfeebf5: Added `resolveFamily` to the options of `renderSlideToImage` / `renderSlideToRgba`, the same mapping `renderSlideToSvg` already takes for `textLayout: 'svg'`. The PNG path mapped every authored font name to a bundled substitute, so a caller that measured a deck's font with its own face (for example a `buildFontkitMeasurer` alias from the deck's font to a face in `fontFiles`) got lines wrapped for that face but painted in the substitute. Return a family loaded through `fontFiles` to draw and measure the run in it. East Asian characters still take the family of the first `fontFiles` face that covers kana; `resolveFamily` decides the rest of the run. Unset, the output is unchanged.

### Patch Changes

- baf373a: Fixed the preview giving column, line, area and combo charts a taller plot area than presentation apps do, which hid data labels that overlap in the real chart. Line labels above a point also sat on top of the marker, so a bar label and a line label that collide in LibreOffice were drawn apart. The automatic layout of bar, column, line, area and combo charts now keeps 2% of the chart's width and height clear on each side, as LibreOffice does, and leaves a category-label row sized to the label font; a line label above or below its point stays 1 mm clear of the marker. Charts render with a slightly smaller plot area than before; charts with a manual inner plot-area layout are unchanged.

## 0.20.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/preview/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@office-kit/pptx-preview",
"version": "0.20.0",
"version": "0.21.0",
"description": "Experimental preview renderer for @office-kit/pptx: render a slide to SVG (browser + Node) or rasterize it to a PNG/RGBA image in Node, with no browser binary.",
"keywords": [
"ooxml",
Expand Down