Results 1 to 3 of 3

Thread: Custom font

    You found a bug! We've classified it as CAT-741 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Montreal, Canada
    Posts
    265
    Answers
    3

    Default Custom font

    Hello,

    I need to add custom fonts, from file on my local box, not from Google API. Is there a way to include them in the SASS files and have them show up in themer ?

    thanks

  2. #2
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Montreal, Canada
    Posts
    265
    Answers
    3

    Default

    I've added in a seperate CSS file my font and created override to CSS rules. Works pretty well.

  3. #3
    Sencha - Ext JS Dev Team
    Join Date
    Mar 2016
    Posts
    64
    Answers
    20

    Default

    Yes, manually creating SASS/CSS to add the font and apply it to font-family properties is required (for now). Unfortunately the drop-down in Themer is tightly coupled to the 'fonts' Themer knows about (and not any font that maybe available).

    We are planning on adding some level of functionality to support external fonts better in the next release of Themer. What this will actually look like is still up for debate, but guaranteed minimum will be to provide someway to update the font family drop-down. That is by far the most glaring issue when dealing with 'external fonts'.

Similar Threads

  1. Custom font icons in ExtJS 6
    By ajruli.semir in forum Ext JS 6.x Q&A
    Replies: 7
    Last Post: 24 Feb 2017, 1:46 PM
  2. How to use a custom font?
    By cabbas in forum Sencha Animator Help & Discussion
    Replies: 13
    Last Post: 16 Sep 2014, 1:25 AM
  3. Replies: 1
    Last Post: 14 Aug 2014, 9:21 AM
  4. Custom Icon Font problem
    By cdrascic in forum Sencha Touch 2.x: Discussion
    Replies: 2
    Last Post: 21 Dec 2013, 9:10 AM
  5. How to encode my custom icons into a web font in st 2.2 ?
    By alexesc in forum Sencha Touch 2.x: Q&A
    Replies: 7
    Last Post: 21 May 2013, 11:18 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
  •