Unicode characters in the LazReport Preview lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- padremortius · 2009-02-24 10:08 Lazarus and my project use GTK-2 (CentOS 5.2) as LCL widget type. When I view the report in Lazarus the preview works perfectly. But when the same report is called from my project it looks in a preview absolutely on another from IDE (http://img216.imageshack.us/img216/9367/previewindesignerrk9.th.png) from my project (http://img135.imageshack.us/img135/2173/frommyprogramts7.th.png) Code of the calling preview from my project Code: [Select]frReport1.LoadFromFile(ExtractFilePath(Application.ExeName) + '/reports/main.lrf'); frReport1.ShowReport; Where there can be an error? P.S. fpc 2.2.3 and lazarus 0.9.27 svn ---------------------------------------------------------------------- jesusr · 2009-02-24 18:27 It looks like at runtime a different default font with small differences in size is being used, have you tried using an explicit font name in your report? ---------------------------------------------------------------------- padremortius · 2009-02-24 18:39 No. Where it registers? And how correctly to specify obviously font in rumtime? ---------------------------------------------------------------------- jesusr · 2009-02-24 18:48 In report designer, second horizontal toolbar, first two comboboxes are font name and font size respectively, they get enabled if you select an object in designer. ---------------------------------------------------------------------- padremortius · 2009-02-25 07:06 Thanks. After re-creation of all project all has earned.