But there's no requirement that non-base fonts be embedded, is there?

Yes and no.  For one, there's substitution by name, e.g. Arial <-> Helvetica, etc. However, unless their visual appearance, and in particular the individual character widths are quite similar, the results may be poor.

Then, there's font emulation. For example, Adobe Reader comes with two Multiple Master fonts (Adobe Sans, Adobe Serif), which are used to emulate fonts whose glyphs aren't available. However, as the technique essentially uses linear interpolation (without any info about the original font except basic data like character widths, boldness, slant, etc.), it's never really the typeface originally intended, although the results can look pretty decent.  Moreover, in order to get decent results with this technique, at least the font description and the character widths for the non-base font would have to be embedded, which PDF::Create doesn't do either...

In short, if you want precise results, there's no way around embedding the font including the appropriate glyph subset.

Other than those technical details, I was under the impression the OP wanted a very specific font. If s/he had been happy with some substitute for whatever sans-serif font, s/he might just as well have left Helvetica as it was (which already is sans-serif). But maybe I've misread the intentions...


In reply to Re^3: PDF::Create Fonts by almut
in thread PDF::Create Fonts by Heffstar

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.