🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4530

Re: Problem about Text Metrics (tmInternalLeading)

#4530
From: Eyyub Volkan �ektimur
Date: Mon, 23 Jan 2006 09:22
26 lines
2009 bytes
i didn't used GetTextExtentPoint32. i used GetTextMetrics api to get text
metrics. and calculated text boundary with
tmAscent,tmInternalLeading,tmDescent values. Isn't GetOutlineTextMetrics
returns the same values with GetTextMetrics ? (except more info)

so, how can i get NEWTEXTMETRIC data ? i couldn't find a realated api
method...
-- 
________________________________________
Eyyub Volkan �ektimur
Proya Software & Trade Inc.
Head of Core Development Department
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:kr72t1lqf9lrur0iar1ob0kh4ftr56fn41@4ax.com...

> Have you looked at GetTextExtentPoint32() ?
> Maybe GetOutlineTextMetrics()
> <quote>
> An application can retrieve the physical dimensions of a TrueType font
> by calling the GetOutlineTextMetrics function. An application can
> retrieve the physical dimensions of any other font by calling the
> GetTextMetrics function.</quote>
>
> You might also be interested in the new members in NEWTEXTMETRIC.
>
>
Technical Details
Message-ID: <43d49f33$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!news.moat.net!pln-w!lotsanews.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43d0b85b$1@newsgroups.borland.com> <kr72t1lqf9lrur0iar1ob0kh4ftr56fn41@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4faceab9e12cf298
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: "Eyyub Volkan �ektimur" <evcektimur@prokon.com.tr>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43d0b85b$1@newsgroups.borland.com> <kr72t1lqf9lrur0iar1ob0kh4ftr56fn41@4ax.com>
Subject: Re: Problem about Text Metrics (tmInternalLeading)
Date: Mon, 23 Jan 2006 11:22:03 +0200
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 85.100.115.217
Message-ID: <43d49f33$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138007859 85.100.115.217 (23 Jan 2006 01:17:39 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!news.moat.net!pln-w!lotsanews.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail