Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dashboard] Realize custom font manager to override default one in avalonia #262

Open
Dynesshely opened this issue May 27, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request tracking This issue is tracking by another issue

Comments

@Dynesshely
Copy link
Member

Dynesshely commented May 27, 2023

🪦 Is your feature request related to a problem? Please describe.

Issues:

Avalonia try to load a font that dosen't exists on some platforms.

KitX did embedded fonts to use, accroding to AvaloniaUI/Avalonia#4760 , we can provide a custom font manager to override avalonia one to avoid load unnecessary font.

🪧 Describe the solution you'd like

Provide custom font manager class, and register it at App.xaml.cs.

🧾 Describe alternatives you've considered

No response

📎 Additional context

No response

@Dynesshely Dynesshely added enhancement New feature or request help wanted Extra attention is needed labels May 27, 2023
@Dynesshely Dynesshely self-assigned this May 27, 2023
@github-actions
Copy link

Tracked by #223 .

@github-actions github-actions bot added the tracking This issue is tracking by another issue label May 28, 2023
@Dynesshely Dynesshely removed the help wanted Extra attention is needed label May 28, 2023
@Dynesshely
Copy link
Member Author

View similar situations: https://www.cnblogs.com/joyandjoys/p/14346935.html

@Dynesshely Dynesshely changed the title [Dashboard] Realize custom font manager to override default one in avalonia. [Dashboard] Realize custom font manager to override default one in avalonia May 31, 2023
@Dynesshely Dynesshely moved this from Todo to In Progress in KitX Project Todo-Lists Jun 25, 2023
@Dynesshely
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tracking This issue is tracking by another issue
Projects
Status: In Progress
Development

No branches or pull requests

1 participant