summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-12-01 10:33:45 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-12-01 10:33:45 +0200
commit2f4cc8dc3f76b862d9c17d96561ba54fe77d0199 (patch)
treeeb87f0cb4602960b31428031897e15d155cb033f
parentf6e3717713d9c89d9342b30ef3eb7545aed8f053 (diff)
GmDocument: Spacing before/after links
Respect the source whitespace, but leave half a line at minimum.
-rw-r--r--src/gmdocument.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 9773365e..9e78c2e0 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -278,10 +278,10 @@ static void doLayout_GmDocument_(iGmDocument *d) {
278 5, 10, 5, 10, 0, 0, 0, 5 278 5, 10, 5, 10, 0, 0, 0, 5
279 }; 279 };
280 static const float topMargin[max_GmLineType] = { 280 static const float topMargin[max_GmLineType] = {
281 0.0f, 0.333f, 1.0f, 0.5f, 2.0f, 1.5f, 1.0f, 1.0f 281 0.0f, 0.333f, 1.0f, 0.5f, 2.0f, 1.5f, 1.0f, 0.5f
282 }; 282 };
283 static const float bottomMargin[max_GmLineType] = { 283 static const float bottomMargin[max_GmLineType] = {
284 0.0f, 0.333f, 1.0f, 0.5f, 0.5f, 0.5f, 0.5f, 1.0f 284 0.0f, 0.333f, 1.0f, 0.5f, 0.5f, 0.5f, 0.5f, 0.5f
285 }; 285 };
286 static const char *arrow = "\u27a4"; 286 static const char *arrow = "\u27a4";
287 static const char *envelope = "\U0001f4e7"; 287 static const char *envelope = "\U0001f4e7";