old-mil-sym-java icon indicating copy to clipboard operation
old-mil-sym-java copied to clipboard

Can't change the outline width of a Unit Symbol frame

Open nebsar opened this issue 1 year ago • 3 comments

Although I set RendererSettings.getInstance().setSinglePointSymbolOutlineWidth(1); The outline of the symbol frame does not change. Is there any other way to do this?

Image

nebsar avatar Nov 11 '25 18:11 nebsar

There currently is not a way to change the frame width. The outline width is referring to an optional white outline for single point control measures so that they don't get lost on the map:

Image

michael-spinelli avatar Nov 12 '25 21:11 michael-spinelli

How about inside the source code? Is there a method that I can change to set the frame line width?

nebsar avatar Nov 14 '25 23:11 nebsar

The 2525C version of the renderer uses font files for drawing units. There's no changing the frame size on the fly. You'd have to manually edit the frames in the UnitFont.ttf file. https://github.com/missioncommand/old-mil-sym-java/tree/master/core/JavaRendererUtils/src/main/resources/FONTS

michael-spinelli avatar Nov 17 '25 14:11 michael-spinelli