Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8295737

macOS: Print content cut off when width > height with portrait orientation

XMLWordPrintable

    • 2d
    • b13
    • generic
    • os_x

        Steps to reproduce:
        - Run the attached CutOffImage sample on macOS.

        The sample prints four rectangles:
        1. size 300x100, portrait orientation
        2. size 300x100, landscape orientation
        3. size 100x300, portrait orientation
        4. size 100x300, landscape orientation

        The first image (300x100, portrait) where width is larger than height with portrait orientation and fourth (100x300, landscape) where height is large than width with landscape orientation cut off.

        See attached cut-of-image.pdf where the content has been printed to pdf.

          1. print-arrow-paper-a5-macos-jdk-fix.pdf
            86 kB
            Alexandr Scherbatiy
          2. print-arrow-paper-a5-macos-jdk19.pdf
            86 kB
            Alexandr Scherbatiy
          3. PrintArrowPaperA5.java
            6 kB
            Alexandr Scherbatiy
          4. print-a4-jdk-fix.pdf
            161 kB
            Alexandr Scherbatiy
          5. print-a4-jdk19.pdf
            161 kB
            Alexandr Scherbatiy
          6. main.m
            3 kB
            Alexandr Scherbatiy
          7. jfx-image-300x100-portrait-jdk8.pdf
            143 kB
            Alexandr Scherbatiy
          8. jfx-image-300x100-portrait-jdk17.pdf
            143 kB
            Alexandr Scherbatiy
          9. image-PORTRAIT-600x200.png
            4 kB
            Alexandr Scherbatiy
          10. image-PORTRAIT-300x100.png
            3 kB
            Alexandr Scherbatiy
          11. image-PORTRAIT-100x300.png
            3 kB
            Alexandr Scherbatiy
          12. image-LANDSCAPE-300x100.png
            3 kB
            Alexandr Scherbatiy
          13. image-LANDSCAPE-100x300.png
            3 kB
            Alexandr Scherbatiy
          14. FxPrintImageWithHelper.java
            3 kB
            Alexandr Scherbatiy
          15. cut-of-image.pdf
            27 kB
            Alexandr Scherbatiy
          16. cut-off-image-fix.pdf
            27 kB
            Alexandr Scherbatiy
          17. CutOffImage.java
            4 kB
            Alexandr Scherbatiy
          18. cut-jdk-11.0.3.pdf
            21 kB
            Alexandr Scherbatiy
          19. cut-jdk-11.0.2.pdf
            22 kB
            Alexandr Scherbatiy
          20. before-fix-all.pdf
            27 kB
            Alexandr Scherbatiy
          21. before-fix-4.pdf
            9 kB
            Alexandr Scherbatiy
          22. before-fix-3.pdf
            9 kB
            Alexandr Scherbatiy
          23. before-fix-2.pdf
            7 kB
            Alexandr Scherbatiy
          24. before-fix-1.pdf
            7 kB
            Alexandr Scherbatiy
          25. after-fix-all.pdf
            27 kB
            Alexandr Scherbatiy
          26. after-fix-4.pdf
            9 kB
            Alexandr Scherbatiy
          27. after-fix-3.pdf
            9 kB
            Alexandr Scherbatiy
          28. after-fix-2.pdf
            7 kB
            Alexandr Scherbatiy
          29. after-fix-1.pdf
            7 kB
            Alexandr Scherbatiy

              alexsch Alexandr Scherbatiy
              alexsch Alexandr Scherbatiy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: