Revision 1973,
1.6 KB
checked in by munepi, 14 years ago
(diff) |
texlive: rebuilt zlib-1.2.5; applied security patches and some patches for libpoppler-0.12
|
-
Fix FTBFS with poppler again, they will never be able to keep APIs
Thanks to Ubuntu people for that patch
---
texk/web2c/pdftexdir/pdftoepdf.cc | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
old
|
new
|
|
650 | 650 | } |
651 | 651 | for (r = encodingList; r != 0; r = n) { |
652 | 652 | n = r->next; |
653 | | delete r->font; |
| 653 | // delete r->font; |
654 | 654 | delete r; |
655 | 655 | } |
656 | 656 | } |
… |
… |
|
690 | 690 | Page *page; |
691 | 691 | int rotate; |
692 | 692 | PDFRectangle *pagebox; |
| 693 | int minor_pdf_version_found, major_pdf_version_found; |
693 | 694 | float pdf_version_found, pdf_version_wanted; |
694 | 695 | // initialize |
695 | 696 | if (!isInit) { |
… |
… |
|
705 | 706 | // this works only for PDF 1.x -- but since any versions of PDF newer |
706 | 707 | // than 1.x will not be backwards compatible to PDF 1.x, pdfTeX will |
707 | 708 | // then have to changed drastically anyway. |
708 | | pdf_version_found = pdf_doc->doc->getPDFVersion(); |
| 709 | minor_pdf_version_found = pdf_doc->doc->getPDFMinorVersion(); |
| 710 | major_pdf_version_found = pdf_doc->doc->getPDFMajorVersion(); |
| 711 | pdf_version_found = major_pdf_version_found + (minor_pdf_version_found * 0.1); |
709 | 712 | pdf_version_wanted = 1 + (minor_pdf_version_wanted * 0.1); |
| 713 | |
710 | 714 | if (pdf_version_found > pdf_version_wanted) { |
711 | 715 | char msg[] = |
712 | 716 | "PDF inclusion: found PDF version <%.1f>, but at most version <%.1f> allowed"; |
Note: See
TracBrowser
for help on using the repository browser.