Project

General

Profile

Actions

Feature #35

open

Improve tocnumwidth calculation algorithm

Added by quintus over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
08/15/2021
Due date:
% Done:

0%

Estimated time:

Description

Currently, the Law::calcToCNumWidth uses a rather simplistic algorithm to estimate the space the norm number should take up in the ToC. This should be improved upon. Even without adding extra dependencies for taking font metrics into account, it should be possible to examine how much space the longest normal number occupies (i.e., under exclusion of unusual numbers like the Basic Law's "Anhang EV" norm number).

No data to display

Actions

Also available in: Atom PDF