Custom fonts not working post upgrade.

KarlKoppKarlKopp AUMember ✭✭

Hi all - I just upgraded to the latest Xamarin Studio/X.iOS/X.Android and now, in my Xamarin Forms projects, and now any font I've set using FontFamily = "SomeFont" show the base font and dont allow the size to be set. Anyone else seeing this??

Cheers!
Karl

Posts

  • JonCortezJonCortez USUniversity ✭✭
    edited May 2015

    Yes, I am seeing this issue after I updated to the April 29, 2015 update.

  • OliverArkKurekOliverArkKurek USMember

    I am also experiencing this issue on iOS in a Forms project. I thought I had broken something, as I had only recently managed to get fonts to work at all, thanks to some hardcore Google-fu. Has anyone worked out a solution or workaround?

  • voidvoid DKBeta ✭✭✭

    I'm seeing the same. iOS font sizes, attributes, etc. are not working after the latest update.

  • voidvoid DKBeta ✭✭✭

    Apparently I was using fontname "HelveticaNeue-Regular" and font attributes.

    Now I use:

    public const string Family = "HelveticaNeue";
    public const string FamilyBold = "HelveticaNeue-Bold";
    public const string FamilyItalic = "HelveticaNeue-Italic";

    instead of font attributes.

    Using "HelveticaNeue" and doing label.FontAttributes = FontAttributes.Bold; does not work.

Sign In or Register to comment.