drawshield / Drawshield-Code

PHP code to create SVG shield images from Blazons, as used on drawshield.net
https://drawshield.net
GNU General Public License v3.0
50 stars 17 forks source link

!todo X between Y spacing is off #173

Open karlwilcox opened 3 years ago

karlwilcox commented 3 years ago

!todo X between Y spacing is off !draw quarterly 1st & 4th gules a fleur de lis argent between three annulets or, 2nd & 3rd vert

ericscheid commented 3 years ago

The top quadrants has bottom betweener too low (or the betweenee charge needs to be shrunk for it to fit).

There is about 160px between the upper and lower annulets .. in both qtrs 1 and 4. Thus, the spacing in Q1 is figured based on the height of the lower quarters. Reblazoning with distinct quarters (i.e. 1st [...], 2nd & 3rd [...] 4th [...] makes no difference — so it's not the syntax of 1st & 4th confusing matters.

The bottom quadrant has the betweenee charge drawn larger, probably to fit the taller space ... which is unfortunate as the betweeners haven't been repositioned.

The fleur de lys in Q4 being larger is a known \<ahem> behaviour, and IIRC the sizing algo is due for a nudge/tweak. So the real issue here is mainly just the Q1/Q2 positioning for between 3 X.

image

ericscheid commented 3 years ago

Testing between 4 X is also interesting...

Note how the sizes of 3 and 4 annulets are the same, but the between 4 has the bottom 2 higher.

quarterly 
1st or a fleur de lis gules between 3 annulets sa, 
2nd arg a fleur de lis vert between 4 annulets sa
3rd arg, a fleur de lis azure between 5 annulets sa, 
4th or 3 annulets sa

image