344dd3654df6e96abcdf14b8ab1913a446be4114 — Damien Radtke 2 years ago 517325e
Document fix for GTK fonts
1 files changed, 25 insertions(+), 0 deletions(-)

M README.md => README.md +25 -0
@@ 19,3 19,28 @@ $ asdf shell dotnet-core 5.0.301
$ cd Shopping.Skia.Gtk
$ dotnet run

## Fixing Fonts on Linux

If you get a warning when running the GTK project like **The font Segoe UI could not be found, using system default** and no text appears, create the following config file:

<!-- /etc/fonts/conf.d/99-uno.conf -->

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">

		<test qual="any" name="family" compare="eq">
			<string>Segoe UI</string>
		<edit name="family" mode="assign">
			<!-- You may need to replace this with your system's default font -->
			<string>Liberation Sans</string>

See: https://github.com/unoplatform/uno/issues/6441