[pdftex] pdftex core dump when including certain pdf files

Ross Moore ross.moore at mq.edu.au
Fri Jul 15 09:34:25 CEST 2016


Hi all,

On Jul 15, 2016, at 3:51 PM, KAKUTO, Akira <kakuto at fuk.kindai.ac.jp<mailto:kakuto at fuk.kindai.ac.jp>> wrote:

Hi Norbert,

But this may not be a desirable fix.

If we use getNum() instead of getInt() in pdftoepdf.cc<http://pdftoepdf.cc>,
tryplot.pdf is created successfully even if we use poppler.
But I don't know the change is harmless or not.
See an attached pdftoepdf.cc.diff.

Surely it is the right thing to be doing.
The PDF spec says  StemV  is a  number  so doesn’t require an  integer .



Leading


number


(Optional) The spacing between baselines of consecutive lines of text. Default value: 0.


CapHeight


number


(Required for fonts that have Latin characters, except for Type 3 fonts)The vertical coordinate of the top of flat capital letters, measured from the baseline.


XHeight


number


(Optional) The font’s x height: the vertical coordinate of the top of flat nonascending lowercase letters (like the letter x), measured from the baseline, in fonts that have Latin characters. Default value: 0.


StemV


number


(Required, except for Type 3 fonts) The thickness, measured horizontally, of the dominant vertical stems of glyphs in the font.


StemH


number


(Optional) The thickness, measured vertically, of the dominant horizontal stems of glyphs in the font. Default value: 0.


bottom of page 282 of:


 Document management — Portable document format — Part 1: PDF 1.7


Best,
Akira
<pdftoepdf.cc.diff>


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<tel:%2B61%202%209850%209695>
M:+61 407 288 255<tel:%2B61%20409%20125%20670>  |  E: ross.moore at mq.edu.au<mailto:rick.minter at mq.edu.au>

http://www.maths.mq.edu.au<http://mq.edu.au/>


[cid:image001.png at 01D030BE.D37A46F0]<http://mq.edu.au/>


CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.<http://mq.edu.au/>

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.<http://mq.edu.au/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pdftex/attachments/20160715/e3ee4daf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4605 bytes
Desc: image001.png
URL: <http://tug.org/pipermail/pdftex/attachments/20160715/e3ee4daf/attachment-0001.png>


More information about the pdftex mailing list