Details

      Description

      We use @font-face in our custom themes for using 3rd party fonts. When I look at the Console in chrome I see a 404 error and the URL is not valid: /test-theme/css//test-theme/fonts/FrutigerLTStd-Roman.ttf.

      The other interesting thing is this only seems to happen when I use an @import statement in the custom.css file such as: @import url(test.css); Inside the test.css file is where the @font-face is located. If I move the @font-face into custom.css then it seems to work.

      The other thing of interest is that this works fine in my local development environment which has minifier.enabled=false. It seems that the minified version is what has the issue.

      I'm attaching a test theme which recreates the issue outlined above.

        Attachments

        1. test-theme-6.2.0.1.war
          1.47 MB
        2. LPS-39451-theme-7.0.0.1.war
          3.03 MB
        3. DefaultFont.png
          DefaultFont.png
          3 kB
        4. CustomFont.png
          CustomFont.png
          3 kB
        5. ChromeConsole.png
          ChromeConsole.png
          19 kB

          Issue Links

            Activity

              People

              Assignee:
              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              Reporter:
              jamie.sammons1 Jamie Sammons
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1