TPrintPreview and kerning.

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

TPrintPreview and kerning.

Postby rodrigo3d » February 22nd, 2005, 10:23 pm

Hi.

I'm using TPrintPreview in Delphi 7 and I'm having the following problem.

The text is printing with wrong kerning (the spaces between the characters).

I.e. The character "V" and "E" are overlapping.

Does anyone knows why?

TIA,

Rodrigo Campos
rodrigo3d
Member
Member
 
Posts: 2
Joined: February 22nd, 2005, 10:19 pm

Postby Johnny_Bit » February 23rd, 2005, 6:28 pm

you use not-truetype font. that's why. and that's not component's fall. it's windows metafile behavior.
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

Kerning...

Postby rodrigo3d » March 22nd, 2005, 10:31 pm

It's arial... IT IS true-type!!!

See the attachment please.


TIA,
Rodrigo 3D
rodrigo3d
Member
Member
 
Posts: 2
Joined: February 22nd, 2005, 10:19 pm

Postby Kambiz » April 17th, 2005, 6:30 pm

When user ask to print the preview, instead of calling Print method of the component, set DirectPrint property to True and recreate the preview pages. In this way you will havd good quality output.
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron