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
 ieView.IEBitmap.Canvas.Font.Size Issues
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

andyhill

Australia
133 Posts

Posted - Feb 11 2020 :  23:46:16  Show Profile  Reply
I use ieView to build Bitmaps at runtime and I am having difficulties with Font Sizing.

ieView.IEBitmap.Canvas.Font.Size:= 12; // Surface Notebook
ieView.IEBitmap.Canvas.Font.Size:= 24; // Windows Desktop PC

Please advise how to detect the right Font Size subject to the running PC hardware.

Thanks in advance.

Andy

xequte

38127 Posts

Posted - Feb 12 2020 :  13:54:47  Show Profile  Reply
Hi Andy

Are you outputting text to an image? Why not make the Font.Height a percentage of the image size or screen size?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

andyhill

Australia
133 Posts

Posted - Feb 12 2020 :  15:08:58  Show Profile  Reply
Good idea, thanks Nigel

Andy
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: