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

[PATCH] Auto Detection does not work for Poppins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.6
    • None
    • font/opentype, renderer/pdf
    • None
    • openSUSE Leap 15.3
      fop 2.6
      google-poppins-fonts 4.003-6.3.1

    Description

      The attachedĀ  reproducer XLST-FO (poppins.fo) has sample text with font weights from 100 - 900.
      Although the font-weights 300 and 100 are substituted with the font-weight 200 the following font-weight 400 is being rendered much thinner.

      Snippet from output:
      ...
      WARNING: Font "Poppins,normal,300" not found. Substituting with "Poppins,normal,200".
      Jan 05, 2022 3:00:31 PM org.apache.fop.apps.FOUserAgent processEvent
      WARNING: Font "Poppins,normal,100" not found. Substituting with "Poppins,normal,200".
      Jan 05, 2022 3:00:31 PM org.apache.fop.apps.FOUserAgent processEvent
      WARNING: Font "Poppins,normal,900" not found. Substituting with "Poppins,normal,800".

      (Also the normal italic seems to be wrong, too. I'm not sure if it's correlated to this issue or another.)

      Attachments

        1. poppins.pdf
          34 kB
          Quang Tran
        2. poppins.fo
          5 kB
          Quang Tran
        3. patch_FOP-3045_2.diff
          5 kB
          J Frank
        4. out.pdf
          46 kB
          J Frank
        5. FOP-3045-Unit test(NO resources).diff
          4 kB
          J Frank
        6. fop.xconf
          5 kB
          Quang Tran
        7. Font and Font weight mapping.png
          133 kB
          J Frank

        Activity

          People

            Unassigned Unassigned
            quatran-suse Quang Tran
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: