Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Weird Font Issue

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24314

    Carmelo

    Hello,

    I’m in trouble with font Roboto.

    In iOS it is rendered good, but in Android all letters are in uppercase.

    pragma Singleton
    import QtQuick 2.0
    
    Object {
    
        FontLoader {
            id: regularFont
            source: "./Roboto-Regular.ttf"
        }
    
        FontLoader {
            id: boldFont
            source: "./Roboto-Bold.ttf"
        }
    
        FontLoader {
            id: lightFont
            source: "./Roboto-Light.ttf"
        }
    
        FontLoader {
            id: italicFont
            source: "./Roboto-Italic.ttf"
        }
    
        property string fontFamily: regularFont.name
        property var regularFont : regularFont
        property var boldFont : boldFont
        property var lightFont : lightFont
        property var italicFont : italicFont
    
    }

    end in my Felgo app:

    Theme.boldFont = AppFont.boldFont
    Theme.normalFont = AppFont.regularFont

     

    ANDROID: https://drive.google.com/file/d/1xYpJtwKPjElNUsoPYMhklSPLnM0A2ipu/view?usp=sharing

    iOS: https://drive.google.com/file/d/1olVeM7YLvr7X9M6FMLvT2n-7AyalCHVL/view?usp=sharing

     

    it’s weird because OpenSans is rendered good in both OS.

    #24315

    Alex
    Felgo Team

    Hi,

    could you please create a minimal example project, including the font files, and sent it over to support@felgo.com so we can have a quick look at it?

    Best,
    Alex

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded