Menu

#37 sun.font.StandardGlyphVector.setGlyphTransform no implemented exception

open
nobody
None
9
2016-10-17
2016-03-08
Bodo Probst
No

I'm trying to use https://github.com/missioncommand/mil-sym-java . Jar filed compiled without error/warning to use the assembly in .Net app.

1 Attachments

Discussion

  • Bodo Probst

    Bodo Probst - 2016-03-08

    Execution with:
    var sr = SECRenderer.getInstance();
    var param = new java.util.HashMap();
    param.put(MilStdAttributes.PixelSize, "50");
    param.put(MilStdAttributes.KeepUnitRatio, "true");
    PNGInfo pi = sr.getMilStdSymbolImage("SFGP------*", param);

    gives NotImplemented Exception at sun.font.StandardGlyphVector.setGlyphTransform.

     
  • Michel van Os

    Michel van Os - 2016-10-17

    I created an implementation for the setGlyphTransform in my Github fork of IKVM:
    Link to changed lines

    I haven't been able to test the code yet, because i am currently working on another issue in the BufferedImage class. Might be fixed soon.

     

    Last edit: Michel van Os 2016-10-17
    • Volker Berlin

      Volker Berlin - 2016-10-22

      I does not see the .NET part of the patch. How should this work? setGlyphTransform() is not implemented because Graphics.drawGlyphVector does not use it.

      The method setGlyphTransform() must produce data structures that can use in the NetGraphics.

       

Log in to post a comment.