Hi, Vipin
An escalation has been created to handle this issue at the request of the
GDI tech lead. You should receive a response in this newsgroup in the
first part of next week.
Thank you for choosing the MSDN Managed Newsgroups,
John Eikanger
Microsoft Developer Support
This posting is provided AS IS with no warranties, and confers no rights.
--------------------
| From: "vipin" <***@nospam.com>
| Subject: Re: msdn documentation OUTLINETEXTMETRICS clarification
| Date: Fri, 6 Aug 2004 17:55:17 +0530
| X-Tomcat-NG: microsoft.public.win32.programmer.gdi
|
| ofcourse I am talking of trutype/opentype fonts. I would like Microsoft to
| verify this probably from their proprietary code and tell what they mean
| exactly by them.whether there is a difference among them and whats the
| history behind the probable confusion.
|
| "Christoph Lindemann" <***@newsgroups.nospam> wrote in message
| news:#***@TK2MSFTNGP10.phx.gbl...
| > Hi Vipin,
| >
| > I think the MacAscender fields are only valid for TrueType and OpenType
| > fonts, not for bitmap or vector fonts. And for some kind of
crossplatform
| > help/whatever.
| > Are the fwdWinAscender and fwdMacAscender values different, if they bot
| > exist?
| > I would think they would be
| > fwdMacAscender == fwdWinAscender;
| > fwdMacDescender == - fwdWinDescender;
| >
| > /christoph
| >
| > "vipin" <***@nospam.com> wrote in message
| > news:***@tk2msftngp13.phx.gbl...
| > > Hello,
| > > You referred me back to the same point I referred "string
widths
| > and
| > > heights".
| > >
| > > I am not sure though , if you look at the DDK IFIMETRICS you would
see
| > > something like this:-
| > > fwdWinAscender and fwdMacAscender and documentation says nothing,
| also
| > > you have fTypoAscender.
| > >
| > > How can I see the variation between them if there exists simultanoeus
| > > members in the IFIMETRICS.
| > > Ofcourse sticking to fwdWinAscender is fine but I am not sure why the
| > win32
| > > msdn documentation mentions
| > > using otmMacAscent.
| > >
| > > so we see some redundancy:-
| > >
| > > win32 Outlinemetrics DDK IFIMETRICS
| > > otmMacAscent == fwdMacAscender / fTypoAscender
| > >
| > > Then my question is why two members fwdMacAscender , fTypoAscender.
| > >
| > >
| > > thanks
| > > vipin
| > >
| > > "Christoph Lindemann" <***@newsgroups.nospam> wrote in message
| > > news:#***@TK2MSFTNGP10.phx.gbl...
| > > > Hi Vipin,
| > > >
| > > > This might be due to the origin of the TrueType format. The TrueType
| > > format
| > > > is originally defined by Apple.
| > > >
| > > > And the following snip from the library might also be interesting:
| > > >
| > > > "The maximum ascent and descent are different from the typographic
| > ascent
| > > > and descent. In TrueType and OpenType fonts, the typographic ascent
| and
| > > > descent are typically the top of the f glyph and bottom of the g
| glyph.
| > An
| > > > application can retrieve the typographic ascender and descender for
a
| > **
| > > > TrueType or OpenType ** font by calling the GetOutlineTextMetrics
| > function
| > > > and checking the values in the otmMacAscent and otmMacDescent
members
| of
| > > the
| > > > OUTLINETEXTMETRIC structure."
| > > >
| > > > You can find more in the "String Widths and Heights" topic.
| > > >
| > > > Best regards,
| > > > Christoph
| > > >
| > > >
| > > > "vipin" <***@nospam.com> wrote in message
| > > > news:***@TK2MSFTNGP11.phx.gbl...
| > > > > Hi,
| > > > > GetOutlineTextMetrics(...)'s OUTLINETEXTMETRIC has
| > OtmMacAscent
| > > > and
| > > > > OtmAscent. But somehow msdn documentation emphasis on using
| > OtmMacAscent
| > > > and
| > > > > OtmMacDescent members. I am not sure what's the difference from
the
| > > other
| > > > > members, OtmAscent and OtmDescent.
| > > > >
| > > > > Documentation:-
| > > > > ms-help://MS.MSDNQTR.2002JAN.1033/gdi/fontext_56yb.htm
| > > > >
| > > > > Can I get clarity on this documentation here because I do some
text
| > > > analysis
| > > > > for precise placement
| > > > > on piece of paper?
| > > > >
| > > > > thanks
| > > > > vipin
| > > > >
| > > > >
| > > >
| > > >
| > >
| > >
| >
| >
|
|
|