In notation, create crescendo and diminuendo right next to each other
BUG - their ends are touching and blending into one continuous line
EXPECTED - there should be a visual offset for the start and end of a hairpin.
The upper stave is the current look, the lower stave an approximation how it should look like.
Probably the best way would be to add 1 px white/transparent padding to each end of a hairpin. That would create 2px breaks in cases such as this. The ppq position and ppq length of the hairpins would stay unchanged.
(The idea of making a hairpin shorter by some ratio of its length would not work because with too long hairpins, the white space could become too large and misleading. Also with too short hairpins, the white space could disappear.)