I'm coming in late to this and with little research, but if I recall correctly, most printed books today have 2 'yud's' instead of H's name for this very reason.
2 exceptions I'm aware of is the tikun, and the shai lamoira Chumash. In the latter, you'll notice that the right leg of the second hey is detached from its roof whenever it appears on H's name.