ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Font Issues

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
kandc Posted - Dec 09 2014 : 13:16:43
I am placing a watermark on a tif (ImageEnVect) before opening the print preview dialog.

My code calls:

Vect.Proc.TextOut (Align_Text_Horz_Center,VOffset,'Watermark',AFont,35);

After the above call, the font in other forms within project become distorted. After debugging, I found commenting out this line resolves it:

// ProcBitmap.Canvas.Font.Handle := OldFontHandle;

The above line is at the end of TextOut in ImageEnProc.

I tried all kinds of variations in my code to resolve this without commenting out the above line, but found this was the only remedy. Not sure what the long-term ramifications are resource wise.

Thanks,

Kevin

P.S. I am on the 5.2 post Beta.
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Dec 11 2014 : 14:04:20
Hi Kevin

Can you send us a very simple demo that shows the issue.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com