1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    34
    Vote Rating
    0
    piza is on a distinguished road

      0  

    Default adding an ios fonts

    adding an ios fonts


    Can you point to some reference material on how to expand the font options in Sencha. There are currently 5 in the drop down.

    I want to add an iosfont supported font?


    piza

  2. #2
    Sencha User arnebech's Avatar
    Join Date
    Jun 2010
    Posts
    498
    Vote Rating
    10
    arnebech will become famous soon enough

      0  

    Default


    We are planning on adding more and better font-support, in the meantime, you have a couple of options.

    1) Assign the object a css id and the include some external css that set the specific font e.g. add something like this to head html (or put it an css file and reference it)
    Code:
    <style type="text/css">
    #my-text{
        font-family: SnellRoundhand;
    }
    </style>
    2) User the custom css property (when in base state selection) and add e.g.
    "font-family: SnellRoundhand;"

Thread Participants: 1