pax_global_header00006660000000000000000000000064150437515340014521gustar00rootroot0000000000000052 comment=2dddcf3fee6963e58d4a09b8f248cb21705079c8 pdfposter-v0.9.1/000077500000000000000000000000001504375153400137245ustar00rootroot00000000000000pdfposter-v0.9.1/.dir-locals.el000066400000000000000000000014461504375153400163620ustar00rootroot00000000000000;; Per-directory local variables for GNU Emacs 23 and later. ;; Copyright 2022 by Hartmut Goebel ;; Licensed under the GNU General Public License v3 or later (GPLv3+). ;; SPDX-License-Identifier: GPL-3.0-or-later ( (nil . ((fill-column . 78) (tab-width . 4) (ispell-check-comments . exclusive) (ispell-local-dictionary . "en_US") (indent-tabs-mode . nil) (safe-local-variable-values '(sentence-end-double-space . t) (eval add-hook 'rst-mode-hook #'flyspell-mode) (eval add-hook 'text-mode-hook #'flyspell-mode) (eval add-hook 'c-mode-hook #'flyspell-prog-mode) (eval add-hook 'python-mode-hook #'flyspell-prog-mode) (flyspell-issue-message-flag . f) ; avoid messages for every word ))) (makefile-mode . ((indent-tabs-mode . t))) ) pdfposter-v0.9.1/.envrc000066400000000000000000000006711504375153400150460ustar00rootroot00000000000000# -*- mode: sh -*- # Copyright 2022-2025 by Hartmut Goebel # SPDX-License-Identifier: CC0-1.0 test -d $(direnv_layout_dir) && ls $(direnv_layout_dir) | grep python __has_pyenv=$? if [ $__has_pyenv -ne 0 ] ; then layout_python3 python -m pip install -r requirements.txt else path_add PATH $(ls -d $(direnv_layout_dir)/python-*/bin) fi #path_add PYTHONPATH $PWD if [ $__has_pyenv -ne 0 ] ; then python -m pip install -e . fi pdfposter-v0.9.1/.gitattributes000066400000000000000000000003001504375153400166100ustar00rootroot00000000000000# SPDX-FileCopyrightText: NONE # SPDX-License-Identifier: CC0-1.0 * text=auto *.odt -text # image files and such *.pdf -text *.ico -text *.icns -text *.tiff -text *.png -text pdfposter-v0.9.1/.gitignore000066400000000000000000000014211504375153400157120ustar00rootroot00000000000000# -*- mode: gitignore; -*- # SPDX-FileCopyrightText: NONE # SPDX-License-Identifier: CC0-1.0 # crazy-compiler standard excludes /projectlogo.png /projectlogo.ico /docs/_build/ *.[1-9] .direnv /*/locale/*/*/*.mo # editor artefacts *~ .#* \#*# .*.swp # build artefacts /.sconf_temp /.sconsign.* # Python build artefacts /build/ /dist/ /pip-selfcheck.json /pyvenv.cfg *.py[cod] *.egg *.egg-info *.egg-link /.eggs/ /.cache /.tox /.coverage /.direnv /bin /projectlogo.ico /projectlogo.png # /docs/ /docs/*.1 /docs/*.html /docs/_build # /examples/ /examples/poster-wide-*.png /examples/poster-wide-*.pdf /examples/poster-tall-*.pdf /examples/poster-tall-*.png # /test/ /test/chessboard.pdf /test/*.ps # OS generated files *.DS_[sS]Store* ehthumbs.db Icon? Thumbs.db *.pid ._.**~ pdfposter-v0.9.1/.gitlab-ci.yml000066400000000000000000000011511504375153400163560ustar00rootroot00000000000000# Copyright (C) 2008-2025 Hartmut Goebel # SPDX-License-Identifier: GPL-3.0-or-later #pdf: # script: # - make pdf # artifacts: # expire_in: 1 mos # paths: # - output before_script: - pip install tox test: image: python:${PYTHON_VERSION}-slim script: tox -e "py" parallel: matrix: - PYTHON_VERSION: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] linters: image: python:3.13-slim script: # For now only check the readme - tox -e readme #- tox -e linters # As of 2017-02 not available in yml file. #coverage: /^TOTAL\s+.*\s+(\d+\%)/ pdfposter-v0.9.1/.readthedocs.yaml000066400000000000000000000006211504375153400171520ustar00rootroot00000000000000# Read the Docs configuration file for Sphinx projects # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details # # SPDX-FileCopyrightText: Based on the Read the Docs documentation # SPDX-License-Identifier: CC0-1.0 version: 2 build: os: ubuntu-22.04 tools: python: "3" python: install: - requirements: docs/requirements-doc.txt sphinx: configuration: docs/conf.py pdfposter-v0.9.1/CHANGES000066400000000000000000000077031504375153400147260ustar00rootroot00000000000000 0.9.1 (2025-08-03) ------------------ * Fix missing localization files in distribution. Actually all translations have been missing. * Fix missing translation for Python < 3.10 argparse. * Update translations. * Add missing copyright texts, license identifiers and license files. * Lots of cleanup to the test, build and packaging process. 0.9.post2 (2025-07-28) ---------------------- * Fix scaling the page. This was totally broken in version 0.9, leading to empty pages. * Drop support for Python 3.7. The required version of the library pdfposter is based on doesn't support that version any longer. * Translate more strings. Update translations. 0.9.post1 (2025-07-22) ---------------------- * Fix packaging and upload to PyPI. 0.9 (2025-07-22) ---------------- * Rename the package and module to just `pdfposter`, which was the original name. * Add support for localization. Languages currently supported are: German, French (thanks to LS-Localicows), Spanish and Swedish (thanks to Stefan2255). Contributions for more languages are welcome. Please check out https://translate.codeberg.org/projects/pdftools/. * Improve documentation. * Add support for Python 3.11, 3.12 and 3.13. Drop support for Python 3.6. * Port to version 3 of the `pypdf` library (thanks to psykose). 0.8.1 (2022-11-04) ------------------ * Fix box-scaling which was totally buggy in release 0.8 (and I wonder why nobody noticed). * Fix plural forms in info messages. 0.8 (2022-06-27) ---------------- * Be less strict when reading PDF files. * Enhance some help messages. * Drop support for Python 2 and Python <= 3.5. Minimum supported versions are now 3.6 to 3.10. * Internal changes: - Update required version of `PyPDF` to 2.1.1. - Enhance code quality. 0.7 (2018-06-24) ---------------- * Incompatible change: `DIN lang` and `Envelope No. 10` are now defined as landscape formats. * New options ``-f``/``--first`` and ``-l``/``--last`` for specifying the first resp. last page to convert * Reduce the size of the output file a lot. Now the output file is nearly the same size as the input file. While this behaviour was intended from the beginning, it was not yet implemented for two reasons: The content was a) copied for each print-page and b) not compressed. * Make the content of each page appear only once in the output file. This vastly reduces the size of the output file. * Compress page content. Now the output file is nearly the same size as the input file in much more cases. I thought, the underlying library will do this automatically, but it does not. * Fix bug in PDF code used for clipping the page content. Many thanks to Johannes Brödel for reporting this bug. * Add support for Python 3. * Use `PyPFDF2` instead of the unmaintained `pyPDF`. 0.6.0 (2013-05-21) ----------------------------- * New option ``-A``/``--art-box`` to use the content area defined by the ArtBox instead of the TrimBox. * The page is now clipped to the TrimBox resp. ArtBox to ensure nothing outside of this box gets printed. * No longer set the CropBox, as this is interpreted quite differently by different renderers (even if the PDF 1.7 standard defines its behaviour). * Pages are now ordered top to bottom. This is a more natural for humans used to starting at the upper left. Thanks to Robert Schroll for the patch. * Smaller enhancements, e.g. more precise error massages, better error handling, etc. 0.5.0 (2009-04-20) ----------------------------- * Fix source-distribution package: The Python source-files have been missing. 0.4.6 (2009-01-04) ----------------------------- * Open PDF files in binary mode. * Fixes to the SConscript file. .. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later .. Local Variables: mode: rst ispell-local-dictionary: "american" End: pdfposter-v0.9.1/INSTALL000077700000000000000000000000001504375153400210732docs/Installation.rstustar00rootroot00000000000000pdfposter-v0.9.1/LICENSES/000077500000000000000000000000001504375153400151315ustar00rootroot00000000000000pdfposter-v0.9.1/LICENSES/CC-BY-ND-4.0.txt000066400000000000000000000406761504375153400173020ustar00rootroot00000000000000Creative Commons Attribution-NoDerivatives 4.0 International Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. Using Creative Commons Public Licenses Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors. Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public. Creative Commons Attribution-NoDerivatives 4.0 International Public License By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-NoDerivatives 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. Section 1 – Definitions. a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. b. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. c. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. d. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. e. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. f. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. g. Licensor means the individual(s) or entity(ies) granting rights under this Public License. h. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. i. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. j. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. Section 2 – Scope. a. License grant. 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: A. reproduce and Share the Licensed Material, in whole or in part; and B. produce and reproduce, but not Share, Adapted Material. 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. 3. Term. The term of this Public License is specified in Section 6(a). 4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. 5. Downstream recipients. A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. B. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. 6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). b. Other rights. 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. 2. Patent and trademark rights are not licensed under this Public License. 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. Section 3 – License Conditions. Your exercise of the Licensed Rights is expressly made subject to the following conditions. a. Attribution. 1. If You Share the Licensed Material, You must: A. retain the following if it is supplied by the Licensor with the Licensed Material: i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); ii. a copyright notice; iii. a notice that refers to this Public License; iv. a notice that refers to the disclaimer of warranties; v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. 2. For the avoidance of doubt, You do not have permission under this Public License to Share Adapted Material. 3. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. 4. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. Section 4 – Sui Generis Database Rights. Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database, provided You do not Share Adapted Material; b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. Section 5 – Disclaimer of Warranties and Limitation of Liability. a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. Section 6 – Term and Termination. a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or 2. upon express reinstatement by the Licensor. c. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. d. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. Section 7 – Other Terms and Conditions. a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. Section 8 – Interpretation. a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. Creative Commons may be contacted at creativecommons.org. pdfposter-v0.9.1/LICENSES/CC0-1.0.txt000066400000000000000000000156101504375153400165360ustar00rootroot00000000000000Creative Commons Legal Code CC0 1.0 Universal CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER. Statement of Purpose The laws of most jurisdictions throughout the world automatically confer exclusive Copyright and Related Rights (defined below) upon the creator and subsequent owner(s) (each and all, an "owner") of an original work of authorship and/or a database (each, a "Work"). Certain owners wish to permanently relinquish those rights to a Work for the purpose of contributing to a commons of creative, cultural and scientific works ("Commons") that the public can reliably and without fear of later claims of infringement build upon, modify, incorporate in other works, reuse and redistribute as freely as possible in any form whatsoever and for any purposes, including without limitation commercial purposes. These owners may contribute to the Commons to promote the ideal of a free culture and the further production of creative, cultural and scientific works, or to gain reputation or greater distribution for their Work in part through the use and efforts of others. For these and/or other purposes and motivations, and without any expectation of additional consideration or compensation, the person associating CC0 with a Work (the "Affirmer"), to the extent that he or she is an owner of Copyright and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its terms, with knowledge of his or her Copyright and Related Rights in the Work and the meaning and intended legal effect of CC0 on those rights. 1. Copyright and Related Rights. A Work made available under CC0 may be protected by copyright and related or neighboring rights ("Copyright and Related Rights"). Copyright and Related Rights include, but are not limited to, the following: i. the right to reproduce, adapt, distribute, perform, display, communicate, and translate a Work; ii. moral rights retained by the original author(s) and/or performer(s); iii. publicity and privacy rights pertaining to a person's image or likeness depicted in a Work; iv. rights protecting against unfair competition in regards to a Work, subject to the limitations in paragraph 4(a), below; v. rights protecting the extraction, dissemination, use and reuse of data in a Work; vi. database rights (such as those arising under Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, and under any national implementation thereof, including any amended or successor version of such directive); and vii. other similar, equivalent or corresponding rights throughout the world based on applicable law or treaty, and any national implementations thereof. 2. Waiver. To the greatest extent permitted by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright and Related Rights and associated claims and causes of action, whether now known or unknown (including existing as well as future claims and causes of action), in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each member of the public at large and to the detriment of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject to revocation, rescission, cancellation, termination, or any other legal or equitable action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's express Statement of Purpose. 3. Public License Fallback. Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable, non sublicensable, non exclusive, irrevocable and unconditional license to exercise Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "License"). The License shall be deemed effective as of the date CC0 was applied by Affirmer to the Work. Should any part of the License for any reason be judged legally invalid or ineffective under applicable law, such partial invalidity or ineffectiveness shall not invalidate the remainder of the License, and in such case Affirmer hereby affirms that he or she will not (i) exercise any of his or her remaining Copyright and Related Rights in the Work or (ii) assert any associated claims and causes of action with respect to the Work, in either case contrary to Affirmer's express Statement of Purpose. 4. Limitations and Disclaimers. a. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document. b. Affirmer offers the Work as-is and makes no representations or warranties of any kind concerning the Work, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law. c. Affirmer disclaims responsibility for clearing rights of other persons that may apply to the Work or any use thereof, including without limitation any person's Copyright and Related Rights in the Work. Further, Affirmer disclaims responsibility for obtaining any necessary consents, permissions or other rights required for any use of the Work. d. Affirmer understands and acknowledges that Creative Commons is not a party to this document and has no duty or obligation with respect to this CC0 or use of the Work. pdfposter-v0.9.1/LICENSES/GFDL-1.3-or-later.txt000066400000000000000000000544071504375153400204420ustar00rootroot00000000000000GNU Free Documentation License Version 1.3, 3 November 2008 Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. 0. PREAMBLE The purpose of this License is to make a manual, textbook, or other functional and useful document "free" in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others. This License is a kind of "copyleft", which means that derivative works of the document must themselves be free in the same sense. It complements the GNU General Public License, which is a copyleft license designed for free software. We have designed this License in order to use it for manuals for free software, because free software needs free documentation: a free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless of subject matter or whether it is published as a printed book. We recommend this License principally for works whose purpose is instruction or reference. 1. APPLICABILITY AND DEFINITIONS This License applies to any manual or other work, in any medium, that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. Such a notice grants a world-wide, royalty-free license, unlimited in duration, to use that work under the conditions stated herein. The "Document", below, refers to any such manual or work. Any member of the public is a licensee, and is addressed as "you". You accept the license if you copy, modify or distribute the work in a way requiring permission under copyright law. A "Modified Version" of the Document means any work containing the Document or a portion of it, either copied verbatim, or with modifications and/or translated into another language. A "Secondary Section" is a named appendix or a front-matter section of the Document that deals exclusively with the relationship of the publishers or authors of the Document to the Document's overall subject (or to related matters) and contains nothing that could fall directly within that overall subject. (Thus, if the Document is in part a textbook of mathematics, a Secondary Section may not explain any mathematics.) The relationship could be a matter of historical connection with the subject or with related matters, or of legal, commercial, philosophical, ethical or political position regarding them. The "Invariant Sections" are certain Secondary Sections whose titles are designated, as being those of Invariant Sections, in the notice that says that the Document is released under this License. If a section does not fit the above definition of Secondary then it is not allowed to be designated as Invariant. The Document may contain zero Invariant Sections. If the Document does not identify any Invariant Sections then there are none. The "Cover Texts" are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says that the Document is released under this License. A Front-Cover Text may be at most 5 words, and a Back-Cover Text may be at most 25 words. A "Transparent" copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, that is suitable for revising the document straightforwardly with generic text editors or (for images composed of pixels) generic paint programs or (for drawings) some widely available drawing editor, and that is suitable for input to text formatters or for automatic translation to a variety of formats suitable for input to text formatters. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has been arranged to thwart or discourage subsequent modification by readers is not Transparent. An image format is not Transparent if used for any substantial amount of text. A copy that is not "Transparent" is called "Opaque". Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo input format, LaTeX input format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML, PostScript or PDF designed for human modification. Examples of transparent image formats include PNG, XCF and JPG. Opaque formats include proprietary formats that can be read and edited only by proprietary word processors, SGML or XML for which the DTD and/or processing tools are not generally available, and the machine-generated HTML, PostScript or PDF produced by some word processors for output purposes only. The "Title Page" means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the material this License requires to appear in the title page. For works in formats which do not have any title page as such, "Title Page" means the text near the most prominent appearance of the work's title, preceding the beginning of the body of the text. The "publisher" means any person or entity that distributes copies of the Document to the public. A section "Entitled XYZ" means a named subunit of the Document whose title either is precisely XYZ or contains XYZ in parentheses following text that translates XYZ in another language. (Here XYZ stands for a specific section name mentioned below, such as "Acknowledgements", "Dedications", "Endorsements", or "History".) To "Preserve the Title" of such a section when you modify the Document means that it remains a section "Entitled XYZ" according to this definition. The Document may include Warranty Disclaimers next to the notice which states that this License applies to the Document. These Warranty Disclaimers are considered to be included by reference in this License, but only as regards disclaiming warranties: any other implication that these Warranty Disclaimers may have is void and has no effect on the meaning of this License. 2. VERBATIM COPYING You may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this License. You may not use technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 3. You may also lend copies, under the same conditions stated above, and you may publicly display copies. 3. COPYING IN QUANTITY If you publish printed copies (or copies in media that commonly have printed covers) of the Document, numbering more than 100, and the Document's license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify you as the publisher of these copies. The front cover must present the full title with all words of the title equally prominent and visible. You may add other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document and satisfy these conditions, can be treated as verbatim copying in other respects. If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit reasonably) on the actual cover, and continue the rest onto adjacent pages. If you publish or distribute Opaque copies of the Document numbering more than 100, you must either include a machine-readable Transparent copy along with each Opaque copy, or state in or with each Opaque copy a computer-network location from which the general network-using public has access to download using public-standard network protocols a complete Transparent copy of the Document, free of added material. If you use the latter option, you must take reasonably prudent steps, when you begin distribution of Opaque copies in quantity, to ensure that this Transparent copy will remain thus accessible at the stated location until at least one year after the last time you distribute an Opaque copy (directly or through your agents or retailers) of that edition to the public. It is requested, but not required, that you contact the authors of the Document well before redistributing any large number of copies, to give them a chance to provide you with an updated version of the Document. 4. MODIFICATIONS You may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version: A. Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, and from those of previous versions (which should, if there were any, be listed in the History section of the Document). You may use the same title as a previous version if the original publisher of that version gives permission. B. List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in the Modified Version, together with at least five of the principal authors of the Document (all of its principal authors, if it has fewer than five), unless they release you from this requirement. C. State on the Title page the name of the publisher of the Modified Version, as the publisher. D. Preserve all the copyright notices of the Document. E. Add an appropriate copyright notice for your modifications adjacent to the other copyright notices. F. Include, immediately after the copyright notices, a license notice giving the public permission to use the Modified Version under the terms of this License, in the form shown in the Addendum below. G. Preserve in that license notice the full lists of Invariant Sections and required Cover Texts given in the Document's license notice. H. Include an unaltered copy of this License. I. Preserve the section Entitled "History", Preserve its Title, and add to it an item stating at least the title, year, new authors, and publisher of the Modified Version as given on the Title Page. If there is no section Entitled "History" in the Document, create one stating the title, year, authors, and publisher of the Document as given on its Title Page, then add an item describing the Modified Version as stated in the previous sentence. J. Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for previous versions it was based on. These may be placed in the "History" section. You may omit a network location for a work that was published at least four years before the Document itself, or if the original publisher of the version it refers to gives permission. K. For any section Entitled "Acknowledgements" or "Dedications", Preserve the Title of the section, and preserve in the section all the substance and tone of each of the contributor acknowledgements and/or dedications given therein. L. Preserve all the Invariant Sections of the Document, unaltered in their text and in their titles. Section numbers or the equivalent are not considered part of the section titles. M. Delete any section Entitled "Endorsements". Such a section may not be included in the Modified Version. N. Do not retitle any existing section to be Entitled "Endorsements" or to conflict in title with any Invariant Section. O. Preserve any Warranty Disclaimers. If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no material copied from the Document, you may at your option designate some or all of these sections as invariant. To do this, add their titles to the list of Invariant Sections in the Modified Version's license notice. These titles must be distinct from any other section titles. You may add a section Entitled "Endorsements", provided it contains nothing but endorsements of your Modified Version by various parties--for example, statements of peer review or that the text has been approved by an organization as the authoritative definition of a standard. You may add a passage of up to five words as a Front-Cover Text, and a passage of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts in the Modified Version. Only one passage of Front-Cover Text and one of Back-Cover Text may be added by (or through arrangements made by) any one entity. If the Document already includes a cover text for the same cover, previously added by you or by arrangement made by the same entity you are acting on behalf of, you may not add another; but you may replace the old one, on explicit permission from the previous publisher that added the old one. The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to assert or imply endorsement of any Modified Version. 5. COMBINING DOCUMENTS You may combine the Document with other documents released under this License, under the terms defined in section 4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice, and that you preserve all their Warranty Disclaimers. The combined work need only contain one copy of this License, and multiple identical Invariant Sections may be replaced with a single copy. If there are multiple Invariant Sections with the same name but different contents, make the title of each such section unique by adding at the end of it, in parentheses, the name of the original author or publisher of that section if known, or else a unique number. Make the same adjustment to the section titles in the list of Invariant Sections in the license notice of the combined work. In the combination, you must combine any sections Entitled "History" in the various original documents, forming one section Entitled "History"; likewise combine any sections Entitled "Acknowledgements", and any sections Entitled "Dedications". You must delete all sections Entitled "Endorsements". 6. COLLECTIONS OF DOCUMENTS You may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each of the documents in all other respects. You may extract a single document from such a collection, and distribute it individually under this License, provided you insert a copy of this License into the extracted document, and follow this License in all other respects regarding verbatim copying of that document. 7. AGGREGATION WITH INDEPENDENT WORKS A compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or distribution medium, is called an "aggregate" if the copyright resulting from the compilation is not used to limit the legal rights of the compilation's users beyond what the individual works permit. When the Document is included in an aggregate, this License does not apply to the other works in the aggregate which are not themselves derivative works of the Document. If the Cover Text requirement of section 3 is applicable to these copies of the Document, then if the Document is less than one half of the entire aggregate, the Document's Cover Texts may be placed on covers that bracket the Document within the aggregate, or the electronic equivalent of covers if the Document is in electronic form. Otherwise they must appear on printed covers that bracket the whole aggregate. 8. TRANSLATION Translation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include translations of some or all Invariant Sections in addition to the original versions of these Invariant Sections. You may include a translation of this License, and all the license notices in the Document, and any Warranty Disclaimers, provided that you also include the original English version of this License and the original versions of those notices and disclaimers. In case of a disagreement between the translation and the original version of this License or a notice or disclaimer, the original version will prevail. If a section in the Document is Entitled "Acknowledgements", "Dedications", or "History", the requirement (section 4) to Preserve its Title (section 1) will typically require changing the actual title. 9. TERMINATION You may not copy, modify, sublicense, or distribute the Document except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, or distribute it is void, and will automatically terminate your rights under this License. However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, receipt of a copy of some or all of the same material does not give you any rights to use it. 10. FUTURE REVISIONS OF THIS LICENSE The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See http://www.gnu.org/copyleft/. Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this License "or any later version" applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been published (not as a draft) by the Free Software Foundation. If the Document does not specify a version number of this License, you may choose any version ever published (not as a draft) by the Free Software Foundation. If the Document specifies that a proxy can decide which future versions of this License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Document. 11. RELICENSING "Massive Multiauthor Collaboration Site" (or "MMC Site") means any World Wide Web server that publishes copyrightable works and also provides prominent facilities for anybody to edit those works. A public wiki that anybody can edit is an example of such a server. A "Massive Multiauthor Collaboration" (or "MMC") contained in the site means any set of copyrightable works thus published on the MMC site. "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0 license published by Creative Commons Corporation, a not-for-profit corporation with a principal place of business in San Francisco, California, as well as future copyleft versions of that license published by that same organization. "Incorporate" means to publish or republish a Document, in whole or in part, as part of another Document. An MMC is "eligible for relicensing" if it is licensed under this License, and if all works that were first published under this License somewhere other than this MMC, and subsequently incorporated in whole or in part into the MMC, (1) had no cover texts or invariant sections, and (2) were thus incorporated prior to November 1, 2008. The operator of an MMC Site may republish an MMC contained in the site under CC-BY-SA on the same site at any time before August 1, 2009, provided the MMC is eligible for relicensing. ADDENDUM: How to use this License for your documents To use this License in a document you have written, include a copy of the License in the document and put the following copyright and license notices just after the title page: Copyright (c) YEAR YOUR NAME. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, replace the "with...Texts." line with this: with the Invariant Sections being LIST THEIR TITLES, with the Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. If you have Invariant Sections without Cover Texts, or some other combination of the three, merge those two alternatives to suit the situation. If your document contains nontrivial examples of program code, we recommend releasing these examples in parallel under your choice of free software license, such as the GNU General Public License, to permit their use in free software. pdfposter-v0.9.1/LICENSES/GPL-3.0-or-later.txt000066400000000000000000001035621504375153400203440ustar00rootroot00000000000000GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright © 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. “This License” refers to version 3 of the GNU General Public License. “Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. “The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations. To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work. A “covered work” means either the unmodified Program or a work based on the Program. To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work. A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”. c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. “Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. “Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”. A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”. You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . pdfposter-v0.9.1/MANIFEST.in000066400000000000000000000003771504375153400154710ustar00rootroot00000000000000# SPDX-FileCopyrightText: NONE # SPDX-License-Identifier: CC0-1.0 graft docs prune docs/_build include CHANGES include INSTALL include README.txt include pdfposter.rst include */locale/*.pot include */locale/*/*/*.po global-exclude SConstruct SConscript pdfposter-v0.9.1/Makefile000066400000000000000000000030311504375153400153610ustar00rootroot00000000000000# Copyright (C) 2008-2025 Hartmut Goebel # SPDX-License-Identifier: GPL-3.0-or-later .PHONY: all .PHONY: i18n-extract i18n-init i18n-update i18n-compile i18n-merge .PHONY: weblate-merge all: projectlogo.png %.png: %.svg inkscape --export-dpi=75 --export-overwrite --export-type=png $< # ---- i18n support ---— # Run babel via setup.py so babel picks up the config from setup.cfg WEBLATE=https://translate.codeberg.org/git/pdftools/pdfposter/ PACKAGE_DIR=pdfposter DOMAIN=pdfposter WEBLATE_BRANCH=develop # For every update: extract/update message template i18n-extract: mkdir -p ${PACKAGE_DIR}/locale python setup.py extract_messages \ --input-dirs=${PACKAGE_DIR},$(shell \ python -c "import argparse;print(argparse.__file__)") git commit -m "i18n: Update translation template file (.pot)." \ ${PACKAGE_DIR}/locale/${DOMAIN}.pot # Once per language: Create a new translation from the template i18n-init: python setup.py init_catalog --locale "${language}" # Update existing translations (from the template) i18n-update: i18n-extract python setup.py update_catalog echo "Now edit the messages and run 'make i18n-compile' for testing" # Compile the message catalogs # Catalogs are automatically compiled by zest.release when running 'release'. i18n-compile: python setup.py compile_catalog i18n-merge: weblate-merge weblate-merge: git remote -v | grep -cq weblate || \ git remote add weblate ${WEBLATE} git fetch weblate ${WEBLATE_BRANCH} git merge --no-edit weblate/${WEBLATE_BRANCH} pdfposter-v0.9.1/README.txt000066400000000000000000000040661504375153400154300ustar00rootroot00000000000000========================== pdfposter ========================== ------------------------------------------------------------- Scale and tile PDF images/pages to print on multiple pages. ------------------------------------------------------------- :Author: Hartmut Goebel :Version: Version 0.9.1 :Copyright: 2008-2025 by Hartmut Goebel :License: GNU Public License v3 or later (GPL-3.0-or-later) :Homepage: https://pdfposter.readthedocs.io/ ``Pdfposter`` can be used to create a large poster by building it from multiple pages and/or printing it on large media. It expects as input a PDF file, normally printing on a single page. The output is again a PDF file, maybe containing multiple pages together building the poster. The input page will be scaled to obtain the desired size. This is much like ``poster`` does for Postscript files, but working with PDF. Since sometimes poster does not like your files converted from PDF. :-) Indeed ``pdfposter`` was inspired by ``poster``. For more information please refer to the manpage or visit the `project homepage `_. Translating Weblate ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``Pdfposter`` and its siblings are continually being translated using `Codeberg Translate`__. Feel free to take your part in the effort of making ``pdfposter`` available in as many human languages as possible. It brings ``pdfposter`` closer to its users! __ https://translate.codeberg.org/projects/pdftools/ Requirements and Installation ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``Pdfposter`` requires * `Python`__ (3.8—3.13, but newer versions should work, too), * `pip`__ for installation, and * `pypdf`__ (5.5 or newer, tested with 5.8.0) __ https://www.python.org/download/ __ https://pypi.org/project/pip __ https://pypi.org/project/pypdf .. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later .. Emacs config: Local Variables: mode: rst End: pdfposter-v0.9.1/REUSE.toml000066400000000000000000000016221504375153400155050ustar00rootroot00000000000000# Licensing Information for files the SPDX identifiers can not be included # into the file. See https://reuse.software/ for more information. version = 1 [[annotations]] path = ["*/locale/*.pot", "*/locale/**/.po"] precedence = "aggregate" SPDX-FileCopyrightText = "Copyright (C) 2008-2025 Hartmut Goebel" SPDX-License-Identifier = "GPL-3.0-or-later" [[annotations]] path = ["examples/*.pdf", "test/*.pdf"] precedence = "aggregate" SPDX-FileCopyrightText = "Copyright (C) 2008-2025 Hartmut Goebel" SPDX-License-Identifier = "GPL-3.0-or-later" [[annotations]] path = ["test/bugs/Kalender.pdf"] precedence = "aggregate" SPDX-FileCopyrightText = "2014 Johannes Brödel" SPDX-License-Identifier = "CC-BY-ND-4.0" [[annotations]] path = ["projectlogo.svg", "docs/_images/*.png"] precedence = "aggregate" SPDX-FileCopyrightText = "Copyright (C) 2008-2025 Hartmut Goebel" SPDX-License-Identifier = "GPL-3.0-or-later" pdfposter-v0.9.1/SConstruct000066400000000000000000000041601504375153400157570ustar00rootroot00000000000000# -*- mode: python ; coding: utf-8 -*- # # Copyright (C) 2008-2025 Hartmut Goebel # SPDX-License-Identifier: GPL-3.0-or-later # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # # Build requirements # - docutils # - inkscape # # For building tests # - pdf2ps (comes with ghostscript) # - poster # # For building examles # Build requirements # - ImageMagick # import os ENV = { 'PYTHONPATH': os.environ.get('PYTHONPATH'), 'PATH': os.environ['PATH'], } env = Environment(ENV=ENV) env.SConsignFile() env.Export(['env']) env.SConscript(dirs='test') env.SConscript(dirs='examples') env.Command('docs/pdfposter.html', 'pdfposter.rst', 'build-aux/gen-man-page.py $SOURCE html $TARGET') env.Command('docs/pdfposter.1', 'pdfposter.rst', 'build-aux/gen-man-page.py $SOURCE manpage $TARGET') # create PNG projectlogo for project homepage env.Command('projectlogo.png', 'projectlogo.svg', 'inkscape --export-filename=$TARGET --export-height=100 $SOURCE') hires_logo = env.Command('build/icons/projectlogo-hires.png', 'projectlogo.svg', 'inkscape --export-filename=$TARGET $SOURCE') icon_parts = [ env.Command('build/icons/project-${WIDTH}x${HEIGHT}.pnm', hires_logo, 'pngtopnm $SOURCE ' \ '| pnmscale -width=$WIDTH -height=$HEIGHT ' \ '| ppmquant 256 > $TARGET', WIDTH=w, HEIGHT=w) for w in (16, 32, 48) ] env.Command('projectlogo.ico', icon_parts, 'ppmtowinicon $SOURCES > $TARGET') pdfposter-v0.9.1/_zest_release_hooks.py000066400000000000000000000050531504375153400203300ustar00rootroot00000000000000import subprocess import sys import os import glob import shutil import zest.releaser.utils def compile_message_catalogs(data): print("Compiling catalogs") # running via setuptools to get arguments from setup.cfg subprocess.run([ sys.executable, '-c', 'from setuptools import *; setup()', "compile_catalog", "--statistics"]) print("Done") def build_man_pages(data): print("Building man-pages") for rstfile, writer, outfile in ( ('pdfposter.rst', 'manpage', 'docs/pdfposter.1'), ('pdfposter.rst', 'html5', 'docs/pdfposter.html'), ): subprocess.run([ sys.executable, 'build-aux/gen-man-page.py', '--version', data['version'], rstfile, writer, outfile]) print("Done") def sign_release(data): "Sign the archive that will be uploaded to PYPI." # zest.releaser does a clean checkout where it generates tgz/zip in 'dist' # directory and those files will be then uploaded to pypi. dist_dir = os.path.join(data['tagdir'], 'dist') cmd = ['gpg', '--detach-sign', '--armor'] codesigning_id = os.getenv("CODESIGNING_ID") if not codesigning_id: rc, codesigning_id = subprocess.getstatusoutput( "git config --get user.signingkey") if rc: raise SystemExit(f"ERROR in sign_release hook: {codesigning_id}") codesigning_id = None if codesigning_id: print("Using gpg identity", codesigning_id, "for signing.") cmd.extend(['--local-user', codesigning_id]) # Sign all files in the 'dist' directory. for f in list(os.listdir(dist_dir)): f = os.path.join(dist_dir, f) print('Signing file %s' % f) subprocess.run(cmd + [f]) def run_twine_check(data): import twine.cli dist_dir = os.path.join(data['tagdir'], 'dist') dist_files = list(glob.glob(os.path.join(dist_dir, "*"))) twine.cli.dispatch(["check"] + dist_files) def safe_dist_files(data): repo_dist_dir = os.path.join(data['reporoot'], 'dist') dist_dir = os.path.join(data['tagdir'], 'dist') dist_files = glob.glob(os.path.join(dist_dir, "*")) for fn in sorted(os.listdir(dist_dir)): src = os.path.join(dist_dir, fn) dest = os.path.join(repo_dist_dir, fn) if (os.path.exists(dest) and not zest.releaser.utils.ask("Overwrite dist/%s" % fn, default=True)): # skip this file print("Skipping", fn) continue print("Saving", fn) shutil.copy2(src, dest) pdfposter-v0.9.1/build-aux/000077500000000000000000000000001504375153400156165ustar00rootroot00000000000000pdfposter-v0.9.1/build-aux/gen-man-page.py000077500000000000000000000051251504375153400204320ustar00rootroot00000000000000#! /usr/bin/python # # Copyright 2008-2025 by Hartmut Goebel # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # SPDX-License-Identifier: GPL-3.0-or-later import argparse import subprocess import sys from pathlib import Path import docutils.core import docutils.io import docutils.writers.manpage def _(text): return text def _get_version(): project_dir = Path(__file__).parent.parent result = subprocess.run( [sys.executable, '-c', 'from setuptools import *; setup()', '--version'], capture_output=True, check=True, cwd=project_dir) version = result.stdout.decode().strip() return version def run(writer, rstfile, outfile, version=None): if not version: version = _get_version() substitutions = f'.. |VERSION| replace:: {version}' rsttext = rstfile.read_text() rsttext = '\n'.join((substitutions, '', rsttext)) # docutils.core does not offer easy reading from a # string into a file, so we need to do it ourselves :-( try: doc = docutils.core.publish_string(source=rsttext, source_path=str(rstfile), writer_name=writer) except ImportError as e: raise SystemExit(e) outfile.write_bytes(doc) # is already encoded print(_("{filename} written").format(filename=outfile)) def main(): parser = argparse.ArgumentParser( description=_("build documentation from rst-files")) parser.add_argument('--version', nargs='?', help=_("default: ask setuptools")) parser.add_argument('rstfile', metavar=_("rstfile"), type=Path) parser.add_argument('writer', metavar=_("writer"), help="name of docutils writer to use") parser.add_argument('outfile', metavar=_("outfile"), type=Path) args = parser.parse_args() try: run(**vars(args)) except (IOError, subprocess.SubprocessError) as e: raise SystemExit(e) if __name__ == '__main__': main() pdfposter-v0.9.1/dev-requirements.txt000066400000000000000000000007421504375153400177670ustar00rootroot00000000000000# SPDX-FileCopyrightText: NONE # SPDX-License-Identifier: CC0-1.0 # Package dependencies pypdf # For testing, building docs locally, etc. tox > 4 # For localization/i18n babel # required for properly integrating babel commands via entry-points # (not required for building sdist or wheel) setuptools >= 60.2 # for testing without tox pytest # for generating examples and test-pages reportlab # for building the documentation sphinx # for releasing zest.releaser[recommended] pdfposter-v0.9.1/docs/000077500000000000000000000000001504375153400146545ustar00rootroot00000000000000pdfposter-v0.9.1/docs/Changes.rst000066400000000000000000000004001504375153400167500ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later Changes ================= .. include:: ../CHANGES pdfposter-v0.9.1/docs/Development.rst000066400000000000000000000016671504375153400177020ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later Development =============================== The source of |pdfposter| and its siblings is maintained at `GitLab `_. Patches and pull-requests are hearty welcome. * Please submit bugs and enhancements to the `Issue Tracker `_. * You may browse the code at the `Repository Browser `_. Or you may check out the current version by running :: git clone https://gitlab.com/pdftools/pdfposter.git *Historical Note:* |pdfposter| was hosted at origo.ethz.ch, which closed in May 2012. Then |pdfposter| was hosted on gitorious.org, which was closed in May 2015 and merged into gitlab. .. include:: _common_definitions.txt pdfposter-v0.9.1/docs/Donate.rst000066400000000000000000000040761504375153400166270ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later Donations ============== .. container:: admonition topic **If you like pdfposter, please consider supporting me in some way.** .. container:: box1 .. centered:: Bank transfers While PayPal_ donations are still very much appreciated PayPal takes a large cut and has rather questionable business practices. If you have the ability to make SEPA bank transfers at a low cost (for example if you live within the EU) please contact `Hartmut `_ to ask for his bank details. .. container:: box2 I trust in the power of free and open source software and thus made the entire source code publicly available for every one to use. However, it takes a lot of time to develop the software and manage the community. And I still need to make my living. So, if you like the software, please consider donating, especially if your organization benefits from this project. Thank you! .. figure:: _images/bitcoin-pdfposter.png :align: right :alt: QR-Code for Bitcoin address Bitcoin address * **Bitcoin:** `13qryeeJR5Hc7vR5AmQMWDuLzDEgSDNJi2 `_ * **Bank-Transfer (prefered):** If you have the ability to make SEPA bank transfers at a low cost please `contact me `_ and I'll send you the account details. If you want a bill, please state so and also leave your name and address. * **PayPal:** |PayPalDonate|_ - if you want a bill, please state so and leave your name, address and email-address. * Please `contact me `_ to arrange some other kind of project grant, e.g. consulting or support. .. |PayPalDonate| replace:: Donate .. _PayPalDonate: PayPal_ .. _PayPal: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=M6LW5EZANT9ZA .. include:: _common_definitions.txt pdfposter-v0.9.1/docs/Examples.rst000066400000000000000000000054471504375153400171760ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later Examples =============================== These are some examples showing how to get a poster as you want. .. include:: _examples1.txt .. include:: _examples2.txt For these examples we use two input pages: .. figure:: _images/testpage-tall.preview.png :align: center :alt: .. :scale: 33% :figwidth: 45% The *tall* example input page (5.0 cm x 27.9 cm) .. figure:: _images/testpage-wide.preview.png :align: center :alt: .. :scale: 33% :figwidth: 45% The *wide* example input page (27.9 cm x 5.0 cm). These are intentionally uncommon formats so the effects of running |pdfposter| will be more demonstrative. Scaling Down a Large Format PDF ------------------------------------- A large format PDFs can be scaled down as well. This example creates an A3 poster on two A4 pages from an original A1 file:: pdfposter -p a3 -m a4 placard-a1.pdf poster-on-two-a4.pdf You can even scale down the file to a single page by using the same size for both the poster and the medium:: pdfposter -p a4 -m a4 placard-a1.pdf single-a4-page.pdf Working With Portrait Images ------------------------------------- Portrait images are higher than wide. .. image:: _images/poster-tall-2x1a4.png :scale: 50% :align: right :alt: Tall test-page as poster: Two portrait pages wide and one portrait page high. Example 1:: pdfposter -p 2x1a4 testpage-tall.pdf out.pdf This are two a4 pages put together at the *long* side: Two portrait pages wide and one portrait page high. .. image:: _images/poster-tall-1x2a4.png :scale: 50% :align: right :alt: Tall test-page as poster: One portrait page wide and two portrait pages high. Example 2:: pdfposter -p 1x2a4 testpage-tall.pdf out.pdf This are two a4 pages put together at the *small* side: One portrait page wide and two portrait pages high. Working With Landscape Images ------------------------------------ Landscape images are wider than height. .. image:: _images/poster-wide-2x1a4.png :scale: 50% :align: right :alt: Wide test-page as poster: Two portrait pages wide and one portrait page high. Example 1:: pdfposter -p 2x1a4 testpage-wide.pdf out.pdf This are two a4 pages put together at the long side: Two portrait pages wide and one portrait page high. .. image:: _images/poster-wide-1x2a4.png :scale: 50% :align: right :alt: Wide test-page as poster: One portrait page wide and two portrait pages high. Example 2:: pdfposter -p 1x2a4 testpage-wide.pdf out.pdf This are two a4 pages put together at the small side: One portrait page wide and two portrait pages high. .. include:: _common_definitions.txt pdfposter-v0.9.1/docs/Frequently Asked Questions.rst000066400000000000000000000036171504375153400225360ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later Frequently Asked Questions =============================== * *How can I suppress these superfluous empty pages?* *Short Answer:* Specify the desired output size using the same page-name as the medium-size:: pdfposter -mA5 -p2xA5 in.pdf out.pdf *Long Answer*: If you are running:: pdfposter -mA5 -pA4 in.pdf out.pdf you most probably expect the result to be 2 A5-pages large, but you will get *three* pages, where the third seams to be empty. (If you have a full-colored background, you will find a small line on the third page.) And this is what went wrong: In the command above, you *say*: "The output should be A4 sized", while you *mean*: "The output should fit on two A5 pages". Basically you are right, if you say "hey, this ought to be the same!". It is a scaling or rounding issue caused by ISO page sizes not scaling exactly (even as they should, see `ISO 216 `_). For example since A4 is 297 mm high, A5 should be 148.5 mm wide, but is only 148 mm wide. So the solution is to specify on the command-line what you want: "should fit on two A5 pages":: pdfposter -mA5 -p2xA5 in.pdf out.pdf * Are there other Python tools for manipulating PDF? Yes, there are: * `pdfbook `_ * `pdfdecrypt `_ * `pdfjoin `_ * `flyer-composer `_ (including an optional Qt GUI) * `pdfnup `_ * `pdfsplit `_ * `pdfgrid `_ .. include:: _common_definitions.txt pdfposter-v0.9.1/docs/Installation.rst000066400000000000000000000061251504375153400200530ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later Download & Installation ========================= Instructions for Windows Users ----------------------------------- 1. |pdfposter| requires Python. If you don't have Python installed already, download and install Python 3.13 from https://python.org/download/3.13/ During installation, make sure to check "Include into PATH". 2. If you already have Python installed, please check that your Python directory (normally :file:`C:\\Python313` for python 3.13) and the Python Scripts directory (normally :file:`C:\\Python313\\Scripts`) are in the system path. If not, just add them in :menuselection:`My Computer --> Properties --> Advanced --> Environment Variables` to the :envvar:`Path` system variable. 3. Install |pdfposter| by running :: pip install pdfposter Then run the console command ``pdfposter --help`` to get detailed help. If the command ``pip`` is unknown to you system, please refer to the `pip homepage `_ for help. Instructions for GNU/Linux and other Operating Systems -------------------------------------------------------- Most current GNU/Linux distributions provide packages for |pdfposter|. Simply search your distribution's software catalog. Also many vendors provide Python, and some even provide |pdfposter|. Please check your vendor's software repository. If your distribution or vendor does not provide a current version of |pdfposter| please read on. If your vendor does not provide :command:`python` please download Python 3.13 from https://www.python.org/download/ and follow the installation instructions there. If you distribution or vendor missed providing :command:`pip`, alongside :command:`python`, please check your vendor's or distribution's software repository for a package called `pip` or `python-pip`. If this is not provided, please refer to the `pip homepage `_ for help. Optionally you might want to install `pypdf` - which is a requirement for |pdfposter| - provided by your distribution or vendor so at least this package will be maintained by your distribution. Check for a package named ``python3-pypdf`` or that like. Then continue with :ref:`installing pdfposter` below. .. _installing pdfposter: Installing |pdfposter| using :command:`pip` --------------------------------------------- After installing `Python` (and optionally `pypdf`), just run:: sudo pip install pdfposter to install |pdfposter| for all users. For installing |pdfposter| for yourself only, run:: pip install --user pdfposter If your system does not have network access - download |pdfposter| from https://pypi.org/project/pdfposter/, - download `pypdf` from https://pypi.org/project/pypdf/, and - run :: sudo pip install pdfposter-*.tar.gz pypdf-*.tar.gz respective :: pip install --user pdfposter-*.tar.gz pypdf-*.tar.gz .. include:: _common_definitions.txt pdfposter-v0.9.1/docs/Makefile000066400000000000000000000012431504375153400163140ustar00rootroot00000000000000# Minimal makefile for Sphinx documentation # SPDX-FileCopyrightText: NONE # SPDX-License-Identifier: CC0-1.0 # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = python3 -msphinx SPHINXPROJ = pdfposter SOURCEDIR = . BUILDDIR = _build # Put it first so that "make" without argument is like "make help". help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) .PHONY: help Makefile # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) pdfposter-v0.9.1/docs/Usage.rst000066400000000000000000000005401504375153400164510ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later ============== Usage ============== .. include:: _description.txt Options ======== .. include:: _options.txt .. include:: _box-definitions.txt pdfposter-v0.9.1/docs/_box-definitions.txt000066400000000000000000000033451504375153400206620ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later Box Definition ----------------- The *BOX* mentioned above is a specification of horizontal and vertical size. The syntax is as follows (with multiplier being specified optionally): *box* = [ *multiplier* ] *unit* *multiplier* = *number* "x" *number* *unit* = *medianame* or *distancename* .. Only in combination with the *-i* option, the program also understands the offset specification in the *BOX*. = +, [] and offset Many international media names are recognised by the program, in upper and lower case, and can be shortened to their first few characters, as long as unique. For instance 'A0', 'Let'. Distance names are like 'cm', 'inch', 'ft'. Medias are typically not quadratic but rectangular, which means width and height differ. Thus using media names is a bit tricky: :10x20cm: obvious: 10 cm x 20 cm (portrait) :20x10cm: same as 10x20cm, since all boxes are rotated to portrait format Now when using media names it gets tricky: :1x1a4: same as approx. 21x29cm (21 cm x 29 cm, portrait) :1x2a4: same as approx. 21x58cm (21 cm x 58 cm, portrait) This are two a4 pages put together at the *small* side: One portrait page wide and two portrait pages high. :2x1a4: same as approx. 42x29cm, which is rotated to portrait and is (approx.) the same as 29x42cm (29 cm x 42 cm) This are two a4 pages put together at the *long* side: Two portrait pages wide and one portrait page high. .. Emacs config: Local Variables: mode: rst End: pdfposter-v0.9.1/docs/_common_definitions.txt000066400000000000000000000003611504375153400214370ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later .. |pdfposter| replace:: `pdfposter` pdfposter-v0.9.1/docs/_description.txt000066400000000000000000000024471504375153400201060ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later ``pdfposter`` can be used to create a large poster by building it from multiple pages and/or printing it on large media. It expects as input a PDF file, normally printing on a single page. The output is again a PDF file, maybe containing multiple pages together building the poster. The input page will be scaled to obtain the desired size. .. comment The output pages bear cutmarks and have slightly overlapping images for easier assembling. The program uses a simple but efficient method which is possible with PDF: All new pages share the same data stream of the scaled page. Thus resulting file grows moderately. To control its operation, you need to specify either the size of the desired poster or a scale factor for the image: - Given the poster size, it calculates the required number of sheets to print on, and from that a scale factor to fill these sheets optimally with the input image. - Given a scale factor, it derives the required number of pages from the input image size, and positions the scaled image centered on this area. .. Emacs config: Local Variables: mode: rst End: pdfposter-v0.9.1/docs/_examples1.txt000066400000000000000000000030471504375153400174570ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later :pdfposter -mA3 -pA0 a4.pdf out.pdf: Prints an A4 input file on 8 A3 pages, forming an A0 poster. :pdfposter -p3x3Let a4.pdf out.pdf: Prints an inputfile on a poster of 3x3 Letter pages. .. not yet implemented: margins :pdfposter -mA0 -w2x2i input.pdf out.pdf: Enlarges an inputfile to print on a large-media A0 capable device, maintaining 2 inch margins: :pdfposter -mA0 input.pdf out.pdf: Enlarges an inputfile to print on a large-media A0 capable device. :pdfposter -s4 input.pdf out.pdf: Enlarge an inputfile exactly 4 times, print on the default A4 media, and let ``pdfposter`` determine the number of pages required. .. not yet implemented :pdfposter -mLegal -p1x1m -w10% -C5 input.pdf out.pdf: Scale a postscript image to a poster of about 1 square meter, printing on 'Legal' media, maintaining a 10% of 'Legal' size as white margin around the poster. Print cutmark lines and grid labels, but don't print cut mark arrow heads. :pdfposter -m10x10cm -pa0 a4.pdf out.pdf: Just to show how efficient ``pdfposter`` is: This will create a file containing 192 pages, but only 15 times as big as the single page. With a4.pdf being a quite empty page, this ratio should be even better for filled pages. .. Emacs config: Local Variables: mode: rst End: pdfposter-v0.9.1/docs/_examples2.txt000066400000000000000000000014061504375153400174550ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later Examples for automatic scaling ------------------------------------ * For printing 2 *portrait* A4 pages high (approx. 58cm) and let pdfposter determine how many portrait pages wide, specify a large number of *vertical* pages. eg: :pdfposter -p999x2a4 testpage-wide.pdf out.pdf: * For printing 2 *landscape* A4 pages high (approx. 20cm) and let pdfposter determine how many landscape pages wide, specify a large number of *horizontal* pages. eg: :pdfposter -p2x999a4 testpage-wide.pdf out.pdf: .. Emacs config: Local Variables: mode: rst End: pdfposter-v0.9.1/docs/_images/000077500000000000000000000000001504375153400162605ustar00rootroot00000000000000pdfposter-v0.9.1/docs/_images/bitcoin-pdfposter.png000066400000000000000000000020131504375153400224150ustar00rootroot00000000000000PNG  IHDR^bKGD pHYs  tIME sxIDATxˎ0C`' . 箂G~UmI~}_넓kszNwxUO? O:'mxs]*O0⻑ioSkxU>,nOSxa'Uy pMn!審WclI[mxF.i&ϵ-LX*OmrOc@kRLSi FN]lٓ7tٯ6Aѩ\fSy& ~C.P\IENDB`pdfposter-v0.9.1/docs/_images/poster-tall-1x2a4.png000066400000000000000000000457151504375153400221050ustar00rootroot00000000000000PNG  IHDRh$? pHYsHHFk>KIDATxwTI$DAQ1:"G1 ĜPǀb1! QLHpvG]pΞ)SUԱ ""_@ I{_I俍Naeq+D(8" ND+D+2(L3ͥ4f yyR<!:X6 3j  *8VDq(5u}0fV#JM|بƤ}W]~>?` #vĎ}*T?HsiMi"[ *8DElTK7J7J7[dnQ)-RWWnbGȊ^~/S6O%|J:+tV,?t]E*sD~h00a[8GH==eQjBM8Ew߃|fP 0dC6dSMI5&Ihja&;'"QіD(8" ND4$_AVJ(⟴QB$ kՌNPށvFDiHc&@;Ҏ#+d(mD4ZH$N'x?;"rDHFVcEȷЀW_FEEE_QFҔZ PɊtC|-_C6"ʈPAD;NOXeXZ6FHѝ&(BpP#u<)O%D[ָ5jFԝSwbCl-–%+$3mB&@׌kF^}fMhhhh=ZO~"?i 8#) X6&5WJ]Q*BEo8qmƷ.]Ĵicggףc=:^tӅOLjD=AdUPUFE^# d h/ڋz=<< zccc<|ddd={hdddSwL ( ( (!Gcu L/#6܆ew"7voع6vm8&&ӣNڟ?aB7o?י錛9@;FEN#9$:㻏8q> ₸=hޣzAAAx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ĞسbXw%;.Vb%A~,% +JdLɌF $@0`fƑ8'z ^ 9PdvbٓLlEPE]y*.{/^f3 ^r^>gɚӯgѿɅ\U*S:+ΤD:{2O9tNOv>X  BJT~Qݚ7 i'ډ+{AEtK 6 ߁Mw[4I*I%`,)p NI8 x~ @d8IN:[d1Y 2K }oo'hM;kko} 9s,r\\xߛ7rʅ+Xg_)b(s9eNf]؇nurv CaMMMXЪUC+q% ~w :3}l +!!h#H6P7=]LȨQ7n~ʮz_]6'>y >xo&L[!qAa1#fkNu 8 0QlBI( } !ژz!?[p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p![p!EZ3&1}/B[YPaǎIENDB`pdfposter-v0.9.1/docs/_images/poster-wide-1x2a4.png000066400000000000000000000460001504375153400220650ustar00rootroot00000000000000PNG  IHDRh$? pHYsHHFk>KIDATxw\Uf ( " +6{A H Db5 bDcX *(T Ҥg~̾{4>N>W^+.g83{fZG7 ipS? $&5#հuw?rb 'ҨiTD4*DQp"(8FE+r(--@hIwҝ #| <1rXS=EYC%TB%hh4sm-b&秩 #?(8:tI]&uMByByBfff-_/:4>er_~e` 9sΜfmF&~ο TpUV!@ {UUV.[]ttt[ӷ/Cq(> A܂[t<OP CQ8 GPuP! iEZiziziz,Y(ktNNN4&xch:FHfĪĪrZNˑBZ8 f;oN%ceTTT+U8NN zA/9֮^n[V~`=``::}F! IÙ3 g7o/rDQ5 ʠ 6&d%YIVW4TpZ&hhH@.LI392Goο9|>N}wvbd a#l ՅJJ>0KSO[:OӐaccWWWw]VR R *~v|W PL:΢gggy#I/>|g V '<|RRSSS:X:X:jjg`" |'3zCqt\2U2U2DQJT7)oRDzGw{0aV,gϜUUUH%ђh:gW[?BN[-{a=/_N;r$'WSϭq4kAԿH`ϪU?;|sƥq:dl L?:" \G?џ]WWWP\P\PKwi`7$ozw@3h͘);{b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%Z2%닜*R4E{.  z `Ix#Q}WCy71n{7 t#KBOCJAs#CV)9`tE/H\#/@c&ky)Œs־KsG.ͥsC܊\ѳFژ7mL9dK{@r[I-~!oL&,Xmjۆv6HR9]6b,o=m\"s5|߮RR,`-k-ZN欽7'O-9Ŋ>U幖sj],j<|bP$AS\ ޶i԰ZE7w,ȼěʠCoD`Y K ,9QL?TW͚^k'cisMG Kvv#T]1IGcuӚ7K6 Wm5C\vpp6MēڱH<&|Ku1CñH{b# K:/alh%>K޲!]z4]<6۰dG+$'O5֗7k%[Kz"ar6XZlܕdڹu %gMՕ?+Ro&aqJ8J[ðSh;|,x4A*Z1~`֔0 G KN-sdKJca@-Y#|tUEr;wкoɎ5.ɖnּ$FQ1=LszXPKlXr-]놞%|ѱtD%5’oZXP}%0DuchE]L4 \FoEO)rt94?& Um[nd. d7>ы6&Q[+Z:Ⱦ[sL n-%,Kφ=GUQY_ɅjTY-`~0# =Berto'ƈ4nڦ5ri9oh!VZJ 0h-(q5*VMl^.`uXJ [spy"` R<}ЍocjFiG Nh . G\aNͿ%MWM׍P = K> qh ۳d<}!oMEƤuI $L4OM,9|l.,%&4Q,9’cm#okv[e6rKXcP?ŲOna(;JXjPkX`?)<1IENDB`pdfposter-v0.9.1/docs/_options.txt000066400000000000000000000042101504375153400172440ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later General Options -------------------- -h, --help Show help message and exit --help-media-names List available media and distance names and exit --help-box-definitions Show help about specifying BOX for `--media-size` and `--poster-size` and exit --version Show program's version number and exit -v, --verbose Be verbose. Tell about scaling, rotation and number of pages. Can be used more than once to increase the verbosity. -n, --dry-run Show what would have been done, but do not generate files. Defining Input ----------------- -f, --first First page to convert (default: first page). -l, --last Last page to convert (default: last page). -A, --art-box Use the content area defined by the ArtBox (default: use the area defined by the TrimBox) Defining Output ----------------- -m BOX, --media-size=BOX Specify the desired media size to print on. See below for *BOX*. The default is A4 in the standard package. -p BOX, --poster-size=BOX Specify the poster size. See below for *BOX*. pdfposter will autonomously choose scaling and rotation to best fit the input onto the poster (see EXAMPLES below). If you give neither the *-s* nor the *-p* option, the default poster size is identical to the media size. -s NUMBER Specify a linear scaling factor to produce the poster. Together with the input image size and optional margins, this induces an output poster size. So don't specify both *-s* and *-p*. The scaling factor is applied to the width and height of the input image size. Thus, a scaling factor of 2 results in a poster 4 times the area compared to the original. Default is deriving the scale factor to fit a given poster size. pdfposter-v0.9.1/docs/_static/000077500000000000000000000000001504375153400163025ustar00rootroot00000000000000pdfposter-v0.9.1/docs/_static/custom.css000066400000000000000000000024001504375153400203220ustar00rootroot00000000000000/* * Copyright (C) 2008-2025 Hartmut Goebel * SPDX-License-Identifier: GPL-3.0-or-later */ div#examples.section table.docutils.field-list .field-body { padding-top: 0.25em; padding-bottom: 1em; padding-left: 2em; } div#examples.section #id1.figure { float: left } div#examples.section #id2.figure { float: right } div#examples.section #id2.figure img { padding: 66pt 0; } div#examples.section #id2.figure + * { clear: left } div.sphinxsidebar li.toctree-l1 ~ li.toctree-l1 { border-top: dotted thin #AAA; margin-top: 0.3em; padding-top: 0.3em; } div.sphinxsidebar a { text-decortation: none; border-bottom: none; } /* make refs, which are links, visible as being links */ a.reference.internal code span.pre { border-bottom: dotted 1px #004B6B; /* same as for "a.reference" */ } div#donations.section > .box1 { width: 50%; border: solid thin lightseagreen; border-radius: 1em; float: right; margin-left: 0.5em; padding-left: 0.5em; } div#donations.section > .box1 > .centered { color: seagreen; } div#donations.section > .box2 + * { clear: both; } div#donations.section >ul li { margin-bottom: 0.5em } div#donations.section .figure.align-center { float: left; padding: 0 3em; } pdfposter-v0.9.1/docs/conf.py000066400000000000000000000165711504375153400161650ustar00rootroot00000000000000#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # PDFposter documentation build configuration file, created by # sphinx-quickstart on Tue May 21 16:21:39 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. # # This file is part of pdfposter. # Copyright (C) 2008-2025 Hartmut Goebel # SPDX-License-Identifier: GPL-3.0-or-later import sys, os from importlib import metadata # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. #sys.path.insert(0, os.path.abspath('.')) # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here. needs_sphinx = '1.0' # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.intersphinx'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] # The suffix of source filenames. source_suffix = '.rst' # The master toctree document. master_doc = 'index' # -- Project information ----------------------------------------------------- def get_info(): import subprocess module_dir = os.path.dirname(os.path.dirname(__file__)) result = subprocess.run( [sys.executable, '-c', 'from setuptools import *; setup()', '--version', '--name', '--description'], stdout=subprocess.PIPE, check=True, cwd=module_dir) info = {} version, info['name'], info['description'] = ( result.stdout.decode('utf-8').strip().splitlines()) # adjust this to the versioning schema used in this project info['release'] = version info['version'] = '.'.join(version.split('.', 2)[:2]) info['series'] = info['version'] # info['branch'] = 'branch/' + info['series'] # mercurial repo info['branch'] = info['series'] # git repo return info info = get_info() # General information about the project. project = f'pdfposter {info["release"]}' copyright = '2008-%Y, Hartmut Goebel' author = 'Hartmut Goebel' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. version = info['version'] # The full version, including alpha/beta/rc tags. release = info['release'] # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. today_fmt = '%Y-%m-%d' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. exclude_patterns = ['_build'] # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # -- Options for HTML output --------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. html_theme = 'alabaster' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. html_theme_options = { 'logo_name': True, 'logo_text_align': 'center', 'description': 'Scale and Tile PDF Pages', 'github_button': False, 'fixed_sidebar': True, 'show_related': False, } html_sidebars = { '**': [ 'about.html', #'globaltoc.html', 'navigation.html', 'searchbox.html', 'donate.html', ] } # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] # A shorter title for the navigation bar. Default is the same as html_title. html_short_title = "pdfposter" # The name of an image file (relative to this directory) to place at the top # of the sidebar. html_logo = '../projectlogo.svg' # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. #html_favicon = None # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. #html_sidebars = {} # Additional templates that should be rendered to pages, maps page names to # template names. #html_additional_pages = {} # If false, no module index is generated. #html_domain_indices = True # If false, no index is generated. #html_use_index = True # If true, the index is split into individual pages for each letter. #html_split_index = False # If true, links to the reST sources are added to the pages. #html_show_sourcelink = True # If true, an OpenSearch description file will be output, and all pages will # contain a tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. #html_use_opensearch = '' # Output file base name for HTML help builder. htmlhelp_basename = 'pdfposterdoc' # -- Options for LaTeX output -------------------------------------------------- latex_elements = { # The paper size ('letterpaper' or 'a4paper'). #'papersize': 'a4paper', # The font size ('10pt', '11pt' or '12pt'). #'pointsize': '10pt', # Additional stuff for the LaTeX preamble. #'preamble': '', } # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ (master_doc, 'pdfposter.tex', 'pdfposter Documentation', 'Hartmut Goebel', 'manual'), ] # -- Options for manual page output -------------------------------------------- # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'pdftoolspdfposter', 'pdfposter Documentation', ['Hartmut Goebel'], 1) ] # If true, show URL addresses after external links. #man_show_urls = False # -- Options for Texinfo output ------------------------------------------------ # Grouping the document tree into Texinfo files. List of tuples # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ ('index', 'pdfposter', 'pdfposter Documentation', 'Hartmut Goebel', 'pdfposter', 'One line description of project.', 'Miscellaneous'), ] # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} pdfposter-v0.9.1/docs/index.rst000066400000000000000000000021711504375153400165160ustar00rootroot00000000000000.. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later ============================================== pdfposter ============================================== .. container:: admonition topic **Scale and tile PDF images/pages to print on multiple pages.** |pdfposter| can be used to create a large poster by building it from multiple pages and/or printing it on large media. It expects as input a PDF file, normally printing on a single page. The output is again a PDF file, maybe containing multiple pages together building the poster. The input page will be scaled to obtain the desired size. This is much like the well-known tool `poster` does for Postscript files, but working with PDF. Since sometimes poster does not like your files converted from PDF. :-) Indeed |pdfposter| was inspired by `poster`. .. toctree:: :maxdepth: 1 Installation Usage Examples Donate Frequently Asked Questions Changes Development .. include:: _common_definitions.txt pdfposter-v0.9.1/docs/requirements-doc.txt000066400000000000000000000001771504375153400207100ustar00rootroot00000000000000# SPDX-FileCopyrightText: NONE # SPDX-License-Identifier: CC0-1.0 sphinx >= 1.8 setuptools # for single-sourcing the version pdfposter-v0.9.1/examples/000077500000000000000000000000001504375153400155425ustar00rootroot00000000000000pdfposter-v0.9.1/examples/SConscript000066400000000000000000000056251504375153400175640ustar00rootroot00000000000000# -*- mode: python ; coding: utf-8 -*- # # Copyright (C) 2008-2025 Hartmut Goebel # SPDX-License-Identifier: GPL-3.0-or-later # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # # Build requirements # - ImageMagick # Import('*') def postersamples(pages_h, pages_v, which, tiles_h=0, numpages=0, reverse=False, rotate=False, scale_to=100): inputfile = 'testpage-%s.pdf' % which geo = '%ix%ia4' % (pages_h, pages_v) # create pdf poster poster = env.Command('poster-%s-%s.pdf' % (which, geo), inputfile, 'pdfposter -ma4 -p$POSTERSIZE $SOURCE $TARGET', POSTERSIZE=geo)[0] # montage the ppm imgages to show how they have to be glued together tiles_h = tiles_h or pages_h rotate = rotate and ' png:- | convert png:- -rotate -90 ' or '' page_range = '' if reverse: # this is lazy: better way would be to get the number of pages # from 'poster', but this would requier an extra builder numpages = numpages or pages_h*pages_v page_range = str(list( range(numpages-1, -1, -1))).replace(' ', '') env.Command('poster-%s-%s.png' % (which, geo), poster, "montage $SOURCE$RANGE " " -background '#336699' -geometry ${SCALE}x+2+2 " " -tile $P_COLS " " $ROTATE $TARGET", P_COLS=tiles_h, ROTATE=rotate, SCALE=scale_to, RANGE=page_range) env.Command(['testpage-tall.pdf', 'testpage-wide.pdf'], 'gen-examplepages.py', 'python $SOURCE $TARGETS') env.Command('testpage-tall.png', 'testpage-tall.pdf', "convert $SOURCE -background '#336699' $TARGET") env.Command('testpage-wide.png', 'testpage-wide.pdf', "convert $SOURCE -background '#336699' $TARGET") # tall on two landscape sheets postersamples(1, 2, 'tall', reverse=1) # tall on two portrait sheets postersamples(2, 1, 'tall', rotate=0) # wide on two landscape sheets postersamples(1, 2, 'wide', rotate=0) # wide on two portrait sheets postersamples(2, 1, 'wide') # wide on landscape sheets (landscape a4 heigh) postersamples(1, 99, 'wide', scale_to=50, rotate=1) # wide on portrait sheets (portrait a4 heigh) postersamples(99, 1, 'wide', scale_to=50, tiles_h=9) pdfposter-v0.9.1/examples/gen-examplepages.py000066400000000000000000000057451504375153400213510ustar00rootroot00000000000000#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2008-2025 by Hartmut Goebel # Copyright 2013 by Elena Grandi # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # SPDX-License-Identifier: GPL-3.0-or-later """ Generate example PDF documents for pdfposter. This generates two PDF-files: - a tall one (5.0 cm x 29,7 cm) - a wide one (29.7 cm x 5.0 cm) These pages are later used creating images for examples. """ __author__ = "Hartmut Goebel " __copyright__ = "Copyright 2008-2025 by Hartmut Goebel " __license__ = "GPL-3.0-or-later" from reportlab.lib.units import mm from reportlab.lib.colors import black from reportlab.pdfgen.canvas import Canvas def genTestFile(filename_tall, filename_wide): short_size = 50*mm long_size = 297*mm numbers = ['B', 'A', '9', '8', '7', '6', '5', '4', '3', '2', '1'] margin = 10*mm #----------- generate the tall PDF ----------- size = (short_size, long_size) step = (long_size - margin*2)/len(numbers) canv = Canvas(filename_tall, pagesize=size) canv.setFont("Helvetica", 72) canv.setStrokeColor(black) # draw the content for i, n in enumerate(numbers): canv.drawCentredString(short_size/2, step*i + margin + 4*mm, n) canv.rect(margin, margin, short_size - margin * 2, long_size - margin * 2, fill=0, stroke=1) # save the pdf file canv.showPage() canv.save() #----------- generate the wide PDF ----------- size = (long_size, short_size) step = (long_size - margin*2)/len(numbers) numbers.reverse() canv = Canvas(filename_wide, pagesize=size) canv.setFont("Helvetica", 72) canv.setStrokeColor(black) # draw the contents for i, n in enumerate(numbers): canv.drawCentredString(step*i + margin + step/2, margin + 6*mm, n) canv.rect(margin, margin, long_size - margin * 2, short_size - margin * 2, fill=0, stroke=1) # save the pdf file canv.showPage() canv.save() if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() parser.add_argument('filename_tall', help='Name of tall output file') parser.add_argument('filename_wide', help='Name of wide output file') args = parser.parse_args() genTestFile(args.filename_tall, args.filename_wide) pdfposter-v0.9.1/examples/testpage-tall.pdf000066400000000000000000000040531504375153400210050ustar00rootroot00000000000000%PDF-1.4 % ReportLab Generated PDF document http://www.reportlab.com % 'BasicFonts': class PDFDictionary 1 0 obj % The standard fonts dictionary << /F1 2 0 R >> endobj % 'F1': class PDFType1Font 2 0 obj % Font Helvetica << /BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font >> endobj % 'Page1': class PDFPage 3 0 obj % Page dictionary << /Contents 7 0 R /MediaBox [ 0 0 141.7323 841.8898 ] /Parent 6 0 R /Resources << /Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >> /Rotate 0 /Trans << >> /Type /Page >> endobj % 'R4': class PDFCatalog 4 0 obj % Document Root << /Outlines 8 0 R /PageMode /UseNone /Pages 6 0 R /Type /Catalog >> endobj % 'R5': class PDFInfo 5 0 obj << /Author (anonymous) /CreationDate (D:20130521205536-01'00') /Creator (ReportLab PDF Library - www.reportlab.com) /Keywords () /Producer (ReportLab PDF Library - www.reportlab.com) /Subject (unspecified) /Title (untitled) >> endobj % 'R6': class PDFPages 6 0 obj % page tree << /Count 1 /Kids [ 3 0 R ] /Type /Pages >> endobj % 'R7': class PDFStream 7 0 obj % page stream << /Filter [ /ASCII85Decode /FlateDecode ] /Length 274 >> stream GasK8]h1[I&-_"k_L71g=,Sesq+\C-C1F)c"49G;$fA]Q486l)+s@L%k0#2K#g,,kpZi^TeD]hHJ1C28+@1SX"S[=Mp4_ZRm(+V@pA$ELm;ZSP.O;e=/[Pq7L;W6[q?QZIT>3[[Lp37LlJk*4bL#@FUS::Ul8I*k)5FVl4(aq^@\l^,6i0hA6Z(@PgJ!Mc2O?""B3IfZX;\'LVMtpD4/_5?*Xrb$Q]"kn)"+62XR/~>endstream endobj % 'R8': class PDFOutlines 8 0 obj << /Count 0 /Type /Outlines >> endobj xref 0 9 0000000000 65535 f 0000000113 00000 n 0000000209 00000 n 0000000372 00000 n 0000000649 00000 n 0000000783 00000 n 0000001065 00000 n 0000001170 00000 n 0000001586 00000 n trailer << /ID % ReportLab generated PDF document -- digest (http://www.reportlab.com) [(\343K\260>?\260.\200\256[\246\3571\235\363\326) (\343K\260>?\260.\200\256[\246\3571\235\363\326)] /Info 5 0 R /Root 4 0 R /Size 9 >> startxref 1637 %%EOF pdfposter-v0.9.1/examples/testpage-wide.pdf000066400000000000000000000040431504375153400210000ustar00rootroot00000000000000%PDF-1.4 % ReportLab Generated PDF document http://www.reportlab.com % 'BasicFonts': class PDFDictionary 1 0 obj % The standard fonts dictionary << /F1 2 0 R >> endobj % 'F1': class PDFType1Font 2 0 obj % Font Helvetica << /BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font >> endobj % 'Page1': class PDFPage 3 0 obj % Page dictionary << /Contents 7 0 R /MediaBox [ 0 0 841.8898 141.7323 ] /Parent 6 0 R /Resources << /Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >> /Rotate 0 /Trans << >> /Type /Page >> endobj % 'R4': class PDFCatalog 4 0 obj % Document Root << /Outlines 8 0 R /PageMode /UseNone /Pages 6 0 R /Type /Catalog >> endobj % 'R5': class PDFInfo 5 0 obj << /Author (anonymous) /CreationDate (D:20130521205536-01'00') /Creator (ReportLab PDF Library - www.reportlab.com) /Keywords () /Producer (ReportLab PDF Library - www.reportlab.com) /Subject (unspecified) /Title (untitled) >> endobj % 'R6': class PDFPages 6 0 obj % page tree << /Count 1 /Kids [ 3 0 R ] /Type /Pages >> endobj % 'R7': class PDFStream 7 0 obj % page stream << /Filter [ /ASCII85Decode /FlateDecode ] /Length 266 >> stream Garp'4)+jP&:i_g@IGm]S74TVBiNfJ\8gWo"sGDsG*2Y<&W;VnJQU8+k0ksp"1=3!p%&N0XK[1e@"J.`ChQYkn5e0&502J$dW7\.fun(SI*\3($&a>!t$W:$oFd_J*1`t/$$-o[j7RR%I?f+*MeWQcl-ANh4<1s1]Me;b_Jrb&*Fnl-LBRFt~>endstream endobj % 'R8': class PDFOutlines 8 0 obj << /Count 0 /Type /Outlines >> endobj xref 0 9 0000000000 65535 f 0000000113 00000 n 0000000209 00000 n 0000000372 00000 n 0000000649 00000 n 0000000783 00000 n 0000001065 00000 n 0000001170 00000 n 0000001578 00000 n trailer << /ID % ReportLab generated PDF document -- digest (http://www.reportlab.com) [(\343K\260>?\260.\200\256[\246\3571\235\363\326) (\343K\260>?\260.\200\256[\246\3571\235\363\326)] /Info 5 0 R /Root 4 0 R /Size 9 >> startxref 1629 %%EOF pdfposter-v0.9.1/pdfposter.rst000066400000000000000000000026151504375153400164700ustar00rootroot00000000000000========================== pdfposter ========================== ------------------------------------------------------------- Scale and tile PDF images/pages to print on multiple pages. ------------------------------------------------------------- :Author: Hartmut Goebel :Version: Version |VERSION| :Copyright: 2008-2025 by Hartmut Goebel :License: GNU Public License v3 or later (GPL-3.0-or-later) :Manual section: 1 .. raw:: manpage .\" disable justification (adjust text to left margin only) .ad l SYNOPSIS ========== ``pdfposter`` infile outfile DESCRIPTION ============ .. include:: docs/_description.txt OPTIONS ======== .. include:: docs/_options.txt .. include:: docs/_box-definitions.txt EXAMPLES ============ .. include:: docs/_examples1.txt More examples including sample pictures can be found at https://pdfposter.readthedocs.io/en/latest/Examples.html .. include:: docs/_examples2.txt SEE ALSO ============= ``poster``\(1), ``pdfnup``\(1) https://pypi.org/project/pdfnup/, ``pdfsplit``\(1) https://pypi.org/project/pdfsplit/, ``pdfgrid``\(1) https://pypi.org/project/pdfgrid/ Project Homepage https://pdfposter.readthedocs.io/ .. This file is part of pdfposter. Copyright (C) 2008-2025 Hartmut Goebel Licensed under the GNU Free Documentation License v1.3 or any later version. SPDX-License-Identifier: GFDL-1.3-or-later pdfposter-v0.9.1/pdfposter/000077500000000000000000000000001504375153400157325ustar00rootroot00000000000000pdfposter-v0.9.1/pdfposter/__init__.py000066400000000000000000000264301504375153400200500ustar00rootroot00000000000000#!/usr/bin/env python """ pdfposter - scale and tile PDF images/pages to print on multiple pages. """ # # Copyright 2008-2025 by Hartmut Goebel # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # SPDX-License-Identifier: GPL-3.0-or-later __author__ = "Hartmut Goebel " __copyright__ = "Copyright 2008-2025 by Hartmut Goebel " __license__ = "GPL-3.0-or-later" __version__ = "0.9.1" from pypdf import PdfWriter, PdfReader, PageObject from pypdf.types import NameObject from pypdf.generic import ContentStream, RectangleObject, IndirectObject import logging from logging import log import math from .i18n import _ DEFAULT_MEDIASIZE = 'a4' mm = 72 / 25.4 # Taken from poster.c papersizes = { 'pt' : (1, 1), 'inch': (72, 72), 'ft' : (864, 864), # 12 inch 'mm' : (mm, mm), 'cm' : (10 *mm, 10 *mm), 'meter':(1000* mm, 1000* mm), # American page sizes (taken from psposter.c) "monarch" : (279, 540), "statement": (396, 612), "executive": (540, 720), "quarto" : (610, 780), "letter" : (612, 792), "folio" : (612, 936), "legal" : (612, 1008), "tabloid" : (792, 1224), "ledger" : (792, 1224), # ISO page sizes (taken from psposter.c) "a0" : (2384, 3370), "a1" : (1684, 2384), "a2" : (1191, 1684), "a3" : (842, 1191), "a4" : (595, 842), "a5" : (420, 595), "a6" : (298, 420), "a7" : (210, 298), "a8" : (147, 210), "a9" : (105, 147), "a10": (74, 105), # DIN lang is considered to be a landscape format "dinlang" : (595, 281), # 1/3 a4 "envdinlang": (624, 312), # envelope for Din lang "b0" : (2835, 4008), "b1" : (2004, 2835), "b2" : (1417, 2004), "b3" : (1001, 1417), "b4" : (709, 1001), "b5" : (499, 709), "b6" : (354, 499), "b7" : (249, 354), "b8" : (176, 249), "b9" : (125, 176), "b10": (88, 125), "c4" : (649, 918), "c5" : (459, 649), "c6" : (323, 459), # Japanese page sizes (taken from psposter.c) "jb0" : (2920, 4127), "jb1" : (2064, 2920), "jb2" : (1460, 2064), "jb3" : (1032, 1460), "jb4" : (729, 1032), "jb5" : (516, 729), "jb6" : (363, 516), "jb7" : (258, 363), "jb8" : (181, 258), "jb9" : (128, 181), "jb10": (91, 128), # Envelope No. 10 is considered to be a landscape format "comm10": (684, 298), "com10" : (684, 298), "env10" : (684, 298), } class DecryptionError(ValueError): pass PAGE_BOXES = ("/MediaBox", "/CropBox", "/BleedBox", "/TrimBox", "/ArtBox") def rectangle2box(pdfbox): return { 'width' : pdfbox.right - pdfbox.left, 'height' : pdfbox.top - pdfbox.bottom, 'offset_x': pdfbox.left, 'offset_y': pdfbox.bottom, # the following are unused, but need to be set to make # `rotate_box()` work 'units_x' : None, 'units_y' : None, } def rotate_box(box): for a, b in ( ('width', 'height'), ('offset_x', 'offset_y'), ('units_x', 'units_y')): box[a], box[b] = box[b], box[a] def rotate2portrait(box, which): 'if box is landscape spec, rotate to portrait' if ( box['width' ]-box['offset_x'] > box['height']-box['offset_y']): rotate_box(box) log(18, _("Rotating %s specs to portrait format"), which) return True def decide_num_pages(inbox, mediabox, posterbox, scale=None): """decide on number of pages""" # avoid changing original posterbox when handling multiple pages # (if --scale, posterbox is None) posterbox = posterbox and posterbox.copy() cutmargin = {'x': 0, 'y': 0} # todo whitemargin = {'x': 0, 'y': 0} # todo # media and image sizes (inbox) are fixed already # available drawing area per sheet drawable_x = mediabox['width' ] - 2*cutmargin['x'] drawable_y = mediabox['height'] - 2*cutmargin['y'] rotate = False inbox_x = float(inbox['width' ]) inbox_y = float(inbox['height']) log(17, _("input dimensions: %.2f %.2f (trimbox of input page)"), inbox_x, inbox_y) if not scale: # user did not specify scale factor, calculate from output size # todo: fix assuming posterbox offset = 0,0 log(17, _("output dimensions: %.2f %.2f (poster size)"), posterbox['width'], posterbox['height']) # ensure poster spec are portrait if rotate2portrait(posterbox, 'poster'): rotate = rotate != True # xor # if the input page has landscape format rotate the # poster spec to landscape, too if inbox_x > inbox_y: log(18, _("Rotating poster specs since input page is landscape")) rotate = rotate != True # xor rotate_box(posterbox) log(18, _("rotated output dimensions: %.2f %.2f (poster size)"), posterbox['width'], posterbox['height']) scale = min(posterbox['width' ] / inbox_x, posterbox['height'] / inbox_y) log(18, _("Calculated page scaling factor: %f"), scale) # use round() to avoid floating point roundup errors size_x = round(inbox_x*scale - whitemargin['x'], 4) size_y = round(inbox_y*scale - whitemargin['y'], 4) log(17, _("output dimensions: %.2f %.2f (calculated)"), size_x, size_y) # num pages without rotation nx0 = int(math.ceil(size_x / drawable_x)) ny0 = int(math.ceil(size_y / drawable_y)) # num pages with rotation nx1 = int(math.ceil(size_x / drawable_y)) ny1 = int(math.ceil(size_y / drawable_x)) log(17, _("Pages w/o rotation %s x %s"), nx0, ny0) log(17, _("Pages w/ rotation %s x %s"), nx1, ny1) # Decide for rotation to get the minimum page count. # (Rotation is considered as media versus input page, which is # totally independent of the portrait or landscape style of the # final poster.) rotate = (rotate and (nx0*ny0) == (nx1*ny1)) or (nx0*ny0) > (nx1*ny1) log(17, _("Decided for rotation: %s"), rotate and _("yes") or _("no")) if rotate: ncols = nx1 nrows = ny1 else: ncols = nx0 nrows = ny0 log(19, "Deciding for %d column%s and %d row%s of %s pages.", ncols, "s" if ncols > 1 else "", nrows, "s" if nrows > 1 else "", rotate and "landscape" or "portrait") return ncols, nrows, scale, rotate def copyPage(page): newpage = PageObject() newpage.update(page) # Copy Rectangles to be manipulatable for boxname in PAGE_BOXES: if boxname in page: newpage[NameObject(boxname)] = \ RectangleObject(list(page[boxname])) return newpage def _clip_pdf_page(page, x, y, width, height): content = ContentStream(page["/Contents"].get_object(), None) content.operations[:0] = [ ([], b'q'), # save graphic state (RectangleObject((x, y, width, height)), b're'), # rectangle path ([], b'W*'), # clip ([], b'n'), # cancel path w/ filling or stroking ] content.operations.append([[], b'Q']) # restore graphic state page[NameObject('/Contents')] = content def posterize(outpdf, page, mediabox, posterbox, scale, use_ArtBox=False): """ page: input page mediabox : size secs of the media to print on posterbox: size secs of the resulting poster scale: scale factor (to be used instead of posterbox) """ if use_ArtBox: inbox = rectangle2box(page.artBox) else: inbox = rectangle2box(page.trimbox) _clip_pdf_page(page, inbox['offset_x'], inbox['offset_y'], inbox['width'], inbox['height']) ncols, nrows, scale, rotate = decide_num_pages(inbox, mediabox, posterbox, scale) mediabox = mediabox.copy() page.scale_by(scale) if rotate: page.rotate(90) rotate_box(inbox) rotate_box(mediabox) # area to put on each page (allows for overlay of margin) h_step = mediabox['width'] - mediabox['offset_x'] v_step = mediabox['height'] - mediabox['offset_y'] if use_ArtBox: trimbox = rectangle2box(page.artbox) else: trimbox = rectangle2box(page.trimbox) h_pos = float(trimbox['offset_x']) h_max, v_max = float(trimbox['width']), float(trimbox['height']) for col in range(ncols): v_pos = float(trimbox['offset_y']) + (nrows-1) * v_step for row in range(nrows): log(17, _("Creating page with offset: %.2f %.2f") % (h_pos, v_pos)) newpage = copyPage(page) # todo: if remaining area is smaller than mediabox, add a # transparent fill box behind, so the real content is in # the lower left corner newpage.mediabox = RectangleObject((h_pos, v_pos, h_pos + h_step, v_pos + v_step)) newpage.trimbox = RectangleObject((h_pos, v_pos, min(h_max, h_pos + h_step), min(v_max, v_pos + v_step))) newpage.artbox = newpage.trimbox outpdf.add_page(newpage) v_pos -= v_step h_pos += h_step def password_hook(): import getpass return getpass.getpass() def main(opts, infilename, outfilename, password_hook=password_hook): logging.basicConfig(level=20-opts.verbose, format="%(message)s") outpdf = PdfWriter() inpdf = PdfReader(open(infilename, 'rb'), strict=False) if inpdf.is_encrypted: log(16, _("File is encrypted")) # try empty password first if not inpdf.decrypt(''): if not inpdf.decrypt(password_hook()): raise DecryptionError(_("Can't decrypt PDF. Wrong Password?")) first_page = 1 last_page = len(inpdf.pages) if opts.first_page is not None: first_page = max(1, opts.first_page) if opts.last_page is not None: last_page = min(last_page, opts.last_page) log(18, _("Mediasize : %(units_x)sx%(units_y)s %(unit)s") % opts.media_size) log(17, _(" %(width).2f %(height).2f dots") % opts.media_size) if opts.scale: log(18, _("Scaling by: %f") % opts.scale) else: log(18, _("Postersize: %(units_x)sx%(units_y)s %(unit)s") % opts.poster_size) log(17, _(" %(width).2f %(height).2f dots") % opts.poster_size) for i in range(first_page-1, last_page): page = inpdf.pages[i] log(19, _("---- processing page %i -----"), i+1) posterize(outpdf, page, opts.media_size, opts.poster_size, opts.scale, opts.use_ArtBox) if not opts.dry_run: outpdf.compress_identical_objects() outpdf.write(open(outfilename, 'wb')) pdfposter-v0.9.1/pdfposter/cmd.py000066400000000000000000000210661504375153400170540ustar00rootroot00000000000000#!/usr/bin/env python """ pdfposter.cmd - scale and tile PDF images/pages to print on multiple pages. """ # # Copyright 2008-2025 by Hartmut Goebel # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # SPDX-License-Identifier: GPL-3.0-or-later from __future__ import print_function __author__ = "Hartmut Goebel " __copyright__ = "Copyright 2008-2025 by Hartmut Goebel " __license__ = "GPL-3.0-or-later" from . import main, __version__, DEFAULT_MEDIASIZE, papersizes, DecryptionError from .i18n import _ import re import pypdf.errors import argparse # pattern for parsing user textual box spec pat_box = re.compile(r''' ( (?P (\d*\.)? \d+) x # width "x" height (?P (\d*\.)? \d+) )? (?P \+ # "+" offset_x "," offset_y (?P \d+\.? | \d*\.\d+) , (?P \d+\.? | \d*\.\d+) ) ? (?P [a-z][a-z0-9\-\\_]*) # unit ''', re.X+re.I) def __parse_box(value, allow_offset=False): m = pat_box.match(value) if not m: raise argparse.ArgumentTypeError( _("I don't understand your box specification %r") % value) res = m.groupdict() if not allow_offset and res['offset'] is not None: raise argparse.ArgumentTypeError( _("Offset not allowed in box definition")) # res['offset'] is only used for error checking, remove it del res['offset'] # get meassures of unit unit = res['unit'].lower() if not unit in papersizes: unit = [name for name in papersizes.keys() if name.startswith(unit)] if len(unit) == 0: raise argparse.ArgumentTypeError( _("I don't understand your papersize name %r.") % res['unit']) elif len(unit) != 1: raise argparse.ArgumentTypeError( _("Your papersize name %r is not unique, give more chars.") % res['unit']) unit = unit[0] unit_x, unit_y = papersizes[unit] res2 = { 'width' : float(res['width'] or 1) * unit_x, 'height' : float(res['height'] or 1) * unit_y, 'offset_x': float(res['offset_x'] or 0) * unit_x, 'offset_y': float(res['offset_y'] or 0) * unit_y, 'unit': unit, 'units_x': float(res['width'] or 1), 'units_y': float(res['height'] or 1), } return res2 BoxDefinitionsHelp = _("""\ A `BOX` to be passed to `--media-size` and `--poster-size` is a specification of horizontal and vertical size. The syntax is as follows (with multiplier being specified optionally): *box* = [ *multiplier* ] *unit* *multiplier* = *number* "x" *number* *unit* = *medianame* or *distancename* Please see `--help-media-names` for a list of media and distance names supported. Medias are typically not quadratic but rectangular, which means width and height differ. Thus using medianames is a bit tricky: :10x20cm: obvious: 10 cm x 20 cm (portrait) :20x10cm: same as 10x20cm, since all boxes are rotated to portrait format Now when using media names it gets tricky: :1x1a4: same as 210x297mm (21 cm x 29.7 cm, portrait) :1x2a4: same as 21x594mm (21 cm x 59.4 cm, portrait) This are two a4 pages put together at the *small* side: One portrait page wide and two portrait pages high. :2x1a4: same as 420x297mm (landscape), which is rotated to portrait and is the same as 297x420mm (29.7 cm x 42 cm) This are two a4 pages put together at the *long* side: Two portrait pages wide and one portrait page high. """) class HelpMediaNames(argparse.Action): def __call__(*args, **kw): import textwrap print(_("Available media and distance names:")) names = list(papersizes.keys()) names.sort() for l in textwrap.wrap(' '.join(names), width=65): print(' ', l) raise SystemExit(0) class HelpBoxDefinitions(argparse.Action): def __call__(*args, **kw): import textwrap print(textwrap.dedent(BoxDefinitionsHelp)) raise SystemExit(0) def run(args=None): parser = argparse.ArgumentParser() parser.add_argument('--help-media-names', action=HelpMediaNames, nargs=0, help=_("List available media and distance names")) parser.add_argument('--help-box-definitions', action=HelpBoxDefinitions, nargs=0, help=_("Show help about specifying BOX for " "`--media-size` and `--poster-size` and exit")) parser.add_argument('--version', action='version', help=_("show program's version number and exit"), version="%(prog)s " + __version__) parser.add_argument('-v', '--verbose', action='count', default=0, help=_("Be verbose. Tell about scaling, rotation " "and number of pages. Can be used more than " "once to increase the verbosity")) parser.add_argument('-n', '--dry-run', action='store_true', help=_("Show what would have been done, " "but do not generate files")) group = parser.add_argument_group(_("Define Input")) group.add_argument('-f', '--first', type=int, dest='first_page', metavar=_("INTEGER"), help=_("First page to convert (default: first page)")) group.add_argument('-l', '--last', type=int, dest='last_page', metavar=_("INTEGER"), help=_("Last page to convert (default: last page)")) group.add_argument('-A', '--art-box', action='store_true', dest='use_ArtBox', help=_("Use the content area defined by the ArtBox " "(default: use the area defined by the TrimBox)")) group = parser.add_argument_group(_("Define Output")) group.add_argument('-m', '--media-size', default=__parse_box(DEFAULT_MEDIASIZE), type=__parse_box, metavar=_("BOX"), help=_("Specify the page size of the output " "media (default: %s)") % DEFAULT_MEDIASIZE) group.add_argument('-p', '--poster-size', type=__parse_box, metavar=_("BOX"), help=_("Specify the poster size (defaults to media size)")) group.add_argument('-s', '--scale', type=float, metavar=_("SCALE"), help=_("Specify a linear scaling factor to produce the " "poster. The scaling factor is applied to the " "width and height of the input image size. Thus, " "a scaling factor of 2 results in a poster 4 " "times the area compared to the original")) parser.add_argument('infilename', metavar=_("InputFile")) parser.add_argument('outfilename', metavar=_("OutputFile")) args = parser.parse_args(args) if args.scale is not None and args.poster_size is not None: parser.error(_("Only one of -p/--poster-size and -s/--scale " "may be given at a time.")) if not args.poster_size: args.poster_size = args.media_size.copy() if args.scale is not None: args.poster_size = None if args.scale < 0.01: parser.error(_("Scale value is much to small: %s") % args.scale) elif args.scale > 1.0e6: parser.error(_("Scale value is much to big: %s") % args.scale) try: main(args, infilename=args.infilename, outfilename=args.outfilename) except DecryptionError as e: raise SystemExit(str(e)) except pypdf.errors.PdfReadError as e: raise SystemExit( _('The input-file is either corrupt or no PDF at all: %s') % e) if __name__ == '__main__': # pragma: no cover run() pdfposter-v0.9.1/pdfposter/i18n.py000066400000000000000000000030761504375153400170710ustar00rootroot00000000000000# -*- coding: utf-8 -*- # # Copyright 2008-2025 by Hartmut Goebel # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # SPDX-License-Identifier: GPL-3.0-or-later __all__ = ["_"] import gettext import os import sys def install_in_argparse(translate): import argparse argparse.__dict__['_'] = translate.gettext for name in {'gettext', 'lgettext', 'lngettext', 'ngettext', 'npgettext', 'pgettext'}: if name in argparse.__dict__: argparse.__dict__[name] = getattr(translate, name) _domain = 'pdfposter' if getattr(sys, 'frozen', None): localedir = os.path.join(sys._MEIPASS, 'locale') else: localedir = os.path.join(os.path.dirname(__file__), 'locale') translate = gettext.translation(_domain, localedir, fallback=True) _ = translate.gettext # required to make our translations work in argparse install_in_argparse(translate) # Additional string for Python < 3.10: _('optional arguments') pdfposter-v0.9.1/pdfposter/locale/000077500000000000000000000000001504375153400171715ustar00rootroot00000000000000pdfposter-v0.9.1/pdfposter/locale/de/000077500000000000000000000000001504375153400175615ustar00rootroot00000000000000pdfposter-v0.9.1/pdfposter/locale/de/LC_MESSAGES/000077500000000000000000000000001504375153400213465ustar00rootroot00000000000000pdfposter-v0.9.1/pdfposter/locale/de/LC_MESSAGES/pdfposter.po000066400000000000000000000373171504375153400237270ustar00rootroot00000000000000# German translations for pdftools.pdfposter. # Copyright (C) 2008-2025 Hartmut Goebel # This file is distributed under the same license as the pdftools.pdfposter # project. # Hartmut Goebel , 2023. # Hartmut Goebel , 2025. msgid "" msgstr "" "Project-Id-Version: pdftools.pdfposter 0.9.dev0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2025-07-28 00:10+0200\n" "PO-Revision-Date: 2025-08-03 19:43+0200\n" "Last-Translator: Hartmut Goebel \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 5.12.2\n" "Generated-By: Babel 2.12.1\n" #: pdfposter/__init__.py:144 #, python-format msgid "Rotating %s specs to portrait format" msgstr "Rotiere %s Spezifikation auf Hochformat" #: pdfposter/__init__.py:163 #, python-format msgid "input dimensions: %.2f %.2f (trimbox of input page)" msgstr "Eingabedimensionen: %.2f %.2f (Trimbox der Eingabeseite)" #: pdfposter/__init__.py:169 #, python-format msgid "output dimensions: %.2f %.2f (poster size)" msgstr "Ausgabedimensionen: %.2f %.2f (Postergröße)" #: pdfposter/__init__.py:179 msgid "Rotating poster specs since input page is landscape" msgstr "Drehe die Poster-Spezifikation, da die Input-Seite Querformat ist" #: pdfposter/__init__.py:182 #, python-format msgid "rotated output dimensions: %.2f %.2f (poster size)" msgstr "Gedrehte Ausgabedimensionen: %.2f %.2f (Postergröße)" #: pdfposter/__init__.py:187 #, python-format msgid "Calculated page scaling factor: %f" msgstr "Berechneter Vergrößerungsfaktor: %f" #: pdfposter/__init__.py:192 #, python-format msgid "output dimensions: %.2f %.2f (calculated)" msgstr "Ausgabedimensionen: %.2f %.2f (berechnet)" #: pdfposter/__init__.py:201 #, python-format msgid "Pages w/o rotation %s x %s" msgstr "Seiten ohne Drehen %s x %s" #: pdfposter/__init__.py:202 #, python-format msgid "Pages w/ rotation %s x %s" msgstr "Seiten mit Drehen %s x %s" #: pdfposter/__init__.py:209 #, python-format msgid "Decided for rotation: %s" msgstr "Entschieden zu drehen: %s" #: pdfposter/__init__.py:209 msgid "yes" msgstr "ja" #: pdfposter/__init__.py:209 msgid "no" msgstr "nein" #: pdfposter/__init__.py:281 #, python-format msgid "Creating page with offset: %.2f %.2f" msgstr "Erzeuge Seite mit Offset: %.2f %.2f" #: pdfposter/__init__.py:307 msgid "File is encrypted" msgstr "Datei ist verschlüsselt" #: pdfposter/__init__.py:311 msgid "Can't decrypt PDF. Wrong Password?" msgstr "Kann das PDF nicht entschlüsseln. Vielleicht das falsche Passwort?" #: pdfposter/__init__.py:320 #, python-format msgid "Mediasize : %(units_x)sx%(units_y)s %(unit)s" msgstr "Mediengröße: %(units_x)sx%(units_y)s %(unit)s" #: pdfposter/__init__.py:321 pdfposter/__init__.py:326 #, python-format msgid " %(width).2f %(height).2f dots" msgstr " %(width).2f %(height).2f Rasterpunkte" #: pdfposter/__init__.py:323 #, python-format msgid "Scaling by: %f" msgstr "Vergrößere um: %f" #: pdfposter/__init__.py:325 #, python-format msgid "Postersize: %(units_x)sx%(units_y)s %(unit)s" msgstr "Postergröße: %(units_x)sx%(units_y)s %(unit)s" #: pdfposter/__init__.py:330 #, python-format msgid "---- processing page %i -----" msgstr "---- verarbeite Seite %i -----" #: pdfposter/cmd.py:49 #, python-format msgid "I don't understand your box specification %r" msgstr "Ich verstehe die Box-Spezifikation %r nicht" #: pdfposter/cmd.py:53 msgid "Offset not allowed in box definition" msgstr "Versatz ist in der Box-Spezifikation nicht zulässig" #: pdfposter/cmd.py:64 #, python-format msgid "I don't understand your papersize name %r." msgstr "Verstehe den angegebenen Papierformatnamen %r nicht." #: pdfposter/cmd.py:67 #, python-format msgid "Your papersize name %r is not unique, give more chars." msgstr "" "Der Papierformatnamen %r ist nicht eindeutig, bitte gib mehr Buchstaben an." #: pdfposter/cmd.py:83 msgid "" "A `BOX` to be passed to `--media-size` and `--poster-size` is a " "specification\n" "of horizontal and vertical size. The syntax is as follows (with multiplier\n" "being specified optionally):\n" "\n" " *box* = [ *multiplier* ] *unit*\n" "\n" " *multiplier* = *number* \"x\" *number*\n" "\n" " *unit* = *medianame* or *distancename*\n" "\n" "Please see `--help-media-names` for a list of media and distance names\n" "supported.\n" "\n" "Medias are typically not quadratic but rectangular, which means width\n" "and height differ. Thus using medianames is a bit tricky:\n" "\n" ":10x20cm: obvious: 10 cm x 20 cm (portrait)\n" "\n" ":20x10cm: same as 10x20cm, since all boxes are rotated to portrait\n" " format\n" "\n" "Now when using media names it gets tricky:\n" "\n" ":1x1a4: same as 210x297mm (21 cm x 29.7 cm, portrait)\n" "\n" ":1x2a4: same as 21x594mm (21 cm x 59.4 cm, portrait)\n" "\n" " This are two a4 pages put together at the *small* side: One\n" " portrait page wide and two portrait pages high.\n" "\n" ":2x1a4: same as 420x297mm (landscape), which is rotated to portrait and is\n" " the same as 297x420mm (29.7 cm x 42 cm)\n" "\n" " This are two a4 pages put together at the *long* side: Two\n" " portrait pages wide and one portrait page high.\n" msgstr "" "Eine `BOX`, die an `--media-size` und `--poster-size` übergeben wird,\n" "ist eine Angabe der horizontalen und vertikalen Größe. Die Syntax\n" "lautet wie folgt (wobei der Multiplikator optional ist):\n" "\n" " *Box* = [ *Multiplikator* ] *Einheit*\n" "\n" " *Multiplikator* = *Zahl* \"x\" *Zahl*\n" "\n" " *Einheit* = *Medianame* oder *Längename*\n" "\n" "Eine Liste der unterstützten Medien- und Längennamen finden Sie unter\n" "`--help-media-names`..\n" "\n" "Medien sind normalerweise nicht quadratisch, sondern rechteckig, was\n" "bedeutet, dass Breite und Höhe unterschiedlich sind. Daher ist die\n" "Verwendung von Mediannamen etwas trickreich:\n" "\n" ":10x20cm: offensichtlich: 10 cm x 20 cm (Hochformat)\n" "\n" ":20x10cm: wie 10x20cm, da alle Boxen ins Hochformat gedreht werden\n" "\n" "Bei der Verwendung von Mediennamen wird es nun knifflig:\n" "\n" ":1x1a4: entspricht 210x297mm (21 cm x 29,7 cm, Hochformat)\n" "\n" ":1x2a4: entspricht 210x594mm (21 cm x 59,4 cm, Hochformat)\n" "\n" " Das sind zwei a4-Seiten, die an der *schmalen* Seite\n" " zusammengefügt werden: Eine Hochformat-Seite breit und zwei\n" " Hochformat-Seiten hoch.\n" "\n" ":2x1a4: entspricht 420x297mm (Querformat), was ins Hochformat gedreht\n" " wird und damit 297x420mm (29,7 cm x 42 cm) Hochformat ergeben\n" "\n" " Dies sind zwei A4-Seiten, die an der *langen* Seite\n" " zusammengefügt werden: Zwei Hochformat-Seiten breit und eine\n" " Hochformat-Seite hoch.\n" #: pdfposter/cmd.py:124 msgid "Available media and distance names:" msgstr "Verfügbare Papier- und Längennamen:" #: pdfposter/cmd.py:143 msgid "List available media and distance names" msgstr "Zeige die verfügbaren Papier- und Längennamen" #: pdfposter/cmd.py:146 msgid "" "Show help about specifying BOX for `--media-size` and `--poster-size` and " "exit" msgstr "" "Hilfe zum Spezifizieren von BOX für `--media-size` und `--poster-size`zeigen " "und beenden" #: pdfposter/cmd.py:149 msgid "show program's version number and exit" msgstr "zeige die Versionsnummer des Programms und beende" #: pdfposter/cmd.py:152 msgid "" "Be verbose. Tell about scaling, rotation and number of pages. Can be used " "more than once to increase the verbosity" msgstr "" "Ausführlich sein. Informiert über Skalierung, Drehung und Anzahl der Seiten. " "Kann mehrals einmal verwendet werden, um die Ausführlichkeit zu erhöhen" #: pdfposter/cmd.py:156 msgid "Show what would have been done, but do not generate files" msgstr "Zeige, was getan würde, aber erzeuge keine Dateien" #: pdfposter/cmd.py:159 msgid "Define Input" msgstr "Eingangsdaten präzisieren" #: pdfposter/cmd.py:161 pdfposter/cmd.py:164 msgid "INTEGER" msgstr "ZAHL" #: pdfposter/cmd.py:162 msgid "First page to convert (default: first page)" msgstr "Erste zu konvertierende Seite (Standard: erste Seite)" #: pdfposter/cmd.py:165 msgid "Last page to convert (default: last page)" msgstr "Letzte zu konvertierende Seite (Standard: letzte Seite)" #: pdfposter/cmd.py:168 msgid "" "Use the content area defined by the ArtBox (default: use the area defined by " "the TrimBox)" msgstr "" "Den durch die ArtBox definierten Inhaltsbereich verwenden (Standard: den " "durch die TrimBox definierten Bereich verwenden)" #: pdfposter/cmd.py:171 msgid "Define Output" msgstr "Ausgabe präzisieren" #: pdfposter/cmd.py:174 pdfposter/cmd.py:178 msgid "BOX" msgstr "BOX" #: pdfposter/cmd.py:175 #, python-format msgid "Specify the page size of the output media (default: %s)" msgstr "Größe eines Blattes des Ausgabemediums (Standard: %s)" #: pdfposter/cmd.py:179 msgid "Specify the poster size (defaults to media size)" msgstr "Größe des zu erstellenden Posters (Standard: Papiergröße)" #: pdfposter/cmd.py:180 msgid "SCALE" msgstr "FAKTOR" #: pdfposter/cmd.py:181 msgid "" "Specify a linear scaling factor to produce the poster. The scaling factor is " "applied to the width and height of the input image size. Thus, a scaling " "factor of 2 results in a poster 4 times the area compared to the original" msgstr "" "Geben Sie einen linearen Skalierungsfaktor für die Erstellung des Posters " "an. Der Skalierungsfaktor wird auf die Breite und Höhe des Eingabebildes " "angewendet. Ein Skalierungsfaktor von 2 führt also zu einem Poster mit der 4-" "fachen Fläche im Vergleich zum Original<" #: pdfposter/cmd.py:187 msgid "InputFile" msgstr "Eingabedatei" #: pdfposter/cmd.py:188 msgid "OutputFile" msgstr "Ausgabedatei" #: pdfposter/cmd.py:193 msgid "Only one of -p/--poster-size and -s/--scale may be given at a time." msgstr "" "Es darf jeweils nur eine der beiden Angaben -p/--poster-size und -s/--scale " "angegeben werden." #: pdfposter/cmd.py:200 #, python-format msgid "Scale value is much to small: %s" msgstr "Vergrößerungsfaktor ist viel zu klein: %s" #: pdfposter/cmd.py:202 #, python-format msgid "Scale value is much to big: %s" msgstr "Vergrößerungsfaktor ist viel zu groß: %s" #: pdfposter/cmd.py:209 #, python-format msgid "The input-file is either corrupt or no PDF at all: %s" msgstr "Die Eingabedatei ist entweder beschädigt oder überhaupt kein PDF: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:296 msgid "usage: " msgstr "Aufruf: " #: ../../../../../../usr/lib64/python3.10/argparse.py:868 msgid ".__call__() not defined" msgstr ".__call__() ist nicht definiert" #: ../../../../../../usr/lib64/python3.10/argparse.py:1211 #, python-format msgid "unknown parser %(parser_name)r (choices: %(choices)s)" msgstr "unbekannter Parser %(parser_name)r (Auswahl: %(choices)s)" #: ../../../../../../usr/lib64/python3.10/argparse.py:1271 #, python-format msgid "argument \"-\" with mode %r" msgstr "Argument \"-\" mit Modus %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1280 #, python-format msgid "can't open '%(filename)s': %(error)s" msgstr "kann Datei '%(filename)s' nicht öffnen: %(error)s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1489 #, python-format msgid "cannot merge actions - two groups are named %r" msgstr "" "Aktionen können nicht zusammengeführt werden - zwei Gruppen mit Namen %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1527 msgid "'required' is an invalid argument for positionals" msgstr "'required' ist nicht erlaubt für positionale Argumente" #: ../../../../../../usr/lib64/python3.10/argparse.py:1549 #, python-format msgid "" "invalid option string %(option)r: must start with a character " "%(prefix_chars)r" msgstr "" "ungültiger Optionsstring %(option)r: muss mit einem Zeichen %(prefix_chars)r " "beginnen" #: ../../../../../../usr/lib64/python3.10/argparse.py:1567 #, python-format msgid "dest= is required for options like %r" msgstr "dest= ist erforderlich für Optionen wie %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1584 #, python-format msgid "invalid conflict_resolution value: %r" msgstr "ungültiger Konfliktlösungswert: %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1602 #, python-format msgid "conflicting option string: %s" msgid_plural "conflicting option strings: %s" msgstr[0] "widersprüchliche Optionszeichenfolge: %s" msgstr[1] "widersprüchliche Optionszeichenfolgen: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1668 msgid "mutually exclusive arguments must be optional" msgstr "sich gegenseitig ausschließende Argumente müssen optional sein" #: ../../../../../../usr/lib64/python3.10/argparse.py:1736 msgid "positional arguments" msgstr "positionale Argumente" #: ../../../../../../usr/lib64/python3.10/argparse.py:1737 msgid "options" msgstr "Optionen" #: ../../../../../../usr/lib64/python3.10/argparse.py:1752 msgid "show this help message and exit" msgstr "diese Hilfemeldung anzeigen und beenden" #: ../../../../../../usr/lib64/python3.10/argparse.py:1783 msgid "cannot have multiple subparser arguments" msgstr "kann nicht mehrere Subparser-Argumente haben" #: ../../../../../../usr/lib64/python3.10/argparse.py:1835 #: ../../../../../../usr/lib64/python3.10/argparse.py:2350 #, python-format msgid "unrecognized arguments: %s" msgstr "nicht erkannte Argumente: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1936 #, python-format msgid "not allowed with argument %s" msgstr "nicht erlaubt mit Argument %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1986 #: ../../../../../../usr/lib64/python3.10/argparse.py:2000 #, python-format msgid "ignored explicit argument %r" msgstr "ignoriertes explizites Argument %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:2107 #, python-format msgid "the following arguments are required: %s" msgstr "die folgenden Argumente sind erforderlich: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:2122 #, python-format msgid "one of the arguments %s is required" msgstr "eines der Argumente %s ist erforderlich" #: ../../../../../../usr/lib64/python3.10/argparse.py:2165 msgid "expected one argument" msgstr "ein Argument erwartet" #: ../../../../../../usr/lib64/python3.10/argparse.py:2166 msgid "expected at most one argument" msgstr "höchstens ein Argument erwartet" #: ../../../../../../usr/lib64/python3.10/argparse.py:2167 msgid "expected at least one argument" msgstr "mindestens ein Argument erwartet" #: ../../../../../../usr/lib64/python3.10/argparse.py:2171 #, python-format msgid "expected %s argument" msgid_plural "expected %s arguments" msgstr[0] "%s Argument erwartet" msgstr[1] "%s Argumente erwartet" #: ../../../../../../usr/lib64/python3.10/argparse.py:2229 #, python-format msgid "ambiguous option: %(option)s could match %(matches)s" msgstr "mehrdeutige Option: %(option)s könnte %(matches)s entsprechen" #: ../../../../../../usr/lib64/python3.10/argparse.py:2293 #, python-format msgid "unexpected option string: %s" msgstr "unerwartete Optionszeichenfolge: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:2490 #, python-format msgid "%r is not callable" msgstr "%r ist nicht aufrufbar" #: ../../../../../../usr/lib64/python3.10/argparse.py:2507 #, python-format msgid "invalid %(type)s value: %(value)r" msgstr "ungültiger Wert für %(type)s: %(value)r" #: ../../../../../../usr/lib64/python3.10/argparse.py:2518 #, python-format msgid "invalid choice: %(value)r (choose from %(choices)s)" msgstr "ungültige Auswahl: %(value)r (wählen Sie aus %(choices)s)" #: ../../../../../../usr/lib64/python3.10/argparse.py:2594 #, python-format msgid "%(prog)s: error: %(message)s\n" msgstr "%(prog)s: Fehler: %(message)s\n" #~ msgid "optional arguments" #~ msgstr "optionale Argumente" pdfposter-v0.9.1/pdfposter/locale/es/000077500000000000000000000000001504375153400176005ustar00rootroot00000000000000pdfposter-v0.9.1/pdfposter/locale/es/LC_MESSAGES/000077500000000000000000000000001504375153400213655ustar00rootroot00000000000000pdfposter-v0.9.1/pdfposter/locale/es/LC_MESSAGES/pdfposter.po000066400000000000000000000372271504375153400237460ustar00rootroot00000000000000# Translations template for pdfposter. # Copyright (C) 2008-2025 Hartmut Goebel # This file is distributed under the same license as the pdfposter project. # Hartmut Goebel , 2023. # Hartmut Goebel , 2025. msgid "" msgstr "" "Project-Id-Version: pdfposter 0.9.dev0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2025-07-28 00:10+0200\n" "PO-Revision-Date: 2025-08-03 15:09+0000\n" "Last-Translator: Hartmut Goebel \n" "Language-Team: Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 5.12.2\n" "Generated-By: Babel 2.12.1\n" #: pdfposter/__init__.py:144 #, python-format msgid "Rotating %s specs to portrait format" msgstr "Girar %s especificaciones a formato vertical" #: pdfposter/__init__.py:163 #, python-format msgid "input dimensions: %.2f %.2f (trimbox of input page)" msgstr "dimensiones de entrada: %.2f %.2f (trimbox de la página de entrada)" #: pdfposter/__init__.py:169 #, python-format msgid "output dimensions: %.2f %.2f (poster size)" msgstr "dimensiones de salida: %.2f %.2f (tamaño del póster)" #: pdfposter/__init__.py:179 msgid "Rotating poster specs since input page is landscape" msgstr "" "Girar las especificaciones del póster ya que la página de entrada es " "horizontal" #: pdfposter/__init__.py:182 #, python-format msgid "rotated output dimensions: %.2f %.2f (poster size)" msgstr "dimensiones de salida giradas: %.2f %.2f (tamaño del póster)" #: pdfposter/__init__.py:187 #, python-format msgid "Calculated page scaling factor: %f" msgstr "Factor de escala de página calculado: %f" #: pdfposter/__init__.py:192 #, python-format msgid "output dimensions: %.2f %.2f (calculated)" msgstr "dimensiones de salida: %.2f %.2f (calculado)" #: pdfposter/__init__.py:201 #, python-format msgid "Pages w/o rotation %s x %s" msgstr "Páginas sin rotación %s x %s" #: pdfposter/__init__.py:202 #, python-format msgid "Pages w/ rotation %s x %s" msgstr "Páginas con rotación %s x %s" #: pdfposter/__init__.py:209 #, python-format msgid "Decided for rotation: %s" msgstr "Decidido para la rotación: %s" #: pdfposter/__init__.py:209 msgid "yes" msgstr "sí" #: pdfposter/__init__.py:209 msgid "no" msgstr "no" #: pdfposter/__init__.py:281 #, python-format msgid "Creating page with offset: %.2f %.2f" msgstr "Creando página con offset: %.2f %.2f" #: pdfposter/__init__.py:307 msgid "File is encrypted" msgstr "El archivo está encriptado" #: pdfposter/__init__.py:311 msgid "Can't decrypt PDF. Wrong Password?" msgstr "No es posible descifrar el PDF. Contraseña incorrecta?" #: pdfposter/__init__.py:320 #, python-format msgid "Mediasize : %(units_x)sx%(units_y)s %(unit)s" msgstr "Mediasize  : %(units_x)sx%(units_y)s %(unit)s" #: pdfposter/__init__.py:321 pdfposter/__init__.py:326 #, python-format msgid " %(width).2f %(height).2f dots" msgstr " %(width).2f %(height).2f puntos" #: pdfposter/__init__.py:323 #, python-format msgid "Scaling by: %f" msgstr "Escalando por: %f" #: pdfposter/__init__.py:325 #, python-format msgid "Postersize: %(units_x)sx%(units_y)s %(unit)s" msgstr "Tamaño del póster: %(units_x)sx%(units_y)s %(unit)s" #: pdfposter/__init__.py:330 #, python-format msgid "---- processing page %i -----" msgstr "---- procesando página %i -----" #: pdfposter/cmd.py:49 #, python-format msgid "I don't understand your box specification %r" msgstr "No se comprende la especificación de cuadro %r proporcionada" #: pdfposter/cmd.py:53 msgid "Offset not allowed in box definition" msgstr "Desplazamiento no permitido en la definición del cuadro" #: pdfposter/cmd.py:64 #, python-format msgid "I don't understand your papersize name %r." msgstr "No entiendo tu nombre %r." #: pdfposter/cmd.py:67 #, python-format msgid "Your papersize name %r is not unique, give more chars." msgstr "Tu nombre de tamaño de papel %r no es único, dale más caracteres." #: pdfposter/cmd.py:83 msgid "" "A `BOX` to be passed to `--media-size` and `--poster-size` is a " "specification\n" "of horizontal and vertical size. The syntax is as follows (with multiplier\n" "being specified optionally):\n" "\n" " *box* = [ *multiplier* ] *unit*\n" "\n" " *multiplier* = *number* \"x\" *number*\n" "\n" " *unit* = *medianame* or *distancename*\n" "\n" "Please see `--help-media-names` for a list of media and distance names\n" "supported.\n" "\n" "Medias are typically not quadratic but rectangular, which means width\n" "and height differ. Thus using medianames is a bit tricky:\n" "\n" ":10x20cm: obvious: 10 cm x 20 cm (portrait)\n" "\n" ":20x10cm: same as 10x20cm, since all boxes are rotated to portrait\n" " format\n" "\n" "Now when using media names it gets tricky:\n" "\n" ":1x1a4: same as 210x297mm (21 cm x 29.7 cm, portrait)\n" "\n" ":1x2a4: same as 21x594mm (21 cm x 59.4 cm, portrait)\n" "\n" " This are two a4 pages put together at the *small* side: One\n" " portrait page wide and two portrait pages high.\n" "\n" ":2x1a4: same as 420x297mm (landscape), which is rotated to portrait and is\n" " the same as 297x420mm (29.7 cm x 42 cm)\n" "\n" " This are two a4 pages put together at the *long* side: Two\n" " portrait pages wide and one portrait page high.\n" msgstr "" "Un `BOX` que se pasa a `--media-size` y `--poster-size` es una " "especificación\n" "del tamaño horizontal y vertical. La sintaxis es la siguiente (con " "multiplicador\n" "opcional):\n" "\n" " *box* = [ *multiplier* ] *unit*\n" "\n" " *multiplicador* = *número* \"x\" *número*\n" "\n" " *unidad* = *nombremedio* o *nombredistancia*\n" "\n" "Consulte `--help-media-names` para obtener una lista de los nombres de " "medios y distancias\n" "compatibles.\n" "\n" "Los medios no suelen ser cuadráticos, sino rectangulares, lo que significa " "que la anchura y la altura difieren.\n" "y altura difieren. Por lo tanto, el uso de medianames es un poco " "complicado:\n" "\n" ":10x20cm: obvio: 10 cm x 20 cm (retrato)\n" "\n" ":20x10cm: igual que 10x20cm, ya que todas las cajas están giradas a formato " "vertical.\n" " formato\n" "\n" "Ahora cuando se usan nombres de medios la cosa se complica:\n" "\n" ":1x1a4: igual que 210x297mm (21 cm x 29,7 cm, retrato)\n" "\n" ":1x2a4: igual que 21x594mm (21 cm x 59,4 cm, vertical)\n" "\n" " Se trata de dos páginas a4 unidas por el lado *pequeño*: Una\n" " una página vertical de ancho y dos páginas verticales de alto.\n" "\n" ":2x1a4: igual que 420x297mm (apaisado), que se gira a vertical y es\n" " lo mismo que 297x420mm (29,7 cm x 42 cm)\n" "\n" " Se trata de dos páginas a4 unidas por el lado *largo*: Dos\n" " de ancho y una de alto.\n" #: pdfposter/cmd.py:124 msgid "Available media and distance names:" msgstr "Nombres de medios y distancias disponibles:" #: pdfposter/cmd.py:143 msgid "List available media and distance names" msgstr "Lista de nombres de medios y distancias disponibles" #: pdfposter/cmd.py:146 msgid "" "Show help about specifying BOX for `--media-size` and `--poster-size` and " "exit" msgstr "" "Mostrar ayuda sobre especificar BOX para `--media-size` y `--poster-size` y " "salir" #: pdfposter/cmd.py:149 msgid "show program's version number and exit" msgstr "mostrar el número de versión del programa y salir" #: pdfposter/cmd.py:152 msgid "" "Be verbose. Tell about scaling, rotation and number of pages. Can be used " "more than once to increase the verbosity" msgstr "" "Sea prolijo. Indica el escalado, la rotación y el número de páginas. Se " "puede utilizar más de una vez para aumentar la verbosidad" #: pdfposter/cmd.py:156 msgid "Show what would have been done, but do not generate files" msgstr "Mostrar lo que se habría hecho, pero no generar archivos" #: pdfposter/cmd.py:159 msgid "Define Input" msgstr "Especificar la entrada" #: pdfposter/cmd.py:161 pdfposter/cmd.py:164 msgid "INTEGER" msgstr "INTEGER" #: pdfposter/cmd.py:162 msgid "First page to convert (default: first page)" msgstr "Primera página a convertir (por defecto: primera página)" #: pdfposter/cmd.py:165 msgid "Last page to convert (default: last page)" msgstr "Última página a convertir (por defecto: última página)" #: pdfposter/cmd.py:168 msgid "" "Use the content area defined by the ArtBox (default: use the area defined by " "the TrimBox)" msgstr "" "Utilizar el área de contenido definida por ArtBox (por defecto: utilizar el " "área definida por TrimBox)" #: pdfposter/cmd.py:171 msgid "Define Output" msgstr "Especificar el resultado" #: pdfposter/cmd.py:174 pdfposter/cmd.py:178 msgid "BOX" msgstr "BOX" #: pdfposter/cmd.py:175 #, python-format msgid "Specify the page size of the output media (default: %s)" msgstr "" "Especifique el tamaño de página del soporte de salida (por defecto: %s)" #: pdfposter/cmd.py:179 msgid "Specify the poster size (defaults to media size)" msgstr "" "Especifique el tamaño del póster (por defecto es el tamaño del soporte)" #: pdfposter/cmd.py:180 msgid "SCALE" msgstr "ESCALA" #: pdfposter/cmd.py:181 msgid "" "Specify a linear scaling factor to produce the poster. The scaling factor is " "applied to the width and height of the input image size. Thus, a scaling " "factor of 2 results in a poster 4 times the area compared to the original" msgstr "" "Especifique un factor de escala lineal para producir el póster. El factor de " "escala se aplica a la anchura y la altura del tamaño de la imagen de " "entrada. Así, un factor de escala de 2 da como resultado un póster 4 veces " "mayor que el original" #: pdfposter/cmd.py:187 msgid "InputFile" msgstr "Archivo de entrada" #: pdfposter/cmd.py:188 msgid "OutputFile" msgstr "Archivo de salida" #: pdfposter/cmd.py:193 msgid "Only one of -p/--poster-size and -s/--scale may be given at a time." msgstr "" "Sólo puede darse una de las opciones -p/--poster-size y -s/--scale a la vez." #: pdfposter/cmd.py:200 #, python-format msgid "Scale value is much to small: %s" msgstr "El valor de la escala es demasiado pequeño: %s" #: pdfposter/cmd.py:202 #, python-format msgid "Scale value is much to big: %s" msgstr "El valor de la escala es demasiado grande: %s" #: pdfposter/cmd.py:209 #, python-format msgid "The input-file is either corrupt or no PDF at all: %s" msgstr "El archivo de entrada está dañado o no tiene un PDF: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:296 msgid "usage: " msgstr "uso: " #: ../../../../../../usr/lib64/python3.10/argparse.py:868 msgid ".__call__() not defined" msgstr ".__call__() no definido" #: ../../../../../../usr/lib64/python3.10/argparse.py:1211 #, python-format msgid "unknown parser %(parser_name)r (choices: %(choices)s)" msgstr "analizador desconocido %(parser_name)r (opciones: %(choices)s)" #: ../../../../../../usr/lib64/python3.10/argparse.py:1271 #, python-format msgid "argument \"-\" with mode %r" msgstr "argumento \"-\" con el modo %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1280 #, python-format msgid "can't open '%(filename)s': %(error)s" msgstr "No se puede abrir '%(filename)s': %(error)s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1489 #, python-format msgid "cannot merge actions - two groups are named %r" msgstr "no se pueden fusionar las acciones - dos grupos se llaman %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1527 msgid "'required' is an invalid argument for positionals" msgstr "'requerido' es un argumento inválido para posicionales" #: ../../../../../../usr/lib64/python3.10/argparse.py:1549 #, python-format msgid "" "invalid option string %(option)r: must start with a character " "%(prefix_chars)r" msgstr "" "cadena de opción no válida %(option)r: debe comenzar con un carácter " "%(prefix_chars)r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1567 #, python-format msgid "dest= is required for options like %r" msgstr "dest= es necesario para las opciones como %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1584 #, python-format msgid "invalid conflict_resolution value: %r" msgstr "valor no válido para conflict_resolution: %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1602 #, python-format msgid "conflicting option string: %s" msgid_plural "conflicting option strings: %s" msgstr[0] "cadena de opción conflictiva: %s" msgstr[1] "cadenas de opciones conflictivas: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1668 msgid "mutually exclusive arguments must be optional" msgstr "los argumentos mutuamente excluyentes deben ser opcionales" #: ../../../../../../usr/lib64/python3.10/argparse.py:1736 msgid "positional arguments" msgstr "argumentos posicionales" #: ../../../../../../usr/lib64/python3.10/argparse.py:1737 msgid "options" msgstr "opciones" #: ../../../../../../usr/lib64/python3.10/argparse.py:1752 msgid "show this help message and exit" msgstr "mostrar este mensaje de ayuda y salir" #: ../../../../../../usr/lib64/python3.10/argparse.py:1783 msgid "cannot have multiple subparser arguments" msgstr "no es posible tener varios argumentos del subanalizador" #: ../../../../../../usr/lib64/python3.10/argparse.py:1835 #: ../../../../../../usr/lib64/python3.10/argparse.py:2350 #, python-format msgid "unrecognized arguments: %s" msgstr "argumentos no reconocidos: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1936 #, python-format msgid "not allowed with argument %s" msgstr "no se permite en conjunto con el argumento %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1986 #: ../../../../../../usr/lib64/python3.10/argparse.py:2000 #, python-format msgid "ignored explicit argument %r" msgstr "se pasó por alto el argumento explícito %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:2107 #, python-format msgid "the following arguments are required: %s" msgstr "los argumentos siguientes son obligatorios: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:2122 #, python-format msgid "one of the arguments %s is required" msgstr "se requiere uno de los argumentos %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:2165 msgid "expected one argument" msgstr "se esperaba un argumento" #: ../../../../../../usr/lib64/python3.10/argparse.py:2166 msgid "expected at most one argument" msgstr "se esperaba un argumento como máximo" #: ../../../../../../usr/lib64/python3.10/argparse.py:2167 msgid "expected at least one argument" msgstr "se esperaba por lo menos un argumento" #: ../../../../../../usr/lib64/python3.10/argparse.py:2171 #, python-format msgid "expected %s argument" msgid_plural "expected %s arguments" msgstr[0] "%s argumento esperado" msgstr[1] "%s argumentos esperados" #: ../../../../../../usr/lib64/python3.10/argparse.py:2229 #, python-format msgid "ambiguous option: %(option)s could match %(matches)s" msgstr "opción ambigua: %(option)s podría coincidir con %(matches)s" #: ../../../../../../usr/lib64/python3.10/argparse.py:2293 #, python-format msgid "unexpected option string: %s" msgstr "cadena de opción inesperada: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:2490 #, python-format msgid "%r is not callable" msgstr "%r no se puede invocar" #: ../../../../../../usr/lib64/python3.10/argparse.py:2507 #, python-format msgid "invalid %(type)s value: %(value)r" msgstr "valor %(type)s no válido: %(value)r" #: ../../../../../../usr/lib64/python3.10/argparse.py:2518 #, python-format msgid "invalid choice: %(value)r (choose from %(choices)s)" msgstr "elección no válida: %(value)r (elegir entre %(choices)s)" #: ../../../../../../usr/lib64/python3.10/argparse.py:2594 #, python-format msgid "%(prog)s: error: %(message)s\n" msgstr "%(prog)s: error: %(message)s\n" #~ msgid "optional arguments" #~ msgstr "argumentos opcionales" pdfposter-v0.9.1/pdfposter/locale/fr/000077500000000000000000000000001504375153400176005ustar00rootroot00000000000000pdfposter-v0.9.1/pdfposter/locale/fr/LC_MESSAGES/000077500000000000000000000000001504375153400213655ustar00rootroot00000000000000pdfposter-v0.9.1/pdfposter/locale/fr/LC_MESSAGES/pdfposter.po000066400000000000000000000402721504375153400237400ustar00rootroot00000000000000# Translations template for pdfposter. # Copyright (C) 2008-2025 Hartmut Goebel # This file is distributed under the same license as the pdfposter project. # Hartmut Goebel , 2023. # LS-Localicows , 2024. # milimarg , 2025. # Hartmut Goebel , 2025. msgid "" msgstr "" "Project-Id-Version: pdfposter 0.9.dev0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2025-07-28 00:10+0200\n" "PO-Revision-Date: 2025-08-03 15:09+0000\n" "Last-Translator: Hartmut Goebel \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 5.12.2\n" "Generated-By: Babel 2.12.1\n" #: pdfposter/__init__.py:144 #, python-format msgid "Rotating %s specs to portrait format" msgstr "Rotation de %s specs au format portrait" #: pdfposter/__init__.py:163 #, python-format msgid "input dimensions: %.2f %.2f (trimbox of input page)" msgstr "dimensions de l'entrée : %.2f %.2f (trimbox de la page d'entrée)" #: pdfposter/__init__.py:169 #, python-format msgid "output dimensions: %.2f %.2f (poster size)" msgstr "dimensions de la sortie : %.2f %.2f (taille de l'affiche)" #: pdfposter/__init__.py:179 msgid "Rotating poster specs since input page is landscape" msgstr "" "Rotation des spécifications de l'affiche puisque la page d'entrée est en " "mode paysage" #: pdfposter/__init__.py:182 #, python-format msgid "rotated output dimensions: %.2f %.2f (poster size)" msgstr "dimensions de sortie tournées : %.2f %.2f (taille de l'affiche)" #: pdfposter/__init__.py:187 #, python-format msgid "Calculated page scaling factor: %f" msgstr "Facteur d'échelle de page calculé : %f" #: pdfposter/__init__.py:192 #, python-format msgid "output dimensions: %.2f %.2f (calculated)" msgstr "dimensions de sortie : %.2f %.2f (calculé)" #: pdfposter/__init__.py:201 #, python-format msgid "Pages w/o rotation %s x %s" msgstr "Pages sans rotation %s x %s" #: pdfposter/__init__.py:202 #, python-format msgid "Pages w/ rotation %s x %s" msgstr "Pages avec rotation %s x %s" #: pdfposter/__init__.py:209 #, python-format msgid "Decided for rotation: %s" msgstr "Décidé pour la rotation : %s" #: pdfposter/__init__.py:209 msgid "yes" msgstr "oui" #: pdfposter/__init__.py:209 msgid "no" msgstr "non" #: pdfposter/__init__.py:281 #, python-format msgid "Creating page with offset: %.2f %.2f" msgstr "Création d'une page avec décalage : %.2f %.2f" #: pdfposter/__init__.py:307 msgid "File is encrypted" msgstr "Le fichier est chiffré" #: pdfposter/__init__.py:311 msgid "Can't decrypt PDF. Wrong Password?" msgstr "Impossible de déchiffrer le PDF. Mauvais mot de passe ?" #: pdfposter/__init__.py:320 #, python-format msgid "Mediasize : %(units_x)sx%(units_y)s %(unit)s" msgstr "Taille moyenne : %(units_x)sx%(units_y)s %(unit)s" #: pdfposter/__init__.py:321 pdfposter/__init__.py:326 #, python-format msgid " %(width).2f %(height).2f dots" msgstr " %(width).2f %(height).2f points" #: pdfposter/__init__.py:323 #, python-format msgid "Scaling by: %f" msgstr "Mise à l'échelle par : %f" #: pdfposter/__init__.py:325 #, python-format msgid "Postersize: %(units_x)sx%(units_y)s %(unit)s" msgstr "Taille de l'affiche :%(units_x)sx%(units_y)s %(unit)s" #: pdfposter/__init__.py:330 #, python-format msgid "---- processing page %i -----" msgstr "---- traitement de la page %i -----" #: pdfposter/cmd.py:49 #, python-format msgid "I don't understand your box specification %r" msgstr "Je ne comprends pas la spécification de votre boîte %r" #: pdfposter/cmd.py:53 msgid "Offset not allowed in box definition" msgstr "Le décalage n'est pas autorisé dans la définition de la boîte" #: pdfposter/cmd.py:64 #, python-format msgid "I don't understand your papersize name %r." msgstr "Je ne comprends pas votre nom de taille de papier %r." #: pdfposter/cmd.py:67 #, python-format msgid "Your papersize name %r is not unique, give more chars." msgstr "" "Votre nom de format de papier %r n'est pas unique, donnez plus de caractères." #: pdfposter/cmd.py:83 msgid "" "A `BOX` to be passed to `--media-size` and `--poster-size` is a " "specification\n" "of horizontal and vertical size. The syntax is as follows (with multiplier\n" "being specified optionally):\n" "\n" " *box* = [ *multiplier* ] *unit*\n" "\n" " *multiplier* = *number* \"x\" *number*\n" "\n" " *unit* = *medianame* or *distancename*\n" "\n" "Please see `--help-media-names` for a list of media and distance names\n" "supported.\n" "\n" "Medias are typically not quadratic but rectangular, which means width\n" "and height differ. Thus using medianames is a bit tricky:\n" "\n" ":10x20cm: obvious: 10 cm x 20 cm (portrait)\n" "\n" ":20x10cm: same as 10x20cm, since all boxes are rotated to portrait\n" " format\n" "\n" "Now when using media names it gets tricky:\n" "\n" ":1x1a4: same as 210x297mm (21 cm x 29.7 cm, portrait)\n" "\n" ":1x2a4: same as 21x594mm (21 cm x 59.4 cm, portrait)\n" "\n" " This are two a4 pages put together at the *small* side: One\n" " portrait page wide and two portrait pages high.\n" "\n" ":2x1a4: same as 420x297mm (landscape), which is rotated to portrait and is\n" " the same as 297x420mm (29.7 cm x 42 cm)\n" "\n" " This are two a4 pages put together at the *long* side: Two\n" " portrait pages wide and one portrait page high.\n" msgstr "" "Une `BOX` à passer à `--media-size` et `--poster-size` est une\n" "spécification de la taille horizontale et verticale. La syntaxe est la " "suivante (le\n" "multiplicateur étant spécifié de manière optionnelle) :\n" "\n" " *boîte* = [ *multiplicateur* ] *unité*\n" "\n" " *multiplicateur* = *nombre* \"x\" *nombre*\n" "\n" " *unité* = *nom médian* ou *nom de distance*\n" "\n" "Veuillez consulter `--help-media-names` pour une liste des noms de\n" "média et de distance supportés.\n" "\n" "Les médias ne sont généralement pas quadratiques mais rectangulaires,\n" "ce qui signifie que la largeur et la hauteur diffèrent. et la hauteur\n" "diffèrent. L'utilisation des noms médians est donc un peu délicate :\n" "\n" " :10x20cm : évident : 10 cm x 20 cm (portrait)\n" "\n" " :20x10cm : même chose que 10x20 cm, puisque toutes les boîtes sont\n" " tournées au format portrait format\n" "\n" "L'utilisation des noms de médias devient un peu plus délicate :\n" "\n" " :1x1a4 : identique à 210x297 mm (21 cm x 29,7 cm, portrait)\n" "\n" " :1x2a4 : comme 21x594 mm (21 cm x 59.4 cm, portrait)\n" "\n" " Il s'agit de deux pages A4 assemblées du côté *petit* :\n" " Une page portrait en largeur et deux pages portrait en\n" " hauteur.\n" "\n" " :2x1a4 : identique à 420x297 mm (paysage), qui est tourné en portrait\n" " et correspond à 297x420 mm (paysage). portrait et équivaut à\n" " 297x420 mm (29,7 cm x 42 cm).\n" "\n" " Il s'agit de deux pages A4 assemblées sur le côté *long* :\n" " Deux pages de format portrait en largeur et une page de format\n" " portrait en hauteur.\n" #: pdfposter/cmd.py:124 msgid "Available media and distance names:" msgstr "Noms des supports et des distances disponibles :" #: pdfposter/cmd.py:143 msgid "List available media and distance names" msgstr "Liste des supports disponibles et des noms de distance" #: pdfposter/cmd.py:146 msgid "" "Show help about specifying BOX for `--media-size` and `--poster-size` and " "exit" msgstr "" "Afficher l'aide sur la spécification de BOX pour `--media-size` et `--poster-" "size` et quitter" #: pdfposter/cmd.py:149 msgid "show program's version number and exit" msgstr "affiche la version du programme avant de quitter" #: pdfposter/cmd.py:152 msgid "" "Be verbose. Tell about scaling, rotation and number of pages. Can be used " "more than once to increase the verbosity" msgstr "" "Soyez prolixe. Indique la mise à l'échelle, la rotation et le nombre de " "pages. Peut être utilisé plusieurs fois pour augmenter la verbosité" #: pdfposter/cmd.py:156 msgid "Show what would have been done, but do not generate files" msgstr "Affiche ce qui aurait été fait, sans créer de fichiers" #: pdfposter/cmd.py:159 msgid "Define Input" msgstr "Préciser l'entrée" #: pdfposter/cmd.py:161 pdfposter/cmd.py:164 msgid "INTEGER" msgstr "ENTIER" #: pdfposter/cmd.py:162 msgid "First page to convert (default: first page)" msgstr "Première page à convertir (par défaut : première page)" #: pdfposter/cmd.py:165 msgid "Last page to convert (default: last page)" msgstr "Dernière page à convertir (par défaut : dernière page)" #: pdfposter/cmd.py:168 msgid "" "Use the content area defined by the ArtBox (default: use the area defined by " "the TrimBox)" msgstr "" "Utiliser la zone de contenu définie par l'ArtBox (par défaut : utiliser la " "zone définie par la TrimBox)" #: pdfposter/cmd.py:171 msgid "Define Output" msgstr "Préciser la requête" #: pdfposter/cmd.py:174 pdfposter/cmd.py:178 msgid "BOX" msgstr "BOX" #: pdfposter/cmd.py:175 #, python-format msgid "Specify the page size of the output media (default: %s)" msgstr "Spécifie la taille de page du support de sortie (par défaut : %s)" #: pdfposter/cmd.py:179 msgid "Specify the poster size (defaults to media size)" msgstr "Spécifier la taille de l'affiche (par défaut la taille du support)" #: pdfposter/cmd.py:180 msgid "SCALE" msgstr "ÉCHELLE" #: pdfposter/cmd.py:181 msgid "" "Specify a linear scaling factor to produce the poster. The scaling factor is " "applied to the width and height of the input image size. Thus, a scaling " "factor of 2 results in a poster 4 times the area compared to the original" msgstr "" "Spécifiez un facteur d'échelle linéaire pour produire l'affiche. Le facteur " "d'échelle est appliqué à la largeur et à la hauteur de l'image d'entrée. " "Ainsi, un facteur d'échelle de 2 permet d'obtenir une affiche d'une surface " "quatre fois supérieure à celle de l'image originale" #: pdfposter/cmd.py:187 msgid "InputFile" msgstr "Fichier d’entrée" #: pdfposter/cmd.py:188 msgid "OutputFile" msgstr "Fichier de sortie" #: pdfposter/cmd.py:193 msgid "Only one of -p/--poster-size and -s/--scale may be given at a time." msgstr "" "Une seule des options -p/--poster-size et -s/--scale peut être donnée à la " "fois." #: pdfposter/cmd.py:200 #, python-format msgid "Scale value is much to small: %s" msgstr "La valeur de l'échelle est beaucoup trop faible : %s" #: pdfposter/cmd.py:202 #, python-format msgid "Scale value is much to big: %s" msgstr "La valeur de l'échelle est beaucoup trop grande : %s" #: pdfposter/cmd.py:209 #, python-format msgid "The input-file is either corrupt or no PDF at all: %s" msgstr "Le fichier d'entrée est soit corrompu, soit ne contient aucun PDF : %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:296 msgid "usage: " msgstr "utilisation : " #: ../../../../../../usr/lib64/python3.10/argparse.py:868 msgid ".__call__() not defined" msgstr ".__call__() non défini" #: ../../../../../../usr/lib64/python3.10/argparse.py:1211 #, python-format msgid "unknown parser %(parser_name)r (choices: %(choices)s)" msgstr "analyseur inconnu %(parser_name)r (disponibles : %(choices)s)" #: ../../../../../../usr/lib64/python3.10/argparse.py:1271 #, python-format msgid "argument \"-\" with mode %r" msgstr "argument « - » en mode %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1280 #, python-format msgid "can't open '%(filename)s': %(error)s" msgstr "impossible d’ouvrir '%(filename)s' : %(error)s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1489 #, python-format msgid "cannot merge actions - two groups are named %r" msgstr "impossible de fusionner les actions – deux groupes ont le nom %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1527 msgid "'required' is an invalid argument for positionals" msgstr "'required' est un argument invalide pour les positions" #: ../../../../../../usr/lib64/python3.10/argparse.py:1549 #, python-format msgid "" "invalid option string %(option)r: must start with a character " "%(prefix_chars)r" msgstr "" "groupe d’options invalide %(option)r : doit commencer avec un caractère " "%(prefix_chars)r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1567 #, python-format msgid "dest= is required for options like %r" msgstr "dest= est requis pour les options telles que %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1584 #, python-format msgid "invalid conflict_resolution value: %r" msgstr "valeur invalide pour conflict_resolution : %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1602 #, python-format msgid "conflicting option string: %s" msgid_plural "conflicting option strings: %s" msgstr[0] "chaîne d'options contradictoires : %s" msgstr[1] "chaînes d'options contradictoires : %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1668 msgid "mutually exclusive arguments must be optional" msgstr "les arguments mutuellement exclusifs doivent être facultatifs" #: ../../../../../../usr/lib64/python3.10/argparse.py:1736 msgid "positional arguments" msgstr "arguments de position" #: ../../../../../../usr/lib64/python3.10/argparse.py:1737 msgid "options" msgstr "Options" #: ../../../../../../usr/lib64/python3.10/argparse.py:1752 msgid "show this help message and exit" msgstr "afficher ce message d’aide et quitter" #: ../../../../../../usr/lib64/python3.10/argparse.py:1783 msgid "cannot have multiple subparser arguments" msgstr "impossible d’avoir plusieurs arguments sous-analyseurs" #: ../../../../../../usr/lib64/python3.10/argparse.py:1835 #: ../../../../../../usr/lib64/python3.10/argparse.py:2350 #, python-format msgid "unrecognized arguments: %s" msgstr "arguments non reconnus : %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1936 #, python-format msgid "not allowed with argument %s" msgstr "non autorisé avec l’argument %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1986 #: ../../../../../../usr/lib64/python3.10/argparse.py:2000 #, python-format msgid "ignored explicit argument %r" msgstr "argument explicite %r ignoré" #: ../../../../../../usr/lib64/python3.10/argparse.py:2107 #, python-format msgid "the following arguments are required: %s" msgstr "les arguments suivant sont nécessaires : %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:2122 #, python-format msgid "one of the arguments %s is required" msgstr "un des arguments %s est requis" #: ../../../../../../usr/lib64/python3.10/argparse.py:2165 msgid "expected one argument" msgstr "un argument attendu" #: ../../../../../../usr/lib64/python3.10/argparse.py:2166 msgid "expected at most one argument" msgstr "au maximum un argument attendu" #: ../../../../../../usr/lib64/python3.10/argparse.py:2167 msgid "expected at least one argument" msgstr "au moins un argument attendu" #: ../../../../../../usr/lib64/python3.10/argparse.py:2171 #, python-format msgid "expected %s argument" msgid_plural "expected %s arguments" msgstr[0] "%s argument attendu" msgstr[1] "%s arguments attendus" #: ../../../../../../usr/lib64/python3.10/argparse.py:2229 #, python-format msgid "ambiguous option: %(option)s could match %(matches)s" msgstr "option ambigüe : %(option)s ne correspond pas à %(matches)s" #: ../../../../../../usr/lib64/python3.10/argparse.py:2293 #, python-format msgid "unexpected option string: %s" msgstr "option inattendue : %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:2490 #, python-format msgid "%r is not callable" msgstr "%r n’est pas atteignable" #: ../../../../../../usr/lib64/python3.10/argparse.py:2507 #, python-format msgid "invalid %(type)s value: %(value)r" msgstr "valeur %(type)s non valide : %(value)r" #: ../../../../../../usr/lib64/python3.10/argparse.py:2518 #, python-format msgid "invalid choice: %(value)r (choose from %(choices)s)" msgstr "choix non valide : %(value)r (choisir dans %(choices)s)" #: ../../../../../../usr/lib64/python3.10/argparse.py:2594 #, python-format msgid "%(prog)s: error: %(message)s\n" msgstr "%(prog)s : erreur : %(message)s\n" #~ msgid "optional arguments" #~ msgstr "arguments facultatifs" pdfposter-v0.9.1/pdfposter/locale/pdfposter.pot000066400000000000000000000245331504375153400217320ustar00rootroot00000000000000# Translations template for pdfposter. # Copyright (C) 2025 ORGANIZATION # This file is distributed under the same license as the pdfposter project. # FIRST AUTHOR , 2025. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: pdfposter 0.9.1\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2025-07-28 00:10+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.17.0\n" #: pdfposter/__init__.py:144 #, python-format msgid "Rotating %s specs to portrait format" msgstr "" #: pdfposter/__init__.py:163 #, python-format msgid "input dimensions: %.2f %.2f (trimbox of input page)" msgstr "" #: pdfposter/__init__.py:169 #, python-format msgid "output dimensions: %.2f %.2f (poster size)" msgstr "" #: pdfposter/__init__.py:179 msgid "Rotating poster specs since input page is landscape" msgstr "" #: pdfposter/__init__.py:182 #, python-format msgid "rotated output dimensions: %.2f %.2f (poster size)" msgstr "" #: pdfposter/__init__.py:187 #, python-format msgid "Calculated page scaling factor: %f" msgstr "" #: pdfposter/__init__.py:192 #, python-format msgid "output dimensions: %.2f %.2f (calculated)" msgstr "" #: pdfposter/__init__.py:201 #, python-format msgid "Pages w/o rotation %s x %s" msgstr "" #: pdfposter/__init__.py:202 #, python-format msgid "Pages w/ rotation %s x %s" msgstr "" #: pdfposter/__init__.py:209 #, python-format msgid "Decided for rotation: %s" msgstr "" #: pdfposter/__init__.py:209 msgid "yes" msgstr "" #: pdfposter/__init__.py:209 msgid "no" msgstr "" #: pdfposter/__init__.py:281 #, python-format msgid "Creating page with offset: %.2f %.2f" msgstr "" #: pdfposter/__init__.py:307 msgid "File is encrypted" msgstr "" #: pdfposter/__init__.py:311 msgid "Can't decrypt PDF. Wrong Password?" msgstr "" #: pdfposter/__init__.py:320 #, python-format msgid "Mediasize : %(units_x)sx%(units_y)s %(unit)s" msgstr "" #: pdfposter/__init__.py:321 pdfposter/__init__.py:326 #, python-format msgid " %(width).2f %(height).2f dots" msgstr "" #: pdfposter/__init__.py:323 #, python-format msgid "Scaling by: %f" msgstr "" #: pdfposter/__init__.py:325 #, python-format msgid "Postersize: %(units_x)sx%(units_y)s %(unit)s" msgstr "" #: pdfposter/__init__.py:330 #, python-format msgid "---- processing page %i -----" msgstr "" #: pdfposter/cmd.py:49 #, python-format msgid "I don't understand your box specification %r" msgstr "" #: pdfposter/cmd.py:53 msgid "Offset not allowed in box definition" msgstr "" #: pdfposter/cmd.py:64 #, python-format msgid "I don't understand your papersize name %r." msgstr "" #: pdfposter/cmd.py:67 #, python-format msgid "Your papersize name %r is not unique, give more chars." msgstr "" #: pdfposter/cmd.py:83 msgid "" "A `BOX` to be passed to `--media-size` and `--poster-size` is a " "specification\n" "of horizontal and vertical size. The syntax is as follows (with " "multiplier\n" "being specified optionally):\n" "\n" " *box* = [ *multiplier* ] *unit*\n" "\n" " *multiplier* = *number* \"x\" *number*\n" "\n" " *unit* = *medianame* or *distancename*\n" "\n" "Please see `--help-media-names` for a list of media and distance names\n" "supported.\n" "\n" "Medias are typically not quadratic but rectangular, which means width\n" "and height differ. Thus using medianames is a bit tricky:\n" "\n" ":10x20cm: obvious: 10 cm x 20 cm (portrait)\n" "\n" ":20x10cm: same as 10x20cm, since all boxes are rotated to portrait\n" " format\n" "\n" "Now when using media names it gets tricky:\n" "\n" ":1x1a4: same as 210x297mm (21 cm x 29.7 cm, portrait)\n" "\n" ":1x2a4: same as 21x594mm (21 cm x 59.4 cm, portrait)\n" "\n" " This are two a4 pages put together at the *small* side: One\n" " portrait page wide and two portrait pages high.\n" "\n" ":2x1a4: same as 420x297mm (landscape), which is rotated to portrait and " "is\n" " the same as 297x420mm (29.7 cm x 42 cm)\n" "\n" " This are two a4 pages put together at the *long* side: Two\n" " portrait pages wide and one portrait page high.\n" msgstr "" #: pdfposter/cmd.py:124 msgid "Available media and distance names:" msgstr "" #: pdfposter/cmd.py:143 msgid "List available media and distance names" msgstr "" #: pdfposter/cmd.py:146 msgid "" "Show help about specifying BOX for `--media-size` and `--poster-size` and" " exit" msgstr "" #: pdfposter/cmd.py:149 msgid "show program's version number and exit" msgstr "" #: pdfposter/cmd.py:152 msgid "" "Be verbose. Tell about scaling, rotation and number of pages. Can be used" " more than once to increase the verbosity" msgstr "" #: pdfposter/cmd.py:156 msgid "Show what would have been done, but do not generate files" msgstr "" #: pdfposter/cmd.py:159 msgid "Define Input" msgstr "" #: pdfposter/cmd.py:161 pdfposter/cmd.py:164 msgid "INTEGER" msgstr "" #: pdfposter/cmd.py:162 msgid "First page to convert (default: first page)" msgstr "" #: pdfposter/cmd.py:165 msgid "Last page to convert (default: last page)" msgstr "" #: pdfposter/cmd.py:168 msgid "" "Use the content area defined by the ArtBox (default: use the area defined" " by the TrimBox)" msgstr "" #: pdfposter/cmd.py:171 msgid "Define Output" msgstr "" #: pdfposter/cmd.py:174 pdfposter/cmd.py:178 msgid "BOX" msgstr "" #: pdfposter/cmd.py:175 #, python-format msgid "Specify the page size of the output media (default: %s)" msgstr "" #: pdfposter/cmd.py:179 msgid "Specify the poster size (defaults to media size)" msgstr "" #: pdfposter/cmd.py:180 msgid "SCALE" msgstr "" #: pdfposter/cmd.py:181 msgid "" "Specify a linear scaling factor to produce the poster. The scaling factor" " is applied to the width and height of the input image size. Thus, a " "scaling factor of 2 results in a poster 4 times the area compared to the " "original" msgstr "" #: pdfposter/cmd.py:187 msgid "InputFile" msgstr "" #: pdfposter/cmd.py:188 msgid "OutputFile" msgstr "" #: pdfposter/cmd.py:193 msgid "Only one of -p/--poster-size and -s/--scale may be given at a time." msgstr "" #: pdfposter/cmd.py:200 #, python-format msgid "Scale value is much to small: %s" msgstr "" #: pdfposter/cmd.py:202 #, python-format msgid "Scale value is much to big: %s" msgstr "" #: pdfposter/cmd.py:209 #, python-format msgid "The input-file is either corrupt or no PDF at all: %s" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:296 msgid "usage: " msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:868 msgid ".__call__() not defined" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1211 #, python-format msgid "unknown parser %(parser_name)r (choices: %(choices)s)" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1271 #, python-format msgid "argument \"-\" with mode %r" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1280 #, python-format msgid "can't open '%(filename)s': %(error)s" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1489 #, python-format msgid "cannot merge actions - two groups are named %r" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1527 msgid "'required' is an invalid argument for positionals" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1549 #, python-format msgid "" "invalid option string %(option)r: must start with a character " "%(prefix_chars)r" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1567 #, python-format msgid "dest= is required for options like %r" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1584 #, python-format msgid "invalid conflict_resolution value: %r" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1602 #, python-format msgid "conflicting option string: %s" msgid_plural "conflicting option strings: %s" msgstr[0] "" msgstr[1] "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1668 msgid "mutually exclusive arguments must be optional" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1736 msgid "positional arguments" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1737 msgid "options" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1752 msgid "show this help message and exit" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1783 msgid "cannot have multiple subparser arguments" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1835 #: ../../../../../../usr/lib64/python3.10/argparse.py:2350 #, python-format msgid "unrecognized arguments: %s" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1936 #, python-format msgid "not allowed with argument %s" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:1986 #: ../../../../../../usr/lib64/python3.10/argparse.py:2000 #, python-format msgid "ignored explicit argument %r" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:2107 #, python-format msgid "the following arguments are required: %s" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:2122 #, python-format msgid "one of the arguments %s is required" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:2165 msgid "expected one argument" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:2166 msgid "expected at most one argument" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:2167 msgid "expected at least one argument" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:2171 #, python-format msgid "expected %s argument" msgid_plural "expected %s arguments" msgstr[0] "" msgstr[1] "" #: ../../../../../../usr/lib64/python3.10/argparse.py:2229 #, python-format msgid "ambiguous option: %(option)s could match %(matches)s" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:2293 #, python-format msgid "unexpected option string: %s" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:2490 #, python-format msgid "%r is not callable" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:2507 #, python-format msgid "invalid %(type)s value: %(value)r" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:2518 #, python-format msgid "invalid choice: %(value)r (choose from %(choices)s)" msgstr "" #: ../../../../../../usr/lib64/python3.10/argparse.py:2594 #, python-format msgid "%(prog)s: error: %(message)s\n" msgstr "" pdfposter-v0.9.1/pdfposter/locale/sv/000077500000000000000000000000001504375153400176215ustar00rootroot00000000000000pdfposter-v0.9.1/pdfposter/locale/sv/LC_MESSAGES/000077500000000000000000000000001504375153400214065ustar00rootroot00000000000000pdfposter-v0.9.1/pdfposter/locale/sv/LC_MESSAGES/pdfposter.po000066400000000000000000000366531504375153400237710ustar00rootroot00000000000000# Translations template for pdfposter. # Copyright (C) 2008-2025 Hartmut Goebel # This file is distributed under the same license as the pdfposter project. # Stefan2255 , 2024, 2025. # Hartmut Goebel , 2025. # Stefan2255 , 2025. msgid "" msgstr "" "Project-Id-Version: pdfposter 0.9.dev0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2025-07-28 00:10+0200\n" "PO-Revision-Date: 2025-08-03 15:09+0000\n" "Last-Translator: Stefan2255 \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 5.12.2\n" "Generated-By: Babel 2.13.0\n" #: pdfposter/__init__.py:144 #, python-format msgid "Rotating %s specs to portrait format" msgstr "Roterar %s specifikationer till stående format" #: pdfposter/__init__.py:163 #, python-format msgid "input dimensions: %.2f %.2f (trimbox of input page)" msgstr "inmatningsmått: %.2f %.2f (trimbox på inmatningssidan)" #: pdfposter/__init__.py:169 #, python-format msgid "output dimensions: %.2f %.2f (poster size)" msgstr "utmatningsmått: %.2f %.2f (affischstorlek)" #: pdfposter/__init__.py:179 msgid "Rotating poster specs since input page is landscape" msgstr "Roterande affischspecifikationer eftersom inmatningssidan är liggande" #: pdfposter/__init__.py:182 #, python-format msgid "rotated output dimensions: %.2f %.2f (poster size)" msgstr "roterade utdatamått: %.2f %.2f (affischstorlek)" #: pdfposter/__init__.py:187 #, python-format msgid "Calculated page scaling factor: %f" msgstr "Beräknad sidskalningsfaktor: %f" #: pdfposter/__init__.py:192 #, python-format msgid "output dimensions: %.2f %.2f (calculated)" msgstr "utmatningsmått: %.2f %.2f (beräknad)" #: pdfposter/__init__.py:201 #, python-format msgid "Pages w/o rotation %s x %s" msgstr "Sidor utan rotation %s x %s" #: pdfposter/__init__.py:202 #, python-format msgid "Pages w/ rotation %s x %s" msgstr "Sidor med rotation %s x %s" #: pdfposter/__init__.py:209 #, python-format msgid "Decided for rotation: %s" msgstr "Beslutad för rotation: %s" #: pdfposter/__init__.py:209 msgid "yes" msgstr "Ja" #: pdfposter/__init__.py:209 msgid "no" msgstr "nej" #: pdfposter/__init__.py:281 #, python-format msgid "Creating page with offset: %.2f %.2f" msgstr "Skapar sida med offset: %.2f %.2f" #: pdfposter/__init__.py:307 msgid "File is encrypted" msgstr "Filen är krypterad" #: pdfposter/__init__.py:311 msgid "Can't decrypt PDF. Wrong Password?" msgstr "Kan inte dekryptera PDF:en. Fel lösenord?" #: pdfposter/__init__.py:320 #, python-format msgid "Mediasize : %(units_x)sx%(units_y)s %(unit)s" msgstr "Mediastorlek: %(units_x)sx%(units_y)s %(unit)s" #: pdfposter/__init__.py:321 pdfposter/__init__.py:326 #, python-format msgid " %(width).2f %(height).2f dots" msgstr " %(width).2f %(height).2f punkter" #: pdfposter/__init__.py:323 #, python-format msgid "Scaling by: %f" msgstr "Skalning med: %f" #: pdfposter/__init__.py:325 #, python-format msgid "Postersize: %(units_x)sx%(units_y)s %(unit)s" msgstr "Postersstorlek: %(units_x)sx%(units_y)s %(unit)s" #: pdfposter/__init__.py:330 #, python-format msgid "---- processing page %i -----" msgstr "---- bearbetar sida %i -----" #: pdfposter/cmd.py:49 #, python-format msgid "I don't understand your box specification %r" msgstr "Jag förstår inte din boxspecifikation %r" #: pdfposter/cmd.py:53 msgid "Offset not allowed in box definition" msgstr "Offset inte tillåtet i boxdefinitionen" #: pdfposter/cmd.py:64 #, python-format msgid "I don't understand your papersize name %r." msgstr "Jag förstår inte ditt pappersstorleksnamn %r." #: pdfposter/cmd.py:67 #, python-format msgid "Your papersize name %r is not unique, give more chars." msgstr "Ditt pappersstorleksnamn %r är inte unikt, ge fler tecken." #: pdfposter/cmd.py:83 msgid "" "A `BOX` to be passed to `--media-size` and `--poster-size` is a " "specification\n" "of horizontal and vertical size. The syntax is as follows (with multiplier\n" "being specified optionally):\n" "\n" " *box* = [ *multiplier* ] *unit*\n" "\n" " *multiplier* = *number* \"x\" *number*\n" "\n" " *unit* = *medianame* or *distancename*\n" "\n" "Please see `--help-media-names` for a list of media and distance names\n" "supported.\n" "\n" "Medias are typically not quadratic but rectangular, which means width\n" "and height differ. Thus using medianames is a bit tricky:\n" "\n" ":10x20cm: obvious: 10 cm x 20 cm (portrait)\n" "\n" ":20x10cm: same as 10x20cm, since all boxes are rotated to portrait\n" " format\n" "\n" "Now when using media names it gets tricky:\n" "\n" ":1x1a4: same as 210x297mm (21 cm x 29.7 cm, portrait)\n" "\n" ":1x2a4: same as 21x594mm (21 cm x 59.4 cm, portrait)\n" "\n" " This are two a4 pages put together at the *small* side: One\n" " portrait page wide and two portrait pages high.\n" "\n" ":2x1a4: same as 420x297mm (landscape), which is rotated to portrait and is\n" " the same as 297x420mm (29.7 cm x 42 cm)\n" "\n" " This are two a4 pages put together at the *long* side: Two\n" " portrait pages wide and one portrait page high.\n" msgstr "" "En \"BOX\" som ska skickas till \"--media-size\" och \"--poster-size\" är en " "specifikation\n" "av horisontell och vertikal storlek. Syntaxen är som följer (med " "multiplikator\n" "specificeras valfritt):\n" "\n" " *box* = [ *multiplikator* ] *enhet*\n" "\n" " *multiplikator* = *nummer* \"x\" *nummer*\n" "\n" " *enhet* = *medianamn* eller *avståndsnamn*\n" "\n" "Se `--help-media-names` för en lista över media och distansnamn\n" "stöds.\n" "\n" "Media är vanligtvis inte kvadratiska utan rektangulära, vilket betyder " "bredd\n" "och höjden skiljer sig åt. Att använda medianamn är därför lite knepigt:\n" "\n" ":10x20cm: självklart: 10 cm x 20 cm (porträtt)\n" "\n" ":20x10cm: samma som 10x20cm, eftersom alla lådor roteras till porträtt\n" " format\n" "\n" "Nu när du använder medienamn blir det knepigt:\n" "\n" ":1x1a4: samma som 210x297 mm (21 cm x 29,7 cm, stående)\n" "\n" ":1x2a4: samma som 21x594 mm (21 cm x 59,4 cm, stående)\n" "\n" " Detta är två A4-sidor sammansatta på den *lilla* sidan:\n" " stående sida bred och två stående sidor hög.\n" "\n" ":2x1a4: samma som 420x297mm (liggande), som roteras till stående och är\n" " samma som 297x420 mm (29,7 cm x 42 cm)\n" "\n" " Detta är två A4-sidor sammansatta på *långsidan: Två\n" " porträttsidor breda och en porträttsida hög.\n" #: pdfposter/cmd.py:124 msgid "Available media and distance names:" msgstr "Tillgängliga media- och distansnamn:" #: pdfposter/cmd.py:143 msgid "List available media and distance names" msgstr "Lista tillgängliga media och avståndsnamn" #: pdfposter/cmd.py:146 msgid "" "Show help about specifying BOX for `--media-size` and `--poster-size` and " "exit" msgstr "" "Visa hjälp om att ange BOX för `--media-size` och `--poster-size` och avsluta" #: pdfposter/cmd.py:149 msgid "show program's version number and exit" msgstr "visa programmets versionsnummer och avsluta" #: pdfposter/cmd.py:152 msgid "" "Be verbose. Tell about scaling, rotation and number of pages. Can be used " "more than once to increase the verbosity" msgstr "" "Var talrik. Berätta om skalning, rotation och antal sidor. Kan användas mer " "än en gång för att öka detaljrikedomen" #: pdfposter/cmd.py:156 msgid "Show what would have been done, but do not generate files" msgstr "Visa vad som skulle ha skett, men skapa inga filer" #: pdfposter/cmd.py:159 msgid "Define Input" msgstr "Precisera inmatningen" #: pdfposter/cmd.py:161 pdfposter/cmd.py:164 msgid "INTEGER" msgstr "HELTAL" #: pdfposter/cmd.py:162 msgid "First page to convert (default: first page)" msgstr "Första sidan att konvertera (standard: första sidan)" #: pdfposter/cmd.py:165 msgid "Last page to convert (default: last page)" msgstr "Sista sidan att konvertera (standard: sista sidan)" #: pdfposter/cmd.py:168 msgid "" "Use the content area defined by the ArtBox (default: use the area defined by " "the TrimBox)" msgstr "" "Använd innehållsområdet som definieras av ArtBox (standard: använd området " "som definieras av TrimBox)" #: pdfposter/cmd.py:171 msgid "Define Output" msgstr "Precisera Utmatnings" #: pdfposter/cmd.py:174 pdfposter/cmd.py:178 msgid "BOX" msgstr "LÅDA" #: pdfposter/cmd.py:175 #, python-format msgid "Specify the page size of the output media (default: %s)" msgstr "Ange sidstorleken för utmatningsmediet (standard: %s)" #: pdfposter/cmd.py:179 msgid "Specify the poster size (defaults to media size)" msgstr "Ange affischstorlek (standard till mediastorlek)" #: pdfposter/cmd.py:180 msgid "SCALE" msgstr "SKALA" #: pdfposter/cmd.py:181 msgid "" "Specify a linear scaling factor to produce the poster. The scaling factor is " "applied to the width and height of the input image size. Thus, a scaling " "factor of 2 results in a poster 4 times the area compared to the original" msgstr "" "Ange en linjär skalningsfaktor för att producera affischen. Skalningsfaktorn " "tillämpas på bredden och höjden på den inmatade bildstorleken. En " "skalningsfaktor på 2 resulterar alltså i en affisch som är 4 gånger så stor " "yta jämfört med originalet" #: pdfposter/cmd.py:187 msgid "InputFile" msgstr "InmatningsFil" #: pdfposter/cmd.py:188 msgid "OutputFile" msgstr "UtmatningsFil" #: pdfposter/cmd.py:193 msgid "Only one of -p/--poster-size and -s/--scale may be given at a time." msgstr "Endast en av -p/--affischstorlek och -s/--skala får ges åt gången." #: pdfposter/cmd.py:200 #, python-format msgid "Scale value is much to small: %s" msgstr "Skalvärdet är mycket för litet: %s" #: pdfposter/cmd.py:202 #, python-format msgid "Scale value is much to big: %s" msgstr "Skalvärdet är mycket för stort: %s" #: pdfposter/cmd.py:209 #, python-format msgid "The input-file is either corrupt or no PDF at all: %s" msgstr "Inmatningsfilen är antingen korrupt eller ingen PDF alls: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:296 msgid "usage: " msgstr "användning: " #: ../../../../../../usr/lib64/python3.10/argparse.py:868 msgid ".__call__() not defined" msgstr ".__call__() är inte definierad" #: ../../../../../../usr/lib64/python3.10/argparse.py:1211 #, python-format msgid "unknown parser %(parser_name)r (choices: %(choices)s)" msgstr "okänd parser %(parser_name)r (valmöjligheter: %(choices)s)" #: ../../../../../../usr/lib64/python3.10/argparse.py:1271 #, python-format msgid "argument \"-\" with mode %r" msgstr "argument \"-\" med läge %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1280 #, python-format msgid "can't open '%(filename)s': %(error)s" msgstr "kan inte öppna '%(filename)s': %(error)s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1489 #, python-format msgid "cannot merge actions - two groups are named %r" msgstr "kan inte sammanfoga ageranden(actions) - två grupper kallas %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1527 msgid "'required' is an invalid argument for positionals" msgstr "" "'required' är en otillåten parameter för ordningsföljdsberoende parametrar" #: ../../../../../../usr/lib64/python3.10/argparse.py:1549 #, python-format msgid "" "invalid option string %(option)r: must start with a character " "%(prefix_chars)r" msgstr "" "felaktig parametersträng %(option)r: måste börja med ett av tecknen " "%(prefix_chars)r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1567 #, python-format msgid "dest= is required for options like %r" msgstr "dest= krävs för parametrar som %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1584 #, python-format msgid "invalid conflict_resolution value: %r" msgstr "felaktigt värde för conflict_resolution: %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:1602 #, python-format msgid "conflicting option string: %s" msgid_plural "conflicting option strings: %s" msgstr[0] "sträng för parameternamn står i konflikt: %s" msgstr[1] "strängar för parameternamn står i konflikt: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1668 msgid "mutually exclusive arguments must be optional" msgstr "parametrar som inte tillåts tillsammans måste vara frivilliga" #: ../../../../../../usr/lib64/python3.10/argparse.py:1736 msgid "positional arguments" msgstr "ordningsföljdsberoende parametrar" #: ../../../../../../usr/lib64/python3.10/argparse.py:1737 msgid "options" msgstr "Alternativ" #: ../../../../../../usr/lib64/python3.10/argparse.py:1752 msgid "show this help message and exit" msgstr "visa denna hjälp och avsluta" #: ../../../../../../usr/lib64/python3.10/argparse.py:1783 msgid "cannot have multiple subparser arguments" msgstr "kan inte ha flera subparser-parametrar" #: ../../../../../../usr/lib64/python3.10/argparse.py:1835 #: ../../../../../../usr/lib64/python3.10/argparse.py:2350 #, python-format msgid "unrecognized arguments: %s" msgstr "ej igenkända parametrar: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1936 #, python-format msgid "not allowed with argument %s" msgstr "tillåts ej med parametern/parametrarna %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:1986 #: ../../../../../../usr/lib64/python3.10/argparse.py:2000 #, python-format msgid "ignored explicit argument %r" msgstr "ignorerade uttryckligt givet parametervärde %r" #: ../../../../../../usr/lib64/python3.10/argparse.py:2107 #, python-format msgid "the following arguments are required: %s" msgstr "följande parametrar är obligatoriska: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:2122 #, python-format msgid "one of the arguments %s is required" msgstr "en av parametrarna %s krävs" #: ../../../../../../usr/lib64/python3.10/argparse.py:2165 msgid "expected one argument" msgstr "förväntade sig ett parametervärde" #: ../../../../../../usr/lib64/python3.10/argparse.py:2166 msgid "expected at most one argument" msgstr "som mest ett parametervärde förväntades" #: ../../../../../../usr/lib64/python3.10/argparse.py:2167 msgid "expected at least one argument" msgstr "minst ett parametervärde förväntades" #: ../../../../../../usr/lib64/python3.10/argparse.py:2171 #, python-format msgid "expected %s argument" msgid_plural "expected %s arguments" msgstr[0] "förväntade sig %s parametervärde" msgstr[1] "förväntade sig %s parametervärden" #: ../../../../../../usr/lib64/python3.10/argparse.py:2229 #, python-format msgid "ambiguous option: %(option)s could match %(matches)s" msgstr "tvetydigt parameternamn: %(option)s skulle kunna matcha %(matches)s" #: ../../../../../../usr/lib64/python3.10/argparse.py:2293 #, python-format msgid "unexpected option string: %s" msgstr "oväntad parameternamnssträng: %s" #: ../../../../../../usr/lib64/python3.10/argparse.py:2490 #, python-format msgid "%r is not callable" msgstr "%r är inte anropsbar" #: ../../../../../../usr/lib64/python3.10/argparse.py:2507 #, python-format msgid "invalid %(type)s value: %(value)r" msgstr "felaktigt %(type)s-värde: %(value)r" #: ../../../../../../usr/lib64/python3.10/argparse.py:2518 #, python-format msgid "invalid choice: %(value)r (choose from %(choices)s)" msgstr "felaktigt val: %(value)r (välj från %(choices)s)" #: ../../../../../../usr/lib64/python3.10/argparse.py:2594 #, python-format msgid "%(prog)s: error: %(message)s\n" msgstr "%(prog)s: fel: %(message)s\n" pdfposter-v0.9.1/projectlogo.svg000066400000000000000000001350051504375153400170000ustar00rootroot00000000000000 pdfposter Hartmut Goebel Hartmut Goebel Hartmut Goebel image/svg+xml en https://pdfposter.readthedocs.io/ Based on an Etiquette Icon by Andy Fitzsimon pdfposter-v0.9.1/pyproject.toml000066400000000000000000000003741504375153400166440ustar00rootroot00000000000000# Copyright (C) 2023-2025 Hartmut Goebel # SPDX-License-Identifier: CC0-1.0 [build-system] requires = ['setuptools >= 46.4.0'] build-backend = 'setuptools.build_meta' [tool.isort] multi_line_output = 4 # vertical grid pdfposter-v0.9.1/setup.cfg000066400000000000000000000051201504375153400155430ustar00rootroot00000000000000# Copyright 2008-2025 by Hartmut Goebel # SPDX-License-Identifier: CC0-1.0 [sdist] formats=gztar [metadata] name = pdfposter version = attr: pdfposter.__version__ description = Scale and tile PDF images/pages to print on multiple pages. long_description = file: README.txt long_description_content_type = text/x-rst url = https://pdfposter.readthedocs.io/ download_url = https://pypi.org/project/pdfposter/ author = Hartmut Goebel author_email = h.goebel@crazy-compilers.com license = GPL-3.0-or-later license_files= LICENSES/*.txt keywords = pdf, poster classifiers = Development Status :: 5 - Production/Stable Environment :: Console Intended Audience :: Developers Intended Audience :: End Users/Desktop Intended Audience :: System Administrators Natural Language :: English Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 Programming Language :: Python :: 3.13 Topic :: Printing Topic :: Utilities [options] packages = find_namespace: include_package_data = True zip_safe = True python_requires = >=3.8 install_requires = pypdf >= 5.5 [options.packages.find] include = pdfposter* [options.package_data] * = locale/*/*/*.mo [options.entry_points] console_scripts = pdfposter = pdfposter.cmd:run [zest.releaser] history-file = CHANGES push-changes = no tag-format = v{version} tag-message = pdfposter {version} tag-signing = yes create-wheel = yes python-file-with-version = pdfposter/__init__.py releaser.after_checkout = _zest_release_hooks.compile_message_catalogs _zest_release_hooks.build_man_pages releaser.before_upload = _zest_release_hooks.sign_release _zest_release_hooks.run_twine_check _zest_release_hooks.safe_dist_files [flake8] ignore = E203,E225 # babel integration [extract_messages] # extract/update message template, for every update input_dirs = pdfposter output_file = pdfposter/locale/pdfposter.pot [init_catalog] # create a new translation from the template, once per language domain = pdfposter input_file = pdfposter/locale/pdfposter.pot output_dir = pdfposter/locale [update_catalog] # update an existing translation from the template domain = pdfposter input_file = pdfposter/locale/pdfposter.pot output_dir = pdfposter/locale [compile_catalog] # compile the message catalogs domain = pdfposter directory = pdfposter/locale pdfposter-v0.9.1/setup.py000066400000000000000000000001511504375153400154330ustar00rootroot00000000000000# SPDX-FileCopyrightText: NONE # SPDX-License-Identifier: CC0-1.0 from setuptools import setup setup() pdfposter-v0.9.1/test/000077500000000000000000000000001504375153400147035ustar00rootroot00000000000000pdfposter-v0.9.1/test/SConscript000066400000000000000000000040411504375153400167140ustar00rootroot00000000000000# -*- mode: python ; coding: utf-8 -*- # # Copyright (C) 2008-2025 Hartmut Goebel # SPDX-License-Identifier: GPL-3.0-or-later # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # # Build requirements # - pdf2ps (comes with ghostscript) # - poster # Import('*') env.Command('testpages-a4.pdf', 'gen-testpages.py', 'python $SOURCE $TARGET') env.Command('testpage-a4-v.ps', 'testpages-a4.pdf', 'pdf2ps -dFirstPage=1 -dLastPage=1 $SOURCE $TARGET') env.Command('testpage-a4-h.ps', 'testpages-a4.pdf', 'pdf2ps -dFirstPage=2 -dLastPage=2 $SOURCE $TARGET') for mediasize in ('a4', 'a3'): for postersize in ('a3',): for orientation in ('h', 'v'): env.Command('poster-%s-%s-on-%s.ps' % (orientation, postersize, mediasize), 'testpage-a4-%s.ps' % orientation, 'poster -m %s -p %s $SOURCE -o $TARGET' % (mediasize, postersize)) env.Command('chessboard.pdf', 'gen-chessboard.py', 'python $SOURCE $TARGET') env.Command('chessboard.ps', 'chessboard.pdf', 'pdf2ps -dFirstPage=1 -dLastPage=1 $SOURCE $TARGET') env.Command('chessboard-poster.ps', 'chessboard.ps', 'poster -vv -m 21x29+5,10cm $SOURCE -o $TARGET') env.Command(['allboxes-noboxes.pdf', 'allboxes.pdf'], 'gen-allboxespage.py', 'python $SOURCE $TARGETS') env.Command('trimmedpage.pdf', 'gen-trimmedpage.py', 'python $SOURCE $TARGET') pdfposter-v0.9.1/test/allboxes-noboxes.pdf000066400000000000000000000054531504375153400206710ustar00rootroot00000000000000%PDF-1.4 % ReportLab Generated PDF document http://www.reportlab.com % 'BasicFonts': class PDFDictionary 1 0 obj % The standard fonts dictionary << /F1 2 0 R >> endobj % 'F1': class PDFType1Font 2 0 obj % Font Helvetica << /BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font >> endobj % 'Page1': class PDFPage 3 0 obj % Page dictionary << /Contents 7 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 6 0 R /Resources << /Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >> /Rotate 0 /Trans << >> /Type /Page >> endobj % 'R4': class PDFCatalog 4 0 obj % Document Root << /Outlines 8 0 R /PageMode /UseNone /Pages 6 0 R /Type /Catalog >> endobj % 'R5': class PDFInfo 5 0 obj << /Author (anonymous) /CreationDate (D:20130521212026-01'00') /Creator (ReportLab PDF Library - www.reportlab.com) /Keywords () /Producer (ReportLab PDF Library - www.reportlab.com) /Subject (unspecified) /Title (untitled) >> endobj % 'R6': class PDFPages 6 0 obj % page tree << /Count 1 /Kids [ 3 0 R ] /Type /Pages >> endobj % 'R7': class PDFStream 7 0 obj % page stream << /Filter [ /ASCII85Decode /FlateDecode ] /Length 1035 >> stream Gat=la_i%P%#43Or!kcr!Qp96[9WlV3V:hH$b1'%\;6]mc(U2*c(`H8MA[U-4J&8As3uFn7ma'$+&;jN*L42TeD'_rOOWcmOFbsO8\H'd2u,dn^gs@dA0<"0aru)Ro(g2k#+Q3?:o.9tD,_'(7Yg:,@s;ul)ur?^62>30CE4,0!$QZdhB3t8f?X-UiATj=a"7K(K1>1oBRk4\&7T,]QZCGUTGXg%W=2RnK)BKF(EK=q*^HE4`Qqs4;s2KD*.5"7*`kMHCBe=a-3D(":!OM%l*V!cM$:dBqK,ae\;U73:?]9-T_V6k6k"Yr6S)jq)-ACpd>F:Vd#mG#AQ74$^g]Q>,&P]h(agF@`e[5qpFXUhp7bS*1tsbu+e:pp9#t#J@$^[K\9%,M)PuLpW_\m2GADRuhpToR.5#pWTC=5P)jFOSn+2,9Lo(og7f!G/l_.TR%dWeNlhlRSDlOKL#c;?/bs'=364$baM6+`<=iE]5HX5H79`<3dI,)R%6_HeORZZtFSsUfSmNasjB(`7I+ls=Wrj7>`BhO/Xm5^N>=a4nDTSeV4hj\#P^2SG4kcKQZ_?Ou#?(-!K8t>cWomH#+nJjKA);%cq8IoLr8O@qhlQ,=:sX)gZsU+QL3rkkO=@4hkY?IeY*UlbMSh3-+X@M)idNf4/u4kf'Vq&')c0;6/JJ%Zhn:VH:TM7Yr.TrDTbeae[g&\g3Pb$Nn;#1Cm?T7HB>U(4Bo%G@I\J4UPekWNA'IdjsV0#bW]dGAY1#fS\#6[ap/:\o@Tokk:T[k_'S2CE0ej\<1WD&GE+Fm=p+R\.Y"scb/4<72lfMQ2N]Uj[__cE+09WEIf\a*ceS~>endstream endobj % 'R8': class PDFOutlines 8 0 obj << /Count 0 /Type /Outlines >> endobj xref 0 9 0000000000 65535 f 0000000113 00000 n 0000000209 00000 n 0000000372 00000 n 0000000649 00000 n 0000000783 00000 n 0000001065 00000 n 0000001170 00000 n 0000002348 00000 n trailer << /ID % ReportLab generated PDF document -- digest (http://www.reportlab.com) [(\254\324\352\200\353Q \205\316b\207\213\316I6\247) (\254\324\352\200\353Q \205\316b\207\213\316I6\247)] /Info 5 0 R /Root 4 0 R /Size 9 >> startxref 2399 %%EOF pdfposter-v0.9.1/test/allboxes.pdf000066400000000000000000000040321504375153400172060ustar00rootroot00000000000000%PDF-1.3 1 0 obj << /Kids [ 4 0 R ] /Type /Pages /Count 1 >> endobj 2 0 obj << /Producer (Python PDF Library \055 http\072\057\057pybrary\056net\057pyPdf\057) >> endobj 3 0 obj << /Type /Catalog /Pages 1 0 R >> endobj 4 0 obj << /Contents 5 0 R /Parent 1 0 R /TrimBox [ 56.69291 56.69291 538.58269 785.19689 ] /Resources << /Font 6 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >> /Trans << >> /Rotate 0 /MediaBox [ 0 0 595.27560 841.88980 ] /Type /Page /BleedBox [ 48.18898 48.18898 547.08662 793.70082 ] /ArtBox [ 141.73228 99.21260 481.88976 538.58268 ] >> endobj 5 0 obj << /Length 1035 /Filter [ /ASCII85Decode /FlateDecode ] >> stream Gat=la_i%P%#43Or!kcr!Qp96[9WlV3V:hH$b1'%\;6]mc(U2*c(`H8MA[U-4J&8As3uFn7ma'$+&;jN*L42TeD'_rOOWcmOFbsO8\H'd2u,dn^gs@dA0<"0aru)Ro(g2k#+Q3?:o.9tD,_'(7Yg:,@s;ul)ur?^62>30CE4,0!$QZdhB3t8f?X-UiATj=a"7K(K1>1oBRk4\&7T,]QZCGUTGXg%W=2RnK)BKF(EK=q*^HE4`Qqs4;s2KD*.5"7*`kMHCBe=a-3D(":!OM%l*V!cM$:dBqK,ae\;U73:?]9-T_V6k6k"Yr6S)jq)-ACpd>F:Vd#mG#AQ74$^g]Q>,&P]h(agF@`e[5qpFXUhp7bS*1tsbu+e:pp9#t#J@$^[K\9%,M)PuLpW_\m2GADRuhpToR.5#pWTC=5P)jFOSn+2,9Lo(og7f!G/l_.TR%dWeNlhlRSDlOKL#c;?/bs'=364$baM6+`<=iE]5HX5H79`<3dI,)R%6_HeORZZtFSsUfSmNasjB(`7I+ls=Wrj7>`BhO/Xm5^N>=a4nDTSeV4hj\#P^2SG4kcKQZ_?Ou#?(-!K8t>cWomH#+nJjKA);%cq8IoLr8O@qhlQ,=:sX)gZsU+QL3rkkO=@4hkY?IeY*UlbMSh3-+X@M)idNf4/u4kf'Vq&')c0;6/JJ%Zhn:VH:TM7Yr.TrDTbeae[g&\g3Pb$Nn;#1Cm?T7HB>U(4Bo%G@I\J4UPekWNA'IdjsV0#bW]dGAY1#fS\#6[ap/:\o@Tokk:T[k_'S2CE0ej\<1WD&GE+Fm=p+R\.Y"scb/4<72lfMQ2N]Uj[__cE+09WEIf\a*ceS~> endstream endobj 6 0 obj << /F1 7 0 R >> endobj 7 0 obj << /Encoding /WinAnsiEncoding /Type /Font /Name /F1 /BaseFont /Helvetica /Subtype /Type1 >> endobj xref 0 8 0000000000 65535 f 0000000009 00000 n 0000000068 00000 n 0000000169 00000 n 0000000218 00000 n 0000000573 00000 n 0000001700 00000 n 0000001731 00000 n trailer << /Size 8 /Root 3 0 R /Info 2 0 R >> startxref 1838 %%EOF pdfposter-v0.9.1/test/bugs/000077500000000000000000000000001504375153400156435ustar00rootroot00000000000000pdfposter-v0.9.1/test/bugs/Kalender.pdf000066400000000000000000001001411504375153400200600ustar00rootroot00000000000000%PDF-1.4 %쏢 5 0 obj <> stream xKq7s1mQ%$>& $G=Cs^}uW5Q}Pl@1 OEf7*cufU/o>_եz.}=|ato2ݥ?~nn2, -e?T _~e۱(w|~O2MUnTKߍUᇵ?ygեfzk}n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,/\cpCo\ }>7-AJ1 &oʐO"7rбk[J|%)xbx7`<=[3+;IKo,+aϏ/yJ]֩W>yeMr֓Gۮƹ3tWdɹZ]8\͠`R_Csۀ{>% &][M*O>'PF׼CFKҽ-.DOS.?iΠpUӏz;&]Ϣ.mO~5ۣ7SF!imS<Alendstream endobj 6 0 obj 14937 endobj 4 0 obj <> /Contents 5 0 R >> endobj 3 0 obj << /Type /Pages /Kids [ 4 0 R ] /Count 1 >> endobj 1 0 obj <> endobj 7 0 obj <>endobj 16 0 obj <> endobj 17 0 obj <> endobj 14 0 obj <> endobj 22 0 obj <> endobj 12 0 obj <> endobj 23 0 obj <> endobj 10 0 obj <> endobj 8 0 obj <> endobj 24 0 obj <> endobj 15 0 obj <> endobj 18 0 obj <>stream x]}Pgwِ *(9 hy+ ^J`yczj+t*zAqTŊ(B,48܃3A<}?g$x6IIt\FU$jB8~6iVj(dkprKb̑HR[,QiZ[bO?? b[eZJ8:ENr8UR=$v j)U6LvA&O.ShŲlt*[UhѪt& *Fg* =6m#9K;m!O"2bp"p&\ #jiC*k$Dl 6OR_S~/D׎\<[{paTBğ9P:MfNu޼:mIa UCZo`_Puoc!d; * D\T|yNà [Lq{jzРL{24Y%ĭf.?rung6uL|08ߘ6nE&q $v =$(1UA$sVG1*-Y,pBNY(3/Z,b',$P -|Rd` $R12et໊$F xU W{H`m#5X*(@\$CVj>[ՉA;c~\8V+Օ}G?՚=q+8{vy wHJs}2,oz`^6"=;R*Z6 gIAa>>>`+*#L("ts(fM$lxFvD{>v>^8/g|6{2Bl}5Nz{1#hQh3;`P煡LPb7~|ږ LϼLw]'=A#Krj#F)S Ӡiʻ ËxfEEd/ż=u]-BqPPR}ɨAc*Q*vm HTo^)oB-ZmM3Uv=@¹8R`\h^$\-0~cgg>agO endstream endobj 13 0 obj <> endobj 19 0 obj <>stream xuWTٶR|nPP@2DihA% "Q.̈8 8cBh$TQGsmzZVչ>J 0rOO+Dk[C/PhQͨx푰o8,AAĆ:DF%D 3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]5zka Y)Ovhjqr=6Z’! _QB,ʒ!?>IsDd q^)6d8ݾ]zxf1yʠ/b0UU9Xw mL~!RF=J웩g35JKv] r龢<\G V˥dBʯ&ݕӺ&=nS@6*eˣ+N*/3ꔐ!dSa(Rd#> EǑ5ɔtB0gW0csVn6+C]b{Kgpy XlPF婸kyhYGtl()NBV*?B U#?X]|HhudFʷ IGaֱsu8I* $d QH/ytX|l%|F/x<mmP~1j;bqq) tYYаi:.5!/6 *J KdTíɖuPjak T,IOEz6M= q J2fЕEe6T舯TUtTU:9}a.2dj&$@Z\cJl,z"p7zlXz!auO"'I$ޗ E&ϯApKwѡBR\.FkuyZ: \,o>(Z:o[r󧫅RfquZGjw?>Dna%:8Lx_==78נ[CG[Oq \T.&(<Ѷnpao qۮ.vLY \<+m1p򘵕Q?NI 5\Zo>CCswb$ ڠon*JycWka.[K[),hy@APD@{08 ߸5GGI9Irwq=I/蕴K7sfhx龡//Qܤm4k:pP^%b;4~y+6V։_ #MR[(17i/[}#5h3J,PB Cc d v >{ CbU?F[K(S_?JF{XbXoߦw7k[ }t-s] ޸W݇w,y{FIHJy^cإݮِ:@ilI^MP3,M s'}fOXLרnRXWuhs"U -k"Oj҉@&ŭ5WϒGy|{Ht.`0X endstream endobj 25 0 obj <>stream 2014-01-09T00:07:57+01:00 2014-01-09T00:07:57+01:00 dvips(k) 5.992 Copyright 2012 Radical Eye Software KalenderTest.dvi endstream endobj 2 0 obj <>endobj xref 0 26 0000000000 65535 f 0000015270 00000 n 0000031980 00000 n 0000015211 00000 n 0000015043 00000 n 0000000015 00000 n 0000015022 00000 n 0000015335 00000 n 0000016832 00000 n 0000026220 00000 n 0000016516 00000 n 0000024190 00000 n 0000015911 00000 n 0000019430 00000 n 0000015469 00000 n 0000017306 00000 n 0000015376 00000 n 0000015406 00000 n 0000017611 00000 n 0000019830 00000 n 0000024484 00000 n 0000026561 00000 n 0000015820 00000 n 0000016405 00000 n 0000017215 00000 n 0000030519 00000 n trailer << /Size 26 /Root 1 0 R /Info 2 0 R /ID [<533DEE602CDE2AFF8822A90B672813F8><533DEE602CDE2AFF8822A90B672813F8>] >> startxref 32191 %%EOF pdfposter-v0.9.1/test/chessboard.pdf000066400000000000000000000066571504375153400175310ustar00rootroot00000000000000%PDF-1.4 % ReportLab Generated PDF document http://www.reportlab.com 1 0 obj << /F1 2 0 R >> endobj 2 0 obj << /BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font >> endobj 3 0 obj << /Contents 7 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 6 0 R /Resources << /Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >> /Rotate 0 /Trans << >> /Type /Page >> endobj 4 0 obj << /PageMode /UseNone /Pages 6 0 R /Type /Catalog >> endobj 5 0 obj << /Author (anonymous) /CreationDate (D:20220101141516-00'00') /Creator (ReportLab PDF Library - www.reportlab.com) /Keywords () /ModDate (D:20220101141516-00'00') /Producer (ReportLab PDF Library - www.reportlab.com) /Subject (unspecified) /Title (untitled) /Trapped /False >> endobj 6 0 obj << /Count 1 /Kids [ 3 0 R ] /Type /Pages >> endobj 7 0 obj << /Filter [ /ASCII85Decode /FlateDecode ] /Length 2190 >> stream Gat=o\ZQo2&4Q3b'cl!8B^SMC^in_YQlhE]C]an&5lVpnDdcXc%$*"o"DAh"RHe\\i'>2!q=u8Jrqu]e\j"uRT7.)JLtD%?.qG!MgMb]i\#8on_t>"mlbCI#H3c^K^V[b"a7$c,\_;@)iL6rd^5U5E+%?^k\%eO6H$rDdY)YJnroVrWf>eCtDkCRSCr4'dk6fJ1O=)>=XgY^WM_[C^P>)=K=r&UirI?FNP3>(A9>,EW)cCgmVDi6X`XL,(q8Ytq7\&p/Vg&@lI*q\B_^c[rsM9n2YP]Y2kg+WRB33Nht/1J.B;LS]XI*PWjj*-4*LT@^E59Y+!\P^pKN]E_U(WV>M][-A?[JTb8a%pQU0CR\([8tjQ!3gm0J-h:+-?G;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 00000 n trailer << /ID [] % ReportLab generated PDF document -- digest (http://www.reportlab.com) /Info 5 0 R /Root 4 0 R /Size 8 >> startxref 3118 %%EOF pdfposter-v0.9.1/test/functional/000077500000000000000000000000001504375153400170455ustar00rootroot00000000000000pdfposter-v0.9.1/test/functional/test_cmd.py000066400000000000000000000122501504375153400212210ustar00rootroot00000000000000# # Copyright 2008-2025 by Hartmut Goebel # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # SPDX-License-Identifier: GPL-3.0-or-later __author__ = "Hartmut Goebel " __copyright__ = "Copyright 2012-2025 by Hartmut Goebel " __license__ = "GPL-3.0-or-later" import pytest import os, sys import argparse import pdfposter from pdfposter import cmd, __version__ ArgParserError = argparse.ArgumentTypeError def test_help(capsys): with pytest.raises(SystemExit) as excinfo: cmd.run(['foobar', '--help']) assert excinfo.value.code == 0 out, err = capsys.readouterr() assert "Be verbose" in out def test_help_media_names(capsys): with pytest.raises(SystemExit) as excinfo: cmd.run(['foobar', '--help-media-names']) assert excinfo.value.code == 0 out, err = capsys.readouterr() assert "media and distance names" in out assert "a2 a3 a4" in out def test_version(capsys): with pytest.raises(SystemExit) as excinfo: cmd.run(['foobar', '--version']) assert excinfo.value.code == 0 out, err = capsys.readouterr() if sys.version_info < (3,0): # for Python 2.7 message are written to stderr out = err assert len(out.splitlines()) == 1 progname = os.path.basename(sys.argv[0]) assert out.strip() == ('%s %s' % (progname, __version__)) def test_without_options(monkeypatch): def mockmain(opts, infilename, outfilename, password_hook=None): assert infilename == 'in.pdf' assert outfilename == 'out.pdf' # 'main' is imported into `cmd`, need to monkeypath there monkeypatch.setattr(cmd, 'main', mockmain) cmd.run(['in.pdf', 'out.pdf']) def test_corrupt_pdf(): # passing this text file as input file shall fail with pytest.raises(SystemExit, match="either corrupt or no PDF"): cmd.run([__file__, 'out.pdf']) def test_can_parse_mediasize(monkeypatch): def mockmain(opts, infilename, outfilename, password_hook=None): media_size = opts.media_size assert media_size['unit'] == 'a5' assert media_size['units_x'] == 3 assert media_size['units_y'] == 4 # 'main' is imported into `cmd`, need to monkeypath there monkeypatch.setattr(cmd, 'main', mockmain) cmd.run(['in.pdf', '-m3x4a5', 'out.pdf']) def test_can_parse_postersize(monkeypatch): def mockmain(opts, infilename, outfilename, password_hook=None): poster_size = opts.poster_size assert poster_size['unit'] == 'a5' assert poster_size['units_x'] == 3 assert poster_size['units_y'] == 4 # 'main' is imported into `cmd`, need to monkeypath there monkeypatch.setattr(cmd, 'main', mockmain) cmd.run(['in.pdf', '-p3x4a5', 'out.pdf']) def test_postersize_defaults_to_mediasize(monkeypatch): def mockmain(opts, infilename, outfilename, password_hook=None): opts.poster_size == opts.media_size poster_size = opts.poster_size assert poster_size['unit'] == 'a5' assert poster_size['units_x'] == 3 assert poster_size['units_y'] == 4 # 'main' is imported into `cmd`, need to monkeypath there monkeypatch.setattr(cmd, 'main', mockmain) cmd.run(['in.pdf', '-m3x4a5', 'out.pdf']) def test_postersize_and_mediasize_given(monkeypatch): def mockmain(opts, infilename, outfilename, password_hook=None): opts.poster_size == opts.media_size media_size = opts.media_size assert media_size['unit'] == 'a5' assert media_size['units_x'] == 3 assert media_size['units_y'] == 4 poster_size = opts.poster_size assert poster_size['unit'] == 'dinlang' assert poster_size['units_x'] == 23 assert poster_size['units_y'] == 42 # 'main' is imported into `cmd`, need to monkeypath there monkeypatch.setattr(cmd, 'main', mockmain) cmd.run(['in.pdf', '-m3x4a5', '-p23x42dinla', 'out.pdf']) def test_scale_and_postersize_given(capsys): # these are mutal exclusive with pytest.raises(SystemExit) as excinfo: cmd.run(['in.pdf', '--scale=1.5', '-p23x42dinla', 'out.pdf']) out, err = capsys.readouterr() assert "Only one of" in err def test_scale_to_small(capsys): with pytest.raises(SystemExit) as excinfo: cmd.run(['in.pdf', '--scale=0.0001', 'out.pdf']) out, err = capsys.readouterr() assert "Scale value is much to small" in err def test_scale_to_big(capsys): with pytest.raises(SystemExit) as excinfo: cmd.run(['in.pdf', '--scale=100000000000', 'out.pdf']) out, err = capsys.readouterr() assert "Scale value is much to big" in err pdfposter-v0.9.1/test/functional/test_end_to_end.py000066400000000000000000000045321504375153400225600ustar00rootroot00000000000000# # Copyright 2008-2025 by Hartmut Goebel # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # SPDX-License-Identifier: GPL-3.0-or-later __author__ = "Hartmut Goebel " __copyright__ = "Copyright 2012-2025 by Hartmut Goebel " __license__ = "GPL-3.0-or-later" import pytest import os, sys from pdfposter import cmd import pypdf CHESSBOARD = os.path.join(os.path.dirname(__file__), '..', 'chessboard.pdf') def get_num_pages(filename): with open(filename, 'rb') as fh: reader = pypdf.PdfReader(fh) return len(reader.pages) def test_without_options(tmpdir): outname = str(tmpdir.join('out.pdf')) cmd.run([CHESSBOARD, outname]) # default media-size is 1x1a4 and default poster-size is media-size assert get_num_pages(outname) == 1 def test_mediasize(tmpdir): outname = str(tmpdir.join('out.pdf')) cmd.run([CHESSBOARD, '-m3x4a5', outname]) # default poster-size is media-size, so this is one page assert get_num_pages(outname) == 1 def test_postersize(tmpdir): outname = str(tmpdir.join('out.pdf')) cmd.run([CHESSBOARD, '-p3x4a5', outname]) # default media-size is 1x1a4 and poster fits on 3x2 pages assert get_num_pages(outname) == 6 def test_postersize_and_mediasize(tmpdir): outname = str(tmpdir.join('out.pdf')) cmd.run([CHESSBOARD, '-m3x4a5', '-p23x42dinla', outname]) # see tests/unit/test_decide for calculation assert get_num_pages(outname) == 48 def test_scale_by_two(tmpdir): outname = str(tmpdir.join('out.pdf')) # Need to specify media a bit larger since the page in the input # file is sightly larger than a4 cmd.run([CHESSBOARD, '-s2', '-m1.1x1.1a4', outname]) assert get_num_pages(outname) == 4 pdfposter-v0.9.1/test/gen-allboxespage.py000066400000000000000000000132031504375153400204710ustar00rootroot00000000000000#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2008-2025 by Hartmut Goebel # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # SPDX-License-Identifier: GPL-3.0-or-later """ Generate test PDF documents for pdfposter with all boxes drawn and set. The first page will be a DIN A4 with some content and all the standard PDF boxes (media, bleed, trim, art) drawn and set. The second file will have the same content, except that only the media-box is set and all other boxes not set at all. This is useful for checking if clipping works as expected with and without option `--art-box`. """ from __future__ import unicode_literals __author__ = "Hartmut Goebel " __copyright__ = "Copyright 2008-2025 by Hartmut Goebel " __license__ = "GPL-3.0-or-later" from reportlab.lib.units import mm, cm from reportlab.lib.colors import black, white, pink, lightblue, blue from reportlab.lib.pagesizes import A4, legal, landscape from reportlab.pdfgen.canvas import Canvas from pypdf import PdfWriter, PdfReader from pypdf.generic import RectangleObject def draw_box(canvas, color, x,y, width,height, text=None): canvas.setStrokeColorRGB(*color) canvas.rect(x,y, width,height) if text: canvas.setFillColorRGB(*color) canvas.setFont("Helvetica", 3*mm) canvas.drawString(x+1*mm, y+1*mm, text) def genTestFile(filename1, filename2): stepSize = 2*cm size = A4 bleed = 3*mm trimmargin = 2*cm cutmargin = trimmargin-bleed #----------- generate the first PDF w/o boxes defined ----------- canv = Canvas(filename1, pagesize=size) canv.setFont("Helvetica", 7*mm) canv.setStrokeColor(black) #--- draw the content # headline canv.setFillColor(lightblue) canv.rect(cutmargin, size[1]-cutmargin, size[0]-2*cutmargin, -(4*cm+bleed), fill=1, stroke=0) canv.setFillColor(black) canv.setFont("Helvetica", 12*mm) canv.drawCentredString(size[0]/2.0, size[1]-trimmargin-2.5*cm, "This is a headline") # main content canv.setFont("Helvetica", 7*mm) offset = 6*cm for x in range(5): for y in range(6): text = "%x%x" % (x,y) if (x+y) % 2: canv.setFillColor(pink) else: canv.setFillColor(lightblue) canv.rect(offset+x*stepSize, offset+y*stepSize, stepSize, stepSize, fill=True) canv.setFillColor(black) canv.drawCentredString(offset+(x+0.5)*stepSize, offset+(y+0.4)*stepSize, text) canv.drawCentredString(size[0]/2.0, offset-1.7*cm, "His is a caption") # draw the artbox artRect = (offset-1*cm, offset-2.5*cm, 2*cm+5*stepSize, 3.5*cm+6*stepSize) draw_box(canv, (1,0,1), *artRect, text="art box") # draw trimbox draw_box(canv, (0,1,0), trimmargin, trimmargin, size[0]-2*trimmargin, size[1]-2*trimmargin, text="trim box") # draw bleedbox draw_box(canv, (0,0,1), cutmargin, cutmargin, size[0]-2*cutmargin, size[1]-2*cutmargin) # draw horizonal cut marks canv.line(0, trimmargin, cutmargin, trimmargin) canv.line(size[0],trimmargin, size[0]-cutmargin,trimmargin) canv.line(0, size[1]-trimmargin, cutmargin, size[1]-trimmargin) canv.line(size[0],size[1]-trimmargin, size[0]-cutmargin,size[1]-trimmargin) # draw vertical cut marks canv.line(trimmargin, 0, trimmargin, cutmargin) canv.line(size[0]-trimmargin,0, size[0]-trimmargin,cutmargin) canv.line(trimmargin, size[1], trimmargin, size[1]-cutmargin) canv.line(size[0]-trimmargin,size[1], size[0]-trimmargin,size[1]-cutmargin) # save the pdf file canv.showPage() canv.save() #----------- generate the second PDF w/ trimbox, bleedbox, artbox set reader = PdfReader(open(filename1, "rb")) writer = PdfWriter() page = reader.get_page(0) x0, y0, x1, y1 = map(float, page.mediabox) assert x0 == 0 assert y0 == 0 assert round(x1, 2) == round(size[0], 2) assert round(y1, 2) == round(size[1], 2) page.bleedbox = RectangleObject((x0+cutmargin, y0+cutmargin, x1-cutmargin, y1-cutmargin)) page.trimbox = RectangleObject((x0+trimmargin, y0+trimmargin, x1-trimmargin, y1-trimmargin)) page.artBox = RectangleObject((artRect[0], artRect[1], artRect[0]+artRect[2], artRect[1]+artRect[3])) writer.add_page(page) with open(filename2, "wb") as outputStream: writer.write(outputStream) if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() parser.add_argument('filename1', help='Name of output file w/o box metrics within') parser.add_argument('filename2', help='Name of output file w/ box metrics') args = parser.parse_args() genTestFile(args.filename1, args.filename2) pdfposter-v0.9.1/test/gen-chessboard.py000066400000000000000000000057671504375153400201600ustar00rootroot00000000000000#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2008-2025 by Hartmut Goebel # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # SPDX-License-Identifier: GPL-3.0-or-later """ Generate a test PDF document for pdfposter with a chessboard drawn on. The page will be DIN A4 with a chessboard drawn on. It is useful for checking number of pages and orientation. """ from __future__ import unicode_literals __author__ = "Hartmut Goebel " __copyright__ = "Copyright 2008-2025 by Hartmut Goebel " __license__ = "GPL-3.0-or-later" from reportlab.lib.units import mm, cm from reportlab.lib.colors import black, white, pink, lightblue, blue from reportlab.lib.pagesizes import A4, legal, landscape from reportlab.pdfgen.canvas import Canvas def dummyDateFormatter(*args, **kw): return "D:20220101141516-00'00'" def genTestFile(path, numPages): """Generate a PDF doc with a chess-board laout numbers on each page. Usefull for debugging cropped pages.""" stepSize = 2*cm size = A4 #size = (size[0] + lm + rm, size[1] + tm +bm) canv = Canvas(path, pagesize=size) canv.setDateFormatter(dummyDateFormatter) for i in range(numPages): canv.setFont("Helvetica", 7*mm) canv.setStrokeColor(black) for x in range(int(size[0] / stepSize)): for y in range(int(size[1] / stepSize)): text = "%x%x" % (x,y) if (x+y) % 2 == 1: canv.setFillColor(pink) else: canv.setFillColor(lightblue) canv.rect(x*stepSize, y*stepSize, stepSize, stepSize, fill=True) if i % 2 == 1: canv.setFillColor(black) else: canv.setFillColor(blue) canv.drawCentredString((x+0.5)*stepSize, (y+0.4)*stepSize, text) canv.showPage() canv.save() if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() parser.add_argument('-n','--num-pages', default=1, type=int, help='number of pages to generate (default: %(default)s)') parser.add_argument('filename', default="chessboard.pdf", help='Name of output file (default: %(default)s') args = parser.parse_args() genTestFile(args.filename, args.num_pages) pdfposter-v0.9.1/test/gen-testpages.py000066400000000000000000000055031504375153400200260ustar00rootroot00000000000000#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2008-2025 by Hartmut Goebel # Copyright 2013 by Elena Grandi # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # SPDX-License-Identifier: GPL-3.0-or-later """ Generate a test PDF documents for pdfposter. This generates a PDF-file containing two DIN A4 pages, a portrait one and a landscape one page, with big numbers on. It is useful for checking number of pages and orientation. """ __author__ = "Hartmut Goebel " __copyright__ = "Copyright 2008-2025 by Hartmut Goebel " __license__ = "GPL-3.0-or-later" from reportlab.lib.units import mm from reportlab.lib.colors import black from reportlab.lib.pagesizes import A4 from reportlab.pdfgen.canvas import Canvas def draw_numbers(canvas, numbers, size, margin, rows, cols): step_x = (size[0] - margin*2)/cols step_y = (size[1] - margin*2)/rows for i, n in enumerate(numbers): canvas.drawCentredString(margin + step_x / 2 + step_x * (i%cols), margin + step_y / 2 + ( rows - 1 - i / cols) * step_y, n) def genTestFile(filename): size = A4 numbers = ['1', '2', '3', '4', '5', '6'] margin = 20*mm #----------- generate the PDF ----------- # 1st page (portrait) canv = Canvas(filename, pagesize=size) canv.setFont("Helvetica", 72) canv.setStrokeColor(black) # draw the content draw_numbers(canv,numbers,size,margin,3,2) canv.rect(margin, margin, size[0] - margin * 2, size[1] - margin * 2, fill=0, stroke=1) # close page canv.showPage() # second page (landscape) size = (size[1],size[0]) canv.setPageSize(size) canv.setFont("Helvetica", 72) canv.setStrokeColor(black) # draw the content draw_numbers(canv,numbers,size,margin,2,3) canv.rect(margin, margin, size[0] - margin * 2, size[1] - margin * 2, fill=0, stroke=1) # close page, save PDF canv.showPage() canv.save() if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() parser.add_argument('filename', help='Name of output file') args = parser.parse_args() genTestFile(args.filename) pdfposter-v0.9.1/test/gen-trimmedpage.py000066400000000000000000000140171504375153400203250ustar00rootroot00000000000000#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2008-2025 by Hartmut Goebel # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # SPDX-License-Identifier: GPL-3.0-or-later """ Generate a test PDF documents for pdfposter with more complex trimmed This generates a PDF-file containing some DIN A4 pages with different trim-boxes and content drawn outside the trim-box. The pages are useful for checking if clipping works as expected. """ __author__ = "Hartmut Goebel " __copyright__ = "Copyright 2008-2025 by Hartmut Goebel " __license__ = "GPL-3.0-or-later" import io from reportlab.lib.units import mm, cm from reportlab.lib.colors import black, white, pink, lightblue, blue from reportlab.lib.pagesizes import A4, legal, landscape from reportlab.pdfgen.canvas import Canvas from pypdf import PdfWriter, PdfReader from pypdf.generic import RectangleObject def draw_box(canvas, color, x,y, width,height, text=None): canvas.setStrokeColorRGB(*color) canvas.rect(x,y, width,height) if text: canvas.setFillColorRGB(*color) canvas.setFont("Helvetica", 3*mm) canvas.drawString(x+1*mm, y+1*mm, text) def genTestFile(filename): stepSize = 2*cm bleed = 3*mm trimmargin = 2*cm cutmargin = trimmargin-bleed def genpage(canv, size, draw_trimbox, draw_bleedbox, set_trimbox, set_bleedbox, set_artbox, title): #--- draw the content # headline canv.setFillColor(lightblue) canv.rect(cutmargin, size[1]-cutmargin, size[0]-2*cutmargin, -(4*cm+bleed), fill=1, stroke=0) canv.setFillColor(black) canv.setFont("Helvetica", 12*mm) canv.drawCentredString(size[0]/2.0, size[1]-trimmargin-2.5*cm, title) canv.setFont("Helvetica", 5*mm) offset = 14*cm for v, n in ( (set_trimbox, 'trim box'), (set_bleedbox, 'bleed box'), (set_artbox, 'art box'), ): if v: t = '%s: set' % n else: t = '%s: not set' % n canv.drawString(6*cm, offset, t) offset += 5*mm # main content canv.setFont("Helvetica", 7*mm) offset = 6*cm for x in range(3): for y in range(3): text = "%x%x" % (x,y) if (x+y) % 2: canv.setFillColor(pink) else: canv.setFillColor(lightblue) canv.rect(offset+x*stepSize, offset+y*stepSize, stepSize, stepSize, fill=True) canv.setFillColor(black) canv.drawCentredString(offset+(x+0.5)*stepSize, offset+(y+0.4)*stepSize, text) canv.drawCentredString(size[0]/2.0, offset-1.7*cm, "His is a caption") # draw the artbox artRect = (offset-1*cm, offset-2.5*cm, 2*cm+3*stepSize, 3.5*cm+3*stepSize) draw_box(canv, (1,0,1), *artRect, text="art box") # draw trimbox if draw_trimbox: draw_box(canv, (0,1,0), trimmargin, trimmargin, size[0]-2*trimmargin, size[1]-2*trimmargin, text="trim box") # draw bleedbox if draw_bleedbox: draw_box(canv, (0,0,1), cutmargin, cutmargin, size[0]-2*cutmargin, size[1]-2*cutmargin) # save the pdf file canv.showPage() return artRect def set_boxes(pageNum, size, draw_trimbox, draw_bleedbox, set_trimbox, set_bleedbox, set_artbox, title, artRect): page = reader.get_page(pageNum) print(('Page', i, size)) if set_bleedbox: page.bleedbox = RectangleObject( (cutmargin, cutmargin, size[0]-cutmargin, size[1]-cutmargin)) print((' bleed:', page.bleedbox)) if set_trimbox: page.trimbox = RectangleObject( (trimmargin, trimmargin, size[0]-trimmargin, size[1]-trimmargin)) print((' trim:', page.trimbox)) if set_artbox: page.artbox = RectangleObject(artRect) print((' art:', page.artbox)) writer.add_page(page) #----------- generate the first PDF w/o boxes defined ----------- canv = Canvas(None, pagesize=A4) CASES = ( # size, draw, set, title [A4, 1, 1, 1, 1,0, 'Full size'], [(A4[0]/2, A4[1]), 1, 1, 1,1,0, 'Half width'], [(A4[0]/2, A4[1]), 1, 1, 1,1,1, 'Half width'], [(A4[0]/2, A4[1]), 1, 1, 0,0,0, 'Half width'], [(A4[0]/2, A4[1]), 1, 1, 0,0,1, 'Half width'], ) #--- draw the content for args in CASES: args.append(genpage(canv, *args)) #canv.save() pdfdata = canv.getpdfdata() #----------- generate the second PDF w/ trimbox, bleedbox, artbox set infile = io.BytesIO(pdfdata) reader = PdfReader(infile) writer = PdfWriter() for i, args in enumerate(CASES): set_boxes(i, *args) with open(filename, "wb") as outputStream: writer.write(outputStream) if __name__ == '__main__': import argparse parser = argparse.ArgumentParser() parser.add_argument('filename', help='Name of output file w/ box metrics') args = parser.parse_args() genTestFile(args.filename) pdfposter-v0.9.1/test/make-thumbs.sh000077500000000000000000000032501504375153400174570ustar00rootroot00000000000000#!/bin/bash # # Usage: # make-thumbs.sh [options] COLUMNS PDFFILENAME # # Options: # -p... will be passed to pdfposter # -m... will be passed to pdfposter # -A will be passed to pdfposter (--art-box) # -R rotate page-thumbs prior to montaging the image # # Example: # make-thumbs.sh -p2x2A4 2 test/allboxes.pdf # make-thumbs.sh -p3x2A4 -R 2 test/allboxes.pdf # # This uses pdftoppm, which uses poppler instead of ImageMagick's # convert, which uses ghostscript, since poppler is much more # tolerant. # # Copyright (C) 2014-2025 Hartmut Goebel # SPDX-License-Identifier: GPL-3.0-or-later SCALE=200 BGCOLOR=bisque2 BORDER=3 posterargs= while getopts "Ap:m:f:l:R" opt; do case $opt in p|m|f|l) posterargs="$posterargs -$opt$OPTARG" ;; A) posterargs="$posterargs -$opt" ;; R) rotate="-rotate -90" ;; \?) echo "Invalid option: -$OPTARG" >&2 ;; esac done shift $((OPTIND-1)) cols="${1:?Required argument COLUMNS missing}" ; shift pdfname="${1:?Required argument PDFFILENAME missing}" declare -a inpngs outpngs bname=$TMP/$(basename "$pdfname" .pdf) tmpname=$TMP/tmp-$$-$(basename "$pdfname" .pdf) ./pdfposter $posterargs $pdfname $tmpname.pdf pdftoppm -png -scale-to $SCALE $tmpname.pdf $tmpname inpngs=( $tmpname*.png ) rows=$(( ${#inpngs[@]} / cols )) outname="$bname-${rows}x${cols}.png" if [ "$rows" -eq 1 -a "$cols" -eq 1 ] ; then BORDER=$((BORDER*2)) fi montage "${inpngs[@]}" $rotate -geometry +$BORDER+$BORDER \ -background $BGCOLOR -tile 1x${rows} miff:- \ | convert - +append miff:- \ | montage - -geometry +$BORDER+$BORDER -background $BGCOLOR "$outname" rm $tmpname-*.png echo created $outname pdfposter-v0.9.1/test/testpages-a4.pdf000066400000000000000000000052541504375153400177050ustar00rootroot00000000000000%PDF-1.4 % ReportLab Generated PDF document http://www.reportlab.com % 'BasicFonts': class PDFDictionary 1 0 obj % The standard fonts dictionary << /F1 2 0 R >> endobj % 'F1': class PDFType1Font 2 0 obj % Font Helvetica << /BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font >> endobj % 'Page1': class PDFPage 3 0 obj % Page dictionary << /Contents 8 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 7 0 R /Resources << /Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >> /Rotate 0 /Trans << >> /Type /Page >> endobj % 'Page2': class PDFPage 4 0 obj % Page dictionary << /Contents 9 0 R /MediaBox [ 0 0 841.8898 595.2756 ] /Parent 7 0 R /Resources << /Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >> /Rotate 0 /Trans << >> /Type /Page >> endobj % 'R5': class PDFCatalog 5 0 obj % Document Root << /Outlines 10 0 R /PageMode /UseNone /Pages 7 0 R /Type /Catalog >> endobj % 'R6': class PDFInfo 6 0 obj << /Author (anonymous) /CreationDate (D:20130521212026-01'00') /Creator (ReportLab PDF Library - www.reportlab.com) /Keywords () /Producer (ReportLab PDF Library - www.reportlab.com) /Subject (unspecified) /Title (untitled) >> endobj % 'R7': class PDFPages 7 0 obj % page tree << /Count 2 /Kids [ 3 0 R 4 0 R ] /Type /Pages >> endobj % 'R8': class PDFStream 8 0 obj % page stream << /Filter [ /ASCII85Decode /FlateDecode ] /Length 210 >> stream GasK7YmS?%&B=7Rd!,7SFZ=Ha-+R4`F`GjBJ`n5`KC;$,6>Ps2,nL.PbC;L+)\1Ksh>rC`rJA?3jTu\8PREMJD8nlE"&8C&e\B^W,s:EfrHD@0-"R$'8q9C;cCDd0k!'="RT>'lrSXj("*g%hZ.>'lslYO2u9-1f.J6^10mFBGDendstream endobj % 'R9': class PDFStream 9 0 obj % page stream << /Filter [ /ASCII85Decode /FlateDecode ] /Length 211 >> stream GasK6YmS?%&-h(+d!,7TFZ=Ha-+U+/\i=E\5]dS&i;4%>crr5i&dX'g]AjF>Pf*1.&&9>uIq#WNIY*7Vq1<,E].o+!cnG^%c#o>O<3uY6i6?*5#6&CJ>`7f:"NWr9H:hTTF!Lq%9`l2m.O0R8fC0o>%Ksd!&ig(f'A~>endstream endobj % 'R10': class PDFOutlines 10 0 obj << /Count 0 /Type /Outlines >> endobj xref 0 11 0000000000 65535 f 0000000113 00000 n 0000000209 00000 n 0000000372 00000 n 0000000649 00000 n 0000000926 00000 n 0000001061 00000 n 0000001343 00000 n 0000001456 00000 n 0000001806 00000 n 0000002160 00000 n trailer << /ID % ReportLab generated PDF document -- digest (http://www.reportlab.com) [(\200\247\264\230\314\303\354\332\343o\272\037\262\303f\202) (\200\247\264\230\314\303\354\332\343o\272\037\262\303f\202)] /Info 6 0 R /Root 5 0 R /Size 11 >> startxref 2212 %%EOF pdfposter-v0.9.1/test/trimmedpage.pdf000066400000000000000000000132721504375153400177010ustar00rootroot00000000000000%PDF-1.3 1 0 obj << /Kids [ 4 0 R 5 0 R 6 0 R 7 0 R 8 0 R ] /Type /Pages /Count 5 >> endobj 2 0 obj << /Producer (Python PDF Library \055 http\072\057\057pybrary\056net\057pyPdf\057) >> endobj 3 0 obj << /Type /Catalog /Pages 1 0 R >> endobj 4 0 obj << /Contents 9 0 R /Parent 1 0 R /TrimBox [ 56.69291 56.69291 538.58268 785.19685 ] /Resources << /Font 10 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >> /Trans << >> /Rotate 0 /MediaBox [ 0 0 595.27560 841.88980 ] /Type /Page /BleedBox [ 48.18898 48.18898 547.08661 793.70079 ] >> endobj 5 0 obj << /Contents 12 0 R /Parent 1 0 R /TrimBox [ 56.69291 56.69291 240.94488 785.19685 ] /Resources << /Font 10 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >> /Trans << >> /Rotate 0 /MediaBox [ 0 0 595.27560 841.88980 ] /Type /Page /BleedBox [ 48.18898 48.18898 249.44882 793.70079 ] >> endobj 6 0 obj << /Contents 13 0 R /Parent 1 0 R /TrimBox [ 56.69291 56.69291 240.94488 785.19685 ] /Resources << /Font 10 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >> /Trans << >> /Rotate 0 /MediaBox [ 0 0 595.27560 841.88980 ] /Type /Page /BleedBox [ 48.18898 48.18898 249.44882 793.70079 ] >> endobj 7 0 obj << /Contents 14 0 R /Parent 1 0 R /Resources << /Font 10 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >> /Trans << >> /Rotate 0 /MediaBox [ 0 0 595.27560 841.88980 ] /Type /Page >> endobj 8 0 obj << /Contents 15 0 R /Parent 1 0 R /Resources << /Font 10 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >> /Trans << >> /Rotate 0 /MediaBox [ 0 0 595.27560 841.88980 ] /Type /Page >> endobj 9 0 obj << /Length 672 /Filter [ /ASCII85Decode /FlateDecode ] >> stream Gat=)ac7$#%)#0R5PPL/@;OP)(WVXT3,jKKJ]s3A6!7"s,fJ;5?(Kh-K@FT]8kSApobP/F%$Wt]I\1c`pD(>j?snQN);(^>l3i!@Q4&XdhD([KV2tZjEJb1F+3VVE]HNaj"&08jaM9/j9,cb0$Y+I*>f60hE^>D\`a-ZU8)g28VY#P]Q2Ng"+Em_2UR1]L4d."CBKgs8[.iuTMmEeF7TG\6r8-p+Xmcs=f%$\K?+^'0]lqp2%*WnB"j=kL/l&*7~> endstream endobj 10 0 obj << /F1 11 0 R >> endobj 11 0 obj << /Encoding /WinAnsiEncoding /Type /Font /Name /F1 /BaseFont /Helvetica /Subtype /Type1 >> endobj 12 0 obj << /Length 676 /Filter [ /ASCII85Decode /FlateDecode ] >> stream Gat=)?'!\n&:@"-5O;m,;Ra:([Faj,8c+c\SJTPS8G"f^SnWTFC2F\m:ElhHUHU8l5\X)sb2#37)2WlF\c^]U]>ZF!(HW@6Yj/CV,YY!/f:t:29=61*-c[7](c=bL#f#b!SG3bl_>uQfU3?E:YI.e*625)8~> endstream endobj 13 0 obj << /Length 617 /Filter [ /ASCII85Decode /FlateDecode ] >> stream Gat=)gMY_1&:I(.+6KhfeB,r$m*9Jj,PCWSVq+'t&nm+'<5_]3q-C16@oFQh$Nud_Zfa+0@g:'t0#%oYJ@c/+5;TN/[/j<-W4p*GC:V,f;&oa.2=_&-&ZcNA,Y^V<)6?HFKjaK6d1B;?4;ZAg4bgF#g4N\!_,sh)66S4seFn/Hq2kJ3pEm?CS;MNh$C6U"Qo0'U~> endstream endobj 14 0 obj << /Length 674 /Filter [ /ASCII85Decode /FlateDecode ] >> stream Gat=)c#28i%))tf47K`p(e7Jg..(,E5DPdf^HgL">D=IB;?P\6:R2[5:>6pH@`3lccef7EP(E1bbQ%MFi3n42T,:\'=TL$&1gf3O1S8*[W/^nR)YjN'Lf7^6s-V-@TFj3('Z#r",DmV^-pD!`a21sHm?b&gREqgnFgqOA;^D)!4%^fX*7L$-5J[SYVT<)7"3\!?,D0S1Dn[bD=7Bl$d/JD#bqEaJNj.Le6d1B;?4;ZAg'_h2,:pO-pB,5U/NbW>1P07QAO[:K$Ms11\U:ms/fo).WPB>Ip4)"00',ue081%*;e)!6MH)+k_?UK@&t]rMG;0EMg3.JJPk?%).a]In-noD^p5:MtcIoS2F?f[Kt()ae%b@)Cr5\\m:-cj=0mMEXmokljOY/>\b>Wu(t/A4+k'UD%$'(V=+Y1*7G#TAYcLn7jl endstream endobj 15 0 obj << /Length 616 /Filter [ /ASCII85Decode /FlateDecode ] >> stream Gat=)c&U7,&AD6243S:;@[J$o4Z:?Gpc3;F]Kg\MKq`FB\rkq@ESQPCPQdm\U;V*Mjnfp._EdqTEkU?2gc"Zq!s8of)dl*gjtjYgQ4"*:eM1H2,G+rLE=*,pDp-*@1a9u-,$8l!6kP(h`TNXJ/<&]DE=JD,jamhBLO1@hMT"A!8#_0(A*R4g$@Z#hMX8kRYUmsX12(k#lI5$<"2D8TmJ#5Zr.*q,LD:UC@SU1u@Rt%W??e7F@o6jbfUY<\Q3,WaM(+a?M^iAFs1ZLXlD)9#KLL5sA@h^\ZW$&,U?g*U_+knsLt;l.me^YRG!)OCo3<:@$LQ2#*V0o]21Ade*p#eE!I/T6HJ0\_lP`M5N5o`]I-'bJbR0)0sU~> endstream endobj xref 0 16 0000000000 65535 f 0000000009 00000 n 0000000092 00000 n 0000000193 00000 n 0000000242 00000 n 0000000547 00000 n 0000000853 00000 n 0000001159 00000 n 0000001362 00000 n 0000001565 00000 n 0000002328 00000 n 0000002361 00000 n 0000002469 00000 n 0000003237 00000 n 0000003946 00000 n 0000004712 00000 n trailer << /Size 16 /Root 3 0 R /Info 2 0 R >> startxref 5420 %%EOF pdfposter-v0.9.1/test/unit/000077500000000000000000000000001504375153400156625ustar00rootroot00000000000000pdfposter-v0.9.1/test/unit/test_box.py000066400000000000000000000107311504375153400200650ustar00rootroot00000000000000#!/usr/bin/env python # # Copyright 2012-2025 by Hartmut Goebel # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # SPDX-License-Identifier: GPL-3.0-or-later __author__ = "Hartmut Goebel " __copyright__ = "Copyright 2012-2025 by Hartmut Goebel " __license__ = "GPL-3.0-or-later" import pytest import re import argparse from pdfposter.cmd import __parse_box as parse_box ArgParserError = argparse.ArgumentTypeError def test_papersize_abbreviation(): box = parse_box('1x1let') assert box['unit'] == 'letter' box = parse_box('1x1envdin') assert box['unit'] == 'envdinlang' def test_ambiguous_papersize_abbreviation_raises(): with pytest.raises(ArgParserError) as excinfo: parse_box('1x1a') assert re.search("papersize name .* is not unique", excinfo.value.args[0]) def test_unknown_papersize_raises(): with pytest.raises(ArgParserError) as excinfo: parse_box('1x2yyy') assert "I don't understand your papersize name" in excinfo.value.args[0] with pytest.raises(ArgParserError) as excinfo: parse_box('1x2xxx') assert "I don't understand your papersize name" in excinfo.value.args[0] def test_wrong_box_definition_raises(): with pytest.raises(ArgParserError) as excinfo: parse_box('2yyy') assert "I don't understand your box specification" in excinfo.value.args[0] with pytest.raises(ArgParserError) as excinfo: parse_box('2xxx') assert "I don't understand your box specification" in excinfo.value.args[0] def test_disallowed_offset_raises(): with pytest.raises(ArgParserError) as excinfo: parse_box('1x1+10,10a4') assert "Offset not allowed in box definition" in excinfo.value.args[0] # not even if zero with pytest.raises(ArgParserError) as excinfo: parse_box('1x1+0,0a4') assert "Offset not allowed in box definition" in excinfo.value.args[0] def test_missing_offset_raises(): with pytest.raises(ArgParserError) as excinfo: parse_box('1x1+a4') assert "I don't understand your box specification" in excinfo.value.args[0] def test_allowed_offset_does_not_raise(): parse_box('1x1+10,10a4', allow_offset=True) parse_box('1x1+0,0a4', allow_offset=True) def test_some_standard_papersizes(): box = parse_box('1x1a4') for k, v in ( ('width', 595), ('height', 842), ('offset_x', 0), ('offset_y', 0), ('unit', 'a4'), ('units_x', 1), ('units_y', 1)): assert box[k] == v box = parse_box('a4') for k, v in ( ('width', 595), ('height', 842), ('offset_x', 0), ('offset_y', 0), ('unit', 'a4'), ('units_x', 1), ('units_y', 1)): assert box[k] == v box = parse_box('1x1tabloid') for k, v in ( ('width', 792), ('height', 1224), ('offset_x', 0), ('offset_y', 0), ('unit', 'tabloid'), ('units_x', 1), ('units_y', 1)): assert box[k] == v def test_multiplier(): box = parse_box('2x2a4') for k, v in ( ('width', 2 * 595), ('height', 2 * 842), ('offset_x', 0), ('offset_y', 0), ('unit', 'a4'), ('units_x', 2), ('units_y', 2)): assert box[k] == v box = parse_box('7.2x3.5a4') for k, v in ( ('width', 7.2 * 595), ('height', 3.5 * 842), ('offset_x', 0), ('offset_y', 0), ('unit', 'a4'), ('units_x', 7.2), ('units_y', 3.5)): assert box[k] == v def test_complex_box_specification(): box = parse_box('7.2x3.5+1.5,0.3a4', allow_offset=True) for k, v in ( ('width', 7.2 * 595), ('height', 3.5 * 842), ('offset_x', 1.5 * 595), ('offset_y', 0.3 * 842), ('unit', 'a4'), ('units_x', 7.2), ('units_y', 3.5)): assert box[k] == v pdfposter-v0.9.1/test/unit/test_decide_num_pages.py000066400000000000000000000246701504375153400225570ustar00rootroot00000000000000#!/usr/bin/env python # # Copyright 2012-2025 by Hartmut Goebel # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # SPDX-License-Identifier: GPL-3.0-or-later __author__ = "Hartmut Goebel " __copyright__ = "Copyright 2012-2025 by Hartmut Goebel " __license__ = "GPL-3.0-or-later" import pytest from pdfposter import papersizes, decide_num_pages from pdfposter.cmd import __parse_box as parse_box import math def Box(x, y, name): box = { 'width': x*papersizes[name][0], 'height': y*papersizes[name][1], 'offset_x': 0, 'offset_y': 0, 'unit': name, 'units_x': x, 'units_y': y, } if box['width'] > box['height']: box['orientation'] = 'landscape' else: box['orientation'] = 'portrait' return box def Width(name): return papersizes[name][0] def Height(name): return papersizes[name][1] A4port = Box(1, 1, 'a4') A4land = Box(1, 1, 'a4') A4land['width'], A4land['height'] = A4land['height'], A4land['width'] A4land['unit'] = 'a4_land' A4land['orientation'] = 'landscape' ten_fiveteen = Box(10, 15, 'cm') # portrait fiveteen_ten = Box(15, 10, 'cm') # landsscape cm = papersizes['cm'][0] def test_without_options(tmpdir): # default media-size is 1x1a4 and default poster-size is media-size inbox = parse_box('1x1a4') media = parse_box('1x1a4') poster = parse_box('1x1a4') cols, rows, scale, rotate = decide_num_pages(inbox, media, poster) assert cols == 1 assert rows == 1 assert scale == 1.0 assert rotate == False def test_mediasize(tmpdir): # default poster-size is media-size, so this is one page inbox = parse_box('1x1a4') media = parse_box('3x4a5') poster = parse_box('3x4a5') cols, rows, scale, rotate = decide_num_pages(inbox, media, poster) assert cols == 1 assert rows == 1 assert rotate == False def test_postersize(tmpdir): # default media-size is 1x1a4 and poster fits on 3x2 pages inbox = parse_box('1x1a4') media = parse_box('1x1a4') poster = parse_box('3x4a5') cols, rows, scale, rotate = decide_num_pages(inbox, media, poster) assert cols == 2 assert rows == 3 assert rotate == True def test_postersize_and_mediasize(tmpdir): # poster: 23 x 42 dinlang = 23 x 14 a4 = 13685 x 11802 pt - landscape(!) # inbox: 595 x 842 pt # -> scale = 16.25 # -> printed size = 9671 x 13685 = 7.6 x 5.75 Media # media: 3 x 4 a5 = 1260 x 2380 pt, inbox = parse_box('1x1a4') media = parse_box('3x4a5') poster = parse_box('23x42dinla') # ca. 23x14a4 cols, rows, scale, rotate = decide_num_pages(inbox, media, poster) assert cols == 8 assert rows == 6 #assert scale == 1.0 assert rotate == False def test_landscape_input_1(tmpdir): inbox = parse_box('20x10cm') # landscape media = parse_box('10x15cm') # portrait poster = parse_box('60x60cm') # scale will be 3 cols, rows, scale, rotate = decide_num_pages(inbox, media, poster) assert round(scale, 6) == 3 assert cols, rows in [(6,2), (4,3)] # twelve sheets either way round assert rotate == True def test_landscape_input_2(tmpdir): inbox = parse_box('20x10cm') # landscape media = parse_box('15x10cm') # landscape poster = parse_box('60x60cm') # scale will be 3 cols, rows, scale, rotate = decide_num_pages(inbox, media, poster) assert round(scale, 6) == 3 assert cols, rows in [(6,2), (4,3)] # twelve sheets either way round assert rotate == True def test_landscape_input_3(tmpdir): inbox = parse_box('20x10cm') # landscape media = parse_box('15x10cm') # landscape poster = parse_box('60x30cm') # landscape # scale will be 3 cols, rows, scale, rotate = decide_num_pages(inbox, media, poster) assert round(scale, 6) == 3 assert cols, rows in [(6,2), (4,3)] # twelve sheets either way round assert rotate == False # poster and inbox are both landscape def test_landscape_input_4(tmpdir): inbox = parse_box('20x10cm') # landscape media = parse_box('15x10cm') # landscape poster = parse_box('30x60cm') # portrait # scale will be 3 cols, rows, scale, rotate = decide_num_pages(inbox, media, poster) assert round(scale, 6) == 3 assert cols, rows in [(6,2), (4,3)] # twelve sheets either way round assert rotate == True def test_scale_by_two(tmpdir): inbox = parse_box('1x1a4') media = parse_box('1x1a4') cols, rows, scale, rotate = decide_num_pages(inbox, media, None, scale=2) assert cols == 2 assert rows == 2 assert scale == 2.0 assert rotate == False #--- def test_1x1_A4_on_A4(): for mediabox in (A4port, A4land): for inbox in (A4port, A4land): for posterbox in (A4port, A4land): cols, rows, scale, rotate = decide_num_pages( inbox, mediabox, posterbox) # rotate if orientation does not match assert rotate == (mediabox != inbox) # output is a single page assert scale == 1 assert rows == 1 assert cols == 1 def test_1x1_A4port_to_1x2_A4port(): cols, rows, scale, rotate = decide_num_pages( A4port, A4port, Box(1, 2, 'a4')) # output is a single page assert not rotate assert scale == 1 assert rows == 1 assert cols == 1 def test_1x1_A4port_to_2x1_A4port(): cols, rows, scale, rotate = decide_num_pages( A4port, A4port, Box(2, 1, 'a4')) # output is two pages, scaled to A3 assert rotate assert round(abs(scale-1.4142), 2) == 0 assert rows == 2 assert cols == 1 def test_1x1_A4port_to_2x99_A4port(): cols, rows, scale, rotate = decide_num_pages( A4port, A4port, Box(2, 99, 'a4')) # output is four pages, scaled by 2 assert not rotate assert scale == 2 assert rows == 2 assert cols == 2 def test_1x1_A4port_to_99x2_A4port(): cols, rows, scale, rotate = decide_num_pages( A4port, A4port, Box(99, 2, 'a4')) ## 99 portrait pages wide and 2 portrait pages high. # output is four pages, scaled by ~2.8 # poster is not rotated, so the output will be ~2x4.1A4 assert not rotate assert round(abs(scale-2.0*Height('a4')/Width('a4')), 7) == 0 assert round(abs(scale-2*1.4142), 2) == 0 assert rows == math.ceil(Height('a4')*scale/Height('a4')) assert cols == math.ceil(Width('a4')*scale/Width('a4')) assert rows == 3 assert cols == 3 def test_10x15cm_to_one_A4(): for mediabox in (A4port, A4land): for inbox in (ten_fiveteen, fiveteen_ten): for posterbox in (A4port, A4land): cols, rows, scale, rotate = decide_num_pages( inbox, mediabox, posterbox) # rotate if orientation does not match assert rotate == (mediabox['orientation'] != inbox['orientation']) assert round(abs(scale-1.98), 2) == 0 # output is a single page assert rows == 1 assert cols == 1 def _check_results(inbox, mediabox, posterbox, scale, cols, rows, rotate): cols_, rows_, scale_, rotate_ = decide_num_pages( inbox, mediabox, posterbox) assert round(abs(scale_-scale), 2) == 0 assert rotate_ == rotate assert cols_ == cols assert rows_ == rows def test_10x15cm_to_some_A4_portait_1(): posterbox = Box(2, 99, 'a4') # Resulting poster will be approx. 42 x 63 cm # rotate if orientation does not match _check_results(ten_fiveteen, A4port, posterbox, 4.2, 2, 3, False) _check_results(fiveteen_ten, A4port, posterbox, 4.2, 3, 2, True) # for A4land both rows/cols and rotate are reversed _check_results(ten_fiveteen, A4land, posterbox, 4.2, 2, 3, False) _check_results(fiveteen_ten, A4land, posterbox, 4.2, 3, 2, True) def test_10x15cm_to_some_A4_portait_2(): posterbox = Box(3, 99, 'a4') # Resulting poster will be approx. 42 x 63 cm # rotate if orientation does not match _check_results(ten_fiveteen, A4port, posterbox, 6.297, 3, 4, False) _check_results(fiveteen_ten, A4port, posterbox, 6.297, 4, 3, True) # for A4land only rotate are reversed _check_results(ten_fiveteen, A4land, posterbox, 6.297, 3, 4, True) _check_results(fiveteen_ten, A4land, posterbox, 6.297, 4, 3, False) def test_10x15cm_to_some_A4_landscape_1(): posterbox = Box(99, 2, 'a4') # Resulting poster will be approx. 59.4 x 89.1 cm # Indeed, this will be printed on 3x3 instead of 2x5 _check_results(ten_fiveteen, A4port, posterbox, 5.94, 3, 3, False) _check_results(fiveteen_ten, A4port, posterbox, 5.94, 3, 3, True) # for A4land only rotate is reversed _check_results(ten_fiveteen, A4land, posterbox, 5.94, 3, 3, True) _check_results(fiveteen_ten, A4land, posterbox, 5.94, 3, 3, False) def test_10x15cm_to_some_A4_landscape_2(): posterbox = Box(99, 3, 'a4') # Resulting poster will be approx. 89.1 x 133.7 cm _check_results(ten_fiveteen, A4port, posterbox, 8.91, 3, 7, True) _check_results(fiveteen_ten, A4port, posterbox, 8.91, 7, 3, False) # for A4land only rotate is reversed _check_results(ten_fiveteen, A4land, posterbox, 8.91, 3, 7, False) _check_results(fiveteen_ten, A4land, posterbox, 8.91, 7, 3, True) def test_10x100cm_landscape_to_99x2_A4port(): cols, rows, scale, rotate = decide_num_pages( Box(10, 100, 'cm'), A4port, Box(99, 2, 'a4')) ## 99 portrait pages wide and 2 portrait pages high. # poster is rotated, so the output will be 2xA4 high assert rotate assert cols == 2 assert round(abs(scale-5.9), 1) == 0 assert rows == 29 def test_10x100cm_landscape_to_2x99_A4port(): cols, rows, scale, rotate = decide_num_pages( Box(10, 100, 'cm'), A4port, Box(2, 99, 'a4')) ## 2 portrait pages wide and 99 portrait pages high. # poster is not rotated, so the output will be 2xA4 wide assert not rotate assert cols == 2 assert round(abs(scale-4.2), 1) == 0 assert rows == 15 pdfposter-v0.9.1/tox.ini000066400000000000000000000026721504375153400152460ustar00rootroot00000000000000# Copyright (C) 2008-2025 Hartmut Goebel # SPDX-License-Identifier: GPL-3.0-or-later [tox] env_list = clean,py,linters,reuse requires = tox>=4 [testenv] base_python = python3 # get shorter paths in coverage reporting package = editable deps = pytest pytest-cov commands = pytest --cov=pdfposter --no-cov-on-fail \ --cov-report=term-missing \ test/unit test/functional depends = py: clean set_env = LANGUAGE = C [testenv:clean] deps = coverage package = skip commands = coverage erase [coverage:run] include = pdfposter omit = pdfposter/__main__.py pdfposter/gui.py #--- Linters --- [testenv:pylint] base_python = python3 package = editable deps = pyflakes pylint commands = pylint pdfposter/ setup.py [testenv:linters] base_python = python3 package = skip deps = {[testenv:pylint]deps} {[testenv:readme]deps} commands = {[testenv:pylint]commands} {[testenv:readme]commands} [testenv:reuse] description = test license and copyright headers base_python = python3 package = skip deps = reuse allowlist_externals = git commands_pre = git clone "{package_root}" "{env_tmp_dir}" change_dir = {env_tmp_dir} commands = reuse lint #--- Documentation --- [testenv:readme] base_python = python3 package = skip deps = build twine commands = python -m build --outdir "{env_tmp_dir}/dist" twine check "{env_tmp_dir}"/dist/*