[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Definitely positive font installation experience, but not without ca

From: Oliver Corff
Subject: Re: Definitely positive font installation experience, but not without caveats
Date: Fri, 21 Apr 2023 17:47:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

Hi Deri,


I should have thought of ps2pdf, but somehow I didn't see the wood due
to the trees.

Running ps2pdf on the 25 MB monster produced a palatable 28408 bytes of
pdf, and everything appears as it should.

I received the warning "Can't embed the complete font DFSongStd as it is
too large, embedding a subset." but I still have to find out whether
real-world documents in CJK are a challenge, or not.

Best regards,


On 21/04/2023 17:41, Deri wrote:
On Friday, 21 April 2023 15:44:17 BST Oliver Corff wrote:
I noticed a bit of latency while compiling *and* while displaying the
result --- so very untypical of groff.

When I wanted to attach the pdf result, I understood, why. The pdf file
is a whopping 25745276 bytes big.

The resulting pdf file contains one huge "stream" object approx. 100,000
lines long. I think this is the CJK glyph data.

Does groff have any concept of storing only those glyph shapes in the
target file which are really required by the document?

Thank you,

Best regards,

Hi Oliver,

This is called "font subsetting". Gropdf does not do that at the moment so the
size can be substantially reduced by running the pdf through ghostscript's
ps2pdf, if the pdf contains large embedded fonts. I say "at the moment", watch
this space, but it won't be in the upcoming 1.23.0.



Dr. Oliver Corff
Wittelsbacherstr. 5A
10707 Berlin
Tel.: +49-30-85727260

reply via email to

[Prev in Thread] Current Thread [Next in Thread]