Problem with Font.createGlyphVector(frc, String)



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.
.



Relevant Pages

  • Re: API - how to unhide all sketches of an assembly in drawing views
    ... Dim strFullSketcName As String ... swApp.SendMsgToUser ("Document is not drawing") ... Exit Sub ... Set oView = oDrwDoc.GetFirstView 'first view is the drwing sheet sketch ...
    (comp.cad.solidworks)
  • Re: Check If Drawing Page Is Loaded
    ... Try cycling through the drawing pages and doing a GraphicsRedraw2 call ... The problem is that the PDF sometimes has empty views. ... String, ByVal lpParameters As String, ByVal lpDirectory As String, ... Exit Sub ...
    (comp.cad.solidworks)
  • Check If Drawing Page Is Loaded
    ... It saves a PDF of a Solidworks drawing on our network ... The problem is that the PDF sometimes has empty views. ... String, ByVal lpParameters As String, ByVal lpDirectory As String, ... Exit Sub ...
    (comp.cad.solidworks)
  • Re: Next Issue?!
    ... Optional IsLastDwg As Boolean = False) As String ... 'Create an alphanumerically incremented drawing number for the ... Dim iCtr As Integer ... that it would create a new entry in that table at the next logical issue. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Adding an Edge to Text
    ... A simple shadow effect can be achieved by drawing the string offset horizontally and vertically beneath the text, ... In these cases you may wish to opt for the GDI path technique instead; open a path bracket on the target DC and draw your text to ...
    (microsoft.public.vb.winapi.graphics)