Article View: borland.public.cppbuilder.nativeapi
Article #2050Character width in pixels
From: Renald Yazmir
Date: Wed, 25 Apr 2007 15:37
Date: Wed, 25 Apr 2007 15:37
25 lines
1344 bytes
1344 bytes
Hello, Is it possible to set font that all characters have the same width in pixels? Currently with my settings all digits are 5 pixels, space and period are 4 pixels. I am using GetTextExtentPoint32(..) to determine character width in pixels. What parameter in LOGFONT needs to be set? Any examples? Thank you Rony
Technical Details
Message-ID:
<462f6798$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7b004aa1f1c5a3e9,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Renald Yazmir" <renald@partmaker.com> From: "Renald Yazmir" <renald@partmaker.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Character width in pixels Date: Wed, 25 Apr 2007 10:37:06 -0500 Lines: 29 Organization: IMCS Inc X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 66.106.28.123 Message-ID: <462f6798$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1177511832 66.106.28.123 (25 Apr 2007 07:37:12 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail