Skip Menu |

This queue is for tickets about the PDF-API2 CPAN distribution.

Report information
The Basics
Id: 130041
Status: open
Priority: 0/
Queue: PDF-API2

People
Owner: Nobody in particular
Requestors: jidanni [...] jidanni.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Warn that fonts are not embedded by default
From: jidanni [...] jidanni.org
User searches for the word "embed" and finds only -noembed Disables embedding of the font file. so assumes fonts are embedded by default. Alas it turns out for cjkfonts no embedding is possible, which the user will only find out too late when he is already at the printing company...
Hmm. Some day I'll have to deep dive into the PDF::Builder code and see what makes CJK fonts so different from other (TTF/OTF) fonts, and why they can't be embedded. Ditto for 130040 (can't synthesize a font from CJK). That's assuming that it's not a simple oversight, and that the .data files are still a significant difference.
Subject: Re: [rt.cpan.org #130041] Warn that fonts are not embedded by default
Date: Fri, 12 Jul 2019 23:32:01 +0800
To: "Phil M. Perry via RT" <bug-PDF-API2 [...] rt.cpan.org>
From: 積丹尼 Dan Jacobson <jidanni [...] jidanni.org>
(Non-embedded looks great at home, no matter what browser, viewer, etc. but once you get to town... surprise surprise :-( ).
Subject: Re: [rt.cpan.org #130041] Warn that fonts are not embedded by default
Date: Fri, 12 Jul 2019 23:30:05 +0800
To: "Phil M. Perry via RT" <bug-PDF-API2 [...] rt.cpan.org>
From: 積丹尼 Dan Jacobson <jidanni [...] jidanni.org>
Well for anybody reading this, be sure to $ pdftocairo -pdf non_embedded.pdf embedded.pdf before sending your document to anybody important!
Subject: Re: [rt.cpan.org #130041] AutoReply: Warn that fonts are not embedded by default
Date: Sun, 14 Jul 2019 19:21:06 +0800
To: "Bugs in PDF-API2 via RT" <bug-PDF-API2 [...] rt.cpan.org>
From: 積丹尼 Dan Jacobson <jidanni [...] jidanni.org>
I also note that sometimes the (pdfcairo) embedded font version of a PDF is smaller than the non-embedded font version! -rw-r--r-- 1 84267 07-14 19:16 guihua.pdf -rw-r--r-- 1 114732 07-14 19:16 guihua.pdf.non_embedded