Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1887

fop misrenders U+002D when using Type 1 fonts

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.5
    • None
    • font/unqualified
    • None
    • Operating System: Linux
      Platform: PC
    • 50605

    Description

      I have a document that uses U+002D in a variety of situations, including the phrase "troff -mx". Obviously, the U+002D should be flush against the "m". However, when using fop with Nimbus Roman No9 L (the Type 1 Times equivalent from gsfonts) or URW Palladio L (the Type 1 Palatino equivalent), there is a significant gap after the U+002D. This occurs whether the font is bold or not. Hyphenation is also not relevant.

      The problem occurs in 1.0 (and trunk) but does not occur in 0.95. I've used the Apache git bridge to bisect the problem. For git, the problematic commit is 3b4af07609eb6f091ca110d99ba1f63b828222e1; for svn, it is 910445 (at least according to the information the bridge included).

      There are testcases and examples of the misrendering attached to Debian bug 610344 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610344). Since Nimbus Roman No9 L is generally the default font for Times on many Linux boxes, this misrendering will likely affect a significant number of users on Linux platforms.

      Attachments

        1. fop-u+002d.patch
          2 kB
          brian m. carlson

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            sandals@crustytoothpaste.net brian m. carlson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment