PDF-to-HTML font licensing: what the fsType flag does and does not reveal
A developer building a PDF-to-HTML converter considered gating font embedding on the OpenType fsType license flag. Testing fonts with edited fsType values showed that Chromium printing removes restricted fonts upstream, leaving only TrueType subsets, Type 3 outlines, or CFF fonts with no flag to read. On a sample brochure, one of five fonts had no OS/2 table and thus no fsType value. Converting that brochure with ImgIng produced inlined font subsets for TrueType fonts, vector paths for Type 3 glyphs, and fallback to a generic sans-serif for the Type 1 font. The author cautions that results come from a single machine, browser build and sample set, and other PDF producers were not tested.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in