diff options
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r-- | src/gmdocument.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 2c01290e..c3f0005c 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -702,6 +702,15 @@ static void doLayout_GmDocument_(iGmDocument *d) { | |||
702 | prevNonBlankType = type; | 702 | prevNonBlankType = type; |
703 | followsBlank = iFalse; | 703 | followsBlank = iFalse; |
704 | } | 704 | } |
705 | #if 0 | ||
706 | /* Footer. */ | ||
707 | if (siteBanner_GmDocument(d)) { | ||
708 | iGmRun footer = { .flags = decoration_GmRunFlag | footer_GmRunFlag }; | ||
709 | footer.visBounds = (iRect){ pos, init_I2(d->size.x, lineHeight_Text(banner_FontId) * 1) }; | ||
710 | pushBack_Array(&d->layout, &footer); | ||
711 | pos.y += footer.visBounds.size.y; | ||
712 | } | ||
713 | #endif | ||
705 | d->size.y = pos.y; | 714 | d->size.y = pos.y; |
706 | /* Go over the preformatted blocks and mark them wide if at least one run is wide. */ { | 715 | /* Go over the preformatted blocks and mark them wide if at least one run is wide. */ { |
707 | /* TODO: Store the dimensions and ranges for later access. */ | 716 | /* TODO: Store the dimensions and ranges for later access. */ |