summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-20 11:43:04 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-20 11:43:04 +0300
commite9ef84a9ef0ff65332071f8fbe8bd49f498324fe (patch)
tree9800729ab830abb0ef91c73c81e57f737ad9ba2d
parentf6a55930a900bd07d4b2028e7df82bbef1a291d0 (diff)
GmDocument: Tuning heading line height reduction
-rw-r--r--src/gmdocument.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index b1c3f2ef..61965f58 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -719,7 +719,7 @@ static void doLayout_GmDocument_(iGmDocument *d) {
719 lineHeightReduction = 0.10f; 719 lineHeightReduction = 0.10f;
720 } 720 }
721 else if (type == heading2_GmLineType) { 721 else if (type == heading2_GmLineType) {
722 lineHeightReduction = 0.05f; 722 lineHeightReduction = 0.06f;
723 } 723 }
724 /* Visited links are never bold. */ 724 /* Visited links are never bold. */
725 if (run.linkId && linkFlags_GmDocument(d, run.linkId) & visited_GmLinkFlag) { 725 if (run.linkId && linkFlags_GmDocument(d, run.linkId) & visited_GmLinkFlag) {