On Tue, 2006-08-15 at 05:08 -0700, Phil Race wrote:
>
> Peter B. West wrote On 08/15/06 04:29,:
>
> >What's the situation with kerning?
> >
> >Can I assume that kerning is not supported on Type1 fonts? If so, are
> >there any plans to enable the reading of afm files associated with Type1
> >fonts to obtains kerning data?
> >
> >
>
> Not supported and there are no plans.
>
> >Even with truetype fonts, I don't seem to get any result from setting
> >the KERNING attribute to KERNING_ON. I've tried generating
> >AttributedStrings using both FONT_FAMILY, etc, and using an instance of
> >FONT. No difference. Is there a secret?
> >
> >
>
> It should work, assuming you are letting JDK do the layout. I know you
> were using
> GlyphVector. 'Font.layoutGlyphVector' should apply the kerning but
> createGlyphVector()
> doesn't process the text and just assigns default advances so maybe
> that's your problem?
>

Phil,

I ran some quick tests using a LineBreakMeasurer and TextLayout. Text
was "New wave away WAVE AWAY", which should show some variation. The
advance of the layout did not vary.  I'll have a look at the
GlyphVectors.

Peter

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to