Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Postscript name in font to avoid bug when saving in pdf
- for xfa rendering, fonts are loaded and used in html; - when printed and saved in pdf, on linux, Firefox uses cairo backend - when subsetting a font, cairo uses the font postscript name and when this one is empty that leads to a bug (the append at https://github.com/freedesktop/cairo/blob/63f0d6268469dcd12316ea405a026f4be900dd79/src/cairo-cff-subset.c#L2049 is failing because of null length) - so this patch adds a postscript name to the font to make cairo happy.
- Loading branch information