title: My fontSize doesn't work with my custom font
body: <p>I import my fonts in my project </p>
  
  <p><a href="https://i.stack.imgur.com/65kYD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/65kYD.png" alt="enter image description here"></a></p>
  
  <p>I create a class style.swift</p>
  
  <pre><code>struct Style {
  
  
      //fonts
      static var GothamBlackItalic = UIFont(name: "Gotham-BlackItalic.ttf", size: 12)
      static var GothamBold = UIFont(name: "Gotham-Bold.ttf", size: 12)
      static var GothamBoldItalic = UIFont(name: "Gotham-BoldItalic.ttf", size: 12)
      static var GothamBook = UIFont(name: "Gotham-Book.ttf", size: 12)
      static var GothamBookItalic = UIFont(name: "Gotham-BookItalic.ttf", size: 12)
      static var GothamLight = UIFont(name: "Gotham-Light.ttf", size: 12)
      static var GothamLightItalic = UIFont(name: "Gotham-LightItalic.ttf", size: 12)
      static var GothamMedium = UIFont(name: "Gotham-Medium.ttf", size: 4)
      static var GothamMediumItalic = UIFont(name: "Gotham-MediumItalic.ttf", size: 12)
      static var GothamThin = UIFont(name: "Gotham-Thin.ttf", size: 12)
      static var GothamThinItalic = UIFont(name: "Gotham-ThinItalic.ttf", size: 12)
      static var GothamUltra = UIFont(name: "Gotham-Ultra.ttf", size: 12)
      static var GothamUltraItalic = UIFont(name: "Gotham-UltraItalic.ttf", size: 12)
      static var GothamExtraLight = UIFont(name: "Gotham-XLight.ttf", size: 12)
      static var GothamExtraLightItalic = UIFont(name: "Gotham-XLightItalic.ttf", size: 12)
  
  }
  </code></pre>
  
  <p>In my view controller, i call the font GothamMedium in my Label :</p>
  
  <pre><code>myLabel.font=Style.GothamMedium
  </code></pre>
  
  <p>The font is correct <strong>but the fontsize is not working.</strong>
  Can you tell me how can I change the font size ?</p>