Closed dwarring closed 3 years ago
The main issue with handling TrueType collections is that it's unsafe to embed them.
So firstly, we shouldn't need to throw an error, if the font is being loaded with :!embed.
We may also be better off warning and unsetting the embed flag rather than dying.
I'm also curious to see how TrueType collections interact with subsets. Some more testing needed in the Font::Subset module.
PDF::Font::Loader can possibly be even more forgiving of unembedded fonts, handling any font able to be loaded by Font::FreeType.
Fixed in 0.5.0 release
The main issue with handling TrueType collections is that it's unsafe to embed them.
So firstly, we shouldn't need to throw an error, if the font is being loaded with :!embed.
We may also be better off warning and unsetting the embed flag rather than dying.
I'm also curious to see how TrueType collections interact with subsets. Some more testing needed in the Font::Subset module.