[Bug 1555] Building font metrics fails