Fully Embed Custom Fonts into Existing PDF?

I am utilizing Chromium Print to PDF to create a PDF from HTML. The HTML page contains Google Font references in the CSS. Google Fonts are then embedded in the PDF as a subset. I’d like to fully embed these Google Fonts instead. Using Aspose.Pdf, is it possible to embed custom fonts in a pre-existing PDF file?

I understand I can invoke FontRepository.Sources.Add(new FolderFontSource(“directory”)) or copy custom fonts to /usr/share/fonts/truetype/msttcorefonts. But it’s not clear how I could then fully embed those fonts.

@dmaust

Please check in the API documentation for the example on how to embed fonts in an existing PDF documents using Aspose.PDF for .NET. In case you face any issues, please share your sample PDF with us so that we can test the scenario in our environment and address it accordingly.

It seems that link is related to removing watermarks from a PDF. Is there a different link you can share, please?

@dmaust

We are sorry for the confusion. We have updated the link in our previous post.