|
From: Alexander S.K. <al...@be...> - 2014-06-23 11:42:35
|
That "M" was an attempt to fix the situation with font sizes, but, as far as I remember, that work wasn't finished. There really is a problem in calculating font size - it must look the same on the screen and on the paper, but for now there is difference sometimes while printing from different computers. So, this issue is still in todo list. oleksa пишет: > Alexander, can you explain this moment in code? > > Regards, > Alexey Myronenko > > > --- Оригінальне повідомлення --- > Від кого: "oleksa" <m.o...@uk...> > Дата: 27 вересня 2013, 08:42:57 > > > >> 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 >> |