summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gmdocument.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 8b24ce29..a459b42f 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -968,6 +968,7 @@ static void doLayout_GmDocument_(iGmDocument *d) {
968 ? 4 : 0) * gap_Text; 968 ? 4 : 0) * gap_Text;
969 } 969 }
970 if (!isMono) { 970 if (!isMono) {
971#if 0
971 /* Upper-level headings are typeset a bit tighter. */ 972 /* Upper-level headings are typeset a bit tighter. */
972 if (type == heading1_GmLineType) { 973 if (type == heading1_GmLineType) {
973 rts.lineHeightReduction = 0.10f; 974 rts.lineHeightReduction = 0.10f;
@@ -975,6 +976,7 @@ static void doLayout_GmDocument_(iGmDocument *d) {
975 else if (type == heading2_GmLineType) { 976 else if (type == heading2_GmLineType) {
976 rts.lineHeightReduction = 0.06f; 977 rts.lineHeightReduction = 0.06f;
977 } 978 }
979#endif
978 /* Visited links are never bold. */ 980 /* Visited links are never bold. */
979 if (run.linkId && !prefs->boldLinkVisited && 981 if (run.linkId && !prefs->boldLinkVisited &&
980 linkFlags_GmDocument(d, run.linkId) & visited_GmLinkFlag) { 982 linkFlags_GmDocument(d, run.linkId) & visited_GmLinkFlag) {