Etymology
Today it means: To what degree. Full definition →
From how + so + far. Compare insofar.
Etymology from Wiktionary, CC BY-SA 4.0.