Still, it doesn't quite make sense to me. If I strip all fonts the file size does get considerably reduced, but then it doesn't look good on a PC. However, the one generated on the Mac from the same document has a million (slight exaggeration) fonts embedded.
I can see that the pdf I generated on my former PC has a few fonts embedded.
OS X automatically embeds fonts, Acrobat must be told to do so. Which is most likely the main difference in the sizes. That without embedding any fonts with Acrobat.
Through Acrobat Pro 9's Distiller, using the option for "Smallest File Size", it produced a PDF file of 432 KB. Saving the file as a PDF using OS X's built in PDF function produced an 864 KB file. My questions are: why are Mac pdfs so huge? And can I do anything about it? Previously I used pdf as a compact format for online distribution, but no more. Making things worse, when pdf files are combined, the size of the combined file is larger than the sum of the sizes (example, two pure text files, 110kB and 150kB becomes a 560 kB file when combined!). So, on my PC files usually got smaller when converting to pdf, but on Mac they get larger.
Notice that I'm talking about pure text documents, with no bitmap graphics. Surprise: the pdfs generated by Acrobat Pro are about the same size (sometimes bigger) than those generated by OS X.
I'm happy for my switch to Mac last year, but one thing has disappointed me: pdfs generated on the Mac are huge, generally 10 times the size of corresponding ones generated on my previous PC! I just bought Acrobat Pro, thinking it was the built in OS X pdf generator that was inefficient. ** libs gcc -std=gnu99 -I/home/biocbuild/bbs-2.4-bioc/R/include -I/usr/local/include -fpic -g -O2 -Wall -c convolve2.c -o convolve2.o gcc -std=gnu99 -shared -L/usr/local/lib64 -o MassSpecWavelet.so convolve2.o -L/home/biocbuild/bbs-2.4-bioc/R/lib -lR ** R ** data ** inst ** preparing package for lazy loading ** help *** installing help indices > Building/Updating help pages for package 'MassSpecWavelet' Formats: text html latex example MassSpecWavelet.package text html latex example cwt text html latex example exampleMS text html latex extendLength text html latex example extendNBase text html latex example getLocalMaximumCWT text html latex example getRidge text html latex example getRidgeLength text html latex Note: removing empty section \examples in file 'getRidgeValue.Rd' getRidgeValue text html latex identifyMajorPeaks text html latex example localMaximum text html latex example mzInd2vRange text html latex mzV2indRange text html latex peakDetectionCWT text html latex example plotLocalMax text html latex example plotPeak text html latex example plotRidgeList text html latex example Note: removing empty section \examples in file '' sav.gol text html latex Note: removing empty section \details in file 'smoothDWT.Rd' Note: removing empty section \references in file 'smoothDWT.Rd' Note: removing empty section \examples in file 'smoothDWT.Rd' smoothDWT text html latex tuneInPeakInfo text html latex example ** building package indices. * Installing *source* package 'MassSpecWavelet'. SKIPPED * checking PDF version of manual. OK * checking package vignettes in 'inst/doc'.
OK * checking for portable use of $BLAS_LIBS. OK * checking line endings in C/C++/Fortran sources/headers. OK * checking data for non-ASCII characters. OK * checking for code/documentation mismatches. OK * checking for missing documentation entries. OK * checking Rd files against version 2 parser.
OK * checking R code for possible problems. OK * checking S3 generic/method consistency. OK * checking for unstated dependencies in R code. OK * checking whether the name space can be loaded with stated dependencies. OK * checking whether the package can be loaded with stated dependencies. OK * checking whether the package can be loaded. OK * checking R files for non-ASCII characters. OK * checking DESCRIPTION meta-information. OK * checking for sufficient/correct file permissions. OK * checking whether package 'MassSpecWavelet' can be installed. OK * checking if this is a source package. Package * this is package 'MassSpecWavelet' version '1.10.0' * checking package name space information. OK * using log directory '/loc/home/biocbuild/bbs-2.4-bioc/meat/MassSpecWavelet.Rcheck' * using R version 2.9.2 () * using session charset: ISO8859-1 * using option '-no-vignettes' * checking for file 'MassSpecWavelet/DESCRIPTION'.