Giter Site home page Giter Site logo

Comments (6)

sinsedrix avatar sinsedrix commented on June 19, 2024

@Davidoutz I have the same issue. Did you manage to fix it?

from weathertwentyone.

Davidoutz avatar Davidoutz commented on June 19, 2024

@sinsedrix unfortunately not yet. But somewhat I am happy to see that I am not the only one :)

from weathertwentyone.

mogand avatar mogand commented on June 19, 2024

I have the same issue

from weathertwentyone.

Fma965 avatar Fma965 commented on June 19, 2024

I'm on windows 11 but have the same issue also.
image

from weathertwentyone.

ziaulhasanhamim avatar ziaulhasanhamim commented on June 19, 2024

Have anyone fixed this problem. is it a problem with maui or winui 3 itself.

from weathertwentyone.

martin-juul avatar martin-juul commented on June 19, 2024

To make the fonts load correctly, you have to rename the fontFamily.

Go to Startup.cs and change these lines to fix it:

    .ConfigureFonts(fonts => {
        fonts.AddFont("fa-solid-900.ttf", "FontAwesome");
-       fonts.AddFont("OpenSans-Regular.ttf", "OpenSans-Regular");
+       fonts.AddFont("OpenSans-Regular.ttf", "Open Sans Regular");
-       fonts.AddFont("OpenSans-SemiBold.ttf", "OpenSans-SemiBold");
+       fonts.AddFont("OpenSans-SemiBold.ttf", "Open Sans SemiBold");
    })

A similar issue was confusing many of us with react-native-windows. See microsoft/react-native-windows/issues/652 for reference.

from weathertwentyone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.