Results 1 to 4 of 4

Thread: 6.5.0: font issue in Triton theme

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-25202 in 6.5.1.
  1. #1
    Sencha Premium Member richardvd's Avatar
    Join Date
    Jun 2011
    Location
    NL
    Posts
    255

    Default 6.5.0: font issue in Triton theme

    Ext JS 6.5.0 does not load the OpenSans ttf files of the Triton theme. This forces browsers to use a fallback font (macOS: Helvetica Neue / Windows: Arial).

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,250

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha Premium Member richardvd's Avatar
    Join Date
    Jun 2011
    Location
    NL
    Posts
    255

    Default

    Looks like the error is in classic/theme-triton/sass/src/Component.scss, that's where the Triton classic theme is supposed to load the Open Sans font. In 6.5.0 each font has an additional line src: local(" ");

    Ext JS 6.2.1:
    Code:
          @font-face {
              font-family: 'Open Sans';
              src: url('#{$triton-font-path}/OpenSans-Regular.ttf');
              font-weight: 400;
              font-style: normal;
          }
    Ext JS 6.5.0:
    Code:
          @font-face {
              font-family: 'Open Sans';
              src: url('#{$triton-font-path}/OpenSans-Regular.ttf');
              src: local(" ");
              font-weight: 400;
              font-style: normal;
          }

    If you remove the lines containing src: local(" "); then Components.scss becomes identical to the 6.2.1 version, and the font gets loaded normally.

    So the quick fix is to copy ext-6.2.1/classic/theme-triton/sass/src/Component.scss to ext-6.5.0/classic/theme-triton/sass/src​.

  4. #4
    Sencha Premium Member
    Join Date
    Aug 2015
    Posts
    1

    Default

    Hi,

    I'm still getting this error in IE with ExtJS 6.6.0.258 and Triton theme.
    CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable.

    Should it be fixed? Any other news on this?

    Mirko

Similar Threads

  1. Replies: 9
    Last Post: 17 Aug 2017, 7:24 AM
  2. Replies: 0
    Last Post: 19 Sep 2016, 1:11 AM
  3. Replies: 4
    Last Post: 12 Aug 2016, 10:51 AM
  4. 3.5 EA - Triton theme not available?
    By tangix in forum Sencha Architect 3.x: Q&A
    Replies: 3
    Last Post: 15 Jan 2016, 11:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •