Re: pdftex core dump when including certain pdf files

Ross Moore <[email protected]>
Newsgroups gmane.comp.tex.pdftex
Message-ID <[email protected]>
Hi all,

On Jul 15, 2016, at 3:51 PM, KAKUTO, Akira <[email protected]<mailto:[email protected]>> 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: [email protected]<mailto:[email protected]>

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


[cid:[email protected]]<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/>
image001.png (image/png, 4.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.