Font "Courier" is displayed wrong in ScaleRichview

General TRichView support forum. Please post your questions here
Post Reply
tomr
Posts: 21
Joined: Wed Dec 09, 2020 9:36 am

Font "Courier" is displayed wrong in ScaleRichview

Post by tomr »

Hello Richview Support,
I have got the following issue:
Text which is written in Font "Courier" is displayed wrong in ScaleRichview.
ScaleRichview mit Courier.png
ScaleRichview mit Courier.png (21.47 KiB) Viewed 5286 times
If you put the text into a richedit, everything looks fine.
RichviewEdit mit Courier.png
RichviewEdit mit Courier.png (23.39 KiB) Viewed 5286 times
This issue can be reproduced with the "RichviewActionsdemo" from Richviewedit and Scalerichview.
Is there anything I could do to solve this?

Best regards
Tom
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Font "Courier" is displayed wrong in ScaleRichview

Post by Sergey Tkachenko »

Raster fonts cannot be displayed properly in ScaleRichView because they cannot be scaled to arbitrary size.
Fortunately, there are only few raster fonts in Windows.
Use "Courier New" instead of "Courier".
Use "Microsoft Sans Serif" instead of "MS Sans Serif".
tomr
Posts: 21
Joined: Wed Dec 09, 2020 9:36 am

Re: Font "Courier" is displayed wrong in ScaleRichview

Post by tomr »

I will use these fonts instead.
Thank you for your advice and your fast reply :D
Post Reply