<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>> <span style="font-size: 12pt;">whose </span><span style="font-size: 12pt;">responsibility should that be -- the poppler library, the client application </span><span style="font-size: 12pt;">that uses poppler, or the individual end user?</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">The final responsibility should be the end user because poppler, ghostscript, and probably many other packages use those fonts, so distributions typically create a package for the fonts instead of including all of the fonts
with each application that might use them.</span></p>
<p><span style="font-size: 12pt;">For example, on Fedora 25, the package <span>urw-fonts-3:2.4-22.fc24.noarch provides <span>/usr/share/fonts/default/Type1/d050000l.pfb</span></span></span></p>
<p>Packages that require the fonts probably list urw-fonts as a dependency, so installing ghostscript or poppler-based applications automatically installs the fonts.</p>
<p>So if you install a package from a distribution, the package maintainer has the responsibility to list the fonts as a dependency, while if you build a package from source, you have the responsibility to install all of the dependencies.</p>
<br>
<span>>FYI here is the implementation from pdf.js</span>
<div><br>
</div>
<div><span></span>Most of that code is just setting up an encoding. It looks like the font is coming from an external file.</div>
<div><br>
</div>
<div>Regards, William</div>
<div><br>
</div>
<div>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> poppler <poppler-bounces@lists.freedesktop.org> on behalf of Jeroen Ooms <jeroen@berkeley.edu><br>
<b>Sent:</b> Wednesday, September 6, 2017 5:05 AM<br>
<b>To:</b> Jonathan Kew<br>
<b>Cc:</b> Albert Astals Cid; poppler@lists.freedesktop.org<br>
<b>Subject:</b> Re: [poppler] ZapfDingbats cannot be found on Windows</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On Wed, Sep 6, 2017 at 9:10 AM, Jonathan Kew <jfkthame@gmail.com> wrote:<br>
> On 05/09/2017 21:03, Albert Astals Cid wrote:<br>
>><br>
>> ./GlobalParamsWin.cc:102: {"ZapfDingbats", "d050000l.pfb",<br>
>> "wingding.ttf", gTrue},<br>
>><br>
>> This is the substitution table, i guess those files are not available on a<br>
>> moderm Windows?<br>
><br>
><br>
> I expect wingding.ttf is normally available; but it isn't a suitable<br>
> substitute for ZapfDingbats, as it has a totally different repertoire of<br>
> symbols.<br>
><br>
> The solution would be to ensure d050000l.pfb is available, but whose<br>
> responsibility should that be -- the poppler library, the client application<br>
> that uses poppler, or the individual end user?<br>
<br>
How do other pdf readers solve this? The same pdf renders OK using<br>
e.g. chrome and or firefox on the same machine.<br>
<br>
FYI here is the implementation from pdf.js:<br>
<a href="https://github.com/mozilla/pdf.js/pull/5251/files" id="LPlnk263696" previewremoved="true">https://github.com/mozilla/pdf.js/pull/5251/files</a>
<div id="LPBorder_GT_15046960110560.9031158384442706" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15046960110500.9935864187316092" role="presentation" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="ImageCell_15046960110520.15549189693742127" colspan="1" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;">
<div id="LPImageContainer_15046960110520.39154019864726775" style="background-color: rgb(255, 255, 255); height: 250px; position: relative; margin: auto; display: table; width: 250px;">
<a id="LPImageAnchor_15046960110530.2714298699102664" href="https://github.com/mozilla/pdf.js/pull/5251/files" target="_blank" style="display: table-cell; text-align: center;"><img id="LPThumbnailImageID_15046960110530.6033050687432153" width="250" height="250" style="display: inline-block; max-width: 250px; max-height: 250px; height: 250px; width: 250px; border-width: 0px; vertical-align: bottom;" src="https://avatars2.githubusercontent.com/u/2692120?v=4&s=400"></a></div>
</td>
<td id="TextCell_15046960110540.729968016396991" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_15046960110540.5160400087529435"></div>
<div id="LPTitle_15046960110540.748804068934178" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15046960110550.08879186672932349" href="https://github.com/mozilla/pdf.js/pull/5251/files" target="_blank" style="text-decoration: none;">Add basic support for ZapfDingbats by Snuffleupagus · Pull ...</a></div>
<div id="LPMetadata_15046960110550.13497660322697347" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
github.com</div>
<div id="LPDescription_15046960110560.272063050331103" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
pdf.js - PDF Reader in JavaScript</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
_______________________________________________<br>
poppler mailing list<br>
poppler@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/poppler" id="LPlnk818354" previewremoved="true">https://lists.freedesktop.org/mailman/listinfo/poppler</a>
<div id="LPBorder_GT_15046960398540.9482098661227472" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15046960398510.5603004019694833" role="presentation" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_15046960398520.35626427762589596" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_15046960398520.5055140952529589"></div>
<div id="LPTitle_15046960398520.5599094148403523" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15046960398520.013484126096444227" href="https://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank" style="text-decoration: none;">poppler Info Page - freedesktop.org</a></div>
<div id="LPMetadata_15046960398530.7789445895829712" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
lists.freedesktop.org</div>
<div id="LPDescription_15046960398530.9507837229174299" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
Subscribing to poppler: Subscribe to poppler by filling out the following form. Use of all freedesktop.org lists is subject to our Code of ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>