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
 ieView.IEBitmap.Canvas.Font.Size 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
andyhill Posted - Feb 11 2020 : 23:46:16
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
2   L A T E S T    R E P L I E S    (Newest First)
andyhill Posted - Feb 12 2020 : 15:08:58
Good idea, thanks Nigel

Andy
xequte Posted - Feb 12 2020 : 13:54:47
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