如何获取GDI的字距调整信息,然后在GetKerningPairs中使用?documentation指出Thenumberofpairsinthelpkrnpairarray.IfthefonthasmorethannNumPairskerningpairs,thefunctionreturnsanerror.但是,我不知道要传入多少对,也没有找到查询它的方法。编辑#2这是我也尝试过的填充应用程序,它总是为任何字体的对数生成0。GetLastError也将始终返回0。#include#include#includeusingnamespacestd;usingnamespaceGdip