Skip to content

Setting font-family for AcroFrom not working properly #1096

Description

@r4tz52

Bug Report

Description of the problem

Setting custom font for text AcroForm has no effect if PDF file opened in Adobe Acrobat Reader, but works fine in Google Chrome:
aladin

PDF file example: aladin.pdf

Code sample

doc.font('aladin.regular.ttf');
doc.formText('InputField1', 10, 10, 200, 20, { value: 'Aladin' });

Your environment

  • pdfkit version: 0.11.0
  • Browser version: Google Chrome 80.0.3987.122
  • Operating System: Windows 10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions