diff options
author | Jeffrey Armstrong <jeff@approximatrix.com> | 2020-06-08 14:36:34 -0400 |
---|---|---|
committer | Jeffrey Armstrong <jeff@approximatrix.com> | 2020-06-08 14:36:34 -0400 |
commit | 52915ba4bcb8f82a7d8249df07130e4fc0e5bd32 (patch) | |
tree | 25051156bc8fb7a4c45566a6b62f73e0da1a6eb0 /main.F90 | |
parent | 48512f5d2e180d2086162cdf06c96098e6de96d7 (diff) | |
download | LR-87-52915ba4bcb8f82a7d8249df07130e4fc0e5bd32.tar.gz LR-87-52915ba4bcb8f82a7d8249df07130e4fc0e5bd32.zip |
Line wrapping now computed only once for proportional text unless requested by the renderer, providing better performance.
Diffstat (limited to 'main.F90')
-rw-r--r-- | main.F90 | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -92,7 +92,7 @@ implicit none else - initial_site = "gemini://lilarm/" + initial_site = "gemini://gemini.circumlunar.space/" end if @@ -210,6 +210,14 @@ implicit none call r%status_ready() end if + case (render_action_rewrap) + if(associated(first_line)) then + call r%report_status("Performing Layout") + call clear_line_breaks(first_line) + call layout_lines(first_line, r) + call r%status_ready() + end if + case (render_action_goto) if(index(input, "://") > 0) then desired_url = input |