FOP
  1. FOP
  2. FOP-2068

[PATCH] Specifying font-size of 0 results in an invalid PostScript file being created

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: renderer/ps
    • Labels:
      None
    • Environment:
      Operating System: Linux
      Platform: PC
    • External issue ID:
      53294

      Description

      PostScript does not support fonts of size 0 and results in invalid files being generated. This patch resolves this by checking for and ensuring that text of 0 font size is not drawn by the renderer.

        Activity

        Hide
        Robert Meyer added a comment -

        Attachment ps_fontsize0.diff has been added with description: Code changes and test case

        Show
        Robert Meyer added a comment - Attachment ps_fontsize0.diff has been added with description: Code changes and test case
        Robert Meyer created issue -
        Hide
        Glenn Adams added a comment -

        applied at http://svn.apache.org/viewvc?rev=1342792&view=rev

        thanks robert! please verify and close this bug when satisfied

        Show
        Glenn Adams added a comment - applied at http://svn.apache.org/viewvc?rev=1342792&view=rev thanks robert! please verify and close this bug when satisfied
        Hide
        Robert Meyer added a comment -

        I have verified the code and have set the patch to resolved / fixed.

        Show
        Robert Meyer added a comment - I have verified the code and have set the patch to resolved / fixed.
        Hide
        Robert Meyer added a comment -

        I have now set the patch to closed status

        Show
        Robert Meyer added a comment - I have now set the patch to closed status
        Glenn Adams made changes -
        Field Original Value New Value
        Affects Version/s trunk [ 12323672 ]
        Affects Version/s all [ 12323671 ]

          People

          • Assignee:
            fop-dev
            Reporter:
            Robert Meyer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development