You are here: PSPad forum > English discussion forum > Font width

Font width

#1 Font width

Posted by: hobo-mts | Date: 2012-09-25 07:15 | IP: IP Logged

I use monospace raster font 7x12 pix. But PSPad creates font with 8 pixel width, and text line looks rared and wider then expected. Is this a bug or feature? I think, it because of using CreateFont*() with specifying of width of font to 8 pix.
When I use CreateFontIndirect() with lfWidth==0 width of symbol == 7 pix.
What can I do to make font 7 pix width?

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR