<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi Karl, Pali,
<div class=""><br class="">
<blockquote type="cite" class="">On Aug 5, 2016, at 8:07 AM, Karl Berry <<a href="mailto:karl@freefriends.org" class="">karl@freefriends.org</a>> wrote:<br class="">
<br class="">
I'm just asking if such thing is supported by pdftex... <br class="">
<br class="">
As the error message said: there's nothing in pdftex that can handle<br class="">
arbitrary incoming Type 3 fonts, if that's what you're after. As far as<br class="">
I know.<br class="">
<br class="">
PDF does support a form of Type 3 fonts (which is why pdftex can write<br class="">
them from pk bitmaps). It's similar to but simplified from PostScript<br class="">
Type 3. Described in section "9.6.5 Type 3 Fonts" (p.266ff.) in the<br class="">
PDF32000_2008.pdf reference.<br class="">
</blockquote>
<div class=""><br class="">
</div>
<div class="">Correct.</div>
<div class=""><br class="">
</div>
<div class="">PDF Type 3 fonts can contain arbitrary PDF graphics operators,</div>
<div class="">but no hinting. They must be packaged correctly.</div>
<div class=""><br class="">
</div>
<div class="">Compare this with PostScript Type 3 fonts, </div>
<div class="">which can contain arbitrary PostScript graphics operators.</div>
<div class="">A PDF reader need not support PostScript Type 3 fonts,</div>
<div class="">but should support PDF Type 3 fonts.</div>
<div class=""><br class="">
</div>
<div class="">One purpose of PDF was to *not* require a full PostScript</div>
<div class="">engine, with its Turing-completeness and associated</div>
<div class="">vulnerability to malicious attacks from within documents.</div>
<br class="">
<blockquote type="cite" class=""><br class="">
Thus, I see no reason in principle why pdftex could not read them, if<br class="">
someone wants to put in the work. I don't recall the question ever<br class="">
coming up before.<br class="">
</blockquote>
<div class=""><br class="">
</div>
<div class="">Pali, can you provide a version of your example where pdftex</div>
<div class="">complained about the Type 3 font?</div>
<div class="">Maybe it used PostScript operators that are not part of PDF,</div>
<div class="">or something else was wrong with how the font was structured?</div>
<br class="">
<blockquote type="cite" class=""><br class="">
(Coincidentally, there was an interesting talk at TUG16 about using<br class="">
Type3 fonts to do math operator sizing, which was the first time I'd<br class="">
seen Type 3 fonts come up in ages.<br class="">
<a href="http://tug.org/tug2016/abstracts/bayar.txt" class="">http://tug.org/tug2016/abstracts/bayar.txt</a>)<br class="">
<br class="">
karl<br class="">
</blockquote>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
Cheers</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>Ross<br class="">
<br class="">
<div class=""><br class="">
Dr Ross Moore<br class="">
Mathematics Dept | Level 2, S2.638 AHH<br class="">
Macquarie University, NSW 2109, Australia<br class="">
<br class="">
T: +61 2 9850 8955 | F: +61 2 9850 8114<br class="">
M:+61 407 288 255 | E: <a href="mailto:ross.moore@mq.edu.au" class="">ross.moore@mq.edu.au</a><br class="">
<br class="">
http://www.maths.mq.edu.au<br class="">
<br class="">
<br class="">
<span><img height="58" width="260" apple-inline="yes" id="81717C0E-2C8D-4749-ABE8-33FEA2A0FED3" apple-width="yes" apple-height="yes" src="cid:image001.png@01D030BE.D37A46F0" class=""></span><br class="">
<br class="">
<br class="">
CRICOS Provider Number 00002J. Think before you print. <br class="">
Please consider the environment before printing this email.<br class="">
<br class="">
This message is intended for the addressee named and may <br class="">
contain confidential information. If you are not the intended <br class="">
recipient, please delete it and notify the sender. Views expressed <br class="">
in this message are those of the individual sender, and are not <br class="">
necessarily the views of Macquarie University.<br class="">
</div>
<br class="">
</div>
</body>
</html>