Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.39 KB

MODIFICATIONS.md

File metadata and controls

46 lines (30 loc) · 1.39 KB

Modifications

[1.17.1-mod.2025.4]

  • Changed npm dependency fontkit to @denkiyagi/fontkit
  • Improved options parameter of PDFDocument#embedFont
  • Fix CustomFontEmbedder#embedCIDFontDict so that it respects glyph metrics when embedding vertical fonts
  • Add methods PDFFont#getRawStandardFont and PDFFont#getRawCustomFont
  • Improve parameters of PDFPage#drawText:
    • Expand the data type of the text parameter so that it also accepts Glyph IDs instead of string
    • Add fontLayoutAdvancedParams property to the options parameter

[1.17.1-mod.2025.1], [1.17.1-mod.2025.2], [1.17.1-mod.2025.3]

  • (removed)

[1.17.1-mod.2023.6]

  • Upgraded crypto-js

[1.17.1-mod.2023.5]

  • (removed)

[1.17.1-mod.2023.4]

  • Added border-radius options to PDFPage#drawRectangle()

[1.17.1-mod.2023.3]

  • Added encryption feature: PDFDocument#encrypt()
  • Changed the property PDFDocument#isEncrypted to a method as it is dynamic now.
  • Enabled to create/update the document ID: PDFDocument#updateId()

[1.17.1-mod.2023.2]

  • (removed)

[1.17.1-mod.2023.1]

  • Used fontkit 2 instead of @pdf-lib/fontkit.
    • Removed PDFDocument#registerFontkit(). fontkit is included by default.
  • Added vertical text option.
  • Removed support for deno and react-native.
  • Upgraded TypeScript version to 4.9.
    • Used import type and removed export default from internal packages.