title: Calculating width of unicode character in DirectWrite using GetDesignGlyphMetrics
body: <p>I am working on a GDI to DirectWrite migration project.
  I want to calculate width of each unicode character , on GDI this is acomplished using GetCharWidth.
  On msdn blog i found that replacement for GetCharWidth of GDI is GetDesignGlyphMetrics .</p>
  
  <p>Can anyone tell me how to use this function GetDesignGlyphMetrics in order to get DWRITE_GLYPH_METRICS?</p>
  
  <p>How to instantiate its first parameter UINT16 const* glyphIndices? </p>