diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2022-08-18 15:07:45 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2022-08-22 16:55:30 +0100 |
commit | 90d92bae5f5cdee9a8ce84e0127ca40a101536f8 (patch) | |
tree | bac7f9d6add57c8ee70b0d57ffb0f5a09dbf6c66 | |
parent | 25b9b12d73b29bcca451a58276bcf579d422d87f (diff) |
Remove more unused code: line_font_size_max();
-rw-r--r-- | src/join.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -428,24 +428,6 @@ end: } -/* Returns max font size of all span_t's in an line_t. */ -static double line_font_size_max(line_t* line) -{ - double size_max = 0; - content_span_iterator sit; - span_t *span; - - for (span = content_span_iterator_init(&sit, &line->content); span != NULL; span = content_span_iterator_next(&sit)) { - double size = extract_font_size(&span->ctm); - - if (size > size_max) - size_max = size; - } - return size_max; -} - - - /* A comparison function, for sorting paragraphs within a page. */ static int paragraphs_cmp(const content_t *a, const content_t *b) |