Coder Social home page Coder Social logo

Comments (7)

jeromelaban avatar jeromelaban commented on July 16, 2024 1

@ArchieCoder here's the updated doc. #17301

from uno.

ArchieCoder avatar ArchieCoder commented on July 16, 2024

This is probably affecting #16931

from uno.

Youssef1313 avatar Youssef1313 commented on July 16, 2024

The ms-appx path in repro is not correct, causing a fallback to default font. It should be ms-appx:///Assets/Fonts/party.ttf#Ready to Party instead of ms-appx:///UnoApp1/Assets/Fonts/party.ttf#Ready to Party. Doing that change, the font is rendered correctly both on Skia and WinAppSDK

from uno.

Youssef1313 avatar Youssef1313 commented on July 16, 2024

Closing as this seems to be working as expected. Let me know please if you still have additional problems

from uno.

ArchieCoder avatar ArchieCoder commented on July 16, 2024

I followed the instructions which mentioned the app name https://platform.uno/docs/articles/features/custom-fonts.html#adding-a-custom-font-in-the-app-assets-folder

image

from uno.

Youssef1313 avatar Youssef1313 commented on July 16, 2024

Reopening as a doc issue

from uno.

luckypong avatar luckypong commented on July 16, 2024

If I describe the project I am currently using:

Single Project is ms-appx:///Assets
Library or Shared Projects are ms-appx:///[MyApp]/Assets

After migrating to Single Project in Shared Projects, it was confirmed that the existing font could not be set, and the operation was confirmed after changing ms-appx:///Assets.

from uno.

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.