spatialillusions / milsymbol

Military Symbols in JavaScript
www.spatialillusions.com/milsymbol
MIT License
544 stars 133 forks source link

Inconsistent label sizes for some point symbols #230

Closed dehmer closed 4 years ago

dehmer commented 4 years ago

Is it on purpose that some point symbols have different font sizes for unique designation (T), 'XXX' in the examples below?

Screen Shot 2019-09-16 at 15 48 45

I know there are examples in MIL-STD-2525C which suggest this label to be bigger sometimes, but I believe that's just mild carelessness of the spec.

Screen Shot 2019-09-16 at 15 44 55

Either there is a reason for that or I would like to have the same font size for modifiers around symbols. Preferably the smaller/default size like in 'G*SPPSZ---****X'.

spatialillusions commented 4 years ago

This is a bit tricky. Like you say this was done in this way because it looked that way in 2525C, and I liked the look of it, and then they way that they show it in 2525D is quite ugly. I can double check with the SSMC what they think. It is possible to change this with a custom label function, just replace https://github.com/spatialillusions/milsymbol/blob/master/src/numbersidc/labels/tactical-points.js. I will keep it they way it is for now, and then I'm going to keep this in mind for the next major of milsymbol.