From 1c43ba7ef7cf46df1c4bec18c5700cfa627ea92e Mon Sep 17 00:00:00 2001 From: geekmedico Date: Wed, 4 Oct 2023 00:45:51 -0600 Subject: [PATCH 1/4] Adds Windows SDK and Win UI 3 implementation Really difficult to find how to implement custom fonts on win ui 3 --- docs/library/mdi/getting-started/windows.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/library/mdi/getting-started/windows.mdx b/docs/library/mdi/getting-started/windows.mdx index bb30260..9229018 100644 --- a/docs/library/mdi/getting-started/windows.mdx +++ b/docs/library/mdi/getting-started/windows.mdx @@ -17,6 +17,14 @@ If you wanted to display the icon at `48x48` place the SVG path data in place of ``` +## Windows SDK with Win UI 3 +To add it to your proyect add the webfont file and set it's build action to `Content`. +In your `App.xaml` file add like this, modify according to your path, in the example it's placed inside the Assets folder. + +``` +ms-appx:///Assets/materialdesignicons-webfont.ttf#Material Design Icons +``` + ## MahApps.Metro.IconPacks From 2a8e8a84e7fd118d658cf42e31d3efe357b567de Mon Sep 17 00:00:00 2001 From: Austin Andrews Date: Tue, 10 Oct 2023 22:12:41 -0500 Subject: [PATCH 2/4] Update docs/library/mdi/getting-started/windows.mdx --- docs/library/mdi/getting-started/windows.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/library/mdi/getting-started/windows.mdx b/docs/library/mdi/getting-started/windows.mdx index 9229018..8db7c27 100644 --- a/docs/library/mdi/getting-started/windows.mdx +++ b/docs/library/mdi/getting-started/windows.mdx @@ -18,7 +18,7 @@ If you wanted to display the icon at `48x48` place the SVG path data in place of ``` ## Windows SDK with Win UI 3 -To add it to your proyect add the webfont file and set it's build action to `Content`. +To add it to your project add the webfont file and set it's build action to `Content`. In your `App.xaml` file add like this, modify according to your path, in the example it's placed inside the Assets folder. ``` From ed61bb364a1ccca4b19ceffd6f9a645fde63df92 Mon Sep 17 00:00:00 2001 From: Austin Andrews Date: Tue, 10 Oct 2023 22:13:04 -0500 Subject: [PATCH 3/4] Update docs/library/mdi/getting-started/windows.mdx --- docs/library/mdi/getting-started/windows.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/library/mdi/getting-started/windows.mdx b/docs/library/mdi/getting-started/windows.mdx index 8db7c27..6166a23 100644 --- a/docs/library/mdi/getting-started/windows.mdx +++ b/docs/library/mdi/getting-started/windows.mdx @@ -18,6 +18,7 @@ If you wanted to display the icon at `48x48` place the SVG path data in place of ``` ## Windows SDK with Win UI 3 + To add it to your project add the webfont file and set it's build action to `Content`. In your `App.xaml` file add like this, modify according to your path, in the example it's placed inside the Assets folder. From 4c1b2923b100ac69b6b55827543cf6ce51cd56e5 Mon Sep 17 00:00:00 2001 From: Austin Andrews Date: Tue, 10 Oct 2023 22:13:36 -0500 Subject: [PATCH 4/4] Update docs/library/mdi/getting-started/windows.mdx --- docs/library/mdi/getting-started/windows.mdx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/library/mdi/getting-started/windows.mdx b/docs/library/mdi/getting-started/windows.mdx index 6166a23..e0c23d9 100644 --- a/docs/library/mdi/getting-started/windows.mdx +++ b/docs/library/mdi/getting-started/windows.mdx @@ -22,9 +22,8 @@ If you wanted to display the icon at `48x48` place the SVG path data in place of To add it to your project add the webfont file and set it's build action to `Content`. In your `App.xaml` file add like this, modify according to your path, in the example it's placed inside the Assets folder. -``` +```xml ms-appx:///Assets/materialdesignicons-webfont.ttf#Material Design Icons -``` ## MahApps.Metro.IconPacks