|
From: oleksa <m.o...@uk...> - 2013-09-27 05:42:54
|
Playing with font in designer under win, like as set new font, set the same font this func doesn't works correctly, as i see problem in var height with "M"+Ltrim(Str(Round(aTMetr[1]*nVertSize/nVertRes,2),5,2)). GTK version doesn't have "M" in var height. In other case we have other func Font2Attr() without "M" which is similar to Font2XML but return array instead of xml node in Font2XML. What the "M" does? Regards, Alexey Myronenko |