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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Font Issues
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

kandc

29 Posts

Posted - Dec 09 2014 :  13:16:43  Show Profile  Reply
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.

xequte

39140 Posts

Posted - Dec 11 2014 :  14:04:20  Show Profile  Reply
Hi Kevin

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



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: