Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Deep Dive: How to Integrate Google Fonts in .NET MAUI

A small .NET MAUI sample that accompanies the Grial blog post Deep Dive: How to Integrate Google Fonts in .NET MAUI. The project demonstrates how to include and register custom fonts in a MAUI app and contains example font files under Resources/Fonts.

Quick overview

This repository shows a minimal workflow for adding and using custom fonts with .NET MAUI:

  • Add font files to Resources/Fonts/.
  • Register fonts in the project (either in the csproj as <MauiFont> entries, or via the shared Fonts.xaml/styles).
  • Use the registered font aliases in XAML or C# styles.

Files of interest

  • Resources/Fonts/ — bundled font files.
  • Resources/Styles/Fonts.xaml — where shared font styles may live.

License

This repository includes a top-level LICENSE file. Check it for terms governing use and redistribution.

This project uses the following fonts:

Both fonts are provided by Google Fonts and are distributed under the SIL Open Font License, Version 1.1.

Copies of the licenses are included in the source/blog.fonts/Resources/Fonts/Licenses/ directory.

About

This repo contains the code from the grial blog: Deep Dive: How to Integrate Google Fonts in .NET MAUI

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages