aboutsummaryrefslogtreecommitdiff
path: root/layout.f90
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-04-28 20:55:15 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2020-04-28 20:55:15 -0400
commitdfd21b695107fc01941e3218b60d360ee38fb150 (patch)
tree21c6097a544870972d21f69eea57e8ada5f7555f /layout.f90
parenteb8d9bc74a0624dbc98ffb75268a3ba57bd43b40 (diff)
downloadLR-87-dfd21b695107fc01941e3218b60d360ee38fb150.zip
LR-87-dfd21b695107fc01941e3218b60d360ee38fb150.tar.gz
Links are now rendered in the dumb renderer. Preparation sub now available before every layout is performed.
Diffstat (limited to 'layout.f90')
-rw-r--r--layout.f905
1 files changed, 5 insertions, 0 deletions
diff --git a/layout.f90 b/layout.f90
index 5d6f200..1c7d8cb 100644
--- a/layout.f90
+++ b/layout.f90
@@ -28,6 +28,8 @@ contains
walker => first_line
laying_out = .true.
+ call rendering_engine%prepare_for_layout()
+
do while(laying_out)
select case (walker%line_type)
@@ -36,6 +38,9 @@ contains
case (line_type_preformatted)
call render_preformatted(rendering_engine, walker%text)
+
+ case (line_type_link)
+ call render_link(rendering_engine, walker%text)
end select