@openpresentation/gallery 0.35.0 → 0.35.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.35.1 (2026-11-23)
6
+
7
+ - The `two-column` and `three-column` layouts set a column's content in the middle of its box instead of at its foot. Their records had `anchor: "bottom"`, which stranded a short block (a few words, a picture or a chart beside text) alone at the bottom of an empty full-height box; the records now say `anchor: "middle"`. The boxes, their equal height and the hug-and-center behavior of short body text are unchanged.
8
+
5
9
  ## 0.35.0 (2026-11-23)
6
10
 
7
11
  - Breaking (0.35, output-changing for Arabic, Persian and Urdu decks): a deck or slide in Arabic, Persian or Urdu that names no font for the Arabic script now uses Times New Roman for headings and Arial for body in the complex-script slot, the fonts PowerPoint's Office theme gives the Arabic script, instead of Arabic Typesetting, whose small Arabic was drawn at about two thirds of the size of the Latin text beside it, in OPF and in PowerPoint. Arabic text in such decks is now drawn at about the Latin size, so it takes more room: lines break differently, and a full slide may paginate. The language vocabulary (`ar`, `fa`, `ur`) and the gallery's `arabic`, `persian` and `urdu` language records name the new font scheme `times-new-roman-arial`; Arabic Typesetting stays a scheme a deck can choose (`design.fontScheme`, or a Language object's `fontScheme`), and nothing preserves the old look for a deck that relied on the default. The PPTX names Times New Roman and Arial in the theme's major and minor complex-script slots and its `Arab` entry, at the composed size. The font policy gains script replacements (`replacement.scripts`, keyed by ISO 15924 code, with its schema and the `FontScriptReplacement` type): runs of that script in the family are measured and drawn with the entry's open face at its own preview-only size factor. Arial and Times New Roman draw Arabic-script runs with Noto Naskh Arabic at 0.96 and 0.95 (the sum of the real fonts' advances over Noto Naskh Arabic's on the Arabic-script corpus; each row records its basis), while their Latin text keeps Arimo and Tinos at the composed size; this also applies to Arabic text in a deck whose scheme is `arial` or `times-new-roman`, which was drawn at full size with Noto Sans Arabic (about 17 percent wider than PowerPoint draws Arial) or Noto Naskh Arabic (about 5 percent wider). Fixed on the way (renderer): a text run with its own `language` lost the size factor when the deck's font scheme itself names the Arabic font (an English deck on `arabic-typesetting` or `sakkal-majalla` with one run marked `ar` drew that run at full size beside Arabic drawn at the factor), because its script profile was built from the families the registry draws rather than the ones the scheme names. `docs/migrations/0.35.md` and `docs/font-fidelity.md` describe the change.