sun.font.StandardGlyphVector.setGlyphTransform no implemented exception
Brought to you by:
jfrijters
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.
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.
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
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.