[GH-ISSUE #1878] ERROR (61): Unknown font format #545

Closed
opened 2026-02-26 18:47:31 +03:00 by kerem · 3 comments
Owner

Originally created by @iyay on GitHub (Jul 4, 2025).
Original GitHub issue: https://github.com/documenso/documenso/issues/1878

Issue Description

documenso-1  | [06:26:28.659] ERROR (61): Unknown font format
documenso-1  |     ipAddress: "2a09:bac1:34a0:18::3c1:15"
documenso-1  |     userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:140.0) Gecko/20100101 Firefox/140.0"
documenso-1  |     requestId: "ktv6t5w8m1byr4tnsjib1"
documenso-1  |     status: "error"
documenso-1  |     appError: {
documenso-1  |       "code": "UNKNOWN_ERROR",
documenso-1  |       "message": "Unknown font format"
documenso-1  |     }
documenso-1  |     err: {
documenso-1  |       "type": "TRPCError",
documenso-1  |       "message": "Unknown font format: Unknown font format",
documenso-1  |       "stack":
documenso-1  |           Error: Unknown font format
documenso-1  |               at Object.create (/app/node_modules/@pdf-lib/fontkit/dist/fontkit.umd.js:17842:12)
documenso-1  |               at Function.<anonymous> (/app/node_modules/pdf-lib/cjs/core/embedders/CustomFontEmbedder.js:39:58)
documenso-1  |               at step (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:141:27)
documenso-1  |               at Object.next (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:122:57)
documenso-1  |               at /app/node_modules/pdf-lib/node_modules/tslib/tslib.js:115:75
documenso-1  |               at new Promise (<anonymous>)
documenso-1  |               at Object.__awaiter (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:111:16)
documenso-1  |               at CustomFontEmbedder.for (/app/node_modules/pdf-lib/cjs/core/embedders/CustomFontEmbedder.js:35:24)
documenso-1  |               at PDFDocument.<anonymous> (/app/node_modules/pdf-lib/cjs/api/PDFDocument.js:883:79)
documenso-1  |               at step (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:141:27)
documenso-1  |           caused by: Error: Unknown font format
documenso-1  |               at Object.create (/app/node_modules/@pdf-lib/fontkit/dist/fontkit.umd.js:17842:12)
documenso-1  |               at Function.<anonymous> (/app/node_modules/pdf-lib/cjs/core/embedders/CustomFontEmbedder.js:39:58)
documenso-1  |               at step (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:141:27)
documenso-1  |               at Object.next (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:122:57)
documenso-1  |               at /app/node_modules/pdf-lib/node_modules/tslib/tslib.js:115:75
documenso-1  |               at new Promise (<anonymous>)
documenso-1  |               at Object.__awaiter (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:111:16)
documenso-1  |               at CustomFontEmbedder.for (/app/node_modules/pdf-lib/cjs/core/embedders/CustomFontEmbedder.js:35:24)
documenso-1  |               at PDFDocument.<anonymous> (/app/node_modules/pdf-lib/cjs/api/PDFDocument.js:883:79)
documenso-1  |               at step (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:141:27)
documenso-1  |       "code": "INTERNAL_SERVER_ERROR",
documenso-1  |       "name": "TRPCError"
documenso-1  |     }

Steps to Reproduce

  1. Login
  2. Upload new Document

Expected Behavior

No response

Current Behavior

No response

Screenshots (optional)

No response

Operating System [e.g., Windows 10]

No response

Browser [e.g., Chrome, Firefox]

No response

Version 1.12.1

No response

Please check the boxes that apply to this issue report.

  • I have searched the existing issues to make sure this is not a duplicate.
  • I have provided steps to reproduce the issue.
  • I have included relevant environment information.
  • I have included any relevant screenshots.
  • I understand that this is a voluntary contribution and that there is no guarantee of resolution.
  • I want to work on creating a PR for this issue if approved
Originally created by @iyay on GitHub (Jul 4, 2025). Original GitHub issue: https://github.com/documenso/documenso/issues/1878 ### Issue Description ``` documenso-1 | [06:26:28.659] ERROR (61): Unknown font format documenso-1 | ipAddress: "2a09:bac1:34a0:18::3c1:15" documenso-1 | userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:140.0) Gecko/20100101 Firefox/140.0" documenso-1 | requestId: "ktv6t5w8m1byr4tnsjib1" documenso-1 | status: "error" documenso-1 | appError: { documenso-1 | "code": "UNKNOWN_ERROR", documenso-1 | "message": "Unknown font format" documenso-1 | } documenso-1 | err: { documenso-1 | "type": "TRPCError", documenso-1 | "message": "Unknown font format: Unknown font format", documenso-1 | "stack": documenso-1 | Error: Unknown font format documenso-1 | at Object.create (/app/node_modules/@pdf-lib/fontkit/dist/fontkit.umd.js:17842:12) documenso-1 | at Function.<anonymous> (/app/node_modules/pdf-lib/cjs/core/embedders/CustomFontEmbedder.js:39:58) documenso-1 | at step (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:141:27) documenso-1 | at Object.next (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:122:57) documenso-1 | at /app/node_modules/pdf-lib/node_modules/tslib/tslib.js:115:75 documenso-1 | at new Promise (<anonymous>) documenso-1 | at Object.__awaiter (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:111:16) documenso-1 | at CustomFontEmbedder.for (/app/node_modules/pdf-lib/cjs/core/embedders/CustomFontEmbedder.js:35:24) documenso-1 | at PDFDocument.<anonymous> (/app/node_modules/pdf-lib/cjs/api/PDFDocument.js:883:79) documenso-1 | at step (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:141:27) documenso-1 | caused by: Error: Unknown font format documenso-1 | at Object.create (/app/node_modules/@pdf-lib/fontkit/dist/fontkit.umd.js:17842:12) documenso-1 | at Function.<anonymous> (/app/node_modules/pdf-lib/cjs/core/embedders/CustomFontEmbedder.js:39:58) documenso-1 | at step (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:141:27) documenso-1 | at Object.next (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:122:57) documenso-1 | at /app/node_modules/pdf-lib/node_modules/tslib/tslib.js:115:75 documenso-1 | at new Promise (<anonymous>) documenso-1 | at Object.__awaiter (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:111:16) documenso-1 | at CustomFontEmbedder.for (/app/node_modules/pdf-lib/cjs/core/embedders/CustomFontEmbedder.js:35:24) documenso-1 | at PDFDocument.<anonymous> (/app/node_modules/pdf-lib/cjs/api/PDFDocument.js:883:79) documenso-1 | at step (/app/node_modules/pdf-lib/node_modules/tslib/tslib.js:141:27) documenso-1 | "code": "INTERNAL_SERVER_ERROR", documenso-1 | "name": "TRPCError" documenso-1 | } ``` ### Steps to Reproduce 1. Login 2. Upload new Document ### Expected Behavior _No response_ ### Current Behavior _No response_ ### Screenshots (optional) _No response_ ### Operating System [e.g., Windows 10] _No response_ ### Browser [e.g., Chrome, Firefox] _No response_ ### Version 1.12.1 _No response_ ### Please check the boxes that apply to this issue report. - [x] I have searched the existing issues to make sure this is not a duplicate. - [x] I have provided steps to reproduce the issue. - [ ] I have included relevant environment information. - [ ] I have included any relevant screenshots. - [x] I understand that this is a voluntary contribution and that there is no guarantee of resolution. - [ ] I want to work on creating a PR for this issue if approved
kerem 2026-02-26 18:47:31 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 4, 2025):

Thank you for opening your first issue and for being a part of the open signing revolution!

One of our team members will review it and get back to you as soon as it possible 💚

Meanwhile, please feel free to hop into our community in Discord

<!-- gh-comment-id:3034689298 --> @github-actions[bot] commented on GitHub (Jul 4, 2025): Thank you for opening your first issue and for being a part of the open signing revolution! <br /> One of our team members will review it and get back to you as soon as it possible 💚 <br /> Meanwhile, please feel free to hop into our community in [Discord](https://documen.so/discord)
Author
Owner

@pjosuah commented on GitHub (Aug 20, 2025):

Hi @iyay, I'm having the same error.
Can you share how you solved it?

<!-- gh-comment-id:3206099144 --> @pjosuah commented on GitHub (Aug 20, 2025): Hi @iyay, I'm having the same error. Can you share how you solved it?
Author
Owner

@ilmimris commented on GitHub (Oct 28, 2025):

Got the same error here
but ERROR (65)

[04:44:00.815] ERROR (65): Unknown font format
    ipAddress: "REDACTED"
    userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"
    requestId: "0dfizb0m1myspwiyqqzou"
    status: "error"
    appError: {
      "code": "UNKNOWN_ERROR",
      "message": "Unknown font format"
    err: {
      "type": "TRPCError",
      "message": "Unknown font format: Unknown font format",
      "stack":
          Error: Unknown font format
              at Object.create (/app/node_modules/@pdf-lib/fontkit/dist/fontkit.umd.js:17842:12)
              at CustomFontEmbedder.<anonymous> (file:///app/node_modules/@cantoo/pdf-lib/es/core/embedders/CustomFontEmbedder.js:15:40)
               t Generator.next (<anonymous>)
              at /app/node_modules/tslib/tslib.js:170:75
              at new Promise (<anonymous>)
              at __awaiter (/app/node_modules/tslib/tslib.js:166:16)
              at CustomFontEmbedder.for (file:///app/node_modules/@cantoo/pdf-lib/es/core/embedders/CustomFontEmbedder.js:14:16)
               t PDFDocument.<anonymous> (file:///app/node_modules/@cantoo/pdf-lib/es/api/PDFDocument.js:1016:51)
               t Generator.next (<anonymous>)
              at /app/node_modules/tslib/tslib.js:170:75
             sed by: Error: Unknown font format
              at Object.create (/app/node_modules/@pdf-lib/fontkit/dist/fontkit.umd.js:17842:12)
              at CustomFontEmbedder.<anonymous> (file:///app/node_modules/@cantoo/pdf-lib/es/core/embedders/CustomFontEmbedder.js:15:40)
               t Generator.next (<anonymous>)
              at /app/node_modules/tslib/tslib.js:170:75
              at new Promise (<anonymous>)
              at __awaiter (/app/node_modules/tslib/tslib.js:166:16)
              at CustomFontEmbedder.for (file:///app/node_modules/@cantoo/pdf-lib/es/core/embedders/CustomFontEmbedder.js:14:16)
               t PDFDocument.<anonymous> (file:///app/node_modules/@cantoo/pdf-lib/es/api/PDFDocument.js:1016:51)
               t Generator.next (<anonymous>)
              at /app/node_modules/tslib/tslib.js:170:75
              "INTERNAL_SERVER_ERROR",
      "name": "TRPCError"

With version v1.31.1

<!-- gh-comment-id:3454784206 --> @ilmimris commented on GitHub (Oct 28, 2025): Got the same error here but ERROR (65) ``` [04:44:00.815] ERROR (65): Unknown font format ipAddress: "REDACTED" userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36" requestId: "0dfizb0m1myspwiyqqzou" status: "error" appError: { "code": "UNKNOWN_ERROR", "message": "Unknown font format" err: { "type": "TRPCError", "message": "Unknown font format: Unknown font format", "stack": Error: Unknown font format at Object.create (/app/node_modules/@pdf-lib/fontkit/dist/fontkit.umd.js:17842:12) at CustomFontEmbedder.<anonymous> (file:///app/node_modules/@cantoo/pdf-lib/es/core/embedders/CustomFontEmbedder.js:15:40) t Generator.next (<anonymous>) at /app/node_modules/tslib/tslib.js:170:75 at new Promise (<anonymous>) at __awaiter (/app/node_modules/tslib/tslib.js:166:16) at CustomFontEmbedder.for (file:///app/node_modules/@cantoo/pdf-lib/es/core/embedders/CustomFontEmbedder.js:14:16) t PDFDocument.<anonymous> (file:///app/node_modules/@cantoo/pdf-lib/es/api/PDFDocument.js:1016:51) t Generator.next (<anonymous>) at /app/node_modules/tslib/tslib.js:170:75 sed by: Error: Unknown font format at Object.create (/app/node_modules/@pdf-lib/fontkit/dist/fontkit.umd.js:17842:12) at CustomFontEmbedder.<anonymous> (file:///app/node_modules/@cantoo/pdf-lib/es/core/embedders/CustomFontEmbedder.js:15:40) t Generator.next (<anonymous>) at /app/node_modules/tslib/tslib.js:170:75 at new Promise (<anonymous>) at __awaiter (/app/node_modules/tslib/tslib.js:166:16) at CustomFontEmbedder.for (file:///app/node_modules/@cantoo/pdf-lib/es/core/embedders/CustomFontEmbedder.js:14:16) t PDFDocument.<anonymous> (file:///app/node_modules/@cantoo/pdf-lib/es/api/PDFDocument.js:1016:51) t Generator.next (<anonymous>) at /app/node_modules/tslib/tslib.js:170:75 "INTERNAL_SERVER_ERROR", "name": "TRPCError" ``` With version v1.31.1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#545
No description provided.