Skip to content

[Bug]: some symbols not rendered correctly despite custom fonts are embedded #19994

Closed
@rec7y33

Description

@rec7y33

Attach (recommended) or Link to PDF file

test-blank---Copy (1).pdf Poppins embedded

test-blank---Copy (2).pdf Arial embedded

Web browser and its version

chrome, Version 135.0.7049.115

Operating system and its version

windows 11, 22H2

PDF.js version

v5.3.31

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. open the attached files in firefox browser/ render with pdfjs on chrome

What is the expected behavior?

back ticks and single quotes to show up properly

What went wrong?

  1. you can see that backticks and single quotes are rendered wrongly on pdfjs
  2. meanwhile on chrome and acrobat they are rendered correctly

on acrobat:

Image

on pdfjs:

Image

Link to a viewer

No response

Additional context

other similar issues suggested that the custom fonts should be embedded, which i already did for my pdfs.
the pdfs are generated using PDFBox.

Please advise, thank you.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions