Re: pdftex - Support for Type3 fonts
Ross Moore <[email protected]>
| Newsgroups | gmane.comp.tex.pdftex |
|---|---|
| Message-ID | <[email protected]> |
Hi Karl, Pali, On Aug 5, 2016, at 8:07 AM, Karl Berry <[email protected]<mailto:[email protected]>> wrote: I'm just asking if such thing is supported by pdftex... As the error message said: there's nothing in pdftex that can handle arbitrary incoming Type 3 fonts, if that's what you're after. As far as I know. PDF does support a form of Type 3 fonts (which is why pdftex can write them from pk bitmaps). It's similar to but simplified from PostScript Type 3. Described in section "9.6.5 Type 3 Fonts" (p.266ff.) in the PDF32000_2008.pdf reference. Correct. PDF Type 3 fonts can contain arbitrary PDF graphics operators, but no hinting. They must be packaged correctly. Compare this with PostScript Type 3 fonts, which can contain arbitrary PostScript graphics operators. A PDF reader need not support PostScript Type 3 fonts, but should support PDF Type 3 fonts. One purpose of PDF was to *not* require a full PostScript engine, with its Turing-completeness and associated vulnerability to malicious attacks from within documents. Thus, I see no reason in principle why pdftex could not read them, if someone wants to put in the work. I don't recall the question ever coming up before. Pali, can you provide a version of your example where pdftex complained about the Type 3 font? Maybe it used PostScript operators that are not part of PDF, or something else was wrong with how the font was structured? (Coincidentally, there was an interesting talk at TUG16 about using Type3 fonts to do math operator sizing, which was the first time I'd seen Type 3 fonts come up in ages. http://tug.org/tug2016/abstracts/bayar.txt) karl Cheers Ross Dr Ross Moore Mathematics Dept | Level 2, S2.638 AHH Macquarie University, NSW 2109, Australia T: +61 2 9850 8955 | F: +61 2 9850 8114 M:+61 407 288 255 | E: [email protected]<mailto:[email protected]> http://www.maths.mq.edu.au [cid:image001.png-kX1rjE+F/CZU/[email protected]] CRICOS Provider Number 00002J. Think before you print. Please consider the environment before printing this email. This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of Macquarie University.
image001.png
(image/png, 4.5 KB) - not displayed