PaintRichText function doesn't seem to work correctly

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

PaintRichText function doesn't seem to work correctly

Postby martt_1er » June 28th, 2006, 7:43 am

Hello.

First, please excuse me for my english.

I'm using the PrintPreview component to print some texts and pictures.
Pictures and symbols are displayed correctly but the text is so ... ugly.
Look at these screenshots : (first with a 30% zoom then with a 100% zoom)

With a 30% zoom :
Image

With a 100% zoom :
Image

The unit of my PrintPreview is mmPixel, but I tried with all others (mmHiMetric, mmLoMetric....) and the result is the same.

Do you think the problem comes from my Form, my RichEdit, or my PrintPreview ?

Thanks a lot.

Martt
martt_1er
Member
Member
 
Posts: 4
Joined: June 27th, 2006, 3:11 pm

Postby Johnny_Bit » June 28th, 2006, 10:30 am

what font?
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

Postby martt_1er » June 28th, 2006, 12:35 pm

It's the default one !
where have I to check the font ? In the TRichEdit or in the TPrintPreview ?
Anyway, it's the deault one for the 2 components.
Font : (Name=MSSansSerif, Pitch=fpDefault, size=8, height=-11...)

Martt
martt_1er
Member
Member
 
Posts: 4
Joined: June 27th, 2006, 3:11 pm

Postby Kambiz » June 28th, 2006, 8:53 pm

"MS Sans Serif" is a raster font. For having WYSIWYG result, use a true type font.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby martt_1er » June 28th, 2006, 9:35 pm

Wou-hou ! :D It works !

Thanks for your help, you resolved a very big problem.
See you, and congratulation for that helpful component.
Bye

Martt
martt_1er
Member
Member
 
Posts: 4
Joined: June 27th, 2006, 3:11 pm

Postby Johnny_Bit » June 29th, 2006, 7:29 am

Hey, there supposed to be list of no-go fonts already.
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am


Return to DELPHI AREA Products

Who is online

Users browsing this forum: Bing [Bot] and 4 guests

cron