.Net Maui是否有通用字体系列

发布于 2025-02-04 08:26:54 字数 492 浏览 4 评论 0原文

我是新来的.Net Maui,我问我是否有一种使用通用字体家庭的方法。 就像在CSS

  • 草书
  • 中幻想
  • 单拼音
  • Serif
  • Serif

一样,还是最好的方法是什么?

我真的需要在每个应用程序中包含特定字体吗?我更喜欢使用当前系统的默认字体的解决方案。

感谢您的想法和想法

edit1: 啊,CSS名称似乎在Android中起作用,

但不在Windows中。 Macos呢?有经验吗?

但是对于Windows来说,问题保持不变;-)

I'm new with .NET MAUI and I ask me if there are a way to use generic font families.
like in CSS

  • cursive
  • fantasy
  • monospace
  • serif
  • sans-serif

or what is the best approach for this?

Do I really need to include specific fonts in every app? I would prefer a solution that uses the default fonts of the current system.

Thanks for your thoughts and ideas

Edit1:
Ahhh, the CSS names seems to work in Android,
sample
but not in Windows.
How about MacOS?, any experience?

But for Windows, the question remains the same ;-)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文