Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-8254

FontAwesome cannot be loaded when minimized by Ametys

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.0
    • 4.0.0
    • None
    • None

      How to reproduce it :

      • in ametys.css add font-awesome like this
        @font-face {
          font-family: 'FontAwesome';
          src: url("../fonts/fontAwesome/fontawesome-webfont.eot?v=4.7.0");
          src: url("../fonts/fontAwesome/fontawesome-webfont.eot?#iefix&v=4.7.0") format("embedded-opentype"), url("../fonts/fontAwesome/fontawesome-webfont.woff2?v=4.7.0") format("woff2"), url("../fonts/fontAwesome/fontawesome-webfont.woff?v=4.7.0") format("woff"), url("../fonts/fontAwesome/fontawesome-webfont.ttf?v=4.7.0") format("truetype"), url("../fonts/fontAwesome/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular") format("svg");
          font-weight: normal;
          font-style: normal; }
      • In the folder font/ put a fontAwesome zip content

          [CMS-8254] FontAwesome cannot be loaded when minimized by Ametys

          The link to font awesome is fine when minimized, but font awesome itself cannot be minimized by Ametys. The most plausible cause is the "@charset UTF8" which ends up in the middle of the file instead of the beginning.

          Grégory Lefebvre (Inactive) added a comment - The link to font awesome is fine when minimized, but font awesome itself cannot be minimized by Ametys. The most plausible cause is the "@charset UTF8" which ends up in the middle of the file instead of the beginning.

            glefebvre Grégory Lefebvre (Inactive)
            lbouziat Léa Bouziat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: