Felix Schütt
Felix Schütt
Yes, printpdf does subset the fonts when the PDF was created with printpdf. Also the fonts included with printpdf are subsetted, but they're usually not included in the PDF. I...
Hmm, if it's certain that the font is correctly read from the Dictionary (use a PDF debugger tool to extract the font file), then we can implement some kind of...
If allsorts parses it, it should be possible to create a TTF font using a subset::whole_font - https://docs.rs/allsorts/latest/allsorts/subset/fn.whole_font.html
> At least thats how it looks to me at the moment. What do you think? Well, I know that the font is subset, but that's not the issue: The...
> If the font extracted from the PDF is a CFF font, you can pass --cff to allsorts dump to treat the file as a standalone CFF table instead of...
You mean an Outline with sub-items? Possible, yeah, although I don't know how.
In the `0.8` API, the `image` crate will always be enabled (should solve this issue), but image formats will not be enabled by default. So this should solve this issue.
This is fixed in 0.8 now: https://crates.io/crates/printpdf
You need to have a `StartTextSection` and `EndTextSection`, that's a PDF issue, not a printpdf one. You can print the `warnings` for debugging.
Ah yeah, this is an issue. Subsetting should always be optional (though it should be "on" by default because I got a lot of complaints from Chinese users with massive...