From 6c19a8352ff2d99fdd2d57c634cc753fe6bbf2e2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 22 Aug 2021 13:31:16 -0400 Subject: [PATCH] gtk-demo: Add a line height demo Add an example for widely spaced text to the markup demo. --- demos/gtk-demo/markup.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demos/gtk-demo/markup.txt b/demos/gtk-demo/markup.txt index c850fd8c0b..9e42a399a6 100644 --- a/demos/gtk-demo/markup.txt +++ b/demos/gtk-demo/markup.txt @@ -18,3 +18,6 @@ Shortcuts: MonospaceBoldItalicBigA hy­phen­ation al­go­rithm is a set of rules, espe­ci­ally one co­di­fied for im­ple­men­tation in a com­pu­ter pro­gram, that de­ci­des at which points a word can be bro­ken over two lines with a hy­phen. For ex­am­ple, a hy­phen­ation al­go­rithm might de­cide that im­peach­ment can be broken as impeach‧ment or im‧peachment but not impe‧achment. one/two three/four five/six seven/eight nine/ten + +Line height: This is an example of widely spaced text. It was achieved by setting the line-height factor to 1.33. You can set the line-height factor to any value between 0 and 10. +Note that the line height affects the spacing between paragraphs as well as between the wrapped lines inside a paragraph.