From: David Lowndes on
>> A great interview here:
>> http://channel9.msdn.com/posts/scobleizer/Cleartype-Team-Typography-in-
>> Windows-Vista/
>
>I'll get back to this when I have more time - it seems to be starting rather
>slowly.

It's always fun seeing Bill Hill in one of those, but I didn't think
it was relevant to your question here.

Dave
From: Jerry Coffin on
In article <#XSpQqrvKHA.4552(a)TK2MSFTNGP04.phx.gbl>, dave(a)musical-dot-
demon-dot-co.uk says...
>
> A quick test has revealed that my MFC app is ignoring kerning pairs when
> drawing text on its CView.
>
> Delving into the help system, I can't (thus far) find any mention of
> kerning.
>
> Is there something I have to do with one or more of CFont, DrawText(),
> TextOut(), ExtTextOut() in order for text to respect the kerning pairs
> defined in a TrueType font?

I'd take a look at the Uniscribe functions. Kerning is simply a minor
improvement in appearance for most western European languages, for
for some others (e.g., Arabic scripts, if I'm not mistaken) it's
pretty much an absolute necessity. To support them well at all, I'm
pretty sure Uniscribe most include kerning support. Unless it was
designed by the same people who designed Visual Studio, it'll
probably do kerning for English and such as well.

--
Later,
Jerry.
From: Mihai N. on
> I could live with that on the screen, (though this stuff isn't *that*
> fancy)
> but my WYSIWYG document prints exactly as it appears in the window - with
> no kerning.
>
> Is it not possible to *print* with kerning.

The fonts also needs to have kerning information.
Just tried DrawText on Windows 7 and there is kerning
(Arial does not seem to have kerning info, Times New Roman does.)

--
Mihai Nita [Microsoft MVP, Visual C++]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email

From: David Webber on
"Mihai N." <nmihai_year_2000(a)yahoo.com> wrote in message
news:Xns9D37154102DA4MihaiN(a)207.46.248.16...

>> I could live with that on the screen, (though this stuff isn't *that*
>> fancy)
>> but my WYSIWYG document prints exactly as it appears in the window - with
>> no kerning.
>>
>> Is it not possible to *print* with kerning.
>
> The fonts also needs to have kerning information.
> Just tried DrawText on Windows 7 and there is kerning
> (Arial does not seem to have kerning info, Times New Roman does.)

Thanks - I'll experiment further.

For years I have been designing an maintaining symbol fonts (currently with
High Logic Font Creator - an excellent program) for which kerning is not an
issue.

Recently I designed a text font, and my wife is currently patiently going
through it putting in the kerning information. We can see it fine in Word
(if we switch he option on) - so it's definitely there :-) but not in the
text output of my program (testing on Vista).

Can you tell me what "precision" parameter you used in the LOGFONT or
CreateFont?

Dave
--
David Webber
Mozart Music Software
http://www.mozart.co.uk
For discussion and support see
http://www.mozart.co.uk/mozartists/mailinglist.htm

From: David Webber on


"Jerry Coffin" <jerryvcoffin(a)yahoo.com> wrote in message
news:MPG.260067e6ad693f2c98984a(a)news.sunsite.dk...

> I'd take a look at the Uniscribe functions. Kerning is simply a minor
> improvement in appearance for most western European languages, for
> for some others (e.g., Arabic scripts, if I'm not mistaken) it's
> pretty much an absolute necessity. To support them well at all, I'm
> pretty sure Uniscribe most include kerning support. Unless it was
> designed by the same people who designed Visual Studio, it'll
> probably do kerning for English and such as well.

Thanks for this idea.

I looked into Uniscribe some while back and it looked complicated. :-(

But kerning tables are pretty bog standard these days in truetype fonts, and
therefore the truetype font engine must surely know about them. And if
that's the case it would seem logical that the bottom level Windows API with
HFONTs should be able to use kerning. And if they can then the layers on
top (like CFont) should automatically be able to use it.

Mihai's latest post seems to indicate it works on Windows 7 at least, so
maybe I'm just doing something wrong.

(And in any case the distinction between Latin and Arabic scripts is now
essentially gone: the characters are just there at the appropriate Unicode
code points in the font, and it would therefore seem odd if text output
respected kerning in one area of the font but not another.)

Still puzzling it out,

Dave
--
David Webber
Mozart Music Software
http://www.mozart.co.uk
For discussion and support see
http://www.mozart.co.uk/mozartists/mailinglist.htm