[JAVA2D] Type 1 font measurement

2006-10-24 Thread Peter B. West
We have noticed some oddity in the measurement of Type 1 fonts. Generally speaking, the logical bounds of characters in Type1 fonts seems to be slightly smaller than the width given in the AFM file for that font. As an example, I have used the luxirr.ttf serif font, converting it to a pfb file

Re: [JAVA2D] How do I animate a javax.swing.Icon?

2006-10-24 Thread java2d
Here's a class to handle it for you... http://rabbit-hole.blogspot.com/2006/09/animated-icon-redux.html [Message sent by forum member 'twalljava' (twalljava)] http://forums.java.net/jive/thread.jspa?messageID=166305 === To

Re: [JAVA2D] Type 1 font measurement

2006-10-24 Thread Phil Race
Well since we don't look at the AFM file ... -phil. Peter B. West wrote: We have noticed some oddity in the measurement of Type 1 fonts. Generally speaking, the logical bounds of characters in Type1 fonts seems to be slightly smaller than the width given in the AFM file for that font. As an