You could try doing it with an API call. Use glqhandles to get the drawing hdc (3rd element) and then do a cd call to SetTextCharacterExtra. If it works, great. If it doesn't, I'd rather not hear about it :)

----- Original Message ----- From: "bill lam" <[EMAIL PROTECTED]>
To: "Beta forum" <[email protected]>
Sent: Wednesday, August 09, 2006 10:06 AM
Subject: Re: [Jbeta] glqtextmetrics related


Eric Iverson wrote:
1. only glfont is required

thanks.

2. font stuff is always in points. You raise a good point about the
granularity, but this will not be addressed in 601.

3. I'm reluctant to add the Overhang member to the glqtextmetric result.
You should use glqextent in laying out text rather than trying to do
calcs with extra textmetrics info. I believe that if you did a glqextent on text with a normal and then a bold font you would in fact determine
the overhang value more acurately than is returned in textmetrics.

never mind, because glqextent can be used, only that it means glqtextmetrics
become less useful.

4. SetTextCharacterExtra won't be supported in 601. It may be considered
for future releases if there is a strong argument for its support.

Some fonts look unpleasant with default spacing. It will be nice to have this
feature because there is no workaround.

--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to