cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PDF bloat by repeated font embedding?

GrahamThomason
Making moves

When I print an HTML file which has no font changes to Microsoft Print to PDF, the PDF is about 2x the size of the HTNL – which is fine. But I have essentially the same content using a legacy TTF font with very many font changes (for Greek) using <font face="GGTEphesian"> ,,, </font>. This in the past also gave a factor 2x for the size of the PDF, but now it is 160x, from 6 Megabytes to a Gigabyte. I suspect the font is being embedded again at every <font> keyword.  Here is a typical fila in question

https://www.faraboveall.com/050_BibleTranslation/NTinHTML_AVorder.html

GGTEphesian Font available here

https://www.faraboveall.com/040_Fonts/01_Fonts.html

Please undo / fix the change which causes the PDF bloating.

1 ACCEPTED SOLUTION

GrahamThomason
Making moves

OK. I've found the culprit. It's not the fonts, its css OPACITY. If I don't use css OPACITY, I'm back to PDF being about twice the size of the HTML - which is fine.

View solution in original post

1 REPLY 1

GrahamThomason
Making moves

OK. I've found the culprit. It's not the fonts, its css OPACITY. If I don't use css OPACITY, I'm back to PDF being about twice the size of the HTML - which is fine.

Type a product name