~damien/shopping-uno

Uno frontend for the shopping app
Rename suggested conf file
Document fix for GTK fonts
Update running notes

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~damien/shopping-uno
read/write
git@git.sr.ht:~damien/shopping-uno

You can also use your local clone with git send-email.

#Setup

If using asdf, make sure you have .NET 5 installed:

# Verify available versions
$ ~/.asdf/plugins/dotnet-core/bin/list-all

# Install
$ asdf install dotnet-core 5.0.301

# Use it, can also be set as the local or global default
$ asdf shell dotnet-core 5.0.301

#Running

$ 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-segoe-ui.conf -->

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

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

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