From 8f004999d04795f6ec5402062b5386ce95b9357e Mon Sep 17 00:00:00 2001 From: Taiko2k Date: Tue, 1 Feb 2022 12:22:39 +1300 Subject: [PATCH] add note --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f2cdc22..39be97c 100644 --- a/README.md +++ b/README.md @@ -665,7 +665,7 @@ a basic example of a single line of text: font = Pango.FontDescription.new() font.set_family("Sans") - font.set_size(12 * Pango.SCALE) + font.set_size(12 * Pango.SCALE) # todo how do we follow the window scaling factor? context = self.get_pango_context() layout = Pango.Layout(context) # Add Pango to your imports. i.e. from gi import Pango