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.