Problem with Font.createGlyphVector(frc, String)
- From: "Orna Vel via JavaKB.com" <forum@xxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Apr 2005 19:28:04 GMT
Hello, I have the following problem:
I create a GlyphVector, and drawing this GlyphVector later.
It works fine with regular string, but if string starts from blanks,
they are disappear. It means, that if I have
String s = new String(" tex t");
the drawing appears to be "tex t". Blanks inside the string or at the end
of the string do not cause any problem.
Any thoughts?
Thank you.
P.S. I have found a very similar question oin this forum without an answer.
.
- Follow-Ups:
- Re: Problem with Font.createGlyphVector(frc, String)
- From: Orna Vel via JavaKB.com
- Re: Problem with Font.createGlyphVector(frc, String)
- Prev by Date: Re: Modal and non modal in same app
- Next by Date: Browser Drag and Drop
- Previous by thread: Scale font to fit width and height
- Next by thread: Re: Problem with Font.createGlyphVector(frc, String)
- Index(es):
Relevant Pages
|