Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: font/unqualified
    • Labels:
      None
    • Environment:
      Operating System: Linux
      Platform: PC
    • External issue ID:
      52197
    1. AFM-encoding.patch
      175 kB
      Mehdi Houshmand
    2. AFM-encoding.patch
      172 kB
      Mehdi Houshmand
    3. AFM-encoding.patch
      176 kB
      Mehdi Houshmand

      Activity

      Hide
      Mehdi Houshmand added a comment -

      This improves support for AdobeStandardEncoding encoded AFM files, by using the character names, which are more generally more reliable than the code points. In a case where a code point and character name aren't matching the standard, the character name overrides the code point value.

      This requires Mockito

      Moved files:
      test/resources/fonts/

      {,ttf/}glb12.README.txt
      test/resources/fonts/{,ttf/}

      glb12.ttf.xml
      test/resources/fonts/

      {,ttf/}glb12.ttf
      test/resources/fonts/{,ttf/}

      DejaVuLGCSerif.ttf
      test/resources/fonts/

      {,ttf/}glb12.ttf.ansi.xml
      test/resources/fonts/{,ttf/}

      DejaVuLGCSerif.LICENSE
      test/events/font.fo -> test/java/org/apache/fop/fonts/substituted-font.fo

      Show
      Mehdi Houshmand added a comment - This improves support for AdobeStandardEncoding encoded AFM files, by using the character names, which are more generally more reliable than the code points. In a case where a code point and character name aren't matching the standard, the character name overrides the code point value. This requires Mockito Moved files: test/resources/fonts/ {,ttf/}glb12.README.txt test/resources/fonts/{,ttf/} glb12.ttf.xml test/resources/fonts/ {,ttf/}glb12.ttf test/resources/fonts/{,ttf/} DejaVuLGCSerif.ttf test/resources/fonts/ {,ttf/}glb12.ttf.ansi.xml test/resources/fonts/{,ttf/} DejaVuLGCSerif.LICENSE test/events/font.fo -> test/java/org/apache/fop/fonts/substituted-font.fo
      Hide
      Mehdi Houshmand added a comment -

      Attachment AFM-encoding.patch has been added with description: AFM-encoding

      Show
      Mehdi Houshmand added a comment - Attachment AFM-encoding.patch has been added with description: AFM-encoding
      Hide
      Mehdi Houshmand added a comment -

      Corrected mistake

      Show
      Mehdi Houshmand added a comment - Corrected mistake
      Hide
      Mehdi Houshmand added a comment -

      Attachment AFM-encoding.patch has been added with description: AFM encoding patch

      Show
      Mehdi Houshmand added a comment - Attachment AFM-encoding.patch has been added with description: AFM encoding patch
      Hide
      Mehdi Houshmand added a comment -

      This patch replaced the old patch, the TTFFontLoaderTestCase uses font in:
      test/resources/fonts/DejaVuLGCSerif.ttf

      This is amended to following commit#r1203163
      test/resources/fonts/ttf/DejaVuLGCSerif.ttf

      Same file moves apply:
      test/resources/fonts/

      {,ttf/}glb12.README.txt
      test/resources/fonts/{,ttf/}

      glb12.ttf.xml
      test/resources/fonts/

      {,ttf/}glb12.ttf
      test/resources/fonts/{,ttf/}

      DejaVuLGCSerif.ttf
      test/resources/fonts/

      {,ttf/}glb12.ttf.ansi.xml
      test/resources/fonts/{,ttf/}

      DejaVuLGCSerif.LICENSE
      test/events/font.fo -> test/java/org/apache/fop/fonts/substituted-font.fo

      Show
      Mehdi Houshmand added a comment - This patch replaced the old patch, the TTFFontLoaderTestCase uses font in: test/resources/fonts/DejaVuLGCSerif.ttf This is amended to following commit#r1203163 test/resources/fonts/ttf/DejaVuLGCSerif.ttf Same file moves apply: test/resources/fonts/ {,ttf/}glb12.README.txt test/resources/fonts/{,ttf/} glb12.ttf.xml test/resources/fonts/ {,ttf/}glb12.ttf test/resources/fonts/{,ttf/} DejaVuLGCSerif.ttf test/resources/fonts/ {,ttf/}glb12.ttf.ansi.xml test/resources/fonts/{,ttf/} DejaVuLGCSerif.LICENSE test/events/font.fo -> test/java/org/apache/fop/fonts/substituted-font.fo
      Hide
      Mehdi Houshmand added a comment -

      Attachment AFM-encoding.patch has been added with description: patch amendment

      Show
      Mehdi Houshmand added a comment - Attachment AFM-encoding.patch has been added with description: patch amendment
      Hide
      Mehdi Houshmand added a comment -

      Fixed in r1204488.

      Show
      Mehdi Houshmand added a comment - Fixed in r1204488.

        People

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

          Dates

          • Created:
            Updated:
            Resolved:

            Development