Merge branch 'RED-7141' into 'main'
RED-7141: Readded lost mergeLinesInZones See merge request fforesight/layout-parser!116
This commit is contained in:
commit
c4edff4696
@ -65,7 +65,7 @@ public class ZoneBuilderService {
|
|||||||
|
|
||||||
List<Zone> zones = new ArrayList<>();
|
List<Zone> zones = new ArrayList<>();
|
||||||
unionFind.getGroups().forEach(group -> {
|
unionFind.getGroups().forEach(group -> {
|
||||||
zones.add(new Zone(new ArrayList<>(group)));
|
zones.add(mergeLinesInZone(new ArrayList<>(group), characterSpacing, lineSpacing));
|
||||||
});
|
});
|
||||||
|
|
||||||
if (zones.size() > MAX_ZONES) {
|
if (zones.size() > MAX_ZONES) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user