stipub / stixfonts

OpenType Unicode fonts for Scientific, Technical, and Mathematical texts
SIL Open Font License 1.1
706 stars 41 forks source link

large pdf files #158

Open ifthatisyourdensity625 opened 4 years ago

ifthatisyourdensity625 commented 4 years ago

I noticed that pdf's made with TeXMaker and TeXLive 2020 on Linux with \usepackage{stix2} are larger than they have to be. Opening and then printing the pdfs to pdf with Evince can shrink the pdfs by as much as 10 times. Pdfs made with the Fourier package come out small already. My pdfs tend to be just a couple of pages long. A one page file with no figures went from 400K to 85K.

dbenjaminmiller commented 4 years ago

Probably this is because you are using Type 1 fonts. Type1C/OpenType fonts are much smaller, and will be generated when you print to PDF. You may be interested in https://github.com/pts/pdfsizeopt (for making all such fonts smaller automatically) or using OpenType fonts if you'd like (though this will change some things within your TeX flow).

fuchtr commented 3 years ago

Perhaps double-check if you are subsetting fonts when creating the PDFs.

tiroj commented 3 years ago

@davidmjones Can this issue be closed?