[Bug 1786830] Review Request: ghc-text-metrics - Calculate various string metrics efficiently