Skip to content

Embedded font not being procesed #1

@maxpowel

Description

@maxpowel

Hello, it is matter of embedded fonts. Using pdffonts with my pdf file this info is shown:

name                                 type              encoding         emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
DRRVLN+AdvPSTim-I                    Type 1C           Custom           yes yes no      12  0
RHJJFZ+AdvSPSMI                      Type 1C           Custom           yes yes no      14  0
FFLANR+AdvPSTim-B                    Type 1C           Custom           yes yes no      16  0
QVMPSS+AdvP4C4E74                    Type 1C           Custom           yes yes no      18  0
JMUKNO+AdvP4C4E51                    Type 1C           Custom           yes yes no      20  0
PTWKHW+AdvPSSym                      Type 1C           Custom           yes yes no      22  0
APZBCX+AdvPSTim                      Type 1C           Custom           yes yes no       8  0
DYRDCR+AdvP4C4E59                    Type 1C           Custom           yes yes no      10  0

If you open the PDF with a reader, you can see the text properly rendered. I also tested your render https://pdf-rs.github.io/view-wasm/ and it render the pdf correctly.

I just run the example you provided following the instructions (download also the fonts) and the output is something like this:

# page 1
       

        
      
 

       

          
        

       

and in my terminal I see

image

This is the file
page.pdf

This case describes mine too https://community.adobe.com/t5/acrobat-discussions/strange-font-encoding-in-pdf-files/td-p/12472215

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions