Nikolay Sivov : dwrite: Added a separate helper to fill font metrics structure.