eyolfson Posted March 2, 2023 Posted March 2, 2023 I'm using Designer 2 on macOS, and I have the following packages `brew install font-inter poppler`. If I use the "Inter" font in Designer and export as PDF and run `pdffonts` on the result I get: name type encoding ------------------------------------ ----------------- ---------------- LTVMVK+Inter-Regular Type 1C Custom While, what I expect from other programs is: name type encoding ------------------------------------ ----------------- ---------------- AYECIS+Inter-Regular-Identity-H CID Type 0C Identity-H I don't see any way to use the other encoding in Designer 2, is it possible? Thanks! Quote
kenmcd Posted March 2, 2023 Posted March 2, 2023 Why is this an issue for you? Different PDF libraries and different applications often embed fonts differently. Try this with several different applications and you may get several different results. Some just default to the Identity-H encoding method. Some use custom encoding. And it depends on the fonts, and which characters are used. There is no one "correct" way. Why is this an issue for you? Quote
eyolfson Posted March 2, 2023 Author Posted March 2, 2023 Because I want to embed one PDF in the other. I would like the encodings to agree so I don't have duplicate (if I run subsetting off). Why would there be no way to have options when embedding fonts? Sorry, I'm not a font expert. Quote
eyolfson Posted March 2, 2023 Author Posted March 2, 2023 Also it's a different type of font. Designer 2 exports "Type 1C – aka Compact Font Format (CFF)" while I would like "CID Type 0C – 16-bit PostScript CFF font". Quote
kenmcd Posted March 4, 2023 Posted March 4, 2023 I do not know of any application which enables "user options" for embedding fonts in PDFs. That is mostly dictated by the internal structures of the fonts used, the characters and symbols included in the text, and the PDF library's preferences. When merging PDFs some PDF editors will attempt to consolidate duplicate fonts (only full fonts, not sub-sets). But in this case you are embedding a PDF into another PDF - so the embedded PDF is still a separate PDF (not merged) - and the fonts are still separate too. Sounds like your goal is to embed the full font once. So you could try embedding the full font in the target PDF. And then embed no fonts in the embedded PDF. Since the fonts PostScript Name is the same the PDF reader may use the one font for both. Dunno. But it would be interesting to try it. If you do try it, please let us know how it goes. Quote
R C-R Posted March 4, 2023 Posted March 4, 2023 1 hour ago, kenmcd said: I do know of any application which enables "user options" for embedding fonts in PDFs. Is there supposed to be a "not" in that sentence? kenmcd 1 Quote All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
kenmcd Posted March 4, 2023 Posted March 4, 2023 10 hours ago, R C-R said: Is there supposed to be a "not" in that sentence? Yes. Thank you. Fixed. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.