pdfcpu icon indicating copy to clipboard operation
pdfcpu copied to clipboard

Embedding fonts to the existent pdf

Open veshus opened this issue 2 years ago • 3 comments

It'll be great to have option to embed specific font (all used fonts or it's subset) to an existent pdf file. In my case, I have hundreds of pdf uses very special font, and I have this font in ttf. So, to distribute these files, I need to share the font too.

veshus avatar Mar 08 '24 18:03 veshus

Do you think you can share/send me a small sample PDF and the font? Would be a great help in getting this implemented. Thank you for using pdfcpu 💚

hhrutter avatar Mar 10 '24 18:03 hhrutter

Sample PDF and the font for it sample.zip

veshus avatar Mar 12 '24 10:03 veshus

The file you provided seems corrupt. It references two fonts: GOSTTypeAU and GOSTtypeA Both fonts are not embedded. You have also provided the font file for GOSTtypeA.

What is it you want to achieve? I would need more details about your usecase in order to provide support.

Thank you for using pdfcpu 💚

hhrutter avatar May 22 '24 08:05 hhrutter