PRD-4215: Shielding the font metrics inside the TestGraphics2D from the local system