Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
wvisser
Posted - Dec 27 2011 : 11:37:04 Hi,
I am using text objects in TImageEnVect. I think I found a bug: When applying italic style, the character interspacing is incorrect and due to the characters becoming wider, they overlap and the right part is sliced off the character every time. THis happend also in the online demo. See attached foto.
48.07 KB Can this be fixed? or how to avoid it?
regards, WIlfried
wpjvisser
1 L A T E S T R E P L I E S (Newest First)
fab
Posted - Dec 29 2011 : 02:18:51 There is a bug in the demo. In "Tfmain.btnAddTextClick" method insert this code:
.....
if btnAddText.Down then
begin
ImageEnVect1.MouseInteractVt:=[miPutMemo];
ImageEnVect1.ObjFontLocked[-1]:=false;
ImageEnVect1.ObjMemoBorderStyle[-1]:=psClear;
ImageEnVect1.ObjMemoCharsBrushStyle[-1] := bsClear; // <<<< INSERT THIS
tmpFont:=TFont.Create;
tmpFont.Color:=clRed;
tmpFont.Size:=14;
tmpFont.Name:='Arial';
.....