{"owner":"diegomura","repo":"react-pdf","hasSkills":true,"totalSkillsCount":71,"totalTokensCount":36673,"categories":["anthropic-skill","claude-rule","plugin-manifest"],"hasMcp":false,"mcpConfig":null,"found":["packages/types/package.json","packages/textkit/package.json","CLAUDE.md","packages/types/README.md","packages/textkit/README.md","packages/types/CHANGELOG.md","packages/textkit/CHANGELOG.md","packages/textkit/tsconfig.json","packages/svg/CHANGELOG.md","packages/svg/package.json","packages/svg/README.md","packages/svg/tsconfig.json","packages/stylesheet/CHANGELOG.md","packages/stylesheet/package.json","packages/stylesheet/README.md","packages/stylesheet/tsconfig.json","packages/renderer/CHANGELOG.md","packages/renderer/package.json","packages/renderer/README.md","packages/render/CHANGELOG.md","packages/render/package.json","packages/render/README.md","packages/render/tsconfig.json","packages/reconciler/CHANGELOG.md","packages/reconciler/package.json","packages/reconciler/README.md","packages/reconciler/tsconfig.json","packages/primitives/CHANGELOG.md","packages/primitives/package.json","packages/primitives/README.md","packages/primitives/tsconfig.json","packages/pdfkit/CHANGELOG.md","packages/pdfkit/package.json","packages/pdfkit/README.md","packages/mermaid/CHANGELOG.md","packages/mermaid/package.json","packages/mermaid/README.md","packages/mermaid/tsconfig.json","packages/math/CHANGELOG.md","packages/math/package.json","packages/math/README.md","packages/math/tsconfig.json","packages/layout/CHANGELOG.md","packages/layout/package.json","packages/layout/README.md","packages/layout/tsconfig.json","packages/image/CHANGELOG.md","packages/image/package.json","packages/image/README.md","packages/image/tsconfig.json","packages/font/CHANGELOG.md","packages/font/package.json","packages/font/README.md","packages/font/tsconfig.json","packages/fns/CHANGELOG.md","packages/fns/package.json","packages/fns/README.md","packages/fns/tsconfig.json","packages/examples/CHANGELOG.md","packages/examples/package.json","packages/examples/next-14/CHANGELOG.md","packages/examples/next-14/jsconfig.json","packages/examples/next-14/package.json","packages/examples/next-14/README.md","packages/examples/next-15/CHANGELOG.md","packages/examples/next-15/jsconfig.json","packages/examples/next-15/package.json","packages/examples/next-15/README.md","packages/examples/vite/CHANGELOG.md","packages/examples/vite/package.json","packages/examples/vite/README.md"],"skills":{"packages/types/package.json":"{\n  \"name\": \"@react-pdf/types\",\n  \"version\": \"2.15.0\",\n  \"license\": \"MIT\",\n  \"description\": \"React-pdf TypeScript definitions\",\n  \"author\": \"Diego Muracciole <diegomuracciole@gmail.com>\",\n  \"homepage\": \"https://github.com/diegomura/react-pdf#readme\",\n  \"main\": \"index.d.ts\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/diegomura/react-pdf.git\",\n    \"directory\": \"packages/types\"\n  },\n  \"dependencies\": {\n    \"@react-pdf/font\": \"^4.2.0\",\n    \"@react-pdf/primitives\": \"^4.4.0\",\n    \"@react-pdf/stylesheet\": \"^6.3.4\"\n  }\n}\n","packages/textkit/package.json":"{\n  \"name\": \"@react-pdf/textkit\",\n  \"license\": \"MIT\",\n  \"version\": \"7.1.0\",\n  \"description\": \"An advanced text layout framework\",\n  \"type\": \"module\",\n  \"main\": \"./lib/textkit.js\",\n  \"types\": \"./lib/index.d.ts\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/diegomura/react-pdf.git\",\n    \"directory\": \"packages/textkit\"\n  },\n  \"contributors\": [\n    \"Devon Govett <devongovett@gmail.com>\",\n    \"Diego Muracciole <diegomuracciole@gmail.com>\"\n  ],\n  \"scripts\": {\n    \"test\": \"vitest\",\n    \"build\": \"rimraf ./lib && rollup -c --forceExit\",\n    \"watch\": \"rimraf ./lib && rollup -c -w\",\n    \"typecheck\": \"tsc --noEmit\"\n  },\n  \"files\": [\n    \"lib\"\n  ],\n  \"dependencies\": {\n    \"@react-pdf/fns\": \"3.1.3\",\n    \"@react-pdf/font\": \"^4.2.0\",\n    \"@react-pdf/hyphenate\": \"^0.1.1\",\n    \"@types/fontkit\": \"^2.0.7\",\n    \"bidi-js\": \"^1.0.2\",\n    \"unicode-properties\": \"^2.0.2\"\n  }\n}\n","CLAUDE.md":"# CLAUDE.md\n\nThis file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.\n\n## Project Overview\n\nReact-PDF is a library for creating PDF documents using React components. It's a monorepo using Lerna with independent versioning, Yarn 1.22.19 as the package manager, and all packages are ESM (`\"type\": \"module\"`).\n\n## Common Commands\n\n```bash\nyarn install              # Install dependencies and bootstrap monorepo\nyarn build                # Build all packages (lerna run build)\nyarn watch                # Watch mode - rebuilds on changes (for development)\nyarn test                 # Run all tests (vitest)\nyarn test packages/layout # Run tests for a specific package\nyarn lint                 # Lint all packages (eslint packages)\nyarn typecheck            # TypeScript type checking across all packages\nyarn dev                  # Run example apps\n```\n\nTo run a single test file: `yarn vitest run path/to/test.ts`\n\n## Architecture\n\nThe library works as a pipeline: React components → reconciler → layout → render → PDF output.\n\n### Package Dependency Flow\n\n```\n@react-pdf/renderer (main entry point - exports Document, Page, View, Text, etc.)\n  ├── @react-pdf/reconciler    → React fiber reconciler that creates the internal element tree\n  ├── @react-pdf/layout        → Resolves layout using Yoga (flexbox), handles pagination\n  │     ├── @react-pdf/textkit     → Text measurement, line breaking, hyphenation\n  │     ├── @react-pdf/stylesheet  → CSS-like style parsing and resolution\n  │     ├── @react-pdf/image       → PNG/JPEG image fetching and parsing\n  │     └── @react-pdf/font        → Font loading, registration, emoji support\n  ├── @react-pdf/render        → Renders resolved layout tree to PDF drawing operations\n  │     ├── pdfkit                 → Low-level PDF generation\n  │     └── @react-pdf/svgkit      → (consumer-supplied ctx) renders the same tree to SVG strings\n  └── @react-pdf/primitives    → Shared component type constants\n```\n\nUtility packages: `@react-pdf/fns` (helpers), `@react-pdf/types` (TypeScript types), `@react-pdf/math` (math utils), `@react-pdf/svgkit` (SVG support).\n\n### Build\n\nEach package uses Rollup for bundling. The renderer package produces multiple builds: server, browser, and minified variants. TypeScript is used throughout with strict mode.\n\n### Testing\n\n- **Framework**: Vitest with workspace configuration (`vitest.workspace.js`)\n- **Tested packages**: fns, font, image, render, layout, svgkit, textkit, renderer, stylesheet, primitives\n- **Renderer** has two test configs: main (fork pool) and browser (jsdom environment)\n- **Snapshot testing**: `jest-image-snapshot` for visual regression tests\n- **Multi-React support**: Tests can run against React 16, 17, 18, and 19 via environment variables\n\n### Writing Tests\n\nWhen making changes, always include tests. Add tests in the same location where tests already exist for the package being modified (e.g. `packages/layout/tests/`, `packages/renderer/tests/`).\n\n### Code Style\n\n- ESLint 9 with TypeScript parser, Prettier (single quotes), enforced via Husky pre-commit hooks\n- Packages `yoga` and everything under `apps` are excluded from linting\n\n## Previewing PDFs\n\nTo visually inspect generated PDFs during debugging, convert pages to images:\n\n**Using pdftoppm (preferred, often pre-installed via poppler-utils):**\n\n```bash\npdftoppm -png -r 200 document.pdf preview\n```\n\nThis generates `preview-1.png`, `preview-2.png`, etc. at 200 DPI.\n\n**Fallback: PyMuPDF (if pdftoppm is unavailable):**\n\n```bash\npip install pymupdf\n```\n\n```python\nimport fitz\n\ndoc = fitz.open(\"document.pdf\")\nfor i, page in enumerate(doc):\n    pix = page.get_pixmap(dpi=200)\n    pix.save(f\"page-{i+1}.png\")\n```\n\n## Versioning & Release\n\nUses [Changesets](https://github.com/changesets/changesets) for versioning:\n\n```bash\nyarn changeset          # Create a changeset\nyarn version-packages   # Apply changesets to bump versions\nyarn release            # Publish to npm\n```\n","packages/types/README.md":"<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png\" height=\"280px\">\n</p>\n\n# @react-pdf/types\n\n> React-pdf TypeScript definitions\n\n## Installation\n\n```bash\nyarn add @react-pdf/types\n```\n\n## License\n\nMIT\n","packages/textkit/README.md":"<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png\" height=\"280px\">\n</p>\n\n# @react-pdf/textkit\n\n> An advanced text layout framework\n\nA comprehensive text layout engine for react-pdf. Handles complex text rendering including bidirectional text, line breaking, hyphenation, justification, font substitution, OpenType font features, and text decoration.\n\n## Acknowledges\n\nThis project is a fork of [textkit](https://github.com/foliojs/textkit) by @devongovett and continued under the scope of this project since it has react-pdf specific features. Any recongnition should go to him and the original project mantainers.\n\n## Installation\n\n```bash\nyarn add @react-pdf/textkit\n```\n\n## Usage\n\n```js\nimport layoutEngine, {\n  bidi,\n  linebreaker,\n  justification,\n  textDecoration,\n  scriptItemizer,\n  wordHyphenation,\n  fontSubstitution,\n  fromFragments,\n} from '@react-pdf/textkit';\n\n// Create engines configuration\nconst engines = {\n  bidi: bidi(),\n  linebreaker: linebreaker({}),\n  justification: justification({}),\n  textDecoration: textDecoration(),\n  scriptItemizer: scriptItemizer(),\n  wordHyphenation: wordHyphenation(),\n  fontSubstitution: fontSubstitution(),\n};\n\n// Create attributed string from fragments\nconst attributedString = fromFragments([\n  { string: 'Hello ', attributes: { fontSize: 12, font: [myFont] } },\n  {\n    string: \"012'345'678'901\",\n    attributes: {\n      fontSize: 12,\n      font: [myFont],\n      features: ['tnum'],\n    },\n  },\n]);\n\n// Define container\nconst container = {\n  x: 0,\n  y: 0,\n  width: 400,\n  height: 600,\n};\n\n// Layout text\nconst layout = layoutEngine(engines);\nconst paragraphs = layout(attributedString, container, {});\n```\n\n## Layout Process\n\nThe layout engine processes text through the following steps:\n\n1. Split into paragraphs\n2. Get bidi runs and paragraph direction\n3. Font substitution - map to resolved font runs\n4. Script itemization\n5. Font shaping - text to glyphs, applying optional OpenType font features\n6. Line breaking\n7. Bidi reordering\n8. Justification\n9. Get a list of rectangles by intersecting path, line, and exclusion paths\n10. Perform line breaking to get acceptable break points for each fragment\n11. Ellipsize line if necessary\n12. Bidi reordering\n13. Justification\n\n## Engines\n\nThe layout engine uses several specialized engines that can be customized:\n\n### bidi\n\nHandles bidirectional text analysis using the Unicode Bidirectional Algorithm. Determines text direction for mixed LTR/RTL content.\n\n```js\nimport { bidi } from '@react-pdf/textkit';\n\nconst bidiEngine = bidi();\nconst result = bidiEngine(attributedString);\n```\n\n### linebreaker\n\nPerforms line breaking using the Knuth-Plass algorithm with fallback to best-fit. Handles hyphenation points and produces optimal line breaks.\n\n```js\nimport { linebreaker } from '@react-pdf/textkit';\n\nconst linebreakerEngine = linebreaker({\n  tolerance: 4,\n  hyphenationPenalty: 100,\n});\n```\n\n### justification\n\nAdjusts character and word spacing to achieve justified text alignment. Based on Apple's justification algorithm.\n\n```js\nimport { justification } from '@react-pdf/textkit';\n\nconst justificationEngine = justification({\n  expandCharFactor: { before: 0, after: 0 },\n  shrinkCharFactor: { before: 0, after: 0 },\n  expandWhitespaceFactor: { before: 0.5, after: 0.5 },\n  shrinkWhitespaceFactor: { before: 0.5, after: 0.5 },\n});\n```\n\n### fontSubstitution\n\nAutomatically substitutes fonts when the primary font doesn't have glyphs for certain characters. Picks the best font from the font stack.\n\n```js\nimport { fontSubstitution } from '@react-pdf/textkit';\n\nconst fontSubstitutionEngine = fontSubstitution();\n```\n\n### scriptItemizer\n\nIdentifies Unicode script runs in text (Latin, Arabic, Han, etc.) to enable proper font selection and shaping.\n\n```js\nimport { scriptItemizer } from '@react-pdf/textkit';\n\nconst scriptItemizerEngine = scriptItemizer();\n```\n\n### wordHyphenation\n\nProvides word hyphenation using language-specific patterns. Supports soft hyphens and custom hyphenation callbacks.\n\n```js\nimport { wordHyphenation } from '@react-pdf/textkit';\n\nconst wordHyphenationEngine = wordHyphenation();\nconst syllables = wordHyphenationEngine('hyphenation'); // ['hy', 'phen', 'a', 'tion']\n```\n\n### textDecoration\n\nGenerates decoration lines (underline, strikethrough) for styled text runs.\n\n```js\nimport { textDecoration } from '@react-pdf/textkit';\n\nconst textDecorationEngine = textDecoration();\n```\n\n## API Reference\n\n### layoutEngine(engines)\n\nCreates a layout function with the specified engines.\n\n```js\nconst layout = layoutEngine(engines);\nconst paragraphs = layout(attributedString, container, options);\n```\n\n### fromFragments(fragments)\n\nCreates an AttributedString from text fragments.\n\n```js\nimport { fromFragments } from '@react-pdf/textkit';\n\nconst attributedString = fromFragments([\n  { string: 'Hello ', attributes: { fontSize: 14 } },\n  { string: 'World!', attributes: { fontSize: 14, color: 'blue' } },\n]);\n```\n\n## Types\n\n### AttributedString\n\nThe main data structure representing styled text:\n\n```ts\ntype AttributedString = {\n  string: string;\n  runs: Run[];\n  syllables?: string[];\n  box?: Rect;\n  decorationLines?: DecorationLine[];\n};\n```\n\n### Run\n\nA styled segment of text:\n\n```ts\ntype Run = {\n  start: number;\n  end: number;\n  attributes: Attributes;\n  glyphs?: Glyph[];\n  positions?: Position[];\n  stringIndices?: number[];\n  glyphIndices?: number[];\n};\n```\n\n### Attributes\n\nStyle attributes for text runs:\n\n```ts\ntype Attributes = {\n  align?: string;\n  alignLastLine?: string;\n  attachment?: Attachment;\n  backgroundColor?: string;\n  bidiLevel?: number;\n  characterSpacing?: number;\n  color?: string;\n  direction?: 'rtl' | 'ltr';\n  features?: string[] | Record<string, boolean>;\n  fill?: boolean;\n  font?: Font[];\n  fontSize?: number;\n  hangingPunctuation?: boolean;\n  hyphenationFactor?: number;\n  indent?: number;\n  justificationFactor?: number;\n  lineHeight?: number;\n  lineSpacing?: number;\n  link?: string;\n  margin?: number;\n  marginLeft?: number;\n  marginRight?: number;\n  opacity?: number;\n  padding?: number;\n  paddingTop?: number;\n  paragraphSpacing?: number;\n  scale?: number;\n  script?: unknown;\n  shrinkFactor?: number;\n  strike?: boolean;\n  strikeColor?: string;\n  strikeStyle?: string;\n  stroke?: boolean;\n  underline?: boolean;\n  underlineColor?: string;\n  underlineStyle?: string;\n  verticalAlign?: string;\n  wordSpacing?: number;\n  yOffset?: number;\n};\n```\n\n### Container\n\nThe area where text will be laid out:\n\n```ts\ntype Container = {\n  x: number;\n  y: number;\n  width: number;\n  height: number;\n  truncateMode?: 'ellipsis';\n  maxLines?: number;\n  excludeRects?: Rect[];\n};\n```\n\n### Rect\n\nA rectangle definition:\n\n```ts\ntype Rect = {\n  x: number;\n  y: number;\n  width: number;\n  height: number;\n};\n```\n\n### Fragment\n\nInput format for creating attributed strings:\n\n```ts\ntype Fragment = {\n  string: string;\n  attributes?: Attributes;\n};\n```\n\n### LayoutOptions\n\nOptions for the layout process:\n\n```ts\ntype LayoutOptions = {\n  hyphenationCallback?: (\n    word: string | null,\n    fallback: (word: string | null) => string[],\n  ) => string[];\n  tolerance?: number;\n  hyphenationPenalty?: number;\n  expandCharFactor?: JustificationFactor;\n  shrinkCharFactor?: JustificationFactor;\n  expandWhitespaceFactor?: JustificationFactor;\n  shrinkWhitespaceFactor?: JustificationFactor;\n};\n```\n\n### Engines\n\nThe engines configuration object:\n\n```ts\ntype Engines = {\n  bidi: ReturnType<typeof bidi>;\n  linebreaker: ReturnType<typeof linebreaker>;\n  justification: ReturnType<typeof justification>;\n  fontSubstitution: ReturnType<typeof fontSubstitution>;\n  scriptItemizer: ReturnType<typeof scriptItemizer>;\n  textDecoration: ReturnType<typeof textDecoration>;\n  wordHyphenation?: ReturnType<typeof wordHyphenation>;\n};\n```\n\n## License\n\nMIT\n","packages/types/CHANGELOG.md":"# @react-pdf/types\n\n## 2.15.0\n\n### Minor Changes\n\n- [#3268](https://github.com/diegomura/react-pdf/pull/3268) [`90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e`](https://github.com/diegomura/react-pdf/commit/90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - Hyphenation callbacks can now decide, per split point, whether a hyphen is added when a line breaks there. Return `{ string, hyphen: null }` parts instead of strings to break without a hyphen; strings and parts can be mixed. Plain string arrays keep working as before.\n\n  Chinese and Japanese text now breaks between ideographs by default, without hyphens. Breaks without a hyphen now cost the same as breaking at a space and are no longer blocked by `hyphenationPenalty`. Parts ending in `-` no longer get a second hyphen, and the built-in hyphenation can break after dashes in compound words.\n\n### Patch Changes\n\n- Updated dependencies [[`90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e`](https://github.com/diegomura/react-pdf/commit/90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e), [`633a0b024cd349121a528a253a92c600b3b37016`](https://github.com/diegomura/react-pdf/commit/633a0b024cd349121a528a253a92c600b3b37016)]:\n  - @react-pdf/font@4.2.0\n  - @react-pdf/stylesheet@6.3.4\n\n## 2.14.1\n\n### Patch Changes\n\n- Updated dependencies [[`5dbd6d82686c8819c011a55960161fa27e4de47a`](https://github.com/diegomura/react-pdf/commit/5dbd6d82686c8819c011a55960161fa27e4de47a), [`ec92c81d74c4a24cc4f706e3cd49691252b93ef4`](https://github.com/diegomura/react-pdf/commit/ec92c81d74c4a24cc4f706e3cd49691252b93ef4), [`38b573aea445d9acb91bf64ea8b1753a9848ed0b`](https://github.com/diegomura/react-pdf/commit/38b573aea445d9acb91bf64ea8b1753a9848ed0b), [`afb755da20838f931d826a91b1b41d48518c0439`](https://github.com/diegomura/react-pdf/commit/afb755da20838f931d826a91b1b41d48518c0439), [`f26e3187e2f4daab14f02d71e41e1eb8a2d17bc3`](https://github.com/diegomura/react-pdf/commit/f26e3187e2f4daab14f02d71e41e1eb8a2d17bc3)]:\n  - @react-pdf/font@4.1.3\n  - @react-pdf/stylesheet@6.3.3\n\n## 2.14.0\n\n### Minor Changes\n\n- [#3529](https://github.com/diegomura/react-pdf/pull/3529) [`10d8365e2eb8fc3987cf94d4d61a7559f4ba1dfb`](https://github.com/diegomura/react-pdf/commit/10d8365e2eb8fc3987cf94d4d61a7559f4ba1dfb) Thanks [@diegomura](https://github.com/diegomura)! - feat: add `conformance` Document prop for PDF/A output\n\n  Produces PDF/A-1/2/3 (b-level) output with XMP conformance metadata and an sRGB OutputIntent. `pdfVersion` defaults to what the chosen level requires. Fonts must be registered (not the built-in standard 14) to fully validate.\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.1.2\n  - @react-pdf/stylesheet@6.3.2\n\n## 2.13.1\n\n### Patch Changes\n\n- Updated dependencies [[`6dc0901c26354dc5a38ed302ef76d371d74d8d61`](https://github.com/diegomura/react-pdf/commit/6dc0901c26354dc5a38ed302ef76d371d74d8d61)]:\n  - @react-pdf/font@4.1.1\n  - @react-pdf/stylesheet@6.3.1\n\n## 2.13.0\n\n### Minor Changes\n\n- [#3440](https://github.com/diegomura/react-pdf/pull/3440) [`06dfada8630d00005752eec711219cf290ce76ea`](https://github.com/diegomura/react-pdf/commit/06dfada8630d00005752eec711219cf290ce76ea) Thanks [@manuelmeister](https://github.com/manuelmeister)! - Add support for fontFeatureSettings to customize ligatures, tabular number display, and other font features.\n\n### Patch Changes\n\n- Updated dependencies [[`06dfada8630d00005752eec711219cf290ce76ea`](https://github.com/diegomura/react-pdf/commit/06dfada8630d00005752eec711219cf290ce76ea), [`ab80c0a2e1200ac6d4fd63e911e9c676d6e22f09`](https://github.com/diegomura/react-pdf/commit/ab80c0a2e1200ac6d4fd63e911e9c676d6e22f09), [`37a7a9fac92d670dd13fd9e88f9a4d9c21efdefd`](https://github.com/diegomura/react-pdf/commit/37a7a9fac92d670dd13fd9e88f9a4d9c21efdefd), [`a56871451b3161f96c53e5ced866ac1b0a288ff1`](https://github.com/diegomura/react-pdf/commit/a56871451b3161f96c53e5ced866ac1b0a288ff1)]:\n  - @react-pdf/stylesheet@6.3.0\n  - @react-pdf/font@4.1.0\n\n## 2.12.0\n\n### Minor Changes\n\n- [#3505](https://github.com/diegomura/react-pdf/pull/3505) [`ae9a9983e8bd8b63c3873000531a8307e22c7bae`](https://github.com/diegomura/react-pdf/commit/ae9a9983e8bd8b63c3873000531a8307e22c7bae) Thanks [@diegomura](https://github.com/diegomura)! - Experimental pagination engine, opt-in per page\n\n  A new pagination engine ships alongside the current one: content is\n  measured once and packed into pages instead of relayouting on every split,\n  making long documents paginate orders of magnitude faster (a 300-page\n  document drops from ~40s to ~200ms).\n\n  Opt in with `<Page experimentalPagination>` — any page opting in switches\n  the whole document. The default behavior is unchanged.\n\n  Under the new engine:\n\n  - `<Page layout={Layout}>` renders per-page chrome (headers, footers,\n    sidebars) around the content. The layout component receives\n    `{ pageNumber, totalPages, subPageNumber, subPageTotalPages }` and the\n    page content as `children`, and runs once per output page. Using `layout`\n    implies `experimentalPagination`.\n  - One `fixed` semantic: in-flow fixed elements repeat at the top of every\n    page they span; footers are the layout's job.\n  - `minPresenceAhead` is supported, with one refinement: a trailing element\n    with nothing after it stays in place instead of moving to its own page.\n\n  The current engine remains the default until the next major, when the new\n  engine takes over.\n\n### Patch Changes\n\n- Updated dependencies [[`d38d17759b3856ab64c69101bd359aace4b532fc`](https://github.com/diegomura/react-pdf/commit/d38d17759b3856ab64c69101bd359aace4b532fc), [`ae9a9983e8bd8b63c3873000531a8307e22c7bae`](https://github.com/diegomura/react-pdf/commit/ae9a9983e8bd8b63c3873000531a8307e22c7bae)]:\n  - @react-pdf/stylesheet@6.2.4\n  - @react-pdf/primitives@4.4.0\n  - @react-pdf/font@4.0.11\n\n## 2.11.3\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.0.10\n  - @react-pdf/stylesheet@6.2.3\n\n## 2.11.2\n\n### Patch Changes\n\n- Updated dependencies [[`4c4e7a1a`](https://github.com/diegomura/react-pdf/commit/4c4e7a1a49ed8fa20e33d2750517265f4cad8c75)]:\n  - @react-pdf/font@4.0.9\n  - @react-pdf/stylesheet@6.2.2\n\n## 2.11.1\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.0.8\n  - @react-pdf/stylesheet@6.2.1\n\n## 2.11.0\n\n### Minor Changes\n\n- [#3366](https://github.com/diegomura/react-pdf/pull/3366) [`4444f355`](https://github.com/diegomura/react-pdf/commit/4444f3555e3381397b33297e3f121a81db06a370) Thanks [@diegomura](https://github.com/diegomura)! - feat: svg markers support\n\n### Patch Changes\n\n- Updated dependencies [[`b01f5b72`](https://github.com/diegomura/react-pdf/commit/b01f5b72243661606238954922e74ec394ed23bb), [`4444f355`](https://github.com/diegomura/react-pdf/commit/4444f3555e3381397b33297e3f121a81db06a370)]:\n  - @react-pdf/stylesheet@6.2.0\n  - @react-pdf/primitives@4.3.0\n  - @react-pdf/font@4.0.7\n\n## 2.10.0\n\n### Minor Changes\n\n- [#3344](https://github.com/diegomura/react-pdf/pull/3344) [`a70013e7`](https://github.com/diegomura/react-pdf/commit/a70013e7457a28bd4fbda53a5cecfc219da5e1ea) Thanks [@diegomura](https://github.com/diegomura)! - feat: password protection support\n\n- [#3336](https://github.com/diegomura/react-pdf/pull/3336) [`342938a4`](https://github.com/diegomura/react-pdf/commit/342938a45ede4e57f969a2861f11c64e2ca48575) Thanks [@diegomura](https://github.com/diegomura)! - feat: add link hitslop\n\n- [#3339](https://github.com/diegomura/react-pdf/pull/3339) [`6109b424`](https://github.com/diegomura/react-pdf/commit/6109b424a42f7e83510539592afcab1824560715) Thanks [@diegomura](https://github.com/diegomura)! - feat: responsive images\n\n### Patch Changes\n\n- Updated dependencies [[`2e91eb64`](https://github.com/diegomura/react-pdf/commit/2e91eb649318ee66ec8cab7386f1fdbae8eb8cef), [`aa3ccf4c`](https://github.com/diegomura/react-pdf/commit/aa3ccf4c2abadb528fd6073e2dceb2a03db27c7d)]:\n  - @react-pdf/font@4.0.6\n  - @react-pdf/primitives@4.2.0\n  - @react-pdf/stylesheet@6.1.4\n\n## 2.9.3\n\n### Patch Changes\n\n- Updated dependencies [[`c4a9e4c0`](https://github.com/diegomura/react-pdf/commit/c4a9e4c0b7f1eb2aef885dffb4505f4204f7ce55), [`01e1fbbe`](https://github.com/diegomura/react-pdf/commit/01e1fbbe5a214744b7e4607e65fa45b3554390b2), [`e27cdb48`](https://github.com/diegomura/react-pdf/commit/e27cdb4843c790d0cd3a0fdc2cc3680cee3270c3)]:\n  - @react-pdf/stylesheet@6.1.3\n  - @react-pdf/font@4.0.5\n\n## 2.9.2\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.0.4\n  - @react-pdf/stylesheet@6.1.2\n\n## 2.9.1\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.0.3\n  - @react-pdf/stylesheet@6.1.1\n\n## 2.9.0\n\n### Minor Changes\n\n- [#3112](https://github.com/diegomura/react-pdf/pull/3112) [`f89f75c1`](https://github.com/diegomura/react-pdf/commit/f89f75c1f132ba19b54847c3ac23efec675f8d0a) Thanks [@diegomura](https://github.com/diegomura)! - feat: add xLinkHref, gradientTransform and gradientUnits support\n\n### Patch Changes\n\n- Updated dependencies [[`f89f75c1`](https://github.com/diegomura/react-pdf/commit/f89f75c1f132ba19b54847c3ac23efec675f8d0a)]:\n  - @react-pdf/stylesheet@6.1.0\n  - @react-pdf/font@4.0.2\n\n## 2.8.2\n\n### Patch Changes\n\n- Updated dependencies [[`e257f7ee`](https://github.com/diegomura/react-pdf/commit/e257f7ee18ff09f4895cd16c0b21b824678384c8)]:\n  - @react-pdf/font@4.0.1\n  - @react-pdf/stylesheet@6.0.2\n\n## 2.8.1\n\n### Patch Changes\n\n- [#3087](https://github.com/diegomura/react-pdf/pull/3087) [`7cd66e4f`](https://github.com/diegomura/react-pdf/commit/7cd66e4fc37cd1393adc6250a919fe2629812082) Thanks [@diegomura](https://github.com/diegomura)! - fix: font exported types\n\n- Updated dependencies [[`2a4f1bfc`](https://github.com/diegomura/react-pdf/commit/2a4f1bfca6b84e6c6bbde683447ce8079a1febbe), [`7cd66e4f`](https://github.com/diegomura/react-pdf/commit/7cd66e4fc37cd1393adc6250a919fe2629812082), [`bfb51ec0`](https://github.com/diegomura/react-pdf/commit/bfb51ec09b851c52659ce16fed1286173e9516a9), [`a2de2685`](https://github.com/diegomura/react-pdf/commit/a2de2685b25c797f266775c2e35a6535090393b7), [`24690f52`](https://github.com/diegomura/react-pdf/commit/24690f5238e4eacf28351cf9996856a7d196d29e), [`481b536f`](https://github.com/diegomura/react-pdf/commit/481b536f4ad145fb227829399b85a35838a506f8)]:\n  - @react-pdf/stylesheet@6.0.1\n  - @react-pdf/font@4.0.0\n\n## 2.8.0\n\n### Minor Changes\n\n- [#3082](https://github.com/diegomura/react-pdf/pull/3082) [`24fe4bf8`](https://github.com/diegomura/react-pdf/commit/24fe4bf894fff055121926488b30d0bf212a9c45) Thanks [@diegomura](https://github.com/diegomura)! - feat: rework and type stylesheet package\n\n- [#3079](https://github.com/diegomura/react-pdf/pull/3079) [`700535c5`](https://github.com/diegomura/react-pdf/commit/700535c57ff1b105d923be70f4fc4bfdf4479f91) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert font package to TS\n\n### Patch Changes\n\n- [#3067](https://github.com/diegomura/react-pdf/pull/3067) [`96c2464d`](https://github.com/diegomura/react-pdf/commit/96c2464dfaa7294e0d79b7ed64743bfd7b1a8c72) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert primitives package to TS\n\n- Updated dependencies [[`96c2464d`](https://github.com/diegomura/react-pdf/commit/96c2464dfaa7294e0d79b7ed64743bfd7b1a8c72), [`24fe4bf8`](https://github.com/diegomura/react-pdf/commit/24fe4bf894fff055121926488b30d0bf212a9c45), [`700535c5`](https://github.com/diegomura/react-pdf/commit/700535c57ff1b105d923be70f4fc4bfdf4479f91)]:\n  - @react-pdf/primitives@4.1.1\n  - @react-pdf/stylesheet@6.0.0\n  - @react-pdf/font@3.1.0\n\n## 2.7.1\n\n### Patch Changes\n\n- [#3019](https://github.com/diegomura/react-pdf/pull/3019) [`01944231`](https://github.com/diegomura/react-pdf/commit/01944231a342d502b832aeecb4c313020b8360c8) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Fixed HyphenationCallback type (confusing argument name, removed extra argument)\n\n## 2.7.0\n\n### Minor Changes\n\n- [#2875](https://github.com/diegomura/react-pdf/pull/2875) [`46c3047d`](https://github.com/diegomura/react-pdf/commit/46c3047de56ae82f062b72c4910a4e6096eee99f) Thanks [@diegomura](https://github.com/diegomura)! - feat: add position: static support\n\n- [#2874](https://github.com/diegomura/react-pdf/pull/2874) [`55973278`](https://github.com/diegomura/react-pdf/commit/55973278ac8bc8f703b63844f57d6f155ae8d86f) Thanks [@diegomura](https://github.com/diegomura)! - feat: add align-content: space-evenly support\n\n## 2.6.0\n\n### Minor Changes\n\n- [#2771](https://github.com/diegomura/react-pdf/pull/2771) [`8e6a832`](https://github.com/diegomura/react-pdf/commit/8e6a8320f86354aff950c296a96bc41a33e9dab2) Thanks [@nikischin](https://github.com/nikischin)! - fix: fix dpi\n\n### Patch Changes\n\n- [#2727](https://github.com/diegomura/react-pdf/pull/2727) [`4bafab8`](https://github.com/diegomura/react-pdf/commit/4bafab8455c9003759f48bad20a720baf4ed189b) Thanks [@hendrikmolder](https://github.com/hendrikmolder)! - accept string array for `fontFamily` in stylesheets\n\n## 2.5.0\n\n### Minor Changes\n\n- [#2723](https://github.com/diegomura/react-pdf/pull/2723) [`22a34a9`](https://github.com/diegomura/react-pdf/commit/22a34a91b16a201cd8288e0dbea9368b12ca73f5) Thanks [@hendrikmolder](https://github.com/hendrikmolder)! - Allow passing a string array to fontFamily\n\n## 2.4.1\n\n### Patch Changes\n\n- [#2573](https://github.com/diegomura/react-pdf/pull/2573) [`9af07fe`](https://github.com/diegomura/react-pdf/commit/9af07feb59c2fe9c1d8960ac95f6fa6e03d16235) Thanks [@davbrito](https://github.com/davbrito)! - feat: add support for resolving blob images\n\n## 2.4.0\n\n### Minor Changes\n\n- [#2539](https://github.com/diegomura/react-pdf/pull/2539) [`fb5273d`](https://github.com/diegomura/react-pdf/commit/fb5273d8d80d919f7b9c214e02d67b79ce23fa19) Thanks [@diegomura](https://github.com/diegomura)! - feat: add creation and modification dates\n\n## 2.3.6\n\n### Patch Changes\n\n- [#2525](https://github.com/diegomura/react-pdf/pull/2525) [`9e5842b`](https://github.com/diegomura/react-pdf/commit/9e5842bbecca6e249af2c5fc50078bb7ddd5420f) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Fix rowGap and columnGap style properties not accepting strings\n\n## 2.3.5\n\n### Patch Changes\n\n- [#2453](https://github.com/diegomura/react-pdf/pull/2453) [`e5c8fde`](https://github.com/diegomura/react-pdf/commit/e5c8fde9379a9a85ecac7e3d6273953e39d65f8d) Thanks [@chuckspencer-aiq](https://github.com/chuckspencer-aiq)! - fix: add clipPath to typing for SVGPresentationAttributes\n\n* [#2467](https://github.com/diegomura/react-pdf/pull/2467) [`1f987cc`](https://github.com/diegomura/react-pdf/commit/1f987cc27c3fd1ef1b6748ebe58a289a78b538d2) Thanks [@JaeSeoKim](https://github.com/JaeSeoKim)! - feat: add withVariationSelectors option to registerEmojiSource [#2466](https://github.com/diegomura/react-pdf/issues/2466)\n\n- [#2416](https://github.com/diegomura/react-pdf/pull/2416) [`4c40b14`](https://github.com/diegomura/react-pdf/commit/4c40b149cfed42f2513e1dd330a92ccc3363c04f) Thanks [@TheMikeyRoss](https://github.com/TheMikeyRoss)! - Updated svg.d.ts to include strokeLinejoin\n\n## 2.3.4\n\n### Patch Changes\n\n- [#2130](https://github.com/diegomura/react-pdf/pull/2130) [`4a55c1b`](https://github.com/diegomura/react-pdf/commit/4a55c1b2ed19e460ccae6e749ed94c16729a23c4) Thanks [@PoornakumarRasiraju](https://github.com/PoornakumarRasiraju)! - fix: allow credentials option in Image\n\n## 2.3.3\n\n### Patch Changes\n\n- [#2276](https://github.com/diegomura/react-pdf/pull/2276) [`1e1fbdc`](https://github.com/diegomura/react-pdf/commit/1e1fbdc3c33ced46d8c7ebba7a196733cb789d59) Thanks [@renchap](https://github.com/renchap)! - add `aspectRatio` style property\n\n* [#2293](https://github.com/diegomura/react-pdf/pull/2293) [`8636812`](https://github.com/diegomura/react-pdf/commit/86368122ed87621d19ae3bc248080e17703d9fcb) Thanks [@BryanAbate](https://github.com/BryanAbate)! - fix type for `getRegisteredFonts` method\n\n## 2.3.2\n\n### Patch Changes\n\n- [#2310](https://github.com/diegomura/react-pdf/pull/2310) [`a25dbcb`](https://github.com/diegomura/react-pdf/commit/a25dbcb32b65c300f5b088e8b210bb0c1abca5c2) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Fixed all strings allowed in `fontWeight` in `Font.register`\n\n## 2.3.1\n\n### Patch Changes\n\n- [#2252](https://github.com/diegomura/react-pdf/pull/2252) [`47e91cb`](https://github.com/diegomura/react-pdf/commit/47e91cbd8016046bb4e8389ba0d1c7ede9edce59) Thanks [@jeetiss](https://github.com/jeetiss)! - implement function as emoji source to build more complex urls\n\n## 2.3.0\n\n### Minor Changes\n\n- [#2214](https://github.com/diegomura/react-pdf/pull/2214) [`2db67a3`](https://github.com/diegomura/react-pdf/commit/2db67a38b9be98b7816a2b5aa4733446b95e3724) Thanks [@KODIKAS-NL](https://github.com/KODIKAS-NL)! - added base support for verticalAlign \"super\" and \"sub\"\n\n## 2.2.0\n\n### Minor Changes\n\n- [#2160](https://github.com/diegomura/react-pdf/pull/2160) [`a743c90`](https://github.com/diegomura/react-pdf/commit/a743c905fb5d201d2382bc9175fa36b83cc47284) Thanks [@jeetiss](https://github.com/jeetiss)! - implement flex gap\n\n## 2.1.1\n\n### Patch Changes\n\n- [#2106](https://github.com/diegomura/react-pdf/pull/2106) [`24bb5de`](https://github.com/diegomura/react-pdf/commit/24bb5de969a854cc0226438985b34ef8ae2d7581) Thanks [@RDO34](https://github.com/RDO34)! - Add `dpi` and `bookmark` page prop types\n\n## 2.1.0\n\n### Minor Changes\n\n- [#1862](https://github.com/diegomura/react-pdf/pull/1862) [`1411d16`](https://github.com/diegomura/react-pdf/commit/1411d162e04ca237bad93729695c363fdf4bdbeb) Thanks [@diegomura](https://github.com/diegomura)! - feat: bookmarks support\n\n* [#1867](https://github.com/diegomura/react-pdf/pull/1867) [`4fadb48`](https://github.com/diegomura/react-pdf/commit/4fadb48983d7269452f89f80c7e341ece859aaee) Thanks [@diegomura](https://github.com/diegomura)! - feat: add page layout support\n\n- [#1868](https://github.com/diegomura/react-pdf/pull/1868) [`ce8762f`](https://github.com/diegomura/react-pdf/commit/ce8762f6de5c796e69ec5a225c7f3ff9c619a960) Thanks [@diegomura](https://github.com/diegomura)! - feat: add page mode support\n\n* [#1869](https://github.com/diegomura/react-pdf/pull/1869) [`5d2c308`](https://github.com/diegomura/react-pdf/commit/5d2c3088cf438a8abf1038b14a21117fecf59d57) Thanks [@diegomura](https://github.com/diegomura)! - feat: variable dpi\n\n## 2.0.9\n\n### Patch Changes\n\n- [#1843](https://github.com/diegomura/react-pdf/pull/1843) [`fe0f214`](https://github.com/diegomura/react-pdf/commit/fe0f214dbbf2f632b852ebfe65f886ecc4dd6953) Thanks [@diegomura](https://github.com/diegomura)! - fix: add ID1 type\n\n## 2.0.8\n\n### Patch Changes\n\n- [#1581](https://github.com/diegomura/react-pdf/pull/1581) [`04449ab`](https://github.com/diegomura/react-pdf/commit/04449ab352db0cca2155024dd3e8c690e42193ca) Thanks [@jeetiss](https://github.com/jeetiss)! - added changelog with changesets\n","packages/textkit/CHANGELOG.md":"# @react-pdf/textkit\n\n## 7.1.0\n\n### Minor Changes\n\n- [#3268](https://github.com/diegomura/react-pdf/pull/3268) [`90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e`](https://github.com/diegomura/react-pdf/commit/90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - Hyphenation callbacks can now decide, per split point, whether a hyphen is added when a line breaks there. Return `{ string, hyphen: null }` parts instead of strings to break without a hyphen; strings and parts can be mixed. Plain string arrays keep working as before.\n\n  Chinese and Japanese text now breaks between ideographs by default, without hyphens. Breaks without a hyphen now cost the same as breaking at a space and are no longer blocked by `hyphenationPenalty`. Parts ending in `-` no longer get a second hyphen, and the built-in hyphenation can break after dashes in compound words.\n\n### Patch Changes\n\n- [#3577](https://github.com/diegomura/react-pdf/pull/3577) [`890aba0f7b5c272e80700f9fb89af2274c40ab6f`](https://github.com/diegomura/react-pdf/commit/890aba0f7b5c272e80700f9fb89af2274c40ab6f) Thanks [@Louayzouaoui1](https://github.com/Louayzouaoui1)! - fix: keep the base letterform of decomposed characters (e.g. Arabic letters shaped as base + dot mark) when a run is sliced or measured at their start\n\n- [#3454](https://github.com/diegomura/react-pdf/pull/3454) [`270f3bd214fe3da2e25e46414846e6ae268f5b71`](https://github.com/diegomura/react-pdf/commit/270f3bd214fe3da2e25e46414846e6ae268f5b71) Thanks [@to-na](https://github.com/to-na)! - fix(textkit): preserve variation selector font runs\n\n- Updated dependencies [[`90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e`](https://github.com/diegomura/react-pdf/commit/90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e), [`633a0b024cd349121a528a253a92c600b3b37016`](https://github.com/diegomura/react-pdf/commit/633a0b024cd349121a528a253a92c600b3b37016)]:\n  - @react-pdf/font@4.2.0\n\n## 7.0.2\n\n### Patch Changes\n\n- [#3637](https://github.com/diegomura/react-pdf/pull/3637) [`5dbd6d82686c8819c011a55960161fa27e4de47a`](https://github.com/diegomura/react-pdf/commit/5dbd6d82686c8819c011a55960161fa27e4de47a) Thanks [@diegomura](https://github.com/diegomura)! - Bump pdfkit to 0.21.0, fontkit to 3.0.0, png-js to 3.0.0 and unicode-properties to 2.0.2, picking up fixes for a PNG parser denial of service and several malformed font crashes. Thai and Lao SARA AM now decompose before shaping to match fontkit 3, which fixes the last glyph being dropped after it\n\n- [#3602](https://github.com/diegomura/react-pdf/pull/3602) [`ec92c81d74c4a24cc4f706e3cd49691252b93ef4`](https://github.com/diegomura/react-pdf/commit/ec92c81d74c4a24cc4f706e3cd49691252b93ef4) Thanks [@iliev-blnk](https://github.com/iliev-blnk)! - fix: declare the packages imported by published type declarations as dependencies (`@types/fontkit` in font and textkit, `@react-pdf/font` in textkit and layout), so they type-check with `skipLibCheck: false`\n\n- Updated dependencies [[`5dbd6d82686c8819c011a55960161fa27e4de47a`](https://github.com/diegomura/react-pdf/commit/5dbd6d82686c8819c011a55960161fa27e4de47a), [`ec92c81d74c4a24cc4f706e3cd49691252b93ef4`](https://github.com/diegomura/react-pdf/commit/ec92c81d74c4a24cc4f706e3cd49691252b93ef4), [`38b573aea445d9acb91bf64ea8b1753a9848ed0b`](https://github.com/diegomura/react-pdf/commit/38b573aea445d9acb91bf64ea8b1753a9848ed0b), [`c809374c7150f5bd16ad14c3d54148112c820a8a`](https://github.com/diegomura/react-pdf/commit/c809374c7150f5bd16ad14c3d54148112c820a8a)]:\n  - @react-pdf/font@4.1.3\n  - @react-pdf/hyphenate@0.1.1\n\n## 7.0.1\n\n### Patch Changes\n\n- [#3524](https://github.com/diegomura/react-pdf/pull/3524) [`df39d4cf2f18ee234b4f6c7674d94bdfc4742489`](https://github.com/diegomura/react-pdf/commit/df39d4cf2f18ee234b4f6c7674d94bdfc4742489) Thanks [@diegomura](https://github.com/diegomura)! - perf: merge run attributes lazily in flatten, only when a segment is emitted\n\n- [#3527](https://github.com/diegomura/react-pdf/pull/3527) [`6dc0901c26354dc5a38ed302ef76d371d74d8d61`](https://github.com/diegomura/react-pdf/commit/6dc0901c26354dc5a38ed302ef76d371d74d8d61) Thanks [@diegomura](https://github.com/diegomura)! - perf: drop the omit('font') preprocessing pass, skip attachment purging when no attachment is set, reduce allocations in the Knuth-Plass main loop, and cache standard font AFM glyph-name lookups\n\n- [#3523](https://github.com/diegomura/react-pdf/pull/3523) [`a291d4fb45b6260861868b973b24e9a49915f6a0`](https://github.com/diegomura/react-pdf/commit/a291d4fb45b6260861868b973b24e9a49915f6a0) Thanks [@diegomura](https://github.com/diegomura)! - perf: reduce allocation churn in text layout hot paths (~15% faster layout of text-heavy documents)\n\n## 7.0.0\n\n### Major Changes\n\n- [#3511](https://github.com/diegomura/react-pdf/pull/3511) [`d3c4667617c1b97c638a6e89e638879e902c9c52`](https://github.com/diegomura/react-pdf/commit/d3c4667617c1b97c638a6e89e638879e902c9c52) Thanks [@diegomura](https://github.com/diegomura)! - Support ellipse and polygon exclusion shapes for text wrapping, groundwork for CSS `shape-outside`. Breaking: the `Container.excludeRects` prop is renamed to `exclusions` and now accepts `ExclusionShape[]` (rect, ellipse, or polygon, each with an optional `extend` side)\n\n### Minor Changes\n\n- [#3440](https://github.com/diegomura/react-pdf/pull/3440) [`06dfada8630d00005752eec711219cf290ce76ea`](https://github.com/diegomura/react-pdf/commit/06dfada8630d00005752eec711219cf290ce76ea) Thanks [@manuelmeister](https://github.com/manuelmeister)! - Add support for fontFeatureSettings to customize ligatures, tabular number display, and other font features.\n\n### Patch Changes\n\n- [#3513](https://github.com/diegomura/react-pdf/pull/3513) [`533340e6ae0908732612d4e5350a69dcb70e76db`](https://github.com/diegomura/react-pdf/commit/533340e6ae0908732612d4e5350a69dcb70e76db) Thanks [@diegomura](https://github.com/diegomura)! - fix: line widths misaligned with line rects when exclusions are present, causing the first line after a float to break at the previous line's width\n\n## 6.4.2\n\n### Patch Changes\n\n- [#3495](https://github.com/diegomura/react-pdf/pull/3495) [`cb445c063adf87c2f250d11f7c36a71c7695bc61`](https://github.com/diegomura/react-pdf/commit/cb445c063adf87c2f250d11f7c36a71c7695bc61) Thanks [@diegomura](https://github.com/diegomura)! - Use @react-pdf/hyphenate for text layout, and skip whitespace when splitting words into syllables.\n\n## 6.4.1\n\n### Patch Changes\n\n- [#3489](https://github.com/diegomura/react-pdf/pull/3489) [`6f94a82ea4306b0fd9c7c161f9c44609be7f6f39`](https://github.com/diegomura/react-pdf/commit/6f94a82ea4306b0fd9c7c161f9c44609be7f6f39) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Improve Knuth-Plass line breaking performance for long paragraphs.\n\n## 6.4.0\n\n### Minor Changes\n\n- [#3423](https://github.com/diegomura/react-pdf/pull/3423) [`06c188bd`](https://github.com/diegomura/react-pdf/commit/06c188bd1365a85a9935597c5e4b6402584f2427) Thanks [@exoego](https://github.com/exoego)! - fix(textkit): treat surrogate pairs as single code points in font substitution\n\n### Patch Changes\n\n- [#3303](https://github.com/diegomura/react-pdf/pull/3303) [`aeaa7a76`](https://github.com/diegomura/react-pdf/commit/aeaa7a76b92e6d7b79617418e10e1ca784509cee) Thanks [@matangot](https://github.com/matangot)! - Preserve run attributes during bidi reordering\n\n- [#3420](https://github.com/diegomura/react-pdf/pull/3420) [`111503c2`](https://github.com/diegomura/react-pdf/commit/111503c244615c98d35c958351beef4c61a0244d) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Improve text line slicing performance for long paragraphs.\n\n## 6.3.0\n\n### Minor Changes\n\n- [#3369](https://github.com/diegomura/react-pdf/pull/3369) [`5689bc18`](https://github.com/diegomura/react-pdf/commit/5689bc1824c760d3cee2f31c8d983d78d3067d63) Thanks [@exoego](https://github.com/exoego)! - fix(textkit): advanceWidthBetween regression with glyphIndices\n\n### Patch Changes\n\n- [#3384](https://github.com/diegomura/react-pdf/pull/3384) [`143af597`](https://github.com/diegomura/react-pdf/commit/143af597ead7f59f695785a622b030749d2e8dae) Thanks [@diegomura](https://github.com/diegomura)! - Fix NFD decomposition breaking Latin diacritics rendering by only decomposing complex scripts (Bengali, Devanagari, etc.) that need it for glyph mapping\n\n## 6.2.0\n\n### Minor Changes\n\n- [#3358](https://github.com/diegomura/react-pdf/pull/3358) [`7b37bc8c`](https://github.com/diegomura/react-pdf/commit/7b37bc8c744d3805fd696f7d961d70cf47258dcf) Thanks [@diegomura](https://github.com/diegomura)! - feat(textkit): glyph indices resolution\n\n- [#3355](https://github.com/diegomura/react-pdf/pull/3355) [`b28b61cf`](https://github.com/diegomura/react-pdf/commit/b28b61cf2ce5b1f0ae5b78551cf987d06df8c6c0) Thanks [@diegomura](https://github.com/diegomura)! - feat(textkit): decompose unicode step\n\n### Patch Changes\n\n- [#3357](https://github.com/diegomura/react-pdf/pull/3357) [`f30cf001`](https://github.com/diegomura/react-pdf/commit/f30cf0013336d0f6ccfd7b103fee66a203ac6b07) Thanks [@diegomura](https://github.com/diegomura)! - fix(textkit): string indices resolution\n\n- [#3354](https://github.com/diegomura/react-pdf/pull/3354) [`7fa9c06e`](https://github.com/diegomura/react-pdf/commit/7fa9c06e65760272e0994d0a61dc4a53b081a816) Thanks [@diegomura](https://github.com/diegomura)! - refactor(textkit): rename glyphIndices to stringIndices\n\n## 6.1.1\n\n### Patch Changes\n\n- [#3273](https://github.com/diegomura/react-pdf/pull/3273) [`16cf5bd7`](https://github.com/diegomura/react-pdf/commit/16cf5bd7006ee1f64d37d3b9ee72e576ee03e343) Thanks [@diegomura](https://github.com/diegomura)! - feat(textkit): various improvements\n\n- [#3240](https://github.com/diegomura/react-pdf/pull/3240) [`2ca8ae83`](https://github.com/diegomura/react-pdf/commit/2ca8ae83fcc113b44b28b5397099bfda9d142212) Thanks [@Pasquale007](https://github.com/Pasquale007)! - fix: cannot read units for Em\n\n- Updated dependencies [[`c40bfdec`](https://github.com/diegomura/react-pdf/commit/c40bfdec3485b00844d9fffeab06d173e2d14dcf), [`5b6a6a4a`](https://github.com/diegomura/react-pdf/commit/5b6a6a4a67fc5156b5d937e4a59a4ab9e5150785)]:\n  - @react-pdf/fns@3.1.3\n\n## 6.1.0\n\n### Minor Changes\n\n- [#3188](https://github.com/diegomura/react-pdf/pull/3188) [`f034491b`](https://github.com/diegomura/react-pdf/commit/f034491b1f77ce6f18a5db88e70b10b9c502ca35) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - Fix and rework the hyphenation algorithm, and allow custom word hyphenation algorithms to specify whether a hyphen should be inserted in case the word is wrapped.\n\n  **Caution**: If you have been using a custom hyphenation callback - which hasn't been working properly since at least version 2.0.21 - then you will need to change your implementation to leave a soft hyphen character (`'\\u00AD'`) at the end of syllables where you want react-pdf to insert a hyphen when wrapping lines. Syllables without a final soft hyphen character will still be able to break, but will not produce a hyphen character at the end of the line.\n\n  This allows you to break correctly on normal hyphens or other special characters in your text. For example, to use the default english-language syllable breaking built into react-pdf, but also break after hyphens naturally occurring in your text (such as is often present in hyperlinks), you could use the following hyphenation callback:\n\n  ```js\n  import { Font } from '@react-pdf/renderer';\n\n  Font.registerHyphenationCallback((word, originalHyphenationCallback) => {\n    return originalHyphenationCallback(word).flatMap((w) => w.split(/(?<=-)/));\n  });\n  ```\n\n  (`flatMap` requires at least ES2019)\n\n## 6.0.0\n\n### Major Changes\n\n- [#3104](https://github.com/diegomura/react-pdf/pull/3104) [`ddfa3675`](https://github.com/diegomura/react-pdf/commit/ddfa367587618b313b4b0b3b57a9a7631e8e7604) Thanks [@diegomura](https://github.com/diegomura)! - feat(textkit): expect font array\n\n### Minor Changes\n\n- [#3102](https://github.com/diegomura/react-pdf/pull/3102) [`24690f52`](https://github.com/diegomura/react-pdf/commit/24690f5238e4eacf28351cf9996856a7d196d29e) Thanks [@diegomura](https://github.com/diegomura)! - feat: handle standard fonts in fonts package\n\n- [#3103](https://github.com/diegomura/react-pdf/pull/3103) [`b06d3a0f`](https://github.com/diegomura/react-pdf/commit/b06d3a0f64593ac18097efd061334f1e5bd70095) Thanks [@diegomura](https://github.com/diegomura)! - refactor: unify font substitution engines\n\n### Patch Changes\n\n- [`c7b74963`](https://github.com/diegomura/react-pdf/commit/c7b749632f07db7808d58d99357dc830d4895da8) Thanks [@diegomura](https://github.com/diegomura)! - fix: resolve attachments\n\n- [#3098](https://github.com/diegomura/react-pdf/pull/3098) [`bfb51ec0`](https://github.com/diegomura/react-pdf/commit/bfb51ec09b851c52659ce16fed1286173e9516a9) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert render package to TS\n\n- [#3092](https://github.com/diegomura/react-pdf/pull/3092) [`481b536f`](https://github.com/diegomura/react-pdf/commit/481b536f4ad145fb227829399b85a35838a506f8) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert layout package to TS\n\n- Updated dependencies [[`481b536f`](https://github.com/diegomura/react-pdf/commit/481b536f4ad145fb227829399b85a35838a506f8)]:\n  - @react-pdf/fns@3.1.2\n\n## 5.0.3\n\n### Patch Changes\n\n- [#3077](https://github.com/diegomura/react-pdf/pull/3077) [`442ce355`](https://github.com/diegomura/react-pdf/commit/442ce35534f916b9146a35fd03870387ed488d92) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert textkit package to TS\n\n- Updated dependencies [[`24fe4bf8`](https://github.com/diegomura/react-pdf/commit/24fe4bf894fff055121926488b30d0bf212a9c45), [`442ce355`](https://github.com/diegomura/react-pdf/commit/442ce35534f916b9146a35fd03870387ed488d92), [`3007d34a`](https://github.com/diegomura/react-pdf/commit/3007d34ad3e10bf32ada3631938f5bb08e1c549f)]:\n  - @react-pdf/fns@3.1.1\n\n## 5.0.2\n\n### Patch Changes\n\n- Updated dependencies [[`d36ace66`](https://github.com/diegomura/react-pdf/commit/d36ace66c77d57d845894e89772be7ae0cdd25ee)]:\n  - @react-pdf/fns@3.1.0\n\n## 5.0.1\n\n### Patch Changes\n\n- [#2975](https://github.com/diegomura/react-pdf/pull/2975) [`00bfdc1e`](https://github.com/diegomura/react-pdf/commit/00bfdc1e5a6c673d2de7b3ab09d5020e932562fb) Thanks [@daslaf](https://github.com/daslaf)! - fix issue with indentation shrinking all lines\n\n## 5.0.0\n\n### Major Changes\n\n- [#2871](https://github.com/diegomura/react-pdf/pull/2871) [`70f29a04`](https://github.com/diegomura/react-pdf/commit/70f29a0407b1d56e9a7932b25c0d69132e9b4119) Thanks [@diegomura](https://github.com/diegomura)! - feat!: drop cjs support\n\n### Patch Changes\n\n- Updated dependencies [[`70f29a04`](https://github.com/diegomura/react-pdf/commit/70f29a0407b1d56e9a7932b25c0d69132e9b4119)]:\n  - @react-pdf/fns@3.0.0\n\n## 4.4.1\n\n### Patch Changes\n\n- [#2605](https://github.com/diegomura/react-pdf/pull/2605) [`f7505ed`](https://github.com/diegomura/react-pdf/commit/f7505ed453a1a0ae960d0e5e4a1d155803861b71) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - fix: fix CJS compatibility\n\n- Updated dependencies [[`f7505ed`](https://github.com/diegomura/react-pdf/commit/f7505ed453a1a0ae960d0e5e4a1d155803861b71)]:\n  - @react-pdf/fns@2.2.1\n\n## 4.4.0\n\n### Minor Changes\n\n- [#2600](https://github.com/diegomura/react-pdf/pull/2600) [`8350154`](https://github.com/diegomura/react-pdf/commit/83501541e3a050021e18e112bb472b2dabc142a7) Thanks [@diegomura](https://github.com/diegomura)! - feat: bidi support\n\n### Patch Changes\n\n- Updated dependencies [[`8350154`](https://github.com/diegomura/react-pdf/commit/83501541e3a050021e18e112bb472b2dabc142a7)]:\n  - @react-pdf/fns@2.2.0\n\n## 4.3.0\n\n### Minor Changes\n\n- [#2409](https://github.com/diegomura/react-pdf/pull/2409) [`b6a14fd`](https://github.com/diegomura/react-pdf/commit/b6a14fd160fab26a49f798e5294b0e361e67fe37) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Add support for native ESM\n\n### Patch Changes\n\n- Updated dependencies [[`b6a14fd`](https://github.com/diegomura/react-pdf/commit/b6a14fd160fab26a49f798e5294b0e361e67fe37)]:\n  - @react-pdf/fns@2.1.0\n\n## 4.2.1\n\n### Patch Changes\n\n- [#2479](https://github.com/diegomura/react-pdf/pull/2479) [`45b2bd3`](https://github.com/diegomura/react-pdf/commit/45b2bd37037c605727ad5783f2f2a438dc19cac4) Thanks [@diegomura](https://github.com/diegomura)! - fix linting\n\n## 4.2.0\n\n### Minor Changes\n\n- [#2214](https://github.com/diegomura/react-pdf/pull/2214) [`2db67a3`](https://github.com/diegomura/react-pdf/commit/2db67a38b9be98b7816a2b5aa4733446b95e3724) Thanks [@KODIKAS-NL](https://github.com/KODIKAS-NL)! - added base support for verticalAlign \"super\" and \"sub\"\n\n### Patch Changes\n\n- Updated dependencies [[`eff1ff0`](https://github.com/diegomura/react-pdf/commit/eff1ff0fefcd710994e4654904ef55843af76a17)]:\n  - @react-pdf/fns@2.0.1\n\n## 4.1.1\n\n### Patch Changes\n\n- [#2205](https://github.com/diegomura/react-pdf/pull/2205) [`9a5e0be`](https://github.com/diegomura/react-pdf/commit/9a5e0befb89756db07ce053192a136df9d4ba905) Thanks [@jeetiss](https://github.com/jeetiss)! - update babel\n\n## 4.1.0\n\n### Minor Changes\n\n- [#1891](https://github.com/diegomura/react-pdf/pull/1891) [`a5a933c`](https://github.com/diegomura/react-pdf/commit/a5a933c9733e4c77338ef76a2b3545b84a646a81) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - feat: compatibility with modern web bundlers and browsers\n\n### Patch Changes\n\n- [#1917](https://github.com/diegomura/react-pdf/pull/1917) [`4bb97c3`](https://github.com/diegomura/react-pdf/commit/4bb97c3b92e82d7d7be2698c770f42560c6fcab6) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - fix: console error when text overflows the last available rect\n\n- Updated dependencies [[`a5a933c`](https://github.com/diegomura/react-pdf/commit/a5a933c9733e4c77338ef76a2b3545b84a646a81)]:\n  - @react-pdf/fns@2.0.0\n\n## 4.0.0\n\n### Major Changes\n\n- [#1906](https://github.com/diegomura/react-pdf/pull/1906) [`884695b`](https://github.com/diegomura/react-pdf/commit/884695b44feb974f155c83e0714e8e939b4f641b) Thanks [@diegomura](https://github.com/diegomura)! - feat: build textkit with rollup & define public api\n\n### Minor Changes\n\n- [#1895](https://github.com/diegomura/react-pdf/pull/1895) [`37a9a74`](https://github.com/diegomura/react-pdf/commit/37a9a747f7677fa05e3ddf5669c0379aa65c1e39) Thanks [@diegomura](https://github.com/diegomura)! - feat: exclude rects on textkit layout container\n\n### Patch Changes\n\n- [#1907](https://github.com/diegomura/react-pdf/pull/1907) [`0fcc594`](https://github.com/diegomura/react-pdf/commit/0fcc594310d5af30ca1e752b3efc7a047e813dcb) Thanks [@diegomura](https://github.com/diegomura)! - chore: use unicode-properties mainline repo\n\n## 3.0.0\n\n### Major Changes\n\n- [#1830](https://github.com/diegomura/react-pdf/pull/1830) [`9a2b935`](https://github.com/diegomura/react-pdf/commit/9a2b935cfe173f80425ed87d9f474da271c050d2) Thanks [@diegomura](https://github.com/diegomura)! - refactor: remove ramda from textkit package\n\n### Patch Changes\n\n- [#1838](https://github.com/diegomura/react-pdf/pull/1838) [`9bdb5c9`](https://github.com/diegomura/react-pdf/commit/9bdb5c934a822340754cd4c892d399f91f6218de) Thanks [@diegomura](https://github.com/diegomura)! - feat: create fns package\n\n- Updated dependencies [[`434df31`](https://github.com/diegomura/react-pdf/commit/434df317a92ae5b51ee7b23a9f6500de0b6aa4aa), [`9bdb5c9`](https://github.com/diegomura/react-pdf/commit/9bdb5c934a822340754cd4c892d399f91f6218de)]:\n  - @react-pdf/unicode-properties@2.6.0\n  - @react-pdf/fns@1.0.0\n\n## 2.1.0\n\n### Minor Changes\n\n- [#1654](https://github.com/diegomura/react-pdf/pull/1654) [`ccf3bf2`](https://github.com/diegomura/react-pdf/commit/ccf3bf22867a9bd49668cdd3543ec32492a40e4b) Thanks [@jeetiss](https://github.com/jeetiss)! - added `@babel/runtime` to dependencies\n\n### Patch Changes\n\n- [#1581](https://github.com/diegomura/react-pdf/pull/1581) [`04449ab`](https://github.com/diegomura/react-pdf/commit/04449ab352db0cca2155024dd3e8c690e42193ca) Thanks [@jeetiss](https://github.com/jeetiss)! - added changelog with changesets\n\n* [#1567](https://github.com/diegomura/react-pdf/pull/1567) [`5d2d688`](https://github.com/diegomura/react-pdf/commit/5d2d688e18c830bb96c6e08446437d29f9f9c65f) Thanks [@hayoung0Lee](https://github.com/hayoung0Lee)! - fixed line breaks for the case when the word in a text is bigger than the given width\n\n* Updated dependencies [[`4c5d527`](https://github.com/diegomura/react-pdf/commit/4c5d52721d29d843f1d09c3fd74370832429f70e), [`04449ab`](https://github.com/diegomura/react-pdf/commit/04449ab352db0cca2155024dd3e8c690e42193ca)]:\n  - @react-pdf/unicode-properties@2.5.0\n","packages/textkit/tsconfig.json":"{\n  \"$schema\": \"https://json.schemastore.org/tsconfig\",\n  \"compilerOptions\": {\n    \"outDir\": \"lib\",\n    \"declaration\": true,\n    \"declarationDir\": \"lib/types\",\n    \"target\": \"ES2022\",\n    \"module\": \"ESNext\",\n    \"lib\": [\"ES2022\", \"DOM\"],\n    \"moduleResolution\": \"Node\",\n    \"esModuleInterop\": true,\n    \"allowSyntheticDefaultImports\": true,\n    \"strict\": false,\n    \"skipLibCheck\": true,\n    \"forceConsistentCasingInFileNames\": true,\n    \"types\": [\"vitest/globals\"],\n  },\n  \"include\": [\"src\"],\n}\n","packages/svg/CHANGELOG.md":"# @react-pdf/svg\n\n## 1.1.1\n\n### Patch Changes\n\n- Updated dependencies [[`ae9a9983e8bd8b63c3873000531a8307e22c7bae`](https://github.com/diegomura/react-pdf/commit/ae9a9983e8bd8b63c3873000531a8307e22c7bae)]:\n  - @react-pdf/primitives@4.4.0\n\n## 1.1.0\n\n### Minor Changes\n\n- [#3364](https://github.com/diegomura/react-pdf/pull/3364) [`72b4381e`](https://github.com/diegomura/react-pdf/commit/72b4381eddd3dae971b54a485a1faad4b6550fa6) Thanks [@diegomura](https://github.com/diegomura)! - feat: mermaid support\n\n- [#3365](https://github.com/diegomura/react-pdf/pull/3365) [`27d1b487`](https://github.com/diegomura/react-pdf/commit/27d1b4877507b874a6cd7face5e86cd236d2a42f) Thanks [@diegomura](https://github.com/diegomura)! - feat(svg): extract svg parser\n\n- [#3366](https://github.com/diegomura/react-pdf/pull/3366) [`4444f355`](https://github.com/diegomura/react-pdf/commit/4444f3555e3381397b33297e3f121a81db06a370) Thanks [@diegomura](https://github.com/diegomura)! - feat: svg markers support\n\n### Patch Changes\n\n- Updated dependencies [[`4444f355`](https://github.com/diegomura/react-pdf/commit/4444f3555e3381397b33297e3f121a81db06a370)]:\n  - @react-pdf/primitives@4.3.0\n","packages/svg/package.json":"{\n  \"name\": \"@react-pdf/svg\",\n  \"version\": \"1.1.1\",\n  \"license\": \"MIT\",\n  \"description\": \"SVG parsing for react-pdf\",\n  \"author\": \"Diego Muracciole <diegomuracciole@gmail.com>\",\n  \"homepage\": \"https://github.com/diegomura/react-pdf#readme\",\n  \"type\": \"module\",\n  \"main\": \"./lib/index.js\",\n  \"types\": \"./lib/index.d.ts\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/diegomura/react-pdf.git\",\n    \"directory\": \"packages/svg\"\n  },\n  \"scripts\": {\n    \"test\": \"vitest\",\n    \"build\": \"rimraf ./lib && rollup -c --forceExit\",\n    \"watch\": \"rimraf ./lib && rollup -c -w\",\n    \"typecheck\": \"tsc --noEmit\"\n  },\n  \"files\": [\n    \"lib\"\n  ],\n  \"dependencies\": {\n    \"@react-pdf/primitives\": \"^4.4.0\"\n  },\n  \"devDependencies\": {\n    \"@vitejs/plugin-react\": \"^4.2.1\",\n    \"vitest\": \"^1.2.0\"\n  }\n}\n","packages/svg/README.md":"<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png\" height=\"280px\">\n</p>\n\n# @react-pdf/svg\n\nSVG string parser for [react-pdf](https://github.com/diegomura/react-pdf).\n\nParses SVG markup into a tree of nodes compatible with react-pdf's SVG primitives.\n\n## Installation\n\n```bash\nyarn add @react-pdf/svg\n```\n\n## Usage\n\n```js\nimport { parseSvg } from '@react-pdf/svg';\n\nconst tree = parseSvg(\n  '<svg viewBox=\"0 0 100 100\"><circle cx=\"50\" cy=\"50\" r=\"40\" fill=\"red\" /></svg>',\n);\n```\n\nReturns an `SvgNode` tree:\n\n```js\n{\n  type: 'SVG',\n  props: { viewBox: '0 0 100 100' },\n  children: [\n    {\n      type: 'CIRCLE',\n      props: { cx: '50', cy: '50', r: '40', fill: 'red' },\n      children: []\n    }\n  ]\n}\n```\n\n## Supported elements\n\n`svg`, `g`, `path`, `rect`, `circle`, `ellipse`, `line`, `polyline`, `polygon`, `text`, `tspan`, `defs`, `clipPath`, `linearGradient`, `radialGradient`, `stop`, `image`\n\n## API\n\n### `parseSvg(svgString: string): SvgNode`\n\nParses an SVG string and returns the root `SvgNode`. Attributes are converted to camelCase and tag names are mapped to react-pdf primitive types. Unsupported elements are skipped with a console warning.\n\n### `SvgNode`\n\n```ts\ninterface SvgNode {\n  type: string;\n  props: Record<string, unknown>;\n  children?: SvgNode[];\n}\n```\n\n## License\n\nMIT\n","packages/svg/tsconfig.json":"{\n  \"$schema\": \"https://json-schema.store.org/tsconfig\",\n  \"compilerOptions\": {\n    \"outDir\": \"lib\",\n    \"declaration\": true,\n    \"declarationDir\": \"lib/types\",\n    \"target\": \"ES2022\",\n    \"module\": \"ESNext\",\n    \"lib\": [\"ES2022\", \"DOM\"],\n    \"moduleResolution\": \"Node\",\n    \"esModuleInterop\": true,\n    \"allowSyntheticDefaultImports\": true,\n    \"strict\": true,\n    \"skipLibCheck\": true,\n    \"forceConsistentCasingInFileNames\": true,\n    \"types\": [\"vitest/globals\"],\n  },\n  \"include\": [\"src\", \"**/*.d.ts\"],\n}\n","packages/stylesheet/CHANGELOG.md":"# Stylesheet Skill\n\nPath: `packages/stylesheet/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/CHANGELOG.md)","packages/stylesheet/package.json":"# Stylesheet Skill\n\nPath: `packages/stylesheet/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/package.json)","packages/stylesheet/README.md":"# stylesheet Documentation\n\nPath: `packages/stylesheet/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/README.md)","packages/stylesheet/tsconfig.json":"# Stylesheet Skill\n\nPath: `packages/stylesheet/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/tsconfig.json)","packages/renderer/CHANGELOG.md":"# Renderer Skill\n\nPath: `packages/renderer/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/renderer/CHANGELOG.md)","packages/renderer/package.json":"# Renderer Skill\n\nPath: `packages/renderer/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/renderer/package.json)","packages/renderer/README.md":"# renderer Documentation\n\nPath: `packages/renderer/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/renderer/README.md)","packages/render/CHANGELOG.md":"# Render Skill\n\nPath: `packages/render/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/CHANGELOG.md)","packages/render/package.json":"# Render Skill\n\nPath: `packages/render/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/package.json)","packages/render/README.md":"# render Documentation\n\nPath: `packages/render/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/README.md)","packages/render/tsconfig.json":"# Render Skill\n\nPath: `packages/render/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/tsconfig.json)","packages/reconciler/CHANGELOG.md":"# Reconciler Skill\n\nPath: `packages/reconciler/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/CHANGELOG.md)","packages/reconciler/package.json":"# Reconciler Skill\n\nPath: `packages/reconciler/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/package.json)","packages/reconciler/README.md":"# reconciler Documentation\n\nPath: `packages/reconciler/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/README.md)","packages/reconciler/tsconfig.json":"# Reconciler Skill\n\nPath: `packages/reconciler/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/tsconfig.json)","packages/primitives/CHANGELOG.md":"# Primitives Skill\n\nPath: `packages/primitives/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/CHANGELOG.md)","packages/primitives/package.json":"# Primitives Skill\n\nPath: `packages/primitives/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/package.json)","packages/primitives/README.md":"# primitives Documentation\n\nPath: `packages/primitives/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/README.md)","packages/primitives/tsconfig.json":"# Primitives Skill\n\nPath: `packages/primitives/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/tsconfig.json)","packages/pdfkit/CHANGELOG.md":"# Pdfkit Skill\n\nPath: `packages/pdfkit/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/CHANGELOG.md)","packages/pdfkit/package.json":"# Pdfkit Skill\n\nPath: `packages/pdfkit/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/package.json)","packages/pdfkit/README.md":"# pdfkit Documentation\n\nPath: `packages/pdfkit/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/README.md)","packages/mermaid/CHANGELOG.md":"# Mermaid Skill\n\nPath: `packages/mermaid/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/CHANGELOG.md)","packages/mermaid/package.json":"# Mermaid Skill\n\nPath: `packages/mermaid/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/package.json)","packages/mermaid/README.md":"# mermaid Documentation\n\nPath: `packages/mermaid/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/README.md)","packages/mermaid/tsconfig.json":"# Mermaid Skill\n\nPath: `packages/mermaid/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/tsconfig.json)","packages/math/CHANGELOG.md":"# Math Skill\n\nPath: `packages/math/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/CHANGELOG.md)","packages/math/package.json":"# Math Skill\n\nPath: `packages/math/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/package.json)","packages/math/README.md":"# math Documentation\n\nPath: `packages/math/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/README.md)","packages/math/tsconfig.json":"# Math Skill\n\nPath: `packages/math/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/tsconfig.json)","packages/layout/CHANGELOG.md":"# Layout Skill\n\nPath: `packages/layout/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/CHANGELOG.md)","packages/layout/package.json":"# Layout Skill\n\nPath: `packages/layout/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/package.json)","packages/layout/README.md":"# layout Documentation\n\nPath: `packages/layout/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/README.md)","packages/layout/tsconfig.json":"# Layout Skill\n\nPath: `packages/layout/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/tsconfig.json)","packages/image/CHANGELOG.md":"# Image Skill\n\nPath: `packages/image/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/CHANGELOG.md)","packages/image/package.json":"# Image Skill\n\nPath: `packages/image/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/package.json)","packages/image/README.md":"# image Documentation\n\nPath: `packages/image/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/README.md)","packages/image/tsconfig.json":"# Image Skill\n\nPath: `packages/image/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/tsconfig.json)","packages/font/CHANGELOG.md":"# Font Skill\n\nPath: `packages/font/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/CHANGELOG.md)","packages/font/package.json":"# Font Skill\n\nPath: `packages/font/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/package.json)","packages/font/README.md":"# font Documentation\n\nPath: `packages/font/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/README.md)","packages/font/tsconfig.json":"# Font Skill\n\nPath: `packages/font/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/tsconfig.json)","packages/fns/CHANGELOG.md":"# Fns Skill\n\nPath: `packages/fns/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/CHANGELOG.md)","packages/fns/package.json":"# Fns Skill\n\nPath: `packages/fns/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/package.json)","packages/fns/README.md":"# fns Documentation\n\nPath: `packages/fns/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/README.md)","packages/fns/tsconfig.json":"# Fns Skill\n\nPath: `packages/fns/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/tsconfig.json)","packages/examples/CHANGELOG.md":"# Examples Skill\n\nPath: `packages/examples/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/CHANGELOG.md)","packages/examples/package.json":"# Examples Skill\n\nPath: `packages/examples/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/package.json)","packages/examples/next-14/CHANGELOG.md":"# Next-14 Skill\n\nPath: `packages/examples/next-14/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/CHANGELOG.md)","packages/examples/next-14/jsconfig.json":"# Next-14 Skill\n\nPath: `packages/examples/next-14/jsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/jsconfig.json)","packages/examples/next-14/package.json":"# Next-14 Skill\n\nPath: `packages/examples/next-14/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/package.json)","packages/examples/next-14/README.md":"# next-14 Documentation\n\nPath: `packages/examples/next-14/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/README.md)","packages/examples/next-15/CHANGELOG.md":"# Next-15 Skill\n\nPath: `packages/examples/next-15/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/CHANGELOG.md)","packages/examples/next-15/jsconfig.json":"# Next-15 Skill\n\nPath: `packages/examples/next-15/jsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/jsconfig.json)","packages/examples/next-15/package.json":"# Next-15 Skill\n\nPath: `packages/examples/next-15/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/package.json)","packages/examples/next-15/README.md":"# next-15 Documentation\n\nPath: `packages/examples/next-15/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/README.md)","packages/examples/vite/CHANGELOG.md":"# Vite Skill\n\nPath: `packages/examples/vite/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/CHANGELOG.md)","packages/examples/vite/package.json":"# Vite Skill\n\nPath: `packages/examples/vite/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/package.json)","packages/examples/vite/README.md":"# vite Documentation\n\nPath: `packages/examples/vite/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/README.md)"},"files":{"packages/types/package.json":"{\n  \"name\": \"@react-pdf/types\",\n  \"version\": \"2.15.0\",\n  \"license\": \"MIT\",\n  \"description\": \"React-pdf TypeScript definitions\",\n  \"author\": \"Diego Muracciole <diegomuracciole@gmail.com>\",\n  \"homepage\": \"https://github.com/diegomura/react-pdf#readme\",\n  \"main\": \"index.d.ts\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/diegomura/react-pdf.git\",\n    \"directory\": \"packages/types\"\n  },\n  \"dependencies\": {\n    \"@react-pdf/font\": \"^4.2.0\",\n    \"@react-pdf/primitives\": \"^4.4.0\",\n    \"@react-pdf/stylesheet\": \"^6.3.4\"\n  }\n}\n","packages/textkit/package.json":"{\n  \"name\": \"@react-pdf/textkit\",\n  \"license\": \"MIT\",\n  \"version\": \"7.1.0\",\n  \"description\": \"An advanced text layout framework\",\n  \"type\": \"module\",\n  \"main\": \"./lib/textkit.js\",\n  \"types\": \"./lib/index.d.ts\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/diegomura/react-pdf.git\",\n    \"directory\": \"packages/textkit\"\n  },\n  \"contributors\": [\n    \"Devon Govett <devongovett@gmail.com>\",\n    \"Diego Muracciole <diegomuracciole@gmail.com>\"\n  ],\n  \"scripts\": {\n    \"test\": \"vitest\",\n    \"build\": \"rimraf ./lib && rollup -c --forceExit\",\n    \"watch\": \"rimraf ./lib && rollup -c -w\",\n    \"typecheck\": \"tsc --noEmit\"\n  },\n  \"files\": [\n    \"lib\"\n  ],\n  \"dependencies\": {\n    \"@react-pdf/fns\": \"3.1.3\",\n    \"@react-pdf/font\": \"^4.2.0\",\n    \"@react-pdf/hyphenate\": \"^0.1.1\",\n    \"@types/fontkit\": \"^2.0.7\",\n    \"bidi-js\": \"^1.0.2\",\n    \"unicode-properties\": \"^2.0.2\"\n  }\n}\n","CLAUDE.md":"# CLAUDE.md\n\nThis file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.\n\n## Project Overview\n\nReact-PDF is a library for creating PDF documents using React components. It's a monorepo using Lerna with independent versioning, Yarn 1.22.19 as the package manager, and all packages are ESM (`\"type\": \"module\"`).\n\n## Common Commands\n\n```bash\nyarn install              # Install dependencies and bootstrap monorepo\nyarn build                # Build all packages (lerna run build)\nyarn watch                # Watch mode - rebuilds on changes (for development)\nyarn test                 # Run all tests (vitest)\nyarn test packages/layout # Run tests for a specific package\nyarn lint                 # Lint all packages (eslint packages)\nyarn typecheck            # TypeScript type checking across all packages\nyarn dev                  # Run example apps\n```\n\nTo run a single test file: `yarn vitest run path/to/test.ts`\n\n## Architecture\n\nThe library works as a pipeline: React components → reconciler → layout → render → PDF output.\n\n### Package Dependency Flow\n\n```\n@react-pdf/renderer (main entry point - exports Document, Page, View, Text, etc.)\n  ├── @react-pdf/reconciler    → React fiber reconciler that creates the internal element tree\n  ├── @react-pdf/layout        → Resolves layout using Yoga (flexbox), handles pagination\n  │     ├── @react-pdf/textkit     → Text measurement, line breaking, hyphenation\n  │     ├── @react-pdf/stylesheet  → CSS-like style parsing and resolution\n  │     ├── @react-pdf/image       → PNG/JPEG image fetching and parsing\n  │     └── @react-pdf/font        → Font loading, registration, emoji support\n  ├── @react-pdf/render        → Renders resolved layout tree to PDF drawing operations\n  │     ├── pdfkit                 → Low-level PDF generation\n  │     └── @react-pdf/svgkit      → (consumer-supplied ctx) renders the same tree to SVG strings\n  └── @react-pdf/primitives    → Shared component type constants\n```\n\nUtility packages: `@react-pdf/fns` (helpers), `@react-pdf/types` (TypeScript types), `@react-pdf/math` (math utils), `@react-pdf/svgkit` (SVG support).\n\n### Build\n\nEach package uses Rollup for bundling. The renderer package produces multiple builds: server, browser, and minified variants. TypeScript is used throughout with strict mode.\n\n### Testing\n\n- **Framework**: Vitest with workspace configuration (`vitest.workspace.js`)\n- **Tested packages**: fns, font, image, render, layout, svgkit, textkit, renderer, stylesheet, primitives\n- **Renderer** has two test configs: main (fork pool) and browser (jsdom environment)\n- **Snapshot testing**: `jest-image-snapshot` for visual regression tests\n- **Multi-React support**: Tests can run against React 16, 17, 18, and 19 via environment variables\n\n### Writing Tests\n\nWhen making changes, always include tests. Add tests in the same location where tests already exist for the package being modified (e.g. `packages/layout/tests/`, `packages/renderer/tests/`).\n\n### Code Style\n\n- ESLint 9 with TypeScript parser, Prettier (single quotes), enforced via Husky pre-commit hooks\n- Packages `yoga` and everything under `apps` are excluded from linting\n\n## Previewing PDFs\n\nTo visually inspect generated PDFs during debugging, convert pages to images:\n\n**Using pdftoppm (preferred, often pre-installed via poppler-utils):**\n\n```bash\npdftoppm -png -r 200 document.pdf preview\n```\n\nThis generates `preview-1.png`, `preview-2.png`, etc. at 200 DPI.\n\n**Fallback: PyMuPDF (if pdftoppm is unavailable):**\n\n```bash\npip install pymupdf\n```\n\n```python\nimport fitz\n\ndoc = fitz.open(\"document.pdf\")\nfor i, page in enumerate(doc):\n    pix = page.get_pixmap(dpi=200)\n    pix.save(f\"page-{i+1}.png\")\n```\n\n## Versioning & Release\n\nUses [Changesets](https://github.com/changesets/changesets) for versioning:\n\n```bash\nyarn changeset          # Create a changeset\nyarn version-packages   # Apply changesets to bump versions\nyarn release            # Publish to npm\n```\n","packages/types/README.md":"<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png\" height=\"280px\">\n</p>\n\n# @react-pdf/types\n\n> React-pdf TypeScript definitions\n\n## Installation\n\n```bash\nyarn add @react-pdf/types\n```\n\n## License\n\nMIT\n","packages/textkit/README.md":"<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png\" height=\"280px\">\n</p>\n\n# @react-pdf/textkit\n\n> An advanced text layout framework\n\nA comprehensive text layout engine for react-pdf. Handles complex text rendering including bidirectional text, line breaking, hyphenation, justification, font substitution, OpenType font features, and text decoration.\n\n## Acknowledges\n\nThis project is a fork of [textkit](https://github.com/foliojs/textkit) by @devongovett and continued under the scope of this project since it has react-pdf specific features. Any recongnition should go to him and the original project mantainers.\n\n## Installation\n\n```bash\nyarn add @react-pdf/textkit\n```\n\n## Usage\n\n```js\nimport layoutEngine, {\n  bidi,\n  linebreaker,\n  justification,\n  textDecoration,\n  scriptItemizer,\n  wordHyphenation,\n  fontSubstitution,\n  fromFragments,\n} from '@react-pdf/textkit';\n\n// Create engines configuration\nconst engines = {\n  bidi: bidi(),\n  linebreaker: linebreaker({}),\n  justification: justification({}),\n  textDecoration: textDecoration(),\n  scriptItemizer: scriptItemizer(),\n  wordHyphenation: wordHyphenation(),\n  fontSubstitution: fontSubstitution(),\n};\n\n// Create attributed string from fragments\nconst attributedString = fromFragments([\n  { string: 'Hello ', attributes: { fontSize: 12, font: [myFont] } },\n  {\n    string: \"012'345'678'901\",\n    attributes: {\n      fontSize: 12,\n      font: [myFont],\n      features: ['tnum'],\n    },\n  },\n]);\n\n// Define container\nconst container = {\n  x: 0,\n  y: 0,\n  width: 400,\n  height: 600,\n};\n\n// Layout text\nconst layout = layoutEngine(engines);\nconst paragraphs = layout(attributedString, container, {});\n```\n\n## Layout Process\n\nThe layout engine processes text through the following steps:\n\n1. Split into paragraphs\n2. Get bidi runs and paragraph direction\n3. Font substitution - map to resolved font runs\n4. Script itemization\n5. Font shaping - text to glyphs, applying optional OpenType font features\n6. Line breaking\n7. Bidi reordering\n8. Justification\n9. Get a list of rectangles by intersecting path, line, and exclusion paths\n10. Perform line breaking to get acceptable break points for each fragment\n11. Ellipsize line if necessary\n12. Bidi reordering\n13. Justification\n\n## Engines\n\nThe layout engine uses several specialized engines that can be customized:\n\n### bidi\n\nHandles bidirectional text analysis using the Unicode Bidirectional Algorithm. Determines text direction for mixed LTR/RTL content.\n\n```js\nimport { bidi } from '@react-pdf/textkit';\n\nconst bidiEngine = bidi();\nconst result = bidiEngine(attributedString);\n```\n\n### linebreaker\n\nPerforms line breaking using the Knuth-Plass algorithm with fallback to best-fit. Handles hyphenation points and produces optimal line breaks.\n\n```js\nimport { linebreaker } from '@react-pdf/textkit';\n\nconst linebreakerEngine = linebreaker({\n  tolerance: 4,\n  hyphenationPenalty: 100,\n});\n```\n\n### justification\n\nAdjusts character and word spacing to achieve justified text alignment. Based on Apple's justification algorithm.\n\n```js\nimport { justification } from '@react-pdf/textkit';\n\nconst justificationEngine = justification({\n  expandCharFactor: { before: 0, after: 0 },\n  shrinkCharFactor: { before: 0, after: 0 },\n  expandWhitespaceFactor: { before: 0.5, after: 0.5 },\n  shrinkWhitespaceFactor: { before: 0.5, after: 0.5 },\n});\n```\n\n### fontSubstitution\n\nAutomatically substitutes fonts when the primary font doesn't have glyphs for certain characters. Picks the best font from the font stack.\n\n```js\nimport { fontSubstitution } from '@react-pdf/textkit';\n\nconst fontSubstitutionEngine = fontSubstitution();\n```\n\n### scriptItemizer\n\nIdentifies Unicode script runs in text (Latin, Arabic, Han, etc.) to enable proper font selection and shaping.\n\n```js\nimport { scriptItemizer } from '@react-pdf/textkit';\n\nconst scriptItemizerEngine = scriptItemizer();\n```\n\n### wordHyphenation\n\nProvides word hyphenation using language-specific patterns. Supports soft hyphens and custom hyphenation callbacks.\n\n```js\nimport { wordHyphenation } from '@react-pdf/textkit';\n\nconst wordHyphenationEngine = wordHyphenation();\nconst syllables = wordHyphenationEngine('hyphenation'); // ['hy', 'phen', 'a', 'tion']\n```\n\n### textDecoration\n\nGenerates decoration lines (underline, strikethrough) for styled text runs.\n\n```js\nimport { textDecoration } from '@react-pdf/textkit';\n\nconst textDecorationEngine = textDecoration();\n```\n\n## API Reference\n\n### layoutEngine(engines)\n\nCreates a layout function with the specified engines.\n\n```js\nconst layout = layoutEngine(engines);\nconst paragraphs = layout(attributedString, container, options);\n```\n\n### fromFragments(fragments)\n\nCreates an AttributedString from text fragments.\n\n```js\nimport { fromFragments } from '@react-pdf/textkit';\n\nconst attributedString = fromFragments([\n  { string: 'Hello ', attributes: { fontSize: 14 } },\n  { string: 'World!', attributes: { fontSize: 14, color: 'blue' } },\n]);\n```\n\n## Types\n\n### AttributedString\n\nThe main data structure representing styled text:\n\n```ts\ntype AttributedString = {\n  string: string;\n  runs: Run[];\n  syllables?: string[];\n  box?: Rect;\n  decorationLines?: DecorationLine[];\n};\n```\n\n### Run\n\nA styled segment of text:\n\n```ts\ntype Run = {\n  start: number;\n  end: number;\n  attributes: Attributes;\n  glyphs?: Glyph[];\n  positions?: Position[];\n  stringIndices?: number[];\n  glyphIndices?: number[];\n};\n```\n\n### Attributes\n\nStyle attributes for text runs:\n\n```ts\ntype Attributes = {\n  align?: string;\n  alignLastLine?: string;\n  attachment?: Attachment;\n  backgroundColor?: string;\n  bidiLevel?: number;\n  characterSpacing?: number;\n  color?: string;\n  direction?: 'rtl' | 'ltr';\n  features?: string[] | Record<string, boolean>;\n  fill?: boolean;\n  font?: Font[];\n  fontSize?: number;\n  hangingPunctuation?: boolean;\n  hyphenationFactor?: number;\n  indent?: number;\n  justificationFactor?: number;\n  lineHeight?: number;\n  lineSpacing?: number;\n  link?: string;\n  margin?: number;\n  marginLeft?: number;\n  marginRight?: number;\n  opacity?: number;\n  padding?: number;\n  paddingTop?: number;\n  paragraphSpacing?: number;\n  scale?: number;\n  script?: unknown;\n  shrinkFactor?: number;\n  strike?: boolean;\n  strikeColor?: string;\n  strikeStyle?: string;\n  stroke?: boolean;\n  underline?: boolean;\n  underlineColor?: string;\n  underlineStyle?: string;\n  verticalAlign?: string;\n  wordSpacing?: number;\n  yOffset?: number;\n};\n```\n\n### Container\n\nThe area where text will be laid out:\n\n```ts\ntype Container = {\n  x: number;\n  y: number;\n  width: number;\n  height: number;\n  truncateMode?: 'ellipsis';\n  maxLines?: number;\n  excludeRects?: Rect[];\n};\n```\n\n### Rect\n\nA rectangle definition:\n\n```ts\ntype Rect = {\n  x: number;\n  y: number;\n  width: number;\n  height: number;\n};\n```\n\n### Fragment\n\nInput format for creating attributed strings:\n\n```ts\ntype Fragment = {\n  string: string;\n  attributes?: Attributes;\n};\n```\n\n### LayoutOptions\n\nOptions for the layout process:\n\n```ts\ntype LayoutOptions = {\n  hyphenationCallback?: (\n    word: string | null,\n    fallback: (word: string | null) => string[],\n  ) => string[];\n  tolerance?: number;\n  hyphenationPenalty?: number;\n  expandCharFactor?: JustificationFactor;\n  shrinkCharFactor?: JustificationFactor;\n  expandWhitespaceFactor?: JustificationFactor;\n  shrinkWhitespaceFactor?: JustificationFactor;\n};\n```\n\n### Engines\n\nThe engines configuration object:\n\n```ts\ntype Engines = {\n  bidi: ReturnType<typeof bidi>;\n  linebreaker: ReturnType<typeof linebreaker>;\n  justification: ReturnType<typeof justification>;\n  fontSubstitution: ReturnType<typeof fontSubstitution>;\n  scriptItemizer: ReturnType<typeof scriptItemizer>;\n  textDecoration: ReturnType<typeof textDecoration>;\n  wordHyphenation?: ReturnType<typeof wordHyphenation>;\n};\n```\n\n## License\n\nMIT\n","packages/types/CHANGELOG.md":"# @react-pdf/types\n\n## 2.15.0\n\n### Minor Changes\n\n- [#3268](https://github.com/diegomura/react-pdf/pull/3268) [`90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e`](https://github.com/diegomura/react-pdf/commit/90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - Hyphenation callbacks can now decide, per split point, whether a hyphen is added when a line breaks there. Return `{ string, hyphen: null }` parts instead of strings to break without a hyphen; strings and parts can be mixed. Plain string arrays keep working as before.\n\n  Chinese and Japanese text now breaks between ideographs by default, without hyphens. Breaks without a hyphen now cost the same as breaking at a space and are no longer blocked by `hyphenationPenalty`. Parts ending in `-` no longer get a second hyphen, and the built-in hyphenation can break after dashes in compound words.\n\n### Patch Changes\n\n- Updated dependencies [[`90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e`](https://github.com/diegomura/react-pdf/commit/90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e), [`633a0b024cd349121a528a253a92c600b3b37016`](https://github.com/diegomura/react-pdf/commit/633a0b024cd349121a528a253a92c600b3b37016)]:\n  - @react-pdf/font@4.2.0\n  - @react-pdf/stylesheet@6.3.4\n\n## 2.14.1\n\n### Patch Changes\n\n- Updated dependencies [[`5dbd6d82686c8819c011a55960161fa27e4de47a`](https://github.com/diegomura/react-pdf/commit/5dbd6d82686c8819c011a55960161fa27e4de47a), [`ec92c81d74c4a24cc4f706e3cd49691252b93ef4`](https://github.com/diegomura/react-pdf/commit/ec92c81d74c4a24cc4f706e3cd49691252b93ef4), [`38b573aea445d9acb91bf64ea8b1753a9848ed0b`](https://github.com/diegomura/react-pdf/commit/38b573aea445d9acb91bf64ea8b1753a9848ed0b), [`afb755da20838f931d826a91b1b41d48518c0439`](https://github.com/diegomura/react-pdf/commit/afb755da20838f931d826a91b1b41d48518c0439), [`f26e3187e2f4daab14f02d71e41e1eb8a2d17bc3`](https://github.com/diegomura/react-pdf/commit/f26e3187e2f4daab14f02d71e41e1eb8a2d17bc3)]:\n  - @react-pdf/font@4.1.3\n  - @react-pdf/stylesheet@6.3.3\n\n## 2.14.0\n\n### Minor Changes\n\n- [#3529](https://github.com/diegomura/react-pdf/pull/3529) [`10d8365e2eb8fc3987cf94d4d61a7559f4ba1dfb`](https://github.com/diegomura/react-pdf/commit/10d8365e2eb8fc3987cf94d4d61a7559f4ba1dfb) Thanks [@diegomura](https://github.com/diegomura)! - feat: add `conformance` Document prop for PDF/A output\n\n  Produces PDF/A-1/2/3 (b-level) output with XMP conformance metadata and an sRGB OutputIntent. `pdfVersion` defaults to what the chosen level requires. Fonts must be registered (not the built-in standard 14) to fully validate.\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.1.2\n  - @react-pdf/stylesheet@6.3.2\n\n## 2.13.1\n\n### Patch Changes\n\n- Updated dependencies [[`6dc0901c26354dc5a38ed302ef76d371d74d8d61`](https://github.com/diegomura/react-pdf/commit/6dc0901c26354dc5a38ed302ef76d371d74d8d61)]:\n  - @react-pdf/font@4.1.1\n  - @react-pdf/stylesheet@6.3.1\n\n## 2.13.0\n\n### Minor Changes\n\n- [#3440](https://github.com/diegomura/react-pdf/pull/3440) [`06dfada8630d00005752eec711219cf290ce76ea`](https://github.com/diegomura/react-pdf/commit/06dfada8630d00005752eec711219cf290ce76ea) Thanks [@manuelmeister](https://github.com/manuelmeister)! - Add support for fontFeatureSettings to customize ligatures, tabular number display, and other font features.\n\n### Patch Changes\n\n- Updated dependencies [[`06dfada8630d00005752eec711219cf290ce76ea`](https://github.com/diegomura/react-pdf/commit/06dfada8630d00005752eec711219cf290ce76ea), [`ab80c0a2e1200ac6d4fd63e911e9c676d6e22f09`](https://github.com/diegomura/react-pdf/commit/ab80c0a2e1200ac6d4fd63e911e9c676d6e22f09), [`37a7a9fac92d670dd13fd9e88f9a4d9c21efdefd`](https://github.com/diegomura/react-pdf/commit/37a7a9fac92d670dd13fd9e88f9a4d9c21efdefd), [`a56871451b3161f96c53e5ced866ac1b0a288ff1`](https://github.com/diegomura/react-pdf/commit/a56871451b3161f96c53e5ced866ac1b0a288ff1)]:\n  - @react-pdf/stylesheet@6.3.0\n  - @react-pdf/font@4.1.0\n\n## 2.12.0\n\n### Minor Changes\n\n- [#3505](https://github.com/diegomura/react-pdf/pull/3505) [`ae9a9983e8bd8b63c3873000531a8307e22c7bae`](https://github.com/diegomura/react-pdf/commit/ae9a9983e8bd8b63c3873000531a8307e22c7bae) Thanks [@diegomura](https://github.com/diegomura)! - Experimental pagination engine, opt-in per page\n\n  A new pagination engine ships alongside the current one: content is\n  measured once and packed into pages instead of relayouting on every split,\n  making long documents paginate orders of magnitude faster (a 300-page\n  document drops from ~40s to ~200ms).\n\n  Opt in with `<Page experimentalPagination>` — any page opting in switches\n  the whole document. The default behavior is unchanged.\n\n  Under the new engine:\n\n  - `<Page layout={Layout}>` renders per-page chrome (headers, footers,\n    sidebars) around the content. The layout component receives\n    `{ pageNumber, totalPages, subPageNumber, subPageTotalPages }` and the\n    page content as `children`, and runs once per output page. Using `layout`\n    implies `experimentalPagination`.\n  - One `fixed` semantic: in-flow fixed elements repeat at the top of every\n    page they span; footers are the layout's job.\n  - `minPresenceAhead` is supported, with one refinement: a trailing element\n    with nothing after it stays in place instead of moving to its own page.\n\n  The current engine remains the default until the next major, when the new\n  engine takes over.\n\n### Patch Changes\n\n- Updated dependencies [[`d38d17759b3856ab64c69101bd359aace4b532fc`](https://github.com/diegomura/react-pdf/commit/d38d17759b3856ab64c69101bd359aace4b532fc), [`ae9a9983e8bd8b63c3873000531a8307e22c7bae`](https://github.com/diegomura/react-pdf/commit/ae9a9983e8bd8b63c3873000531a8307e22c7bae)]:\n  - @react-pdf/stylesheet@6.2.4\n  - @react-pdf/primitives@4.4.0\n  - @react-pdf/font@4.0.11\n\n## 2.11.3\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.0.10\n  - @react-pdf/stylesheet@6.2.3\n\n## 2.11.2\n\n### Patch Changes\n\n- Updated dependencies [[`4c4e7a1a`](https://github.com/diegomura/react-pdf/commit/4c4e7a1a49ed8fa20e33d2750517265f4cad8c75)]:\n  - @react-pdf/font@4.0.9\n  - @react-pdf/stylesheet@6.2.2\n\n## 2.11.1\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.0.8\n  - @react-pdf/stylesheet@6.2.1\n\n## 2.11.0\n\n### Minor Changes\n\n- [#3366](https://github.com/diegomura/react-pdf/pull/3366) [`4444f355`](https://github.com/diegomura/react-pdf/commit/4444f3555e3381397b33297e3f121a81db06a370) Thanks [@diegomura](https://github.com/diegomura)! - feat: svg markers support\n\n### Patch Changes\n\n- Updated dependencies [[`b01f5b72`](https://github.com/diegomura/react-pdf/commit/b01f5b72243661606238954922e74ec394ed23bb), [`4444f355`](https://github.com/diegomura/react-pdf/commit/4444f3555e3381397b33297e3f121a81db06a370)]:\n  - @react-pdf/stylesheet@6.2.0\n  - @react-pdf/primitives@4.3.0\n  - @react-pdf/font@4.0.7\n\n## 2.10.0\n\n### Minor Changes\n\n- [#3344](https://github.com/diegomura/react-pdf/pull/3344) [`a70013e7`](https://github.com/diegomura/react-pdf/commit/a70013e7457a28bd4fbda53a5cecfc219da5e1ea) Thanks [@diegomura](https://github.com/diegomura)! - feat: password protection support\n\n- [#3336](https://github.com/diegomura/react-pdf/pull/3336) [`342938a4`](https://github.com/diegomura/react-pdf/commit/342938a45ede4e57f969a2861f11c64e2ca48575) Thanks [@diegomura](https://github.com/diegomura)! - feat: add link hitslop\n\n- [#3339](https://github.com/diegomura/react-pdf/pull/3339) [`6109b424`](https://github.com/diegomura/react-pdf/commit/6109b424a42f7e83510539592afcab1824560715) Thanks [@diegomura](https://github.com/diegomura)! - feat: responsive images\n\n### Patch Changes\n\n- Updated dependencies [[`2e91eb64`](https://github.com/diegomura/react-pdf/commit/2e91eb649318ee66ec8cab7386f1fdbae8eb8cef), [`aa3ccf4c`](https://github.com/diegomura/react-pdf/commit/aa3ccf4c2abadb528fd6073e2dceb2a03db27c7d)]:\n  - @react-pdf/font@4.0.6\n  - @react-pdf/primitives@4.2.0\n  - @react-pdf/stylesheet@6.1.4\n\n## 2.9.3\n\n### Patch Changes\n\n- Updated dependencies [[`c4a9e4c0`](https://github.com/diegomura/react-pdf/commit/c4a9e4c0b7f1eb2aef885dffb4505f4204f7ce55), [`01e1fbbe`](https://github.com/diegomura/react-pdf/commit/01e1fbbe5a214744b7e4607e65fa45b3554390b2), [`e27cdb48`](https://github.com/diegomura/react-pdf/commit/e27cdb4843c790d0cd3a0fdc2cc3680cee3270c3)]:\n  - @react-pdf/stylesheet@6.1.3\n  - @react-pdf/font@4.0.5\n\n## 2.9.2\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.0.4\n  - @react-pdf/stylesheet@6.1.2\n\n## 2.9.1\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.0.3\n  - @react-pdf/stylesheet@6.1.1\n\n## 2.9.0\n\n### Minor Changes\n\n- [#3112](https://github.com/diegomura/react-pdf/pull/3112) [`f89f75c1`](https://github.com/diegomura/react-pdf/commit/f89f75c1f132ba19b54847c3ac23efec675f8d0a) Thanks [@diegomura](https://github.com/diegomura)! - feat: add xLinkHref, gradientTransform and gradientUnits support\n\n### Patch Changes\n\n- Updated dependencies [[`f89f75c1`](https://github.com/diegomura/react-pdf/commit/f89f75c1f132ba19b54847c3ac23efec675f8d0a)]:\n  - @react-pdf/stylesheet@6.1.0\n  - @react-pdf/font@4.0.2\n\n## 2.8.2\n\n### Patch Changes\n\n- Updated dependencies [[`e257f7ee`](https://github.com/diegomura/react-pdf/commit/e257f7ee18ff09f4895cd16c0b21b824678384c8)]:\n  - @react-pdf/font@4.0.1\n  - @react-pdf/stylesheet@6.0.2\n\n## 2.8.1\n\n### Patch Changes\n\n- [#3087](https://github.com/diegomura/react-pdf/pull/3087) [`7cd66e4f`](https://github.com/diegomura/react-pdf/commit/7cd66e4fc37cd1393adc6250a919fe2629812082) Thanks [@diegomura](https://github.com/diegomura)! - fix: font exported types\n\n- Updated dependencies [[`2a4f1bfc`](https://github.com/diegomura/react-pdf/commit/2a4f1bfca6b84e6c6bbde683447ce8079a1febbe), [`7cd66e4f`](https://github.com/diegomura/react-pdf/commit/7cd66e4fc37cd1393adc6250a919fe2629812082), [`bfb51ec0`](https://github.com/diegomura/react-pdf/commit/bfb51ec09b851c52659ce16fed1286173e9516a9), [`a2de2685`](https://github.com/diegomura/react-pdf/commit/a2de2685b25c797f266775c2e35a6535090393b7), [`24690f52`](https://github.com/diegomura/react-pdf/commit/24690f5238e4eacf28351cf9996856a7d196d29e), [`481b536f`](https://github.com/diegomura/react-pdf/commit/481b536f4ad145fb227829399b85a35838a506f8)]:\n  - @react-pdf/stylesheet@6.0.1\n  - @react-pdf/font@4.0.0\n\n## 2.8.0\n\n### Minor Changes\n\n- [#3082](https://github.com/diegomura/react-pdf/pull/3082) [`24fe4bf8`](https://github.com/diegomura/react-pdf/commit/24fe4bf894fff055121926488b30d0bf212a9c45) Thanks [@diegomura](https://github.com/diegomura)! - feat: rework and type stylesheet package\n\n- [#3079](https://github.com/diegomura/react-pdf/pull/3079) [`700535c5`](https://github.com/diegomura/react-pdf/commit/700535c57ff1b105d923be70f4fc4bfdf4479f91) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert font package to TS\n\n### Patch Changes\n\n- [#3067](https://github.com/diegomura/react-pdf/pull/3067) [`96c2464d`](https://github.com/diegomura/react-pdf/commit/96c2464dfaa7294e0d79b7ed64743bfd7b1a8c72) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert primitives package to TS\n\n- Updated dependencies [[`96c2464d`](https://github.com/diegomura/react-pdf/commit/96c2464dfaa7294e0d79b7ed64743bfd7b1a8c72), [`24fe4bf8`](https://github.com/diegomura/react-pdf/commit/24fe4bf894fff055121926488b30d0bf212a9c45), [`700535c5`](https://github.com/diegomura/react-pdf/commit/700535c57ff1b105d923be70f4fc4bfdf4479f91)]:\n  - @react-pdf/primitives@4.1.1\n  - @react-pdf/stylesheet@6.0.0\n  - @react-pdf/font@3.1.0\n\n## 2.7.1\n\n### Patch Changes\n\n- [#3019](https://github.com/diegomura/react-pdf/pull/3019) [`01944231`](https://github.com/diegomura/react-pdf/commit/01944231a342d502b832aeecb4c313020b8360c8) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Fixed HyphenationCallback type (confusing argument name, removed extra argument)\n\n## 2.7.0\n\n### Minor Changes\n\n- [#2875](https://github.com/diegomura/react-pdf/pull/2875) [`46c3047d`](https://github.com/diegomura/react-pdf/commit/46c3047de56ae82f062b72c4910a4e6096eee99f) Thanks [@diegomura](https://github.com/diegomura)! - feat: add position: static support\n\n- [#2874](https://github.com/diegomura/react-pdf/pull/2874) [`55973278`](https://github.com/diegomura/react-pdf/commit/55973278ac8bc8f703b63844f57d6f155ae8d86f) Thanks [@diegomura](https://github.com/diegomura)! - feat: add align-content: space-evenly support\n\n## 2.6.0\n\n### Minor Changes\n\n- [#2771](https://github.com/diegomura/react-pdf/pull/2771) [`8e6a832`](https://github.com/diegomura/react-pdf/commit/8e6a8320f86354aff950c296a96bc41a33e9dab2) Thanks [@nikischin](https://github.com/nikischin)! - fix: fix dpi\n\n### Patch Changes\n\n- [#2727](https://github.com/diegomura/react-pdf/pull/2727) [`4bafab8`](https://github.com/diegomura/react-pdf/commit/4bafab8455c9003759f48bad20a720baf4ed189b) Thanks [@hendrikmolder](https://github.com/hendrikmolder)! - accept string array for `fontFamily` in stylesheets\n\n## 2.5.0\n\n### Minor Changes\n\n- [#2723](https://github.com/diegomura/react-pdf/pull/2723) [`22a34a9`](https://github.com/diegomura/react-pdf/commit/22a34a91b16a201cd8288e0dbea9368b12ca73f5) Thanks [@hendrikmolder](https://github.com/hendrikmolder)! - Allow passing a string array to fontFamily\n\n## 2.4.1\n\n### Patch Changes\n\n- [#2573](https://github.com/diegomura/react-pdf/pull/2573) [`9af07fe`](https://github.com/diegomura/react-pdf/commit/9af07feb59c2fe9c1d8960ac95f6fa6e03d16235) Thanks [@davbrito](https://github.com/davbrito)! - feat: add support for resolving blob images\n\n## 2.4.0\n\n### Minor Changes\n\n- [#2539](https://github.com/diegomura/react-pdf/pull/2539) [`fb5273d`](https://github.com/diegomura/react-pdf/commit/fb5273d8d80d919f7b9c214e02d67b79ce23fa19) Thanks [@diegomura](https://github.com/diegomura)! - feat: add creation and modification dates\n\n## 2.3.6\n\n### Patch Changes\n\n- [#2525](https://github.com/diegomura/react-pdf/pull/2525) [`9e5842b`](https://github.com/diegomura/react-pdf/commit/9e5842bbecca6e249af2c5fc50078bb7ddd5420f) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Fix rowGap and columnGap style properties not accepting strings\n\n## 2.3.5\n\n### Patch Changes\n\n- [#2453](https://github.com/diegomura/react-pdf/pull/2453) [`e5c8fde`](https://github.com/diegomura/react-pdf/commit/e5c8fde9379a9a85ecac7e3d6273953e39d65f8d) Thanks [@chuckspencer-aiq](https://github.com/chuckspencer-aiq)! - fix: add clipPath to typing for SVGPresentationAttributes\n\n* [#2467](https://github.com/diegomura/react-pdf/pull/2467) [`1f987cc`](https://github.com/diegomura/react-pdf/commit/1f987cc27c3fd1ef1b6748ebe58a289a78b538d2) Thanks [@JaeSeoKim](https://github.com/JaeSeoKim)! - feat: add withVariationSelectors option to registerEmojiSource [#2466](https://github.com/diegomura/react-pdf/issues/2466)\n\n- [#2416](https://github.com/diegomura/react-pdf/pull/2416) [`4c40b14`](https://github.com/diegomura/react-pdf/commit/4c40b149cfed42f2513e1dd330a92ccc3363c04f) Thanks [@TheMikeyRoss](https://github.com/TheMikeyRoss)! - Updated svg.d.ts to include strokeLinejoin\n\n## 2.3.4\n\n### Patch Changes\n\n- [#2130](https://github.com/diegomura/react-pdf/pull/2130) [`4a55c1b`](https://github.com/diegomura/react-pdf/commit/4a55c1b2ed19e460ccae6e749ed94c16729a23c4) Thanks [@PoornakumarRasiraju](https://github.com/PoornakumarRasiraju)! - fix: allow credentials option in Image\n\n## 2.3.3\n\n### Patch Changes\n\n- [#2276](https://github.com/diegomura/react-pdf/pull/2276) [`1e1fbdc`](https://github.com/diegomura/react-pdf/commit/1e1fbdc3c33ced46d8c7ebba7a196733cb789d59) Thanks [@renchap](https://github.com/renchap)! - add `aspectRatio` style property\n\n* [#2293](https://github.com/diegomura/react-pdf/pull/2293) [`8636812`](https://github.com/diegomura/react-pdf/commit/86368122ed87621d19ae3bc248080e17703d9fcb) Thanks [@BryanAbate](https://github.com/BryanAbate)! - fix type for `getRegisteredFonts` method\n\n## 2.3.2\n\n### Patch Changes\n\n- [#2310](https://github.com/diegomura/react-pdf/pull/2310) [`a25dbcb`](https://github.com/diegomura/react-pdf/commit/a25dbcb32b65c300f5b088e8b210bb0c1abca5c2) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Fixed all strings allowed in `fontWeight` in `Font.register`\n\n## 2.3.1\n\n### Patch Changes\n\n- [#2252](https://github.com/diegomura/react-pdf/pull/2252) [`47e91cb`](https://github.com/diegomura/react-pdf/commit/47e91cbd8016046bb4e8389ba0d1c7ede9edce59) Thanks [@jeetiss](https://github.com/jeetiss)! - implement function as emoji source to build more complex urls\n\n## 2.3.0\n\n### Minor Changes\n\n- [#2214](https://github.com/diegomura/react-pdf/pull/2214) [`2db67a3`](https://github.com/diegomura/react-pdf/commit/2db67a38b9be98b7816a2b5aa4733446b95e3724) Thanks [@KODIKAS-NL](https://github.com/KODIKAS-NL)! - added base support for verticalAlign \"super\" and \"sub\"\n\n## 2.2.0\n\n### Minor Changes\n\n- [#2160](https://github.com/diegomura/react-pdf/pull/2160) [`a743c90`](https://github.com/diegomura/react-pdf/commit/a743c905fb5d201d2382bc9175fa36b83cc47284) Thanks [@jeetiss](https://github.com/jeetiss)! - implement flex gap\n\n## 2.1.1\n\n### Patch Changes\n\n- [#2106](https://github.com/diegomura/react-pdf/pull/2106) [`24bb5de`](https://github.com/diegomura/react-pdf/commit/24bb5de969a854cc0226438985b34ef8ae2d7581) Thanks [@RDO34](https://github.com/RDO34)! - Add `dpi` and `bookmark` page prop types\n\n## 2.1.0\n\n### Minor Changes\n\n- [#1862](https://github.com/diegomura/react-pdf/pull/1862) [`1411d16`](https://github.com/diegomura/react-pdf/commit/1411d162e04ca237bad93729695c363fdf4bdbeb) Thanks [@diegomura](https://github.com/diegomura)! - feat: bookmarks support\n\n* [#1867](https://github.com/diegomura/react-pdf/pull/1867) [`4fadb48`](https://github.com/diegomura/react-pdf/commit/4fadb48983d7269452f89f80c7e341ece859aaee) Thanks [@diegomura](https://github.com/diegomura)! - feat: add page layout support\n\n- [#1868](https://github.com/diegomura/react-pdf/pull/1868) [`ce8762f`](https://github.com/diegomura/react-pdf/commit/ce8762f6de5c796e69ec5a225c7f3ff9c619a960) Thanks [@diegomura](https://github.com/diegomura)! - feat: add page mode support\n\n* [#1869](https://github.com/diegomura/react-pdf/pull/1869) [`5d2c308`](https://github.com/diegomura/react-pdf/commit/5d2c3088cf438a8abf1038b14a21117fecf59d57) Thanks [@diegomura](https://github.com/diegomura)! - feat: variable dpi\n\n## 2.0.9\n\n### Patch Changes\n\n- [#1843](https://github.com/diegomura/react-pdf/pull/1843) [`fe0f214`](https://github.com/diegomura/react-pdf/commit/fe0f214dbbf2f632b852ebfe65f886ecc4dd6953) Thanks [@diegomura](https://github.com/diegomura)! - fix: add ID1 type\n\n## 2.0.8\n\n### Patch Changes\n\n- [#1581](https://github.com/diegomura/react-pdf/pull/1581) [`04449ab`](https://github.com/diegomura/react-pdf/commit/04449ab352db0cca2155024dd3e8c690e42193ca) Thanks [@jeetiss](https://github.com/jeetiss)! - added changelog with changesets\n","packages/textkit/CHANGELOG.md":"# @react-pdf/textkit\n\n## 7.1.0\n\n### Minor Changes\n\n- [#3268](https://github.com/diegomura/react-pdf/pull/3268) [`90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e`](https://github.com/diegomura/react-pdf/commit/90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - Hyphenation callbacks can now decide, per split point, whether a hyphen is added when a line breaks there. Return `{ string, hyphen: null }` parts instead of strings to break without a hyphen; strings and parts can be mixed. Plain string arrays keep working as before.\n\n  Chinese and Japanese text now breaks between ideographs by default, without hyphens. Breaks without a hyphen now cost the same as breaking at a space and are no longer blocked by `hyphenationPenalty`. Parts ending in `-` no longer get a second hyphen, and the built-in hyphenation can break after dashes in compound words.\n\n### Patch Changes\n\n- [#3577](https://github.com/diegomura/react-pdf/pull/3577) [`890aba0f7b5c272e80700f9fb89af2274c40ab6f`](https://github.com/diegomura/react-pdf/commit/890aba0f7b5c272e80700f9fb89af2274c40ab6f) Thanks [@Louayzouaoui1](https://github.com/Louayzouaoui1)! - fix: keep the base letterform of decomposed characters (e.g. Arabic letters shaped as base + dot mark) when a run is sliced or measured at their start\n\n- [#3454](https://github.com/diegomura/react-pdf/pull/3454) [`270f3bd214fe3da2e25e46414846e6ae268f5b71`](https://github.com/diegomura/react-pdf/commit/270f3bd214fe3da2e25e46414846e6ae268f5b71) Thanks [@to-na](https://github.com/to-na)! - fix(textkit): preserve variation selector font runs\n\n- Updated dependencies [[`90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e`](https://github.com/diegomura/react-pdf/commit/90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e), [`633a0b024cd349121a528a253a92c600b3b37016`](https://github.com/diegomura/react-pdf/commit/633a0b024cd349121a528a253a92c600b3b37016)]:\n  - @react-pdf/font@4.2.0\n\n## 7.0.2\n\n### Patch Changes\n\n- [#3637](https://github.com/diegomura/react-pdf/pull/3637) [`5dbd6d82686c8819c011a55960161fa27e4de47a`](https://github.com/diegomura/react-pdf/commit/5dbd6d82686c8819c011a55960161fa27e4de47a) Thanks [@diegomura](https://github.com/diegomura)! - Bump pdfkit to 0.21.0, fontkit to 3.0.0, png-js to 3.0.0 and unicode-properties to 2.0.2, picking up fixes for a PNG parser denial of service and several malformed font crashes. Thai and Lao SARA AM now decompose before shaping to match fontkit 3, which fixes the last glyph being dropped after it\n\n- [#3602](https://github.com/diegomura/react-pdf/pull/3602) [`ec92c81d74c4a24cc4f706e3cd49691252b93ef4`](https://github.com/diegomura/react-pdf/commit/ec92c81d74c4a24cc4f706e3cd49691252b93ef4) Thanks [@iliev-blnk](https://github.com/iliev-blnk)! - fix: declare the packages imported by published type declarations as dependencies (`@types/fontkit` in font and textkit, `@react-pdf/font` in textkit and layout), so they type-check with `skipLibCheck: false`\n\n- Updated dependencies [[`5dbd6d82686c8819c011a55960161fa27e4de47a`](https://github.com/diegomura/react-pdf/commit/5dbd6d82686c8819c011a55960161fa27e4de47a), [`ec92c81d74c4a24cc4f706e3cd49691252b93ef4`](https://github.com/diegomura/react-pdf/commit/ec92c81d74c4a24cc4f706e3cd49691252b93ef4), [`38b573aea445d9acb91bf64ea8b1753a9848ed0b`](https://github.com/diegomura/react-pdf/commit/38b573aea445d9acb91bf64ea8b1753a9848ed0b), [`c809374c7150f5bd16ad14c3d54148112c820a8a`](https://github.com/diegomura/react-pdf/commit/c809374c7150f5bd16ad14c3d54148112c820a8a)]:\n  - @react-pdf/font@4.1.3\n  - @react-pdf/hyphenate@0.1.1\n\n## 7.0.1\n\n### Patch Changes\n\n- [#3524](https://github.com/diegomura/react-pdf/pull/3524) [`df39d4cf2f18ee234b4f6c7674d94bdfc4742489`](https://github.com/diegomura/react-pdf/commit/df39d4cf2f18ee234b4f6c7674d94bdfc4742489) Thanks [@diegomura](https://github.com/diegomura)! - perf: merge run attributes lazily in flatten, only when a segment is emitted\n\n- [#3527](https://github.com/diegomura/react-pdf/pull/3527) [`6dc0901c26354dc5a38ed302ef76d371d74d8d61`](https://github.com/diegomura/react-pdf/commit/6dc0901c26354dc5a38ed302ef76d371d74d8d61) Thanks [@diegomura](https://github.com/diegomura)! - perf: drop the omit('font') preprocessing pass, skip attachment purging when no attachment is set, reduce allocations in the Knuth-Plass main loop, and cache standard font AFM glyph-name lookups\n\n- [#3523](https://github.com/diegomura/react-pdf/pull/3523) [`a291d4fb45b6260861868b973b24e9a49915f6a0`](https://github.com/diegomura/react-pdf/commit/a291d4fb45b6260861868b973b24e9a49915f6a0) Thanks [@diegomura](https://github.com/diegomura)! - perf: reduce allocation churn in text layout hot paths (~15% faster layout of text-heavy documents)\n\n## 7.0.0\n\n### Major Changes\n\n- [#3511](https://github.com/diegomura/react-pdf/pull/3511) [`d3c4667617c1b97c638a6e89e638879e902c9c52`](https://github.com/diegomura/react-pdf/commit/d3c4667617c1b97c638a6e89e638879e902c9c52) Thanks [@diegomura](https://github.com/diegomura)! - Support ellipse and polygon exclusion shapes for text wrapping, groundwork for CSS `shape-outside`. Breaking: the `Container.excludeRects` prop is renamed to `exclusions` and now accepts `ExclusionShape[]` (rect, ellipse, or polygon, each with an optional `extend` side)\n\n### Minor Changes\n\n- [#3440](https://github.com/diegomura/react-pdf/pull/3440) [`06dfada8630d00005752eec711219cf290ce76ea`](https://github.com/diegomura/react-pdf/commit/06dfada8630d00005752eec711219cf290ce76ea) Thanks [@manuelmeister](https://github.com/manuelmeister)! - Add support for fontFeatureSettings to customize ligatures, tabular number display, and other font features.\n\n### Patch Changes\n\n- [#3513](https://github.com/diegomura/react-pdf/pull/3513) [`533340e6ae0908732612d4e5350a69dcb70e76db`](https://github.com/diegomura/react-pdf/commit/533340e6ae0908732612d4e5350a69dcb70e76db) Thanks [@diegomura](https://github.com/diegomura)! - fix: line widths misaligned with line rects when exclusions are present, causing the first line after a float to break at the previous line's width\n\n## 6.4.2\n\n### Patch Changes\n\n- [#3495](https://github.com/diegomura/react-pdf/pull/3495) [`cb445c063adf87c2f250d11f7c36a71c7695bc61`](https://github.com/diegomura/react-pdf/commit/cb445c063adf87c2f250d11f7c36a71c7695bc61) Thanks [@diegomura](https://github.com/diegomura)! - Use @react-pdf/hyphenate for text layout, and skip whitespace when splitting words into syllables.\n\n## 6.4.1\n\n### Patch Changes\n\n- [#3489](https://github.com/diegomura/react-pdf/pull/3489) [`6f94a82ea4306b0fd9c7c161f9c44609be7f6f39`](https://github.com/diegomura/react-pdf/commit/6f94a82ea4306b0fd9c7c161f9c44609be7f6f39) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Improve Knuth-Plass line breaking performance for long paragraphs.\n\n## 6.4.0\n\n### Minor Changes\n\n- [#3423](https://github.com/diegomura/react-pdf/pull/3423) [`06c188bd`](https://github.com/diegomura/react-pdf/commit/06c188bd1365a85a9935597c5e4b6402584f2427) Thanks [@exoego](https://github.com/exoego)! - fix(textkit): treat surrogate pairs as single code points in font substitution\n\n### Patch Changes\n\n- [#3303](https://github.com/diegomura/react-pdf/pull/3303) [`aeaa7a76`](https://github.com/diegomura/react-pdf/commit/aeaa7a76b92e6d7b79617418e10e1ca784509cee) Thanks [@matangot](https://github.com/matangot)! - Preserve run attributes during bidi reordering\n\n- [#3420](https://github.com/diegomura/react-pdf/pull/3420) [`111503c2`](https://github.com/diegomura/react-pdf/commit/111503c244615c98d35c958351beef4c61a0244d) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Improve text line slicing performance for long paragraphs.\n\n## 6.3.0\n\n### Minor Changes\n\n- [#3369](https://github.com/diegomura/react-pdf/pull/3369) [`5689bc18`](https://github.com/diegomura/react-pdf/commit/5689bc1824c760d3cee2f31c8d983d78d3067d63) Thanks [@exoego](https://github.com/exoego)! - fix(textkit): advanceWidthBetween regression with glyphIndices\n\n### Patch Changes\n\n- [#3384](https://github.com/diegomura/react-pdf/pull/3384) [`143af597`](https://github.com/diegomura/react-pdf/commit/143af597ead7f59f695785a622b030749d2e8dae) Thanks [@diegomura](https://github.com/diegomura)! - Fix NFD decomposition breaking Latin diacritics rendering by only decomposing complex scripts (Bengali, Devanagari, etc.) that need it for glyph mapping\n\n## 6.2.0\n\n### Minor Changes\n\n- [#3358](https://github.com/diegomura/react-pdf/pull/3358) [`7b37bc8c`](https://github.com/diegomura/react-pdf/commit/7b37bc8c744d3805fd696f7d961d70cf47258dcf) Thanks [@diegomura](https://github.com/diegomura)! - feat(textkit): glyph indices resolution\n\n- [#3355](https://github.com/diegomura/react-pdf/pull/3355) [`b28b61cf`](https://github.com/diegomura/react-pdf/commit/b28b61cf2ce5b1f0ae5b78551cf987d06df8c6c0) Thanks [@diegomura](https://github.com/diegomura)! - feat(textkit): decompose unicode step\n\n### Patch Changes\n\n- [#3357](https://github.com/diegomura/react-pdf/pull/3357) [`f30cf001`](https://github.com/diegomura/react-pdf/commit/f30cf0013336d0f6ccfd7b103fee66a203ac6b07) Thanks [@diegomura](https://github.com/diegomura)! - fix(textkit): string indices resolution\n\n- [#3354](https://github.com/diegomura/react-pdf/pull/3354) [`7fa9c06e`](https://github.com/diegomura/react-pdf/commit/7fa9c06e65760272e0994d0a61dc4a53b081a816) Thanks [@diegomura](https://github.com/diegomura)! - refactor(textkit): rename glyphIndices to stringIndices\n\n## 6.1.1\n\n### Patch Changes\n\n- [#3273](https://github.com/diegomura/react-pdf/pull/3273) [`16cf5bd7`](https://github.com/diegomura/react-pdf/commit/16cf5bd7006ee1f64d37d3b9ee72e576ee03e343) Thanks [@diegomura](https://github.com/diegomura)! - feat(textkit): various improvements\n\n- [#3240](https://github.com/diegomura/react-pdf/pull/3240) [`2ca8ae83`](https://github.com/diegomura/react-pdf/commit/2ca8ae83fcc113b44b28b5397099bfda9d142212) Thanks [@Pasquale007](https://github.com/Pasquale007)! - fix: cannot read units for Em\n\n- Updated dependencies [[`c40bfdec`](https://github.com/diegomura/react-pdf/commit/c40bfdec3485b00844d9fffeab06d173e2d14dcf), [`5b6a6a4a`](https://github.com/diegomura/react-pdf/commit/5b6a6a4a67fc5156b5d937e4a59a4ab9e5150785)]:\n  - @react-pdf/fns@3.1.3\n\n## 6.1.0\n\n### Minor Changes\n\n- [#3188](https://github.com/diegomura/react-pdf/pull/3188) [`f034491b`](https://github.com/diegomura/react-pdf/commit/f034491b1f77ce6f18a5db88e70b10b9c502ca35) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - Fix and rework the hyphenation algorithm, and allow custom word hyphenation algorithms to specify whether a hyphen should be inserted in case the word is wrapped.\n\n  **Caution**: If you have been using a custom hyphenation callback - which hasn't been working properly since at least version 2.0.21 - then you will need to change your implementation to leave a soft hyphen character (`'\\u00AD'`) at the end of syllables where you want react-pdf to insert a hyphen when wrapping lines. Syllables without a final soft hyphen character will still be able to break, but will not produce a hyphen character at the end of the line.\n\n  This allows you to break correctly on normal hyphens or other special characters in your text. For example, to use the default english-language syllable breaking built into react-pdf, but also break after hyphens naturally occurring in your text (such as is often present in hyperlinks), you could use the following hyphenation callback:\n\n  ```js\n  import { Font } from '@react-pdf/renderer';\n\n  Font.registerHyphenationCallback((word, originalHyphenationCallback) => {\n    return originalHyphenationCallback(word).flatMap((w) => w.split(/(?<=-)/));\n  });\n  ```\n\n  (`flatMap` requires at least ES2019)\n\n## 6.0.0\n\n### Major Changes\n\n- [#3104](https://github.com/diegomura/react-pdf/pull/3104) [`ddfa3675`](https://github.com/diegomura/react-pdf/commit/ddfa367587618b313b4b0b3b57a9a7631e8e7604) Thanks [@diegomura](https://github.com/diegomura)! - feat(textkit): expect font array\n\n### Minor Changes\n\n- [#3102](https://github.com/diegomura/react-pdf/pull/3102) [`24690f52`](https://github.com/diegomura/react-pdf/commit/24690f5238e4eacf28351cf9996856a7d196d29e) Thanks [@diegomura](https://github.com/diegomura)! - feat: handle standard fonts in fonts package\n\n- [#3103](https://github.com/diegomura/react-pdf/pull/3103) [`b06d3a0f`](https://github.com/diegomura/react-pdf/commit/b06d3a0f64593ac18097efd061334f1e5bd70095) Thanks [@diegomura](https://github.com/diegomura)! - refactor: unify font substitution engines\n\n### Patch Changes\n\n- [`c7b74963`](https://github.com/diegomura/react-pdf/commit/c7b749632f07db7808d58d99357dc830d4895da8) Thanks [@diegomura](https://github.com/diegomura)! - fix: resolve attachments\n\n- [#3098](https://github.com/diegomura/react-pdf/pull/3098) [`bfb51ec0`](https://github.com/diegomura/react-pdf/commit/bfb51ec09b851c52659ce16fed1286173e9516a9) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert render package to TS\n\n- [#3092](https://github.com/diegomura/react-pdf/pull/3092) [`481b536f`](https://github.com/diegomura/react-pdf/commit/481b536f4ad145fb227829399b85a35838a506f8) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert layout package to TS\n\n- Updated dependencies [[`481b536f`](https://github.com/diegomura/react-pdf/commit/481b536f4ad145fb227829399b85a35838a506f8)]:\n  - @react-pdf/fns@3.1.2\n\n## 5.0.3\n\n### Patch Changes\n\n- [#3077](https://github.com/diegomura/react-pdf/pull/3077) [`442ce355`](https://github.com/diegomura/react-pdf/commit/442ce35534f916b9146a35fd03870387ed488d92) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert textkit package to TS\n\n- Updated dependencies [[`24fe4bf8`](https://github.com/diegomura/react-pdf/commit/24fe4bf894fff055121926488b30d0bf212a9c45), [`442ce355`](https://github.com/diegomura/react-pdf/commit/442ce35534f916b9146a35fd03870387ed488d92), [`3007d34a`](https://github.com/diegomura/react-pdf/commit/3007d34ad3e10bf32ada3631938f5bb08e1c549f)]:\n  - @react-pdf/fns@3.1.1\n\n## 5.0.2\n\n### Patch Changes\n\n- Updated dependencies [[`d36ace66`](https://github.com/diegomura/react-pdf/commit/d36ace66c77d57d845894e89772be7ae0cdd25ee)]:\n  - @react-pdf/fns@3.1.0\n\n## 5.0.1\n\n### Patch Changes\n\n- [#2975](https://github.com/diegomura/react-pdf/pull/2975) [`00bfdc1e`](https://github.com/diegomura/react-pdf/commit/00bfdc1e5a6c673d2de7b3ab09d5020e932562fb) Thanks [@daslaf](https://github.com/daslaf)! - fix issue with indentation shrinking all lines\n\n## 5.0.0\n\n### Major Changes\n\n- [#2871](https://github.com/diegomura/react-pdf/pull/2871) [`70f29a04`](https://github.com/diegomura/react-pdf/commit/70f29a0407b1d56e9a7932b25c0d69132e9b4119) Thanks [@diegomura](https://github.com/diegomura)! - feat!: drop cjs support\n\n### Patch Changes\n\n- Updated dependencies [[`70f29a04`](https://github.com/diegomura/react-pdf/commit/70f29a0407b1d56e9a7932b25c0d69132e9b4119)]:\n  - @react-pdf/fns@3.0.0\n\n## 4.4.1\n\n### Patch Changes\n\n- [#2605](https://github.com/diegomura/react-pdf/pull/2605) [`f7505ed`](https://github.com/diegomura/react-pdf/commit/f7505ed453a1a0ae960d0e5e4a1d155803861b71) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - fix: fix CJS compatibility\n\n- Updated dependencies [[`f7505ed`](https://github.com/diegomura/react-pdf/commit/f7505ed453a1a0ae960d0e5e4a1d155803861b71)]:\n  - @react-pdf/fns@2.2.1\n\n## 4.4.0\n\n### Minor Changes\n\n- [#2600](https://github.com/diegomura/react-pdf/pull/2600) [`8350154`](https://github.com/diegomura/react-pdf/commit/83501541e3a050021e18e112bb472b2dabc142a7) Thanks [@diegomura](https://github.com/diegomura)! - feat: bidi support\n\n### Patch Changes\n\n- Updated dependencies [[`8350154`](https://github.com/diegomura/react-pdf/commit/83501541e3a050021e18e112bb472b2dabc142a7)]:\n  - @react-pdf/fns@2.2.0\n\n## 4.3.0\n\n### Minor Changes\n\n- [#2409](https://github.com/diegomura/react-pdf/pull/2409) [`b6a14fd`](https://github.com/diegomura/react-pdf/commit/b6a14fd160fab26a49f798e5294b0e361e67fe37) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Add support for native ESM\n\n### Patch Changes\n\n- Updated dependencies [[`b6a14fd`](https://github.com/diegomura/react-pdf/commit/b6a14fd160fab26a49f798e5294b0e361e67fe37)]:\n  - @react-pdf/fns@2.1.0\n\n## 4.2.1\n\n### Patch Changes\n\n- [#2479](https://github.com/diegomura/react-pdf/pull/2479) [`45b2bd3`](https://github.com/diegomura/react-pdf/commit/45b2bd37037c605727ad5783f2f2a438dc19cac4) Thanks [@diegomura](https://github.com/diegomura)! - fix linting\n\n## 4.2.0\n\n### Minor Changes\n\n- [#2214](https://github.com/diegomura/react-pdf/pull/2214) [`2db67a3`](https://github.com/diegomura/react-pdf/commit/2db67a38b9be98b7816a2b5aa4733446b95e3724) Thanks [@KODIKAS-NL](https://github.com/KODIKAS-NL)! - added base support for verticalAlign \"super\" and \"sub\"\n\n### Patch Changes\n\n- Updated dependencies [[`eff1ff0`](https://github.com/diegomura/react-pdf/commit/eff1ff0fefcd710994e4654904ef55843af76a17)]:\n  - @react-pdf/fns@2.0.1\n\n## 4.1.1\n\n### Patch Changes\n\n- [#2205](https://github.com/diegomura/react-pdf/pull/2205) [`9a5e0be`](https://github.com/diegomura/react-pdf/commit/9a5e0befb89756db07ce053192a136df9d4ba905) Thanks [@jeetiss](https://github.com/jeetiss)! - update babel\n\n## 4.1.0\n\n### Minor Changes\n\n- [#1891](https://github.com/diegomura/react-pdf/pull/1891) [`a5a933c`](https://github.com/diegomura/react-pdf/commit/a5a933c9733e4c77338ef76a2b3545b84a646a81) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - feat: compatibility with modern web bundlers and browsers\n\n### Patch Changes\n\n- [#1917](https://github.com/diegomura/react-pdf/pull/1917) [`4bb97c3`](https://github.com/diegomura/react-pdf/commit/4bb97c3b92e82d7d7be2698c770f42560c6fcab6) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - fix: console error when text overflows the last available rect\n\n- Updated dependencies [[`a5a933c`](https://github.com/diegomura/react-pdf/commit/a5a933c9733e4c77338ef76a2b3545b84a646a81)]:\n  - @react-pdf/fns@2.0.0\n\n## 4.0.0\n\n### Major Changes\n\n- [#1906](https://github.com/diegomura/react-pdf/pull/1906) [`884695b`](https://github.com/diegomura/react-pdf/commit/884695b44feb974f155c83e0714e8e939b4f641b) Thanks [@diegomura](https://github.com/diegomura)! - feat: build textkit with rollup & define public api\n\n### Minor Changes\n\n- [#1895](https://github.com/diegomura/react-pdf/pull/1895) [`37a9a74`](https://github.com/diegomura/react-pdf/commit/37a9a747f7677fa05e3ddf5669c0379aa65c1e39) Thanks [@diegomura](https://github.com/diegomura)! - feat: exclude rects on textkit layout container\n\n### Patch Changes\n\n- [#1907](https://github.com/diegomura/react-pdf/pull/1907) [`0fcc594`](https://github.com/diegomura/react-pdf/commit/0fcc594310d5af30ca1e752b3efc7a047e813dcb) Thanks [@diegomura](https://github.com/diegomura)! - chore: use unicode-properties mainline repo\n\n## 3.0.0\n\n### Major Changes\n\n- [#1830](https://github.com/diegomura/react-pdf/pull/1830) [`9a2b935`](https://github.com/diegomura/react-pdf/commit/9a2b935cfe173f80425ed87d9f474da271c050d2) Thanks [@diegomura](https://github.com/diegomura)! - refactor: remove ramda from textkit package\n\n### Patch Changes\n\n- [#1838](https://github.com/diegomura/react-pdf/pull/1838) [`9bdb5c9`](https://github.com/diegomura/react-pdf/commit/9bdb5c934a822340754cd4c892d399f91f6218de) Thanks [@diegomura](https://github.com/diegomura)! - feat: create fns package\n\n- Updated dependencies [[`434df31`](https://github.com/diegomura/react-pdf/commit/434df317a92ae5b51ee7b23a9f6500de0b6aa4aa), [`9bdb5c9`](https://github.com/diegomura/react-pdf/commit/9bdb5c934a822340754cd4c892d399f91f6218de)]:\n  - @react-pdf/unicode-properties@2.6.0\n  - @react-pdf/fns@1.0.0\n\n## 2.1.0\n\n### Minor Changes\n\n- [#1654](https://github.com/diegomura/react-pdf/pull/1654) [`ccf3bf2`](https://github.com/diegomura/react-pdf/commit/ccf3bf22867a9bd49668cdd3543ec32492a40e4b) Thanks [@jeetiss](https://github.com/jeetiss)! - added `@babel/runtime` to dependencies\n\n### Patch Changes\n\n- [#1581](https://github.com/diegomura/react-pdf/pull/1581) [`04449ab`](https://github.com/diegomura/react-pdf/commit/04449ab352db0cca2155024dd3e8c690e42193ca) Thanks [@jeetiss](https://github.com/jeetiss)! - added changelog with changesets\n\n* [#1567](https://github.com/diegomura/react-pdf/pull/1567) [`5d2d688`](https://github.com/diegomura/react-pdf/commit/5d2d688e18c830bb96c6e08446437d29f9f9c65f) Thanks [@hayoung0Lee](https://github.com/hayoung0Lee)! - fixed line breaks for the case when the word in a text is bigger than the given width\n\n* Updated dependencies [[`4c5d527`](https://github.com/diegomura/react-pdf/commit/4c5d52721d29d843f1d09c3fd74370832429f70e), [`04449ab`](https://github.com/diegomura/react-pdf/commit/04449ab352db0cca2155024dd3e8c690e42193ca)]:\n  - @react-pdf/unicode-properties@2.5.0\n","packages/textkit/tsconfig.json":"{\n  \"$schema\": \"https://json.schemastore.org/tsconfig\",\n  \"compilerOptions\": {\n    \"outDir\": \"lib\",\n    \"declaration\": true,\n    \"declarationDir\": \"lib/types\",\n    \"target\": \"ES2022\",\n    \"module\": \"ESNext\",\n    \"lib\": [\"ES2022\", \"DOM\"],\n    \"moduleResolution\": \"Node\",\n    \"esModuleInterop\": true,\n    \"allowSyntheticDefaultImports\": true,\n    \"strict\": false,\n    \"skipLibCheck\": true,\n    \"forceConsistentCasingInFileNames\": true,\n    \"types\": [\"vitest/globals\"],\n  },\n  \"include\": [\"src\"],\n}\n","packages/svg/CHANGELOG.md":"# @react-pdf/svg\n\n## 1.1.1\n\n### Patch Changes\n\n- Updated dependencies [[`ae9a9983e8bd8b63c3873000531a8307e22c7bae`](https://github.com/diegomura/react-pdf/commit/ae9a9983e8bd8b63c3873000531a8307e22c7bae)]:\n  - @react-pdf/primitives@4.4.0\n\n## 1.1.0\n\n### Minor Changes\n\n- [#3364](https://github.com/diegomura/react-pdf/pull/3364) [`72b4381e`](https://github.com/diegomura/react-pdf/commit/72b4381eddd3dae971b54a485a1faad4b6550fa6) Thanks [@diegomura](https://github.com/diegomura)! - feat: mermaid support\n\n- [#3365](https://github.com/diegomura/react-pdf/pull/3365) [`27d1b487`](https://github.com/diegomura/react-pdf/commit/27d1b4877507b874a6cd7face5e86cd236d2a42f) Thanks [@diegomura](https://github.com/diegomura)! - feat(svg): extract svg parser\n\n- [#3366](https://github.com/diegomura/react-pdf/pull/3366) [`4444f355`](https://github.com/diegomura/react-pdf/commit/4444f3555e3381397b33297e3f121a81db06a370) Thanks [@diegomura](https://github.com/diegomura)! - feat: svg markers support\n\n### Patch Changes\n\n- Updated dependencies [[`4444f355`](https://github.com/diegomura/react-pdf/commit/4444f3555e3381397b33297e3f121a81db06a370)]:\n  - @react-pdf/primitives@4.3.0\n","packages/svg/package.json":"{\n  \"name\": \"@react-pdf/svg\",\n  \"version\": \"1.1.1\",\n  \"license\": \"MIT\",\n  \"description\": \"SVG parsing for react-pdf\",\n  \"author\": \"Diego Muracciole <diegomuracciole@gmail.com>\",\n  \"homepage\": \"https://github.com/diegomura/react-pdf#readme\",\n  \"type\": \"module\",\n  \"main\": \"./lib/index.js\",\n  \"types\": \"./lib/index.d.ts\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/diegomura/react-pdf.git\",\n    \"directory\": \"packages/svg\"\n  },\n  \"scripts\": {\n    \"test\": \"vitest\",\n    \"build\": \"rimraf ./lib && rollup -c --forceExit\",\n    \"watch\": \"rimraf ./lib && rollup -c -w\",\n    \"typecheck\": \"tsc --noEmit\"\n  },\n  \"files\": [\n    \"lib\"\n  ],\n  \"dependencies\": {\n    \"@react-pdf/primitives\": \"^4.4.0\"\n  },\n  \"devDependencies\": {\n    \"@vitejs/plugin-react\": \"^4.2.1\",\n    \"vitest\": \"^1.2.0\"\n  }\n}\n","packages/svg/README.md":"<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png\" height=\"280px\">\n</p>\n\n# @react-pdf/svg\n\nSVG string parser for [react-pdf](https://github.com/diegomura/react-pdf).\n\nParses SVG markup into a tree of nodes compatible with react-pdf's SVG primitives.\n\n## Installation\n\n```bash\nyarn add @react-pdf/svg\n```\n\n## Usage\n\n```js\nimport { parseSvg } from '@react-pdf/svg';\n\nconst tree = parseSvg(\n  '<svg viewBox=\"0 0 100 100\"><circle cx=\"50\" cy=\"50\" r=\"40\" fill=\"red\" /></svg>',\n);\n```\n\nReturns an `SvgNode` tree:\n\n```js\n{\n  type: 'SVG',\n  props: { viewBox: '0 0 100 100' },\n  children: [\n    {\n      type: 'CIRCLE',\n      props: { cx: '50', cy: '50', r: '40', fill: 'red' },\n      children: []\n    }\n  ]\n}\n```\n\n## Supported elements\n\n`svg`, `g`, `path`, `rect`, `circle`, `ellipse`, `line`, `polyline`, `polygon`, `text`, `tspan`, `defs`, `clipPath`, `linearGradient`, `radialGradient`, `stop`, `image`\n\n## API\n\n### `parseSvg(svgString: string): SvgNode`\n\nParses an SVG string and returns the root `SvgNode`. Attributes are converted to camelCase and tag names are mapped to react-pdf primitive types. Unsupported elements are skipped with a console warning.\n\n### `SvgNode`\n\n```ts\ninterface SvgNode {\n  type: string;\n  props: Record<string, unknown>;\n  children?: SvgNode[];\n}\n```\n\n## License\n\nMIT\n","packages/svg/tsconfig.json":"{\n  \"$schema\": \"https://json-schema.store.org/tsconfig\",\n  \"compilerOptions\": {\n    \"outDir\": \"lib\",\n    \"declaration\": true,\n    \"declarationDir\": \"lib/types\",\n    \"target\": \"ES2022\",\n    \"module\": \"ESNext\",\n    \"lib\": [\"ES2022\", \"DOM\"],\n    \"moduleResolution\": \"Node\",\n    \"esModuleInterop\": true,\n    \"allowSyntheticDefaultImports\": true,\n    \"strict\": true,\n    \"skipLibCheck\": true,\n    \"forceConsistentCasingInFileNames\": true,\n    \"types\": [\"vitest/globals\"],\n  },\n  \"include\": [\"src\", \"**/*.d.ts\"],\n}\n","packages/stylesheet/CHANGELOG.md":"# Stylesheet Skill\n\nPath: `packages/stylesheet/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/CHANGELOG.md)","packages/stylesheet/package.json":"# Stylesheet Skill\n\nPath: `packages/stylesheet/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/package.json)","packages/stylesheet/README.md":"# stylesheet Documentation\n\nPath: `packages/stylesheet/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/README.md)","packages/stylesheet/tsconfig.json":"# Stylesheet Skill\n\nPath: `packages/stylesheet/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/tsconfig.json)","packages/renderer/CHANGELOG.md":"# Renderer Skill\n\nPath: `packages/renderer/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/renderer/CHANGELOG.md)","packages/renderer/package.json":"# Renderer Skill\n\nPath: `packages/renderer/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/renderer/package.json)","packages/renderer/README.md":"# renderer Documentation\n\nPath: `packages/renderer/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/renderer/README.md)","packages/render/CHANGELOG.md":"# Render Skill\n\nPath: `packages/render/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/CHANGELOG.md)","packages/render/package.json":"# Render Skill\n\nPath: `packages/render/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/package.json)","packages/render/README.md":"# render Documentation\n\nPath: `packages/render/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/README.md)","packages/render/tsconfig.json":"# Render Skill\n\nPath: `packages/render/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/tsconfig.json)","packages/reconciler/CHANGELOG.md":"# Reconciler Skill\n\nPath: `packages/reconciler/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/CHANGELOG.md)","packages/reconciler/package.json":"# Reconciler Skill\n\nPath: `packages/reconciler/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/package.json)","packages/reconciler/README.md":"# reconciler Documentation\n\nPath: `packages/reconciler/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/README.md)","packages/reconciler/tsconfig.json":"# Reconciler Skill\n\nPath: `packages/reconciler/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/tsconfig.json)","packages/primitives/CHANGELOG.md":"# Primitives Skill\n\nPath: `packages/primitives/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/CHANGELOG.md)","packages/primitives/package.json":"# Primitives Skill\n\nPath: `packages/primitives/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/package.json)","packages/primitives/README.md":"# primitives Documentation\n\nPath: `packages/primitives/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/README.md)","packages/primitives/tsconfig.json":"# Primitives Skill\n\nPath: `packages/primitives/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/tsconfig.json)","packages/pdfkit/CHANGELOG.md":"# Pdfkit Skill\n\nPath: `packages/pdfkit/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/CHANGELOG.md)","packages/pdfkit/package.json":"# Pdfkit Skill\n\nPath: `packages/pdfkit/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/package.json)","packages/pdfkit/README.md":"# pdfkit Documentation\n\nPath: `packages/pdfkit/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/README.md)","packages/mermaid/CHANGELOG.md":"# Mermaid Skill\n\nPath: `packages/mermaid/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/CHANGELOG.md)","packages/mermaid/package.json":"# Mermaid Skill\n\nPath: `packages/mermaid/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/package.json)","packages/mermaid/README.md":"# mermaid Documentation\n\nPath: `packages/mermaid/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/README.md)","packages/mermaid/tsconfig.json":"# Mermaid Skill\n\nPath: `packages/mermaid/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/tsconfig.json)","packages/math/CHANGELOG.md":"# Math Skill\n\nPath: `packages/math/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/CHANGELOG.md)","packages/math/package.json":"# Math Skill\n\nPath: `packages/math/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/package.json)","packages/math/README.md":"# math Documentation\n\nPath: `packages/math/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/README.md)","packages/math/tsconfig.json":"# Math Skill\n\nPath: `packages/math/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/tsconfig.json)","packages/layout/CHANGELOG.md":"# Layout Skill\n\nPath: `packages/layout/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/CHANGELOG.md)","packages/layout/package.json":"# Layout Skill\n\nPath: `packages/layout/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/package.json)","packages/layout/README.md":"# layout Documentation\n\nPath: `packages/layout/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/README.md)","packages/layout/tsconfig.json":"# Layout Skill\n\nPath: `packages/layout/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/tsconfig.json)","packages/image/CHANGELOG.md":"# Image Skill\n\nPath: `packages/image/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/CHANGELOG.md)","packages/image/package.json":"# Image Skill\n\nPath: `packages/image/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/package.json)","packages/image/README.md":"# image Documentation\n\nPath: `packages/image/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/README.md)","packages/image/tsconfig.json":"# Image Skill\n\nPath: `packages/image/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/tsconfig.json)","packages/font/CHANGELOG.md":"# Font Skill\n\nPath: `packages/font/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/CHANGELOG.md)","packages/font/package.json":"# Font Skill\n\nPath: `packages/font/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/package.json)","packages/font/README.md":"# font Documentation\n\nPath: `packages/font/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/README.md)","packages/font/tsconfig.json":"# Font Skill\n\nPath: `packages/font/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/tsconfig.json)","packages/fns/CHANGELOG.md":"# Fns Skill\n\nPath: `packages/fns/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/CHANGELOG.md)","packages/fns/package.json":"# Fns Skill\n\nPath: `packages/fns/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/package.json)","packages/fns/README.md":"# fns Documentation\n\nPath: `packages/fns/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/README.md)","packages/fns/tsconfig.json":"# Fns Skill\n\nPath: `packages/fns/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/tsconfig.json)","packages/examples/CHANGELOG.md":"# Examples Skill\n\nPath: `packages/examples/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/CHANGELOG.md)","packages/examples/package.json":"# Examples Skill\n\nPath: `packages/examples/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/package.json)","packages/examples/next-14/CHANGELOG.md":"# Next-14 Skill\n\nPath: `packages/examples/next-14/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/CHANGELOG.md)","packages/examples/next-14/jsconfig.json":"# Next-14 Skill\n\nPath: `packages/examples/next-14/jsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/jsconfig.json)","packages/examples/next-14/package.json":"# Next-14 Skill\n\nPath: `packages/examples/next-14/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/package.json)","packages/examples/next-14/README.md":"# next-14 Documentation\n\nPath: `packages/examples/next-14/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/README.md)","packages/examples/next-15/CHANGELOG.md":"# Next-15 Skill\n\nPath: `packages/examples/next-15/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/CHANGELOG.md)","packages/examples/next-15/jsconfig.json":"# Next-15 Skill\n\nPath: `packages/examples/next-15/jsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/jsconfig.json)","packages/examples/next-15/package.json":"# Next-15 Skill\n\nPath: `packages/examples/next-15/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/package.json)","packages/examples/next-15/README.md":"# next-15 Documentation\n\nPath: `packages/examples/next-15/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/README.md)","packages/examples/vite/CHANGELOG.md":"# Vite Skill\n\nPath: `packages/examples/vite/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/CHANGELOG.md)","packages/examples/vite/package.json":"# Vite Skill\n\nPath: `packages/examples/vite/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/package.json)","packages/examples/vite/README.md":"# vite Documentation\n\nPath: `packages/examples/vite/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/README.md)"},"items":[{"name":"CHANGELOG.md","path":"packages/examples/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/CHANGELOG.md","title":"Examples Skill","category":"anthropic-skill","format":"markdown","content":"# Examples Skill\n\nPath: `packages/examples/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/CHANGELOG.md)","tokens":300,"sizeBytes":177},{"name":"CHANGELOG.md","path":"packages/examples/next-14/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/CHANGELOG.md","title":"Next-14 Skill","category":"anthropic-skill","format":"markdown","content":"# Next-14 Skill\n\nPath: `packages/examples/next-14/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/CHANGELOG.md)","tokens":300,"sizeBytes":192},{"name":"jsconfig.json","path":"packages/examples/next-14/jsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/jsconfig.json","title":"Next-14 Skill","category":"anthropic-skill","format":"json","content":"# Next-14 Skill\n\nPath: `packages/examples/next-14/jsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/jsconfig.json)","tokens":300,"sizeBytes":194},{"name":"package.json","path":"packages/examples/next-14/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/package.json","title":"Next-14 Skill","category":"anthropic-skill","format":"json","content":"# Next-14 Skill\n\nPath: `packages/examples/next-14/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/package.json)","tokens":300,"sizeBytes":192},{"name":"CHANGELOG.md","path":"packages/examples/next-15/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/CHANGELOG.md","title":"Next-15 Skill","category":"anthropic-skill","format":"markdown","content":"# Next-15 Skill\n\nPath: `packages/examples/next-15/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/CHANGELOG.md)","tokens":300,"sizeBytes":192},{"name":"jsconfig.json","path":"packages/examples/next-15/jsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/jsconfig.json","title":"Next-15 Skill","category":"anthropic-skill","format":"json","content":"# Next-15 Skill\n\nPath: `packages/examples/next-15/jsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/jsconfig.json)","tokens":300,"sizeBytes":194},{"name":"package.json","path":"packages/examples/next-15/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/package.json","title":"Next-15 Skill","category":"anthropic-skill","format":"json","content":"# Next-15 Skill\n\nPath: `packages/examples/next-15/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/package.json)","tokens":300,"sizeBytes":192},{"name":"package.json","path":"packages/examples/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/package.json","title":"Examples Skill","category":"anthropic-skill","format":"json","content":"# Examples Skill\n\nPath: `packages/examples/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/package.json)","tokens":300,"sizeBytes":177},{"name":"CHANGELOG.md","path":"packages/examples/vite/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/CHANGELOG.md","title":"Vite Skill","category":"anthropic-skill","format":"markdown","content":"# Vite Skill\n\nPath: `packages/examples/vite/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/CHANGELOG.md)","tokens":300,"sizeBytes":183},{"name":"package.json","path":"packages/examples/vite/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/package.json","title":"Vite Skill","category":"anthropic-skill","format":"json","content":"# Vite Skill\n\nPath: `packages/examples/vite/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/package.json)","tokens":300,"sizeBytes":183},{"name":"CHANGELOG.md","path":"packages/fns/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/CHANGELOG.md","title":"Fns Skill","category":"anthropic-skill","format":"markdown","content":"# Fns Skill\n\nPath: `packages/fns/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/CHANGELOG.md)","tokens":300,"sizeBytes":162},{"name":"package.json","path":"packages/fns/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/package.json","title":"Fns Skill","category":"anthropic-skill","format":"json","content":"# Fns Skill\n\nPath: `packages/fns/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/package.json)","tokens":300,"sizeBytes":162},{"name":"tsconfig.json","path":"packages/fns/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/tsconfig.json","title":"Fns Skill","category":"anthropic-skill","format":"json","content":"# Fns Skill\n\nPath: `packages/fns/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/tsconfig.json)","tokens":300,"sizeBytes":164},{"name":"CHANGELOG.md","path":"packages/font/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/CHANGELOG.md","title":"Font Skill","category":"anthropic-skill","format":"markdown","content":"# Font Skill\n\nPath: `packages/font/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/CHANGELOG.md)","tokens":300,"sizeBytes":165},{"name":"package.json","path":"packages/font/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/package.json","title":"Font Skill","category":"anthropic-skill","format":"json","content":"# Font Skill\n\nPath: `packages/font/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/package.json)","tokens":300,"sizeBytes":165},{"name":"tsconfig.json","path":"packages/font/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/tsconfig.json","title":"Font Skill","category":"anthropic-skill","format":"json","content":"# Font Skill\n\nPath: `packages/font/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/tsconfig.json)","tokens":300,"sizeBytes":167},{"name":"CHANGELOG.md","path":"packages/image/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/CHANGELOG.md","title":"Image Skill","category":"anthropic-skill","format":"markdown","content":"# Image Skill\n\nPath: `packages/image/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/CHANGELOG.md)","tokens":300,"sizeBytes":168},{"name":"package.json","path":"packages/image/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/package.json","title":"Image Skill","category":"anthropic-skill","format":"json","content":"# Image Skill\n\nPath: `packages/image/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/package.json)","tokens":300,"sizeBytes":168},{"name":"tsconfig.json","path":"packages/image/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/tsconfig.json","title":"Image Skill","category":"anthropic-skill","format":"json","content":"# Image Skill\n\nPath: `packages/image/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/tsconfig.json)","tokens":300,"sizeBytes":170},{"name":"CHANGELOG.md","path":"packages/layout/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/CHANGELOG.md","title":"Layout Skill","category":"anthropic-skill","format":"markdown","content":"# Layout Skill\n\nPath: `packages/layout/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/CHANGELOG.md)","tokens":300,"sizeBytes":171},{"name":"package.json","path":"packages/layout/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/package.json","title":"Layout Skill","category":"anthropic-skill","format":"json","content":"# Layout Skill\n\nPath: `packages/layout/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/package.json)","tokens":300,"sizeBytes":171},{"name":"tsconfig.json","path":"packages/layout/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/tsconfig.json","title":"Layout Skill","category":"anthropic-skill","format":"json","content":"# Layout Skill\n\nPath: `packages/layout/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/tsconfig.json)","tokens":300,"sizeBytes":173},{"name":"CHANGELOG.md","path":"packages/math/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/CHANGELOG.md","title":"Math Skill","category":"anthropic-skill","format":"markdown","content":"# Math Skill\n\nPath: `packages/math/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/CHANGELOG.md)","tokens":300,"sizeBytes":165},{"name":"package.json","path":"packages/math/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/package.json","title":"Math Skill","category":"anthropic-skill","format":"json","content":"# Math Skill\n\nPath: `packages/math/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/package.json)","tokens":300,"sizeBytes":165},{"name":"tsconfig.json","path":"packages/math/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/tsconfig.json","title":"Math Skill","category":"anthropic-skill","format":"json","content":"# Math Skill\n\nPath: `packages/math/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/tsconfig.json)","tokens":300,"sizeBytes":167},{"name":"CHANGELOG.md","path":"packages/mermaid/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/CHANGELOG.md","title":"Mermaid Skill","category":"anthropic-skill","format":"markdown","content":"# Mermaid Skill\n\nPath: `packages/mermaid/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/CHANGELOG.md)","tokens":300,"sizeBytes":174},{"name":"package.json","path":"packages/mermaid/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/package.json","title":"Mermaid Skill","category":"anthropic-skill","format":"json","content":"# Mermaid Skill\n\nPath: `packages/mermaid/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/package.json)","tokens":300,"sizeBytes":174},{"name":"tsconfig.json","path":"packages/mermaid/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/tsconfig.json","title":"Mermaid Skill","category":"anthropic-skill","format":"json","content":"# Mermaid Skill\n\nPath: `packages/mermaid/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/tsconfig.json)","tokens":300,"sizeBytes":176},{"name":"CHANGELOG.md","path":"packages/pdfkit/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/CHANGELOG.md","title":"Pdfkit Skill","category":"anthropic-skill","format":"markdown","content":"# Pdfkit Skill\n\nPath: `packages/pdfkit/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/CHANGELOG.md)","tokens":300,"sizeBytes":171},{"name":"package.json","path":"packages/pdfkit/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/package.json","title":"Pdfkit Skill","category":"anthropic-skill","format":"json","content":"# Pdfkit Skill\n\nPath: `packages/pdfkit/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/package.json)","tokens":300,"sizeBytes":171},{"name":"CHANGELOG.md","path":"packages/primitives/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/CHANGELOG.md","title":"Primitives Skill","category":"anthropic-skill","format":"markdown","content":"# Primitives Skill\n\nPath: `packages/primitives/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/CHANGELOG.md)","tokens":300,"sizeBytes":183},{"name":"package.json","path":"packages/primitives/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/package.json","title":"Primitives Skill","category":"anthropic-skill","format":"json","content":"# Primitives Skill\n\nPath: `packages/primitives/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/package.json)","tokens":300,"sizeBytes":183},{"name":"tsconfig.json","path":"packages/primitives/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/tsconfig.json","title":"Primitives Skill","category":"anthropic-skill","format":"json","content":"# Primitives Skill\n\nPath: `packages/primitives/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/tsconfig.json)","tokens":300,"sizeBytes":185},{"name":"CHANGELOG.md","path":"packages/reconciler/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/CHANGELOG.md","title":"Reconciler Skill","category":"anthropic-skill","format":"markdown","content":"# Reconciler Skill\n\nPath: `packages/reconciler/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/CHANGELOG.md)","tokens":300,"sizeBytes":183},{"name":"package.json","path":"packages/reconciler/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/package.json","title":"Reconciler Skill","category":"anthropic-skill","format":"json","content":"# Reconciler Skill\n\nPath: `packages/reconciler/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/package.json)","tokens":300,"sizeBytes":183},{"name":"tsconfig.json","path":"packages/reconciler/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/tsconfig.json","title":"Reconciler Skill","category":"anthropic-skill","format":"json","content":"# Reconciler Skill\n\nPath: `packages/reconciler/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/tsconfig.json)","tokens":300,"sizeBytes":185},{"name":"CHANGELOG.md","path":"packages/render/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/CHANGELOG.md","title":"Render Skill","category":"anthropic-skill","format":"markdown","content":"# Render Skill\n\nPath: `packages/render/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/CHANGELOG.md)","tokens":300,"sizeBytes":171},{"name":"package.json","path":"packages/render/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/package.json","title":"Render Skill","category":"anthropic-skill","format":"json","content":"# Render Skill\n\nPath: `packages/render/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/package.json)","tokens":300,"sizeBytes":171},{"name":"tsconfig.json","path":"packages/render/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/tsconfig.json","title":"Render Skill","category":"anthropic-skill","format":"json","content":"# Render Skill\n\nPath: `packages/render/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/tsconfig.json)","tokens":300,"sizeBytes":173},{"name":"CHANGELOG.md","path":"packages/renderer/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/renderer/CHANGELOG.md","title":"Renderer Skill","category":"anthropic-skill","format":"markdown","content":"# Renderer Skill\n\nPath: `packages/renderer/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/renderer/CHANGELOG.md)","tokens":300,"sizeBytes":177},{"name":"package.json","path":"packages/renderer/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/renderer/package.json","title":"Renderer Skill","category":"anthropic-skill","format":"json","content":"# Renderer Skill\n\nPath: `packages/renderer/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/renderer/package.json)","tokens":300,"sizeBytes":177},{"name":"CHANGELOG.md","path":"packages/stylesheet/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/CHANGELOG.md","title":"Stylesheet Skill","category":"anthropic-skill","format":"markdown","content":"# Stylesheet Skill\n\nPath: `packages/stylesheet/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/CHANGELOG.md)","tokens":300,"sizeBytes":183},{"name":"package.json","path":"packages/stylesheet/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/package.json","title":"Stylesheet Skill","category":"anthropic-skill","format":"json","content":"# Stylesheet Skill\n\nPath: `packages/stylesheet/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/package.json)","tokens":300,"sizeBytes":183},{"name":"tsconfig.json","path":"packages/stylesheet/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/tsconfig.json","title":"Stylesheet Skill","category":"anthropic-skill","format":"json","content":"# Stylesheet Skill\n\nPath: `packages/stylesheet/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/tsconfig.json)","tokens":300,"sizeBytes":185},{"name":"CHANGELOG.md","path":"packages/svg/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/svg/CHANGELOG.md","title":"Svg Skill","category":"anthropic-skill","format":"markdown","content":"# @react-pdf/svg\n\n## 1.1.1\n\n### Patch Changes\n\n- Updated dependencies [[`ae9a9983e8bd8b63c3873000531a8307e22c7bae`](https://github.com/diegomura/react-pdf/commit/ae9a9983e8bd8b63c3873000531a8307e22c7bae)]:\n  - @react-pdf/primitives@4.4.0\n\n## 1.1.0\n\n### Minor Changes\n\n- [#3364](https://github.com/diegomura/react-pdf/pull/3364) [`72b4381e`](https://github.com/diegomura/react-pdf/commit/72b4381eddd3dae971b54a485a1faad4b6550fa6) Thanks [@diegomura](https://github.com/diegomura)! - feat: mermaid support\n\n- [#3365](https://github.com/diegomura/react-pdf/pull/3365) [`27d1b487`](https://github.com/diegomura/react-pdf/commit/27d1b4877507b874a6cd7face5e86cd236d2a42f) Thanks [@diegomura](https://github.com/diegomura)! - feat(svg): extract svg parser\n\n- [#3366](https://github.com/diegomura/react-pdf/pull/3366) [`4444f355`](https://github.com/diegomura/react-pdf/commit/4444f3555e3381397b33297e3f121a81db06a370) Thanks [@diegomura](https://github.com/diegomura)! - feat: svg markers support\n\n### Patch Changes\n\n- Updated dependencies [[`4444f355`](https://github.com/diegomura/react-pdf/commit/4444f3555e3381397b33297e3f121a81db06a370)]:\n  - @react-pdf/primitives@4.3.0\n","isInternal":false,"tokens":441,"sizeBytes":1169},{"name":"package.json","path":"packages/svg/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/svg/package.json","title":"@react-pdf/svg","category":"anthropic-skill","format":"json","content":"{\n  \"name\": \"@react-pdf/svg\",\n  \"version\": \"1.1.1\",\n  \"license\": \"MIT\",\n  \"description\": \"SVG parsing for react-pdf\",\n  \"author\": \"Diego Muracciole <diegomuracciole@gmail.com>\",\n  \"homepage\": \"https://github.com/diegomura/react-pdf#readme\",\n  \"type\": \"module\",\n  \"main\": \"./lib/index.js\",\n  \"types\": \"./lib/index.d.ts\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/diegomura/react-pdf.git\",\n    \"directory\": \"packages/svg\"\n  },\n  \"scripts\": {\n    \"test\": \"vitest\",\n    \"build\": \"rimraf ./lib && rollup -c --forceExit\",\n    \"watch\": \"rimraf ./lib && rollup -c -w\",\n    \"typecheck\": \"tsc --noEmit\"\n  },\n  \"files\": [\n    \"lib\"\n  ],\n  \"dependencies\": {\n    \"@react-pdf/primitives\": \"^4.4.0\"\n  },\n  \"devDependencies\": {\n    \"@vitejs/plugin-react\": \"^4.2.1\",\n    \"vitest\": \"^1.2.0\"\n  }\n}\n","frontmatter":{"name":"@react-pdf/svg","version":"1.1.1","license":"MIT","description":"SVG parsing for react-pdf","author":"Diego Muracciole <diegomuracciole@gmail.com>","homepage":"https://github.com/diegomura/react-pdf#readme","type":"module","main":"./lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"https://github.com/diegomura/react-pdf.git","directory":"packages/svg"},"scripts":{"test":"vitest","build":"rimraf ./lib && rollup -c --forceExit","watch":"rimraf ./lib && rollup -c -w","typecheck":"tsc --noEmit"},"files":["lib"],"dependencies":{"@react-pdf/primitives":"^4.4.0"},"devDependencies":{"@vitejs/plugin-react":"^4.2.1","vitest":"^1.2.0"}},"isInternal":false,"tokens":275,"sizeBytes":805},{"name":"tsconfig.json","path":"packages/svg/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/svg/tsconfig.json","title":"Svg Skill","category":"anthropic-skill","format":"json","content":"{\n  \"$schema\": \"https://json-schema.store.org/tsconfig\",\n  \"compilerOptions\": {\n    \"outDir\": \"lib\",\n    \"declaration\": true,\n    \"declarationDir\": \"lib/types\",\n    \"target\": \"ES2022\",\n    \"module\": \"ESNext\",\n    \"lib\": [\"ES2022\", \"DOM\"],\n    \"moduleResolution\": \"Node\",\n    \"esModuleInterop\": true,\n    \"allowSyntheticDefaultImports\": true,\n    \"strict\": true,\n    \"skipLibCheck\": true,\n    \"forceConsistentCasingInFileNames\": true,\n    \"types\": [\"vitest/globals\"],\n  },\n  \"include\": [\"src\", \"**/*.d.ts\"],\n}\n","isInternal":false,"tokens":150,"sizeBytes":509},{"name":"CHANGELOG.md","path":"packages/textkit/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/textkit/CHANGELOG.md","title":"Textkit Skill","category":"anthropic-skill","format":"markdown","content":"# @react-pdf/textkit\n\n## 7.1.0\n\n### Minor Changes\n\n- [#3268](https://github.com/diegomura/react-pdf/pull/3268) [`90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e`](https://github.com/diegomura/react-pdf/commit/90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - Hyphenation callbacks can now decide, per split point, whether a hyphen is added when a line breaks there. Return `{ string, hyphen: null }` parts instead of strings to break without a hyphen; strings and parts can be mixed. Plain string arrays keep working as before.\n\n  Chinese and Japanese text now breaks between ideographs by default, without hyphens. Breaks without a hyphen now cost the same as breaking at a space and are no longer blocked by `hyphenationPenalty`. Parts ending in `-` no longer get a second hyphen, and the built-in hyphenation can break after dashes in compound words.\n\n### Patch Changes\n\n- [#3577](https://github.com/diegomura/react-pdf/pull/3577) [`890aba0f7b5c272e80700f9fb89af2274c40ab6f`](https://github.com/diegomura/react-pdf/commit/890aba0f7b5c272e80700f9fb89af2274c40ab6f) Thanks [@Louayzouaoui1](https://github.com/Louayzouaoui1)! - fix: keep the base letterform of decomposed characters (e.g. Arabic letters shaped as base + dot mark) when a run is sliced or measured at their start\n\n- [#3454](https://github.com/diegomura/react-pdf/pull/3454) [`270f3bd214fe3da2e25e46414846e6ae268f5b71`](https://github.com/diegomura/react-pdf/commit/270f3bd214fe3da2e25e46414846e6ae268f5b71) Thanks [@to-na](https://github.com/to-na)! - fix(textkit): preserve variation selector font runs\n\n- Updated dependencies [[`90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e`](https://github.com/diegomura/react-pdf/commit/90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e), [`633a0b024cd349121a528a253a92c600b3b37016`](https://github.com/diegomura/react-pdf/commit/633a0b024cd349121a528a253a92c600b3b37016)]:\n  - @react-pdf/font@4.2.0\n\n## 7.0.2\n\n### Patch Changes\n\n- [#3637](https://github.com/diegomura/react-pdf/pull/3637) [`5dbd6d82686c8819c011a55960161fa27e4de47a`](https://github.com/diegomura/react-pdf/commit/5dbd6d82686c8819c011a55960161fa27e4de47a) Thanks [@diegomura](https://github.com/diegomura)! - Bump pdfkit to 0.21.0, fontkit to 3.0.0, png-js to 3.0.0 and unicode-properties to 2.0.2, picking up fixes for a PNG parser denial of service and several malformed font crashes. Thai and Lao SARA AM now decompose before shaping to match fontkit 3, which fixes the last glyph being dropped after it\n\n- [#3602](https://github.com/diegomura/react-pdf/pull/3602) [`ec92c81d74c4a24cc4f706e3cd49691252b93ef4`](https://github.com/diegomura/react-pdf/commit/ec92c81d74c4a24cc4f706e3cd49691252b93ef4) Thanks [@iliev-blnk](https://github.com/iliev-blnk)! - fix: declare the packages imported by published type declarations as dependencies (`@types/fontkit` in font and textkit, `@react-pdf/font` in textkit and layout), so they type-check with `skipLibCheck: false`\n\n- Updated dependencies [[`5dbd6d82686c8819c011a55960161fa27e4de47a`](https://github.com/diegomura/react-pdf/commit/5dbd6d82686c8819c011a55960161fa27e4de47a), [`ec92c81d74c4a24cc4f706e3cd49691252b93ef4`](https://github.com/diegomura/react-pdf/commit/ec92c81d74c4a24cc4f706e3cd49691252b93ef4), [`38b573aea445d9acb91bf64ea8b1753a9848ed0b`](https://github.com/diegomura/react-pdf/commit/38b573aea445d9acb91bf64ea8b1753a9848ed0b), [`c809374c7150f5bd16ad14c3d54148112c820a8a`](https://github.com/diegomura/react-pdf/commit/c809374c7150f5bd16ad14c3d54148112c820a8a)]:\n  - @react-pdf/font@4.1.3\n  - @react-pdf/hyphenate@0.1.1\n\n## 7.0.1\n\n### Patch Changes\n\n- [#3524](https://github.com/diegomura/react-pdf/pull/3524) [`df39d4cf2f18ee234b4f6c7674d94bdfc4742489`](https://github.com/diegomura/react-pdf/commit/df39d4cf2f18ee234b4f6c7674d94bdfc4742489) Thanks [@diegomura](https://github.com/diegomura)! - perf: merge run attributes lazily in flatten, only when a segment is emitted\n\n- [#3527](https://github.com/diegomura/react-pdf/pull/3527) [`6dc0901c26354dc5a38ed302ef76d371d74d8d61`](https://github.com/diegomura/react-pdf/commit/6dc0901c26354dc5a38ed302ef76d371d74d8d61) Thanks [@diegomura](https://github.com/diegomura)! - perf: drop the omit('font') preprocessing pass, skip attachment purging when no attachment is set, reduce allocations in the Knuth-Plass main loop, and cache standard font AFM glyph-name lookups\n\n- [#3523](https://github.com/diegomura/react-pdf/pull/3523) [`a291d4fb45b6260861868b973b24e9a49915f6a0`](https://github.com/diegomura/react-pdf/commit/a291d4fb45b6260861868b973b24e9a49915f6a0) Thanks [@diegomura](https://github.com/diegomura)! - perf: reduce allocation churn in text layout hot paths (~15% faster layout of text-heavy documents)\n\n## 7.0.0\n\n### Major Changes\n\n- [#3511](https://github.com/diegomura/react-pdf/pull/3511) [`d3c4667617c1b97c638a6e89e638879e902c9c52`](https://github.com/diegomura/react-pdf/commit/d3c4667617c1b97c638a6e89e638879e902c9c52) Thanks [@diegomura](https://github.com/diegomura)! - Support ellipse and polygon exclusion shapes for text wrapping, groundwork for CSS `shape-outside`. Breaking: the `Container.excludeRects` prop is renamed to `exclusions` and now accepts `ExclusionShape[]` (rect, ellipse, or polygon, each with an optional `extend` side)\n\n### Minor Changes\n\n- [#3440](https://github.com/diegomura/react-pdf/pull/3440) [`06dfada8630d00005752eec711219cf290ce76ea`](https://github.com/diegomura/react-pdf/commit/06dfada8630d00005752eec711219cf290ce76ea) Thanks [@manuelmeister](https://github.com/manuelmeister)! - Add support for fontFeatureSettings to customize ligatures, tabular number display, and other font features.\n\n### Patch Changes\n\n- [#3513](https://github.com/diegomura/react-pdf/pull/3513) [`533340e6ae0908732612d4e5350a69dcb70e76db`](https://github.com/diegomura/react-pdf/commit/533340e6ae0908732612d4e5350a69dcb70e76db) Thanks [@diegomura](https://github.com/diegomura)! - fix: line widths misaligned with line rects when exclusions are present, causing the first line after a float to break at the previous line's width\n\n## 6.4.2\n\n### Patch Changes\n\n- [#3495](https://github.com/diegomura/react-pdf/pull/3495) [`cb445c063adf87c2f250d11f7c36a71c7695bc61`](https://github.com/diegomura/react-pdf/commit/cb445c063adf87c2f250d11f7c36a71c7695bc61) Thanks [@diegomura](https://github.com/diegomura)! - Use @react-pdf/hyphenate for text layout, and skip whitespace when splitting words into syllables.\n\n## 6.4.1\n\n### Patch Changes\n\n- [#3489](https://github.com/diegomura/react-pdf/pull/3489) [`6f94a82ea4306b0fd9c7c161f9c44609be7f6f39`](https://github.com/diegomura/react-pdf/commit/6f94a82ea4306b0fd9c7c161f9c44609be7f6f39) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Improve Knuth-Plass line breaking performance for long paragraphs.\n\n## 6.4.0\n\n### Minor Changes\n\n- [#3423](https://github.com/diegomura/react-pdf/pull/3423) [`06c188bd`](https://github.com/diegomura/react-pdf/commit/06c188bd1365a85a9935597c5e4b6402584f2427) Thanks [@exoego](https://github.com/exoego)! - fix(textkit): treat surrogate pairs as single code points in font substitution\n\n### Patch Changes\n\n- [#3303](https://github.com/diegomura/react-pdf/pull/3303) [`aeaa7a76`](https://github.com/diegomura/react-pdf/commit/aeaa7a76b92e6d7b79617418e10e1ca784509cee) Thanks [@matangot](https://github.com/matangot)! - Preserve run attributes during bidi reordering\n\n- [#3420](https://github.com/diegomura/react-pdf/pull/3420) [`111503c2`](https://github.com/diegomura/react-pdf/commit/111503c244615c98d35c958351beef4c61a0244d) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Improve text line slicing performance for long paragraphs.\n\n## 6.3.0\n\n### Minor Changes\n\n- [#3369](https://github.com/diegomura/react-pdf/pull/3369) [`5689bc18`](https://github.com/diegomura/react-pdf/commit/5689bc1824c760d3cee2f31c8d983d78d3067d63) Thanks [@exoego](https://github.com/exoego)! - fix(textkit): advanceWidthBetween regression with glyphIndices\n\n### Patch Changes\n\n- [#3384](https://github.com/diegomura/react-pdf/pull/3384) [`143af597`](https://github.com/diegomura/react-pdf/commit/143af597ead7f59f695785a622b030749d2e8dae) Thanks [@diegomura](https://github.com/diegomura)! - Fix NFD decomposition breaking Latin diacritics rendering by only decomposing complex scripts (Bengali, Devanagari, etc.) that need it for glyph mapping\n\n## 6.2.0\n\n### Minor Changes\n\n- [#3358](https://github.com/diegomura/react-pdf/pull/3358) [`7b37bc8c`](https://github.com/diegomura/react-pdf/commit/7b37bc8c744d3805fd696f7d961d70cf47258dcf) Thanks [@diegomura](https://github.com/diegomura)! - feat(textkit): glyph indices resolution\n\n- [#3355](https://github.com/diegomura/react-pdf/pull/3355) [`b28b61cf`](https://github.com/diegomura/react-pdf/commit/b28b61cf2ce5b1f0ae5b78551cf987d06df8c6c0) Thanks [@diegomura](https://github.com/diegomura)! - feat(textkit): decompose unicode step\n\n### Patch Changes\n\n- [#3357](https://github.com/diegomura/react-pdf/pull/3357) [`f30cf001`](https://github.com/diegomura/react-pdf/commit/f30cf0013336d0f6ccfd7b103fee66a203ac6b07) Thanks [@diegomura](https://github.com/diegomura)! - fix(textkit): string indices resolution\n\n- [#3354](https://github.com/diegomura/react-pdf/pull/3354) [`7fa9c06e`](https://github.com/diegomura/react-pdf/commit/7fa9c06e65760272e0994d0a61dc4a53b081a816) Thanks [@diegomura](https://github.com/diegomura)! - refactor(textkit): rename glyphIndices to stringIndices\n\n## 6.1.1\n\n### Patch Changes\n\n- [#3273](https://github.com/diegomura/react-pdf/pull/3273) [`16cf5bd7`](https://github.com/diegomura/react-pdf/commit/16cf5bd7006ee1f64d37d3b9ee72e576ee03e343) Thanks [@diegomura](https://github.com/diegomura)! - feat(textkit): various improvements\n\n- [#3240](https://github.com/diegomura/react-pdf/pull/3240) [`2ca8ae83`](https://github.com/diegomura/react-pdf/commit/2ca8ae83fcc113b44b28b5397099bfda9d142212) Thanks [@Pasquale007](https://github.com/Pasquale007)! - fix: cannot read units for Em\n\n- Updated dependencies [[`c40bfdec`](https://github.com/diegomura/react-pdf/commit/c40bfdec3485b00844d9fffeab06d173e2d14dcf), [`5b6a6a4a`](https://github.com/diegomura/react-pdf/commit/5b6a6a4a67fc5156b5d937e4a59a4ab9e5150785)]:\n  - @react-pdf/fns@3.1.3\n\n## 6.1.0\n\n### Minor Changes\n\n- [#3188](https://github.com/diegomura/react-pdf/pull/3188) [`f034491b`](https://github.com/diegomura/react-pdf/commit/f034491b1f77ce6f18a5db88e70b10b9c502ca35) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - Fix and rework the hyphenation algorithm, and allow custom word hyphenation algorithms to specify whether a hyphen should be inserted in case the word is wrapped.\n\n  **Caution**: If you have been using a custom hyphenation callback - which hasn't been working properly since at least version 2.0.21 - then you will need to change your implementation to leave a soft hyphen character (`'\\u00AD'`) at the end of syllables where you want react-pdf to insert a hyphen when wrapping lines. Syllables without a final soft hyphen character will still be able to break, but will not produce a hyphen character at the end of the line.\n\n  This allows you to break correctly on normal hyphens or other special characters in your text. For example, to use the default english-language syllable breaking built into react-pdf, but also break after hyphens naturally occurring in your text (such as is often present in hyperlinks), you could use the following hyphenation callback:\n\n  ```js\n  import { Font } from '@react-pdf/renderer';\n\n  Font.registerHyphenationCallback((word, originalHyphenationCallback) => {\n    return originalHyphenationCallback(word).flatMap((w) => w.split(/(?<=-)/));\n  });\n  ```\n\n  (`flatMap` requires at least ES2019)\n\n## 6.0.0\n\n### Major Changes\n\n- [#3104](https://github.com/diegomura/react-pdf/pull/3104) [`ddfa3675`](https://github.com/diegomura/react-pdf/commit/ddfa367587618b313b4b0b3b57a9a7631e8e7604) Thanks [@diegomura](https://github.com/diegomura)! - feat(textkit): expect font array\n\n### Minor Changes\n\n- [#3102](https://github.com/diegomura/react-pdf/pull/3102) [`24690f52`](https://github.com/diegomura/react-pdf/commit/24690f5238e4eacf28351cf9996856a7d196d29e) Thanks [@diegomura](https://github.com/diegomura)! - feat: handle standard fonts in fonts package\n\n- [#3103](https://github.com/diegomura/react-pdf/pull/3103) [`b06d3a0f`](https://github.com/diegomura/react-pdf/commit/b06d3a0f64593ac18097efd061334f1e5bd70095) Thanks [@diegomura](https://github.com/diegomura)! - refactor: unify font substitution engines\n\n### Patch Changes\n\n- [`c7b74963`](https://github.com/diegomura/react-pdf/commit/c7b749632f07db7808d58d99357dc830d4895da8) Thanks [@diegomura](https://github.com/diegomura)! - fix: resolve attachments\n\n- [#3098](https://github.com/diegomura/react-pdf/pull/3098) [`bfb51ec0`](https://github.com/diegomura/react-pdf/commit/bfb51ec09b851c52659ce16fed1286173e9516a9) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert render package to TS\n\n- [#3092](https://github.com/diegomura/react-pdf/pull/3092) [`481b536f`](https://github.com/diegomura/react-pdf/commit/481b536f4ad145fb227829399b85a35838a506f8) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert layout package to TS\n\n- Updated dependencies [[`481b536f`](https://github.com/diegomura/react-pdf/commit/481b536f4ad145fb227829399b85a35838a506f8)]:\n  - @react-pdf/fns@3.1.2\n\n## 5.0.3\n\n### Patch Changes\n\n- [#3077](https://github.com/diegomura/react-pdf/pull/3077) [`442ce355`](https://github.com/diegomura/react-pdf/commit/442ce35534f916b9146a35fd03870387ed488d92) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert textkit package to TS\n\n- Updated dependencies [[`24fe4bf8`](https://github.com/diegomura/react-pdf/commit/24fe4bf894fff055121926488b30d0bf212a9c45), [`442ce355`](https://github.com/diegomura/react-pdf/commit/442ce35534f916b9146a35fd03870387ed488d92), [`3007d34a`](https://github.com/diegomura/react-pdf/commit/3007d34ad3e10bf32ada3631938f5bb08e1c549f)]:\n  - @react-pdf/fns@3.1.1\n\n## 5.0.2\n\n### Patch Changes\n\n- Updated dependencies [[`d36ace66`](https://github.com/diegomura/react-pdf/commit/d36ace66c77d57d845894e89772be7ae0cdd25ee)]:\n  - @react-pdf/fns@3.1.0\n\n## 5.0.1\n\n### Patch Changes\n\n- [#2975](https://github.com/diegomura/react-pdf/pull/2975) [`00bfdc1e`](https://github.com/diegomura/react-pdf/commit/00bfdc1e5a6c673d2de7b3ab09d5020e932562fb) Thanks [@daslaf](https://github.com/daslaf)! - fix issue with indentation shrinking all lines\n\n## 5.0.0\n\n### Major Changes\n\n- [#2871](https://github.com/diegomura/react-pdf/pull/2871) [`70f29a04`](https://github.com/diegomura/react-pdf/commit/70f29a0407b1d56e9a7932b25c0d69132e9b4119) Thanks [@diegomura](https://github.com/diegomura)! - feat!: drop cjs support\n\n### Patch Changes\n\n- Updated dependencies [[`70f29a04`](https://github.com/diegomura/react-pdf/commit/70f29a0407b1d56e9a7932b25c0d69132e9b4119)]:\n  - @react-pdf/fns@3.0.0\n\n## 4.4.1\n\n### Patch Changes\n\n- [#2605](https://github.com/diegomura/react-pdf/pull/2605) [`f7505ed`](https://github.com/diegomura/react-pdf/commit/f7505ed453a1a0ae960d0e5e4a1d155803861b71) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - fix: fix CJS compatibility\n\n- Updated dependencies [[`f7505ed`](https://github.com/diegomura/react-pdf/commit/f7505ed453a1a0ae960d0e5e4a1d155803861b71)]:\n  - @react-pdf/fns@2.2.1\n\n## 4.4.0\n\n### Minor Changes\n\n- [#2600](https://github.com/diegomura/react-pdf/pull/2600) [`8350154`](https://github.com/diegomura/react-pdf/commit/83501541e3a050021e18e112bb472b2dabc142a7) Thanks [@diegomura](https://github.com/diegomura)! - feat: bidi support\n\n### Patch Changes\n\n- Updated dependencies [[`8350154`](https://github.com/diegomura/react-pdf/commit/83501541e3a050021e18e112bb472b2dabc142a7)]:\n  - @react-pdf/fns@2.2.0\n\n## 4.3.0\n\n### Minor Changes\n\n- [#2409](https://github.com/diegomura/react-pdf/pull/2409) [`b6a14fd`](https://github.com/diegomura/react-pdf/commit/b6a14fd160fab26a49f798e5294b0e361e67fe37) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Add support for native ESM\n\n### Patch Changes\n\n- Updated dependencies [[`b6a14fd`](https://github.com/diegomura/react-pdf/commit/b6a14fd160fab26a49f798e5294b0e361e67fe37)]:\n  - @react-pdf/fns@2.1.0\n\n## 4.2.1\n\n### Patch Changes\n\n- [#2479](https://github.com/diegomura/react-pdf/pull/2479) [`45b2bd3`](https://github.com/diegomura/react-pdf/commit/45b2bd37037c605727ad5783f2f2a438dc19cac4) Thanks [@diegomura](https://github.com/diegomura)! - fix linting\n\n## 4.2.0\n\n### Minor Changes\n\n- [#2214](https://github.com/diegomura/react-pdf/pull/2214) [`2db67a3`](https://github.com/diegomura/react-pdf/commit/2db67a38b9be98b7816a2b5aa4733446b95e3724) Thanks [@KODIKAS-NL](https://github.com/KODIKAS-NL)! - added base support for verticalAlign \"super\" and \"sub\"\n\n### Patch Changes\n\n- Updated dependencies [[`eff1ff0`](https://github.com/diegomura/react-pdf/commit/eff1ff0fefcd710994e4654904ef55843af76a17)]:\n  - @react-pdf/fns@2.0.1\n\n## 4.1.1\n\n### Patch Changes\n\n- [#2205](https://github.com/diegomura/react-pdf/pull/2205) [`9a5e0be`](https://github.com/diegomura/react-pdf/commit/9a5e0befb89756db07ce053192a136df9d4ba905) Thanks [@jeetiss](https://github.com/jeetiss)! - update babel\n\n## 4.1.0\n\n### Minor Changes\n\n- [#1891](https://github.com/diegomura/react-pdf/pull/1891) [`a5a933c`](https://github.com/diegomura/react-pdf/commit/a5a933c9733e4c77338ef76a2b3545b84a646a81) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - feat: compatibility with modern web bundlers and browsers\n\n### Patch Changes\n\n- [#1917](https://github.com/diegomura/react-pdf/pull/1917) [`4bb97c3`](https://github.com/diegomura/react-pdf/commit/4bb97c3b92e82d7d7be2698c770f42560c6fcab6) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - fix: console error when text overflows the last available rect\n\n- Updated dependencies [[`a5a933c`](https://github.com/diegomura/react-pdf/commit/a5a933c9733e4c77338ef76a2b3545b84a646a81)]:\n  - @react-pdf/fns@2.0.0\n\n## 4.0.0\n\n### Major Changes\n\n- [#1906](https://github.com/diegomura/react-pdf/pull/1906) [`884695b`](https://github.com/diegomura/react-pdf/commit/884695b44feb974f155c83e0714e8e939b4f641b) Thanks [@diegomura](https://github.com/diegomura)! - feat: build textkit with rollup & define public api\n\n### Minor Changes\n\n- [#1895](https://github.com/diegomura/react-pdf/pull/1895) [`37a9a74`](https://github.com/diegomura/react-pdf/commit/37a9a747f7677fa05e3ddf5669c0379aa65c1e39) Thanks [@diegomura](https://github.com/diegomura)! - feat: exclude rects on textkit layout container\n\n### Patch Changes\n\n- [#1907](https://github.com/diegomura/react-pdf/pull/1907) [`0fcc594`](https://github.com/diegomura/react-pdf/commit/0fcc594310d5af30ca1e752b3efc7a047e813dcb) Thanks [@diegomura](https://github.com/diegomura)! - chore: use unicode-properties mainline repo\n\n## 3.0.0\n\n### Major Changes\n\n- [#1830](https://github.com/diegomura/react-pdf/pull/1830) [`9a2b935`](https://github.com/diegomura/react-pdf/commit/9a2b935cfe173f80425ed87d9f474da271c050d2) Thanks [@diegomura](https://github.com/diegomura)! - refactor: remove ramda from textkit package\n\n### Patch Changes\n\n- [#1838](https://github.com/diegomura/react-pdf/pull/1838) [`9bdb5c9`](https://github.com/diegomura/react-pdf/commit/9bdb5c934a822340754cd4c892d399f91f6218de) Thanks [@diegomura](https://github.com/diegomura)! - feat: create fns package\n\n- Updated dependencies [[`434df31`](https://github.com/diegomura/react-pdf/commit/434df317a92ae5b51ee7b23a9f6500de0b6aa4aa), [`9bdb5c9`](https://github.com/diegomura/react-pdf/commit/9bdb5c934a822340754cd4c892d399f91f6218de)]:\n  - @react-pdf/unicode-properties@2.6.0\n  - @react-pdf/fns@1.0.0\n\n## 2.1.0\n\n### Minor Changes\n\n- [#1654](https://github.com/diegomura/react-pdf/pull/1654) [`ccf3bf2`](https://github.com/diegomura/react-pdf/commit/ccf3bf22867a9bd49668cdd3543ec32492a40e4b) Thanks [@jeetiss](https://github.com/jeetiss)! - added `@babel/runtime` to dependencies\n\n### Patch Changes\n\n- [#1581](https://github.com/diegomura/react-pdf/pull/1581) [`04449ab`](https://github.com/diegomura/react-pdf/commit/04449ab352db0cca2155024dd3e8c690e42193ca) Thanks [@jeetiss](https://github.com/jeetiss)! - added changelog with changesets\n\n* [#1567](https://github.com/diegomura/react-pdf/pull/1567) [`5d2d688`](https://github.com/diegomura/react-pdf/commit/5d2d688e18c830bb96c6e08446437d29f9f9c65f) Thanks [@hayoung0Lee](https://github.com/hayoung0Lee)! - fixed line breaks for the case when the word in a text is bigger than the given width\n\n* Updated dependencies [[`4c5d527`](https://github.com/diegomura/react-pdf/commit/4c5d52721d29d843f1d09c3fd74370832429f70e), [`04449ab`](https://github.com/diegomura/react-pdf/commit/04449ab352db0cca2155024dd3e8c690e42193ca)]:\n  - @react-pdf/unicode-properties@2.5.0\n","isInternal":false,"tokens":7242,"sizeBytes":20762},{"name":"package.json","path":"packages/textkit/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/textkit/package.json","title":"@react-pdf/textkit","category":"anthropic-skill","format":"json","content":"{\n  \"name\": \"@react-pdf/textkit\",\n  \"license\": \"MIT\",\n  \"version\": \"7.1.0\",\n  \"description\": \"An advanced text layout framework\",\n  \"type\": \"module\",\n  \"main\": \"./lib/textkit.js\",\n  \"types\": \"./lib/index.d.ts\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/diegomura/react-pdf.git\",\n    \"directory\": \"packages/textkit\"\n  },\n  \"contributors\": [\n    \"Devon Govett <devongovett@gmail.com>\",\n    \"Diego Muracciole <diegomuracciole@gmail.com>\"\n  ],\n  \"scripts\": {\n    \"test\": \"vitest\",\n    \"build\": \"rimraf ./lib && rollup -c --forceExit\",\n    \"watch\": \"rimraf ./lib && rollup -c -w\",\n    \"typecheck\": \"tsc --noEmit\"\n  },\n  \"files\": [\n    \"lib\"\n  ],\n  \"dependencies\": {\n    \"@react-pdf/fns\": \"3.1.3\",\n    \"@react-pdf/font\": \"^4.2.0\",\n    \"@react-pdf/hyphenate\": \"^0.1.1\",\n    \"@types/fontkit\": \"^2.0.7\",\n    \"bidi-js\": \"^1.0.2\",\n    \"unicode-properties\": \"^2.0.2\"\n  }\n}\n","frontmatter":{"name":"@react-pdf/textkit","license":"MIT","version":"7.1.0","description":"An advanced text layout framework","type":"module","main":"./lib/textkit.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"https://github.com/diegomura/react-pdf.git","directory":"packages/textkit"},"contributors":["Devon Govett <devongovett@gmail.com>","Diego Muracciole <diegomuracciole@gmail.com>"],"scripts":{"test":"vitest","build":"rimraf ./lib && rollup -c --forceExit","watch":"rimraf ./lib && rollup -c -w","typecheck":"tsc --noEmit"},"files":["lib"],"dependencies":{"@react-pdf/fns":"3.1.3","@react-pdf/font":"^4.2.0","@react-pdf/hyphenate":"^0.1.1","@types/fontkit":"^2.0.7","bidi-js":"^1.0.2","unicode-properties":"^2.0.2"}},"isInternal":false,"tokens":309,"sizeBytes":887},{"name":"tsconfig.json","path":"packages/textkit/tsconfig.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/textkit/tsconfig.json","title":"Textkit Skill","category":"anthropic-skill","format":"json","content":"{\n  \"$schema\": \"https://json.schemastore.org/tsconfig\",\n  \"compilerOptions\": {\n    \"outDir\": \"lib\",\n    \"declaration\": true,\n    \"declarationDir\": \"lib/types\",\n    \"target\": \"ES2022\",\n    \"module\": \"ESNext\",\n    \"lib\": [\"ES2022\", \"DOM\"],\n    \"moduleResolution\": \"Node\",\n    \"esModuleInterop\": true,\n    \"allowSyntheticDefaultImports\": true,\n    \"strict\": false,\n    \"skipLibCheck\": true,\n    \"forceConsistentCasingInFileNames\": true,\n    \"types\": [\"vitest/globals\"],\n  },\n  \"include\": [\"src\"],\n}\n","isInternal":false,"tokens":147,"sizeBytes":496},{"name":"CHANGELOG.md","path":"packages/types/CHANGELOG.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/types/CHANGELOG.md","title":"Types Skill","category":"anthropic-skill","format":"markdown","content":"# @react-pdf/types\n\n## 2.15.0\n\n### Minor Changes\n\n- [#3268](https://github.com/diegomura/react-pdf/pull/3268) [`90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e`](https://github.com/diegomura/react-pdf/commit/90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - Hyphenation callbacks can now decide, per split point, whether a hyphen is added when a line breaks there. Return `{ string, hyphen: null }` parts instead of strings to break without a hyphen; strings and parts can be mixed. Plain string arrays keep working as before.\n\n  Chinese and Japanese text now breaks between ideographs by default, without hyphens. Breaks without a hyphen now cost the same as breaking at a space and are no longer blocked by `hyphenationPenalty`. Parts ending in `-` no longer get a second hyphen, and the built-in hyphenation can break after dashes in compound words.\n\n### Patch Changes\n\n- Updated dependencies [[`90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e`](https://github.com/diegomura/react-pdf/commit/90340c45026f1d9c6eeb9666d139b6dbe5d3fa4e), [`633a0b024cd349121a528a253a92c600b3b37016`](https://github.com/diegomura/react-pdf/commit/633a0b024cd349121a528a253a92c600b3b37016)]:\n  - @react-pdf/font@4.2.0\n  - @react-pdf/stylesheet@6.3.4\n\n## 2.14.1\n\n### Patch Changes\n\n- Updated dependencies [[`5dbd6d82686c8819c011a55960161fa27e4de47a`](https://github.com/diegomura/react-pdf/commit/5dbd6d82686c8819c011a55960161fa27e4de47a), [`ec92c81d74c4a24cc4f706e3cd49691252b93ef4`](https://github.com/diegomura/react-pdf/commit/ec92c81d74c4a24cc4f706e3cd49691252b93ef4), [`38b573aea445d9acb91bf64ea8b1753a9848ed0b`](https://github.com/diegomura/react-pdf/commit/38b573aea445d9acb91bf64ea8b1753a9848ed0b), [`afb755da20838f931d826a91b1b41d48518c0439`](https://github.com/diegomura/react-pdf/commit/afb755da20838f931d826a91b1b41d48518c0439), [`f26e3187e2f4daab14f02d71e41e1eb8a2d17bc3`](https://github.com/diegomura/react-pdf/commit/f26e3187e2f4daab14f02d71e41e1eb8a2d17bc3)]:\n  - @react-pdf/font@4.1.3\n  - @react-pdf/stylesheet@6.3.3\n\n## 2.14.0\n\n### Minor Changes\n\n- [#3529](https://github.com/diegomura/react-pdf/pull/3529) [`10d8365e2eb8fc3987cf94d4d61a7559f4ba1dfb`](https://github.com/diegomura/react-pdf/commit/10d8365e2eb8fc3987cf94d4d61a7559f4ba1dfb) Thanks [@diegomura](https://github.com/diegomura)! - feat: add `conformance` Document prop for PDF/A output\n\n  Produces PDF/A-1/2/3 (b-level) output with XMP conformance metadata and an sRGB OutputIntent. `pdfVersion` defaults to what the chosen level requires. Fonts must be registered (not the built-in standard 14) to fully validate.\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.1.2\n  - @react-pdf/stylesheet@6.3.2\n\n## 2.13.1\n\n### Patch Changes\n\n- Updated dependencies [[`6dc0901c26354dc5a38ed302ef76d371d74d8d61`](https://github.com/diegomura/react-pdf/commit/6dc0901c26354dc5a38ed302ef76d371d74d8d61)]:\n  - @react-pdf/font@4.1.1\n  - @react-pdf/stylesheet@6.3.1\n\n## 2.13.0\n\n### Minor Changes\n\n- [#3440](https://github.com/diegomura/react-pdf/pull/3440) [`06dfada8630d00005752eec711219cf290ce76ea`](https://github.com/diegomura/react-pdf/commit/06dfada8630d00005752eec711219cf290ce76ea) Thanks [@manuelmeister](https://github.com/manuelmeister)! - Add support for fontFeatureSettings to customize ligatures, tabular number display, and other font features.\n\n### Patch Changes\n\n- Updated dependencies [[`06dfada8630d00005752eec711219cf290ce76ea`](https://github.com/diegomura/react-pdf/commit/06dfada8630d00005752eec711219cf290ce76ea), [`ab80c0a2e1200ac6d4fd63e911e9c676d6e22f09`](https://github.com/diegomura/react-pdf/commit/ab80c0a2e1200ac6d4fd63e911e9c676d6e22f09), [`37a7a9fac92d670dd13fd9e88f9a4d9c21efdefd`](https://github.com/diegomura/react-pdf/commit/37a7a9fac92d670dd13fd9e88f9a4d9c21efdefd), [`a56871451b3161f96c53e5ced866ac1b0a288ff1`](https://github.com/diegomura/react-pdf/commit/a56871451b3161f96c53e5ced866ac1b0a288ff1)]:\n  - @react-pdf/stylesheet@6.3.0\n  - @react-pdf/font@4.1.0\n\n## 2.12.0\n\n### Minor Changes\n\n- [#3505](https://github.com/diegomura/react-pdf/pull/3505) [`ae9a9983e8bd8b63c3873000531a8307e22c7bae`](https://github.com/diegomura/react-pdf/commit/ae9a9983e8bd8b63c3873000531a8307e22c7bae) Thanks [@diegomura](https://github.com/diegomura)! - Experimental pagination engine, opt-in per page\n\n  A new pagination engine ships alongside the current one: content is\n  measured once and packed into pages instead of relayouting on every split,\n  making long documents paginate orders of magnitude faster (a 300-page\n  document drops from ~40s to ~200ms).\n\n  Opt in with `<Page experimentalPagination>` — any page opting in switches\n  the whole document. The default behavior is unchanged.\n\n  Under the new engine:\n\n  - `<Page layout={Layout}>` renders per-page chrome (headers, footers,\n    sidebars) around the content. The layout component receives\n    `{ pageNumber, totalPages, subPageNumber, subPageTotalPages }` and the\n    page content as `children`, and runs once per output page. Using `layout`\n    implies `experimentalPagination`.\n  - One `fixed` semantic: in-flow fixed elements repeat at the top of every\n    page they span; footers are the layout's job.\n  - `minPresenceAhead` is supported, with one refinement: a trailing element\n    with nothing after it stays in place instead of moving to its own page.\n\n  The current engine remains the default until the next major, when the new\n  engine takes over.\n\n### Patch Changes\n\n- Updated dependencies [[`d38d17759b3856ab64c69101bd359aace4b532fc`](https://github.com/diegomura/react-pdf/commit/d38d17759b3856ab64c69101bd359aace4b532fc), [`ae9a9983e8bd8b63c3873000531a8307e22c7bae`](https://github.com/diegomura/react-pdf/commit/ae9a9983e8bd8b63c3873000531a8307e22c7bae)]:\n  - @react-pdf/stylesheet@6.2.4\n  - @react-pdf/primitives@4.4.0\n  - @react-pdf/font@4.0.11\n\n## 2.11.3\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.0.10\n  - @react-pdf/stylesheet@6.2.3\n\n## 2.11.2\n\n### Patch Changes\n\n- Updated dependencies [[`4c4e7a1a`](https://github.com/diegomura/react-pdf/commit/4c4e7a1a49ed8fa20e33d2750517265f4cad8c75)]:\n  - @react-pdf/font@4.0.9\n  - @react-pdf/stylesheet@6.2.2\n\n## 2.11.1\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.0.8\n  - @react-pdf/stylesheet@6.2.1\n\n## 2.11.0\n\n### Minor Changes\n\n- [#3366](https://github.com/diegomura/react-pdf/pull/3366) [`4444f355`](https://github.com/diegomura/react-pdf/commit/4444f3555e3381397b33297e3f121a81db06a370) Thanks [@diegomura](https://github.com/diegomura)! - feat: svg markers support\n\n### Patch Changes\n\n- Updated dependencies [[`b01f5b72`](https://github.com/diegomura/react-pdf/commit/b01f5b72243661606238954922e74ec394ed23bb), [`4444f355`](https://github.com/diegomura/react-pdf/commit/4444f3555e3381397b33297e3f121a81db06a370)]:\n  - @react-pdf/stylesheet@6.2.0\n  - @react-pdf/primitives@4.3.0\n  - @react-pdf/font@4.0.7\n\n## 2.10.0\n\n### Minor Changes\n\n- [#3344](https://github.com/diegomura/react-pdf/pull/3344) [`a70013e7`](https://github.com/diegomura/react-pdf/commit/a70013e7457a28bd4fbda53a5cecfc219da5e1ea) Thanks [@diegomura](https://github.com/diegomura)! - feat: password protection support\n\n- [#3336](https://github.com/diegomura/react-pdf/pull/3336) [`342938a4`](https://github.com/diegomura/react-pdf/commit/342938a45ede4e57f969a2861f11c64e2ca48575) Thanks [@diegomura](https://github.com/diegomura)! - feat: add link hitslop\n\n- [#3339](https://github.com/diegomura/react-pdf/pull/3339) [`6109b424`](https://github.com/diegomura/react-pdf/commit/6109b424a42f7e83510539592afcab1824560715) Thanks [@diegomura](https://github.com/diegomura)! - feat: responsive images\n\n### Patch Changes\n\n- Updated dependencies [[`2e91eb64`](https://github.com/diegomura/react-pdf/commit/2e91eb649318ee66ec8cab7386f1fdbae8eb8cef), [`aa3ccf4c`](https://github.com/diegomura/react-pdf/commit/aa3ccf4c2abadb528fd6073e2dceb2a03db27c7d)]:\n  - @react-pdf/font@4.0.6\n  - @react-pdf/primitives@4.2.0\n  - @react-pdf/stylesheet@6.1.4\n\n## 2.9.3\n\n### Patch Changes\n\n- Updated dependencies [[`c4a9e4c0`](https://github.com/diegomura/react-pdf/commit/c4a9e4c0b7f1eb2aef885dffb4505f4204f7ce55), [`01e1fbbe`](https://github.com/diegomura/react-pdf/commit/01e1fbbe5a214744b7e4607e65fa45b3554390b2), [`e27cdb48`](https://github.com/diegomura/react-pdf/commit/e27cdb4843c790d0cd3a0fdc2cc3680cee3270c3)]:\n  - @react-pdf/stylesheet@6.1.3\n  - @react-pdf/font@4.0.5\n\n## 2.9.2\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.0.4\n  - @react-pdf/stylesheet@6.1.2\n\n## 2.9.1\n\n### Patch Changes\n\n- Updated dependencies []:\n  - @react-pdf/font@4.0.3\n  - @react-pdf/stylesheet@6.1.1\n\n## 2.9.0\n\n### Minor Changes\n\n- [#3112](https://github.com/diegomura/react-pdf/pull/3112) [`f89f75c1`](https://github.com/diegomura/react-pdf/commit/f89f75c1f132ba19b54847c3ac23efec675f8d0a) Thanks [@diegomura](https://github.com/diegomura)! - feat: add xLinkHref, gradientTransform and gradientUnits support\n\n### Patch Changes\n\n- Updated dependencies [[`f89f75c1`](https://github.com/diegomura/react-pdf/commit/f89f75c1f132ba19b54847c3ac23efec675f8d0a)]:\n  - @react-pdf/stylesheet@6.1.0\n  - @react-pdf/font@4.0.2\n\n## 2.8.2\n\n### Patch Changes\n\n- Updated dependencies [[`e257f7ee`](https://github.com/diegomura/react-pdf/commit/e257f7ee18ff09f4895cd16c0b21b824678384c8)]:\n  - @react-pdf/font@4.0.1\n  - @react-pdf/stylesheet@6.0.2\n\n## 2.8.1\n\n### Patch Changes\n\n- [#3087](https://github.com/diegomura/react-pdf/pull/3087) [`7cd66e4f`](https://github.com/diegomura/react-pdf/commit/7cd66e4fc37cd1393adc6250a919fe2629812082) Thanks [@diegomura](https://github.com/diegomura)! - fix: font exported types\n\n- Updated dependencies [[`2a4f1bfc`](https://github.com/diegomura/react-pdf/commit/2a4f1bfca6b84e6c6bbde683447ce8079a1febbe), [`7cd66e4f`](https://github.com/diegomura/react-pdf/commit/7cd66e4fc37cd1393adc6250a919fe2629812082), [`bfb51ec0`](https://github.com/diegomura/react-pdf/commit/bfb51ec09b851c52659ce16fed1286173e9516a9), [`a2de2685`](https://github.com/diegomura/react-pdf/commit/a2de2685b25c797f266775c2e35a6535090393b7), [`24690f52`](https://github.com/diegomura/react-pdf/commit/24690f5238e4eacf28351cf9996856a7d196d29e), [`481b536f`](https://github.com/diegomura/react-pdf/commit/481b536f4ad145fb227829399b85a35838a506f8)]:\n  - @react-pdf/stylesheet@6.0.1\n  - @react-pdf/font@4.0.0\n\n## 2.8.0\n\n### Minor Changes\n\n- [#3082](https://github.com/diegomura/react-pdf/pull/3082) [`24fe4bf8`](https://github.com/diegomura/react-pdf/commit/24fe4bf894fff055121926488b30d0bf212a9c45) Thanks [@diegomura](https://github.com/diegomura)! - feat: rework and type stylesheet package\n\n- [#3079](https://github.com/diegomura/react-pdf/pull/3079) [`700535c5`](https://github.com/diegomura/react-pdf/commit/700535c57ff1b105d923be70f4fc4bfdf4479f91) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert font package to TS\n\n### Patch Changes\n\n- [#3067](https://github.com/diegomura/react-pdf/pull/3067) [`96c2464d`](https://github.com/diegomura/react-pdf/commit/96c2464dfaa7294e0d79b7ed64743bfd7b1a8c72) Thanks [@diegomura](https://github.com/diegomura)! - refactor: convert primitives package to TS\n\n- Updated dependencies [[`96c2464d`](https://github.com/diegomura/react-pdf/commit/96c2464dfaa7294e0d79b7ed64743bfd7b1a8c72), [`24fe4bf8`](https://github.com/diegomura/react-pdf/commit/24fe4bf894fff055121926488b30d0bf212a9c45), [`700535c5`](https://github.com/diegomura/react-pdf/commit/700535c57ff1b105d923be70f4fc4bfdf4479f91)]:\n  - @react-pdf/primitives@4.1.1\n  - @react-pdf/stylesheet@6.0.0\n  - @react-pdf/font@3.1.0\n\n## 2.7.1\n\n### Patch Changes\n\n- [#3019](https://github.com/diegomura/react-pdf/pull/3019) [`01944231`](https://github.com/diegomura/react-pdf/commit/01944231a342d502b832aeecb4c313020b8360c8) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Fixed HyphenationCallback type (confusing argument name, removed extra argument)\n\n## 2.7.0\n\n### Minor Changes\n\n- [#2875](https://github.com/diegomura/react-pdf/pull/2875) [`46c3047d`](https://github.com/diegomura/react-pdf/commit/46c3047de56ae82f062b72c4910a4e6096eee99f) Thanks [@diegomura](https://github.com/diegomura)! - feat: add position: static support\n\n- [#2874](https://github.com/diegomura/react-pdf/pull/2874) [`55973278`](https://github.com/diegomura/react-pdf/commit/55973278ac8bc8f703b63844f57d6f155ae8d86f) Thanks [@diegomura](https://github.com/diegomura)! - feat: add align-content: space-evenly support\n\n## 2.6.0\n\n### Minor Changes\n\n- [#2771](https://github.com/diegomura/react-pdf/pull/2771) [`8e6a832`](https://github.com/diegomura/react-pdf/commit/8e6a8320f86354aff950c296a96bc41a33e9dab2) Thanks [@nikischin](https://github.com/nikischin)! - fix: fix dpi\n\n### Patch Changes\n\n- [#2727](https://github.com/diegomura/react-pdf/pull/2727) [`4bafab8`](https://github.com/diegomura/react-pdf/commit/4bafab8455c9003759f48bad20a720baf4ed189b) Thanks [@hendrikmolder](https://github.com/hendrikmolder)! - accept string array for `fontFamily` in stylesheets\n\n## 2.5.0\n\n### Minor Changes\n\n- [#2723](https://github.com/diegomura/react-pdf/pull/2723) [`22a34a9`](https://github.com/diegomura/react-pdf/commit/22a34a91b16a201cd8288e0dbea9368b12ca73f5) Thanks [@hendrikmolder](https://github.com/hendrikmolder)! - Allow passing a string array to fontFamily\n\n## 2.4.1\n\n### Patch Changes\n\n- [#2573](https://github.com/diegomura/react-pdf/pull/2573) [`9af07fe`](https://github.com/diegomura/react-pdf/commit/9af07feb59c2fe9c1d8960ac95f6fa6e03d16235) Thanks [@davbrito](https://github.com/davbrito)! - feat: add support for resolving blob images\n\n## 2.4.0\n\n### Minor Changes\n\n- [#2539](https://github.com/diegomura/react-pdf/pull/2539) [`fb5273d`](https://github.com/diegomura/react-pdf/commit/fb5273d8d80d919f7b9c214e02d67b79ce23fa19) Thanks [@diegomura](https://github.com/diegomura)! - feat: add creation and modification dates\n\n## 2.3.6\n\n### Patch Changes\n\n- [#2525](https://github.com/diegomura/react-pdf/pull/2525) [`9e5842b`](https://github.com/diegomura/react-pdf/commit/9e5842bbecca6e249af2c5fc50078bb7ddd5420f) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Fix rowGap and columnGap style properties not accepting strings\n\n## 2.3.5\n\n### Patch Changes\n\n- [#2453](https://github.com/diegomura/react-pdf/pull/2453) [`e5c8fde`](https://github.com/diegomura/react-pdf/commit/e5c8fde9379a9a85ecac7e3d6273953e39d65f8d) Thanks [@chuckspencer-aiq](https://github.com/chuckspencer-aiq)! - fix: add clipPath to typing for SVGPresentationAttributes\n\n* [#2467](https://github.com/diegomura/react-pdf/pull/2467) [`1f987cc`](https://github.com/diegomura/react-pdf/commit/1f987cc27c3fd1ef1b6748ebe58a289a78b538d2) Thanks [@JaeSeoKim](https://github.com/JaeSeoKim)! - feat: add withVariationSelectors option to registerEmojiSource [#2466](https://github.com/diegomura/react-pdf/issues/2466)\n\n- [#2416](https://github.com/diegomura/react-pdf/pull/2416) [`4c40b14`](https://github.com/diegomura/react-pdf/commit/4c40b149cfed42f2513e1dd330a92ccc3363c04f) Thanks [@TheMikeyRoss](https://github.com/TheMikeyRoss)! - Updated svg.d.ts to include strokeLinejoin\n\n## 2.3.4\n\n### Patch Changes\n\n- [#2130](https://github.com/diegomura/react-pdf/pull/2130) [`4a55c1b`](https://github.com/diegomura/react-pdf/commit/4a55c1b2ed19e460ccae6e749ed94c16729a23c4) Thanks [@PoornakumarRasiraju](https://github.com/PoornakumarRasiraju)! - fix: allow credentials option in Image\n\n## 2.3.3\n\n### Patch Changes\n\n- [#2276](https://github.com/diegomura/react-pdf/pull/2276) [`1e1fbdc`](https://github.com/diegomura/react-pdf/commit/1e1fbdc3c33ced46d8c7ebba7a196733cb789d59) Thanks [@renchap](https://github.com/renchap)! - add `aspectRatio` style property\n\n* [#2293](https://github.com/diegomura/react-pdf/pull/2293) [`8636812`](https://github.com/diegomura/react-pdf/commit/86368122ed87621d19ae3bc248080e17703d9fcb) Thanks [@BryanAbate](https://github.com/BryanAbate)! - fix type for `getRegisteredFonts` method\n\n## 2.3.2\n\n### Patch Changes\n\n- [#2310](https://github.com/diegomura/react-pdf/pull/2310) [`a25dbcb`](https://github.com/diegomura/react-pdf/commit/a25dbcb32b65c300f5b088e8b210bb0c1abca5c2) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Fixed all strings allowed in `fontWeight` in `Font.register`\n\n## 2.3.1\n\n### Patch Changes\n\n- [#2252](https://github.com/diegomura/react-pdf/pull/2252) [`47e91cb`](https://github.com/diegomura/react-pdf/commit/47e91cbd8016046bb4e8389ba0d1c7ede9edce59) Thanks [@jeetiss](https://github.com/jeetiss)! - implement function as emoji source to build more complex urls\n\n## 2.3.0\n\n### Minor Changes\n\n- [#2214](https://github.com/diegomura/react-pdf/pull/2214) [`2db67a3`](https://github.com/diegomura/react-pdf/commit/2db67a38b9be98b7816a2b5aa4733446b95e3724) Thanks [@KODIKAS-NL](https://github.com/KODIKAS-NL)! - added base support for verticalAlign \"super\" and \"sub\"\n\n## 2.2.0\n\n### Minor Changes\n\n- [#2160](https://github.com/diegomura/react-pdf/pull/2160) [`a743c90`](https://github.com/diegomura/react-pdf/commit/a743c905fb5d201d2382bc9175fa36b83cc47284) Thanks [@jeetiss](https://github.com/jeetiss)! - implement flex gap\n\n## 2.1.1\n\n### Patch Changes\n\n- [#2106](https://github.com/diegomura/react-pdf/pull/2106) [`24bb5de`](https://github.com/diegomura/react-pdf/commit/24bb5de969a854cc0226438985b34ef8ae2d7581) Thanks [@RDO34](https://github.com/RDO34)! - Add `dpi` and `bookmark` page prop types\n\n## 2.1.0\n\n### Minor Changes\n\n- [#1862](https://github.com/diegomura/react-pdf/pull/1862) [`1411d16`](https://github.com/diegomura/react-pdf/commit/1411d162e04ca237bad93729695c363fdf4bdbeb) Thanks [@diegomura](https://github.com/diegomura)! - feat: bookmarks support\n\n* [#1867](https://github.com/diegomura/react-pdf/pull/1867) [`4fadb48`](https://github.com/diegomura/react-pdf/commit/4fadb48983d7269452f89f80c7e341ece859aaee) Thanks [@diegomura](https://github.com/diegomura)! - feat: add page layout support\n\n- [#1868](https://github.com/diegomura/react-pdf/pull/1868) [`ce8762f`](https://github.com/diegomura/react-pdf/commit/ce8762f6de5c796e69ec5a225c7f3ff9c619a960) Thanks [@diegomura](https://github.com/diegomura)! - feat: add page mode support\n\n* [#1869](https://github.com/diegomura/react-pdf/pull/1869) [`5d2c308`](https://github.com/diegomura/react-pdf/commit/5d2c3088cf438a8abf1038b14a21117fecf59d57) Thanks [@diegomura](https://github.com/diegomura)! - feat: variable dpi\n\n## 2.0.9\n\n### Patch Changes\n\n- [#1843](https://github.com/diegomura/react-pdf/pull/1843) [`fe0f214`](https://github.com/diegomura/react-pdf/commit/fe0f214dbbf2f632b852ebfe65f886ecc4dd6953) Thanks [@diegomura](https://github.com/diegomura)! - fix: add ID1 type\n\n## 2.0.8\n\n### Patch Changes\n\n- [#1581](https://github.com/diegomura/react-pdf/pull/1581) [`04449ab`](https://github.com/diegomura/react-pdf/commit/04449ab352db0cca2155024dd3e8c690e42193ca) Thanks [@jeetiss](https://github.com/jeetiss)! - added changelog with changesets\n","isInternal":false,"tokens":6873,"sizeBytes":18876},{"name":"package.json","path":"packages/types/package.json","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/types/package.json","title":"@react-pdf/types","category":"anthropic-skill","format":"json","content":"{\n  \"name\": \"@react-pdf/types\",\n  \"version\": \"2.15.0\",\n  \"license\": \"MIT\",\n  \"description\": \"React-pdf TypeScript definitions\",\n  \"author\": \"Diego Muracciole <diegomuracciole@gmail.com>\",\n  \"homepage\": \"https://github.com/diegomura/react-pdf#readme\",\n  \"main\": \"index.d.ts\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/diegomura/react-pdf.git\",\n    \"directory\": \"packages/types\"\n  },\n  \"dependencies\": {\n    \"@react-pdf/font\": \"^4.2.0\",\n    \"@react-pdf/primitives\": \"^4.4.0\",\n    \"@react-pdf/stylesheet\": \"^6.3.4\"\n  }\n}\n","frontmatter":{"name":"@react-pdf/types","version":"2.15.0","license":"MIT","description":"React-pdf TypeScript definitions","author":"Diego Muracciole <diegomuracciole@gmail.com>","homepage":"https://github.com/diegomura/react-pdf#readme","main":"index.d.ts","repository":{"type":"git","url":"https://github.com/diegomura/react-pdf.git","directory":"packages/types"},"dependencies":{"@react-pdf/font":"^4.2.0","@react-pdf/primitives":"^4.4.0","@react-pdf/stylesheet":"^6.3.4"}},"isInternal":false,"tokens":175,"sizeBytes":544},{"name":"CLAUDE.md","path":"CLAUDE.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/CLAUDE.md","title":"Claude Agent Guidelines & System Prompt","category":"claude-rule","format":"markdown","content":"# CLAUDE.md\n\nThis file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.\n\n## Project Overview\n\nReact-PDF is a library for creating PDF documents using React components. It's a monorepo using Lerna with independent versioning, Yarn 1.22.19 as the package manager, and all packages are ESM (`\"type\": \"module\"`).\n\n## Common Commands\n\n```bash\nyarn install              # Install dependencies and bootstrap monorepo\nyarn build                # Build all packages (lerna run build)\nyarn watch                # Watch mode - rebuilds on changes (for development)\nyarn test                 # Run all tests (vitest)\nyarn test packages/layout # Run tests for a specific package\nyarn lint                 # Lint all packages (eslint packages)\nyarn typecheck            # TypeScript type checking across all packages\nyarn dev                  # Run example apps\n```\n\nTo run a single test file: `yarn vitest run path/to/test.ts`\n\n## Architecture\n\nThe library works as a pipeline: React components → reconciler → layout → render → PDF output.\n\n### Package Dependency Flow\n\n```\n@react-pdf/renderer (main entry point - exports Document, Page, View, Text, etc.)\n  ├── @react-pdf/reconciler    → React fiber reconciler that creates the internal element tree\n  ├── @react-pdf/layout        → Resolves layout using Yoga (flexbox), handles pagination\n  │     ├── @react-pdf/textkit     → Text measurement, line breaking, hyphenation\n  │     ├── @react-pdf/stylesheet  → CSS-like style parsing and resolution\n  │     ├── @react-pdf/image       → PNG/JPEG image fetching and parsing\n  │     └── @react-pdf/font        → Font loading, registration, emoji support\n  ├── @react-pdf/render        → Renders resolved layout tree to PDF drawing operations\n  │     ├── pdfkit                 → Low-level PDF generation\n  │     └── @react-pdf/svgkit      → (consumer-supplied ctx) renders the same tree to SVG strings\n  └── @react-pdf/primitives    → Shared component type constants\n```\n\nUtility packages: `@react-pdf/fns` (helpers), `@react-pdf/types` (TypeScript types), `@react-pdf/math` (math utils), `@react-pdf/svgkit` (SVG support).\n\n### Build\n\nEach package uses Rollup for bundling. The renderer package produces multiple builds: server, browser, and minified variants. TypeScript is used throughout with strict mode.\n\n### Testing\n\n- **Framework**: Vitest with workspace configuration (`vitest.workspace.js`)\n- **Tested packages**: fns, font, image, render, layout, svgkit, textkit, renderer, stylesheet, primitives\n- **Renderer** has two test configs: main (fork pool) and browser (jsdom environment)\n- **Snapshot testing**: `jest-image-snapshot` for visual regression tests\n- **Multi-React support**: Tests can run against React 16, 17, 18, and 19 via environment variables\n\n### Writing Tests\n\nWhen making changes, always include tests. Add tests in the same location where tests already exist for the package being modified (e.g. `packages/layout/tests/`, `packages/renderer/tests/`).\n\n### Code Style\n\n- ESLint 9 with TypeScript parser, Prettier (single quotes), enforced via Husky pre-commit hooks\n- Packages `yoga` and everything under `apps` are excluded from linting\n\n## Previewing PDFs\n\nTo visually inspect generated PDFs during debugging, convert pages to images:\n\n**Using pdftoppm (preferred, often pre-installed via poppler-utils):**\n\n```bash\npdftoppm -png -r 200 document.pdf preview\n```\n\nThis generates `preview-1.png`, `preview-2.png`, etc. at 200 DPI.\n\n**Fallback: PyMuPDF (if pdftoppm is unavailable):**\n\n```bash\npip install pymupdf\n```\n\n```python\nimport fitz\n\ndoc = fitz.open(\"document.pdf\")\nfor i, page in enumerate(doc):\n    pix = page.get_pixmap(dpi=200)\n    pix.save(f\"page-{i+1}.png\")\n```\n\n## Versioning & Release\n\nUses [Changesets](https://github.com/changesets/changesets) for versioning:\n\n```bash\nyarn changeset          # Create a changeset\nyarn version-packages   # Apply changesets to bump versions\nyarn release            # Publish to npm\n```\n","isInternal":false,"tokens":963,"sizeBytes":4091},{"name":"README.md","path":"packages/examples/next-14/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/README.md","title":"next-14 Documentation","category":"plugin-manifest","format":"markdown","content":"# next-14 Documentation\n\nPath: `packages/examples/next-14/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/README.md)","tokens":300,"sizeBytes":194},{"name":"README.md","path":"packages/examples/next-15/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/README.md","title":"next-15 Documentation","category":"plugin-manifest","format":"markdown","content":"# next-15 Documentation\n\nPath: `packages/examples/next-15/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/README.md)","tokens":300,"sizeBytes":194},{"name":"README.md","path":"packages/examples/vite/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/README.md","title":"vite Documentation","category":"plugin-manifest","format":"markdown","content":"# vite Documentation\n\nPath: `packages/examples/vite/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/README.md)","tokens":300,"sizeBytes":185},{"name":"README.md","path":"packages/fns/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/README.md","title":"fns Documentation","category":"plugin-manifest","format":"markdown","content":"# fns Documentation\n\nPath: `packages/fns/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/README.md)","tokens":300,"sizeBytes":164},{"name":"README.md","path":"packages/font/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/README.md","title":"font Documentation","category":"plugin-manifest","format":"markdown","content":"# font Documentation\n\nPath: `packages/font/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/README.md)","tokens":300,"sizeBytes":167},{"name":"README.md","path":"packages/image/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/README.md","title":"image Documentation","category":"plugin-manifest","format":"markdown","content":"# image Documentation\n\nPath: `packages/image/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/README.md)","tokens":300,"sizeBytes":170},{"name":"README.md","path":"packages/layout/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/README.md","title":"layout Documentation","category":"plugin-manifest","format":"markdown","content":"# layout Documentation\n\nPath: `packages/layout/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/README.md)","tokens":300,"sizeBytes":173},{"name":"README.md","path":"packages/math/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/README.md","title":"math Documentation","category":"plugin-manifest","format":"markdown","content":"# math Documentation\n\nPath: `packages/math/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/README.md)","tokens":300,"sizeBytes":167},{"name":"README.md","path":"packages/mermaid/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/README.md","title":"mermaid Documentation","category":"plugin-manifest","format":"markdown","content":"# mermaid Documentation\n\nPath: `packages/mermaid/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/README.md)","tokens":300,"sizeBytes":176},{"name":"README.md","path":"packages/pdfkit/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/README.md","title":"pdfkit Documentation","category":"plugin-manifest","format":"markdown","content":"# pdfkit Documentation\n\nPath: `packages/pdfkit/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/README.md)","tokens":300,"sizeBytes":173},{"name":"README.md","path":"packages/primitives/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/README.md","title":"primitives Documentation","category":"plugin-manifest","format":"markdown","content":"# primitives Documentation\n\nPath: `packages/primitives/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/primitives/README.md)","tokens":300,"sizeBytes":185},{"name":"README.md","path":"packages/reconciler/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/README.md","title":"reconciler Documentation","category":"plugin-manifest","format":"markdown","content":"# reconciler Documentation\n\nPath: `packages/reconciler/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/reconciler/README.md)","tokens":300,"sizeBytes":185},{"name":"README.md","path":"packages/render/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/README.md","title":"render Documentation","category":"plugin-manifest","format":"markdown","content":"# render Documentation\n\nPath: `packages/render/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/render/README.md)","tokens":300,"sizeBytes":173},{"name":"README.md","path":"packages/renderer/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/renderer/README.md","title":"renderer Documentation","category":"plugin-manifest","format":"markdown","content":"# renderer Documentation\n\nPath: `packages/renderer/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/renderer/README.md)","tokens":300,"sizeBytes":179},{"name":"README.md","path":"packages/stylesheet/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/README.md","title":"stylesheet Documentation","category":"plugin-manifest","format":"markdown","content":"# stylesheet Documentation\n\nPath: `packages/stylesheet/README.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/stylesheet/README.md)","tokens":300,"sizeBytes":185},{"name":"README.md","path":"packages/svg/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/svg/README.md","title":"svg Documentation","category":"plugin-manifest","format":"markdown","content":"<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png\" height=\"280px\">\n</p>\n\n# @react-pdf/svg\n\nSVG string parser for [react-pdf](https://github.com/diegomura/react-pdf).\n\nParses SVG markup into a tree of nodes compatible with react-pdf's SVG primitives.\n\n## Installation\n\n```bash\nyarn add @react-pdf/svg\n```\n\n## Usage\n\n```js\nimport { parseSvg } from '@react-pdf/svg';\n\nconst tree = parseSvg(\n  '<svg viewBox=\"0 0 100 100\"><circle cx=\"50\" cy=\"50\" r=\"40\" fill=\"red\" /></svg>',\n);\n```\n\nReturns an `SvgNode` tree:\n\n```js\n{\n  type: 'SVG',\n  props: { viewBox: '0 0 100 100' },\n  children: [\n    {\n      type: 'CIRCLE',\n      props: { cx: '50', cy: '50', r: '40', fill: 'red' },\n      children: []\n    }\n  ]\n}\n```\n\n## Supported elements\n\n`svg`, `g`, `path`, `rect`, `circle`, `ellipse`, `line`, `polyline`, `polygon`, `text`, `tspan`, `defs`, `clipPath`, `linearGradient`, `radialGradient`, `stop`, `image`\n\n## API\n\n### `parseSvg(svgString: string): SvgNode`\n\nParses an SVG string and returns the root `SvgNode`. Attributes are converted to camelCase and tag names are mapped to react-pdf primitive types. Unsupported elements are skipped with a console warning.\n\n### `SvgNode`\n\n```ts\ninterface SvgNode {\n  type: string;\n  props: Record<string, unknown>;\n  children?: SvgNode[];\n}\n```\n\n## License\n\nMIT\n","isInternal":false,"tokens":416,"sizeBytes":1372},{"name":"README.md","path":"packages/textkit/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/textkit/README.md","title":"textkit Documentation","category":"plugin-manifest","format":"markdown","content":"<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png\" height=\"280px\">\n</p>\n\n# @react-pdf/textkit\n\n> An advanced text layout framework\n\nA comprehensive text layout engine for react-pdf. Handles complex text rendering including bidirectional text, line breaking, hyphenation, justification, font substitution, OpenType font features, and text decoration.\n\n## Acknowledges\n\nThis project is a fork of [textkit](https://github.com/foliojs/textkit) by @devongovett and continued under the scope of this project since it has react-pdf specific features. Any recongnition should go to him and the original project mantainers.\n\n## Installation\n\n```bash\nyarn add @react-pdf/textkit\n```\n\n## Usage\n\n```js\nimport layoutEngine, {\n  bidi,\n  linebreaker,\n  justification,\n  textDecoration,\n  scriptItemizer,\n  wordHyphenation,\n  fontSubstitution,\n  fromFragments,\n} from '@react-pdf/textkit';\n\n// Create engines configuration\nconst engines = {\n  bidi: bidi(),\n  linebreaker: linebreaker({}),\n  justification: justification({}),\n  textDecoration: textDecoration(),\n  scriptItemizer: scriptItemizer(),\n  wordHyphenation: wordHyphenation(),\n  fontSubstitution: fontSubstitution(),\n};\n\n// Create attributed string from fragments\nconst attributedString = fromFragments([\n  { string: 'Hello ', attributes: { fontSize: 12, font: [myFont] } },\n  {\n    string: \"012'345'678'901\",\n    attributes: {\n      fontSize: 12,\n      font: [myFont],\n      features: ['tnum'],\n    },\n  },\n]);\n\n// Define container\nconst container = {\n  x: 0,\n  y: 0,\n  width: 400,\n  height: 600,\n};\n\n// Layout text\nconst layout = layoutEngine(engines);\nconst paragraphs = layout(attributedString, container, {});\n```\n\n## Layout Process\n\nThe layout engine processes text through the following steps:\n\n1. Split into paragraphs\n2. Get bidi runs and paragraph direction\n3. Font substitution - map to resolved font runs\n4. Script itemization\n5. Font shaping - text to glyphs, applying optional OpenType font features\n6. Line breaking\n7. Bidi reordering\n8. Justification\n9. Get a list of rectangles by intersecting path, line, and exclusion paths\n10. Perform line breaking to get acceptable break points for each fragment\n11. Ellipsize line if necessary\n12. Bidi reordering\n13. Justification\n\n## Engines\n\nThe layout engine uses several specialized engines that can be customized:\n\n### bidi\n\nHandles bidirectional text analysis using the Unicode Bidirectional Algorithm. Determines text direction for mixed LTR/RTL content.\n\n```js\nimport { bidi } from '@react-pdf/textkit';\n\nconst bidiEngine = bidi();\nconst result = bidiEngine(attributedString);\n```\n\n### linebreaker\n\nPerforms line breaking using the Knuth-Plass algorithm with fallback to best-fit. Handles hyphenation points and produces optimal line breaks.\n\n```js\nimport { linebreaker } from '@react-pdf/textkit';\n\nconst linebreakerEngine = linebreaker({\n  tolerance: 4,\n  hyphenationPenalty: 100,\n});\n```\n\n### justification\n\nAdjusts character and word spacing to achieve justified text alignment. Based on Apple's justification algorithm.\n\n```js\nimport { justification } from '@react-pdf/textkit';\n\nconst justificationEngine = justification({\n  expandCharFactor: { before: 0, after: 0 },\n  shrinkCharFactor: { before: 0, after: 0 },\n  expandWhitespaceFactor: { before: 0.5, after: 0.5 },\n  shrinkWhitespaceFactor: { before: 0.5, after: 0.5 },\n});\n```\n\n### fontSubstitution\n\nAutomatically substitutes fonts when the primary font doesn't have glyphs for certain characters. Picks the best font from the font stack.\n\n```js\nimport { fontSubstitution } from '@react-pdf/textkit';\n\nconst fontSubstitutionEngine = fontSubstitution();\n```\n\n### scriptItemizer\n\nIdentifies Unicode script runs in text (Latin, Arabic, Han, etc.) to enable proper font selection and shaping.\n\n```js\nimport { scriptItemizer } from '@react-pdf/textkit';\n\nconst scriptItemizerEngine = scriptItemizer();\n```\n\n### wordHyphenation\n\nProvides word hyphenation using language-specific patterns. Supports soft hyphens and custom hyphenation callbacks.\n\n```js\nimport { wordHyphenation } from '@react-pdf/textkit';\n\nconst wordHyphenationEngine = wordHyphenation();\nconst syllables = wordHyphenationEngine('hyphenation'); // ['hy', 'phen', 'a', 'tion']\n```\n\n### textDecoration\n\nGenerates decoration lines (underline, strikethrough) for styled text runs.\n\n```js\nimport { textDecoration } from '@react-pdf/textkit';\n\nconst textDecorationEngine = textDecoration();\n```\n\n## API Reference\n\n### layoutEngine(engines)\n\nCreates a layout function with the specified engines.\n\n```js\nconst layout = layoutEngine(engines);\nconst paragraphs = layout(attributedString, container, options);\n```\n\n### fromFragments(fragments)\n\nCreates an AttributedString from text fragments.\n\n```js\nimport { fromFragments } from '@react-pdf/textkit';\n\nconst attributedString = fromFragments([\n  { string: 'Hello ', attributes: { fontSize: 14 } },\n  { string: 'World!', attributes: { fontSize: 14, color: 'blue' } },\n]);\n```\n\n## Types\n\n### AttributedString\n\nThe main data structure representing styled text:\n\n```ts\ntype AttributedString = {\n  string: string;\n  runs: Run[];\n  syllables?: string[];\n  box?: Rect;\n  decorationLines?: DecorationLine[];\n};\n```\n\n### Run\n\nA styled segment of text:\n\n```ts\ntype Run = {\n  start: number;\n  end: number;\n  attributes: Attributes;\n  glyphs?: Glyph[];\n  positions?: Position[];\n  stringIndices?: number[];\n  glyphIndices?: number[];\n};\n```\n\n### Attributes\n\nStyle attributes for text runs:\n\n```ts\ntype Attributes = {\n  align?: string;\n  alignLastLine?: string;\n  attachment?: Attachment;\n  backgroundColor?: string;\n  bidiLevel?: number;\n  characterSpacing?: number;\n  color?: string;\n  direction?: 'rtl' | 'ltr';\n  features?: string[] | Record<string, boolean>;\n  fill?: boolean;\n  font?: Font[];\n  fontSize?: number;\n  hangingPunctuation?: boolean;\n  hyphenationFactor?: number;\n  indent?: number;\n  justificationFactor?: number;\n  lineHeight?: number;\n  lineSpacing?: number;\n  link?: string;\n  margin?: number;\n  marginLeft?: number;\n  marginRight?: number;\n  opacity?: number;\n  padding?: number;\n  paddingTop?: number;\n  paragraphSpacing?: number;\n  scale?: number;\n  script?: unknown;\n  shrinkFactor?: number;\n  strike?: boolean;\n  strikeColor?: string;\n  strikeStyle?: string;\n  stroke?: boolean;\n  underline?: boolean;\n  underlineColor?: string;\n  underlineStyle?: string;\n  verticalAlign?: string;\n  wordSpacing?: number;\n  yOffset?: number;\n};\n```\n\n### Container\n\nThe area where text will be laid out:\n\n```ts\ntype Container = {\n  x: number;\n  y: number;\n  width: number;\n  height: number;\n  truncateMode?: 'ellipsis';\n  maxLines?: number;\n  excludeRects?: Rect[];\n};\n```\n\n### Rect\n\nA rectangle definition:\n\n```ts\ntype Rect = {\n  x: number;\n  y: number;\n  width: number;\n  height: number;\n};\n```\n\n### Fragment\n\nInput format for creating attributed strings:\n\n```ts\ntype Fragment = {\n  string: string;\n  attributes?: Attributes;\n};\n```\n\n### LayoutOptions\n\nOptions for the layout process:\n\n```ts\ntype LayoutOptions = {\n  hyphenationCallback?: (\n    word: string | null,\n    fallback: (word: string | null) => string[],\n  ) => string[];\n  tolerance?: number;\n  hyphenationPenalty?: number;\n  expandCharFactor?: JustificationFactor;\n  shrinkCharFactor?: JustificationFactor;\n  expandWhitespaceFactor?: JustificationFactor;\n  shrinkWhitespaceFactor?: JustificationFactor;\n};\n```\n\n### Engines\n\nThe engines configuration object:\n\n```ts\ntype Engines = {\n  bidi: ReturnType<typeof bidi>;\n  linebreaker: ReturnType<typeof linebreaker>;\n  justification: ReturnType<typeof justification>;\n  fontSubstitution: ReturnType<typeof fontSubstitution>;\n  scriptItemizer: ReturnType<typeof scriptItemizer>;\n  textDecoration: ReturnType<typeof textDecoration>;\n  wordHyphenation?: ReturnType<typeof wordHyphenation>;\n};\n```\n\n## License\n\nMIT\n","isInternal":false,"tokens":1889,"sizeBytes":7866},{"name":"README.md","path":"packages/types/README.md","rawUrl":"https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/types/README.md","title":"types Documentation","category":"plugin-manifest","format":"markdown","content":"<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png\" height=\"280px\">\n</p>\n\n# @react-pdf/types\n\n> React-pdf TypeScript definitions\n\n## Installation\n\n```bash\nyarn add @react-pdf/types\n```\n\n## License\n\nMIT\n","isInternal":false,"tokens":93,"sizeBytes":282}],"systemPromptSnippet":"<yakaai_skills repo=\"diegomura/react-pdf\">\n<!-- File: packages/examples/CHANGELOG.md (Tokens: ~300 | Category: anthropic-skill) -->\n# Examples Skill\n\nPath: `packages/examples/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/CHANGELOG.md)\n\n<!-- File: packages/examples/next-14/CHANGELOG.md (Tokens: ~300 | Category: anthropic-skill) -->\n# Next-14 Skill\n\nPath: `packages/examples/next-14/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/CHANGELOG.md)\n\n<!-- File: packages/examples/next-14/jsconfig.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Next-14 Skill\n\nPath: `packages/examples/next-14/jsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/jsconfig.json)\n\n<!-- File: packages/examples/next-14/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Next-14 Skill\n\nPath: `packages/examples/next-14/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-14/package.json)\n\n<!-- File: packages/examples/next-15/CHANGELOG.md (Tokens: ~300 | Category: anthropic-skill) -->\n# Next-15 Skill\n\nPath: `packages/examples/next-15/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/CHANGELOG.md)\n\n<!-- File: packages/examples/next-15/jsconfig.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Next-15 Skill\n\nPath: `packages/examples/next-15/jsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/jsconfig.json)\n\n<!-- File: packages/examples/next-15/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Next-15 Skill\n\nPath: `packages/examples/next-15/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/next-15/package.json)\n\n<!-- File: packages/examples/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Examples Skill\n\nPath: `packages/examples/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/package.json)\n\n<!-- File: packages/examples/vite/CHANGELOG.md (Tokens: ~300 | Category: anthropic-skill) -->\n# Vite Skill\n\nPath: `packages/examples/vite/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/CHANGELOG.md)\n\n<!-- File: packages/examples/vite/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Vite Skill\n\nPath: `packages/examples/vite/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/examples/vite/package.json)\n\n<!-- File: packages/fns/CHANGELOG.md (Tokens: ~300 | Category: anthropic-skill) -->\n# Fns Skill\n\nPath: `packages/fns/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/CHANGELOG.md)\n\n<!-- File: packages/fns/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Fns Skill\n\nPath: `packages/fns/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/package.json)\n\n<!-- File: packages/fns/tsconfig.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Fns Skill\n\nPath: `packages/fns/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/fns/tsconfig.json)\n\n<!-- File: packages/font/CHANGELOG.md (Tokens: ~300 | Category: anthropic-skill) -->\n# Font Skill\n\nPath: `packages/font/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/CHANGELOG.md)\n\n<!-- File: packages/font/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Font Skill\n\nPath: `packages/font/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/package.json)\n\n<!-- File: packages/font/tsconfig.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Font Skill\n\nPath: `packages/font/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/font/tsconfig.json)\n\n<!-- File: packages/image/CHANGELOG.md (Tokens: ~300 | Category: anthropic-skill) -->\n# Image Skill\n\nPath: `packages/image/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/CHANGELOG.md)\n\n<!-- File: packages/image/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Image Skill\n\nPath: `packages/image/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/package.json)\n\n<!-- File: packages/image/tsconfig.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Image Skill\n\nPath: `packages/image/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/image/tsconfig.json)\n\n<!-- File: packages/layout/CHANGELOG.md (Tokens: ~300 | Category: anthropic-skill) -->\n# Layout Skill\n\nPath: `packages/layout/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/CHANGELOG.md)\n\n<!-- File: packages/layout/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Layout Skill\n\nPath: `packages/layout/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/package.json)\n\n<!-- File: packages/layout/tsconfig.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Layout Skill\n\nPath: `packages/layout/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/layout/tsconfig.json)\n\n<!-- File: packages/math/CHANGELOG.md (Tokens: ~300 | Category: anthropic-skill) -->\n# Math Skill\n\nPath: `packages/math/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/CHANGELOG.md)\n\n<!-- File: packages/math/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Math Skill\n\nPath: `packages/math/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/package.json)\n\n<!-- File: packages/math/tsconfig.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Math Skill\n\nPath: `packages/math/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/math/tsconfig.json)\n\n<!-- File: packages/mermaid/CHANGELOG.md (Tokens: ~300 | Category: anthropic-skill) -->\n# Mermaid Skill\n\nPath: `packages/mermaid/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/CHANGELOG.md)\n\n<!-- File: packages/mermaid/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Mermaid Skill\n\nPath: `packages/mermaid/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/package.json)\n\n<!-- File: packages/mermaid/tsconfig.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Mermaid Skill\n\nPath: `packages/mermaid/tsconfig.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/mermaid/tsconfig.json)\n\n<!-- File: packages/pdfkit/CHANGELOG.md (Tokens: ~300 | Category: anthropic-skill) -->\n# Pdfkit Skill\n\nPath: `packages/pdfkit/CHANGELOG.md`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/CHANGELOG.md)\n\n<!-- File: packages/pdfkit/package.json (Tokens: ~300 | Category: anthropic-skill) -->\n# Pdfkit Skill\n\nPath: `packages/pdfkit/package.json`\n\n[View Raw Content on GitHub](https://raw.githubusercontent.com/diegomura/react-pdf/HEAD/packages/pdfkit/package.json)\n\n<!-- ... +41 more modular skills available via /api/skills/diegomura/react-pdf?path={path} -->\n</yakaai_skills>"}