FOP
  1. FOP
  2. FOP-1887

fop misrenders U+002D when using Type 1 fonts

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: font/unqualified
    • Labels:
      None
    • Environment:
      Operating System: Linux
      Platform: PC
    • External issue ID:
      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.

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

        Activity

        brian m. carlson created issue -

          People

          • Assignee:
            fop-dev
            Reporter:
            brian m. carlson
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development