Iâm going to go out on a limb and give the best answer I can from my own typographical knowledge, in the hopes that if Iâm wrong, my being wrong will invoke whatever that Internet law is that says that the fastest way to get a right answer to a question is to post a wrong answer. :-)
To the best of my knowledge, the only way to get the effect you want is to use a font that already has those characters crossed/slashed.
The reason for this is simple: those added strokes donât have any function for the meaning of the character. They exist only to clarify the identity of the character. So they donât exist as a separate character.
There are a number of âcombiningâ glyphs defined in Unicode, almost all of them being linguistic accents of some kind (in Latin script and its analogues, like Cyrillicâscripts not related to the Latin alphabet often have many more kinds of combining glyphs, and Korean Hangul script is made up almost entirely of combining glyphs). They change the pronunciation of the character in particular languages, and can be switched in and out automatically by software.
But these added strokes youâre looking for donât change anything about the meaning of the character. All they do is reduce ambiguity as to which character it is. A zero with a slash means exactly the same thing as a zero without one. So I honestly donât believe Unicode even has combining or stand-alone glyphs defined for those slashed characters separate from the ânormalâ versions.
That said, there are a large number of fonts available out there with slashed zeroes. Slashed sevens and Zs are less commonâthose tend to be considered a âEuropean affectationâ (as one of my high school English teachers put it), though I, like you, habitually cross them in handwriting, and for the exact same reason. I canât, off the top of my head, think of a single font, other than âhandwrittenâ-style fonts, that slashes those characters.
Your best bet is a monospaced font designed for coders. Those are typically crafted in such a way as to eliminate ambiguity between characters, because mixing them up when coding is very bad mojo. So even without the slashes in sevens and Zs, they would be clearly distinct from ones and twos. (Also helps with the bugaboo of many modern sans serif faces: identical lowercase 'Lâs and capital 'iâs.)
There are several to choose from. Iâm kind of partial to Microsoftâs Consolas, in part because itâs easy to get. Itâs bundled with Windows, Microsoft Office/365, and the MS Office Viewer apps, and Bare Bones has licensed it directly from Ascender (the same type foundry Microsoft licenses it from) for BBEdit. Thereâs also an open source version called Inconsolata, available from Google Fonts. I donât recommend using the current version of Appleâs Monaco, because the lowercase 'aâs arenât strongly distinct enough from lowercase 'oâs for my tastes. (Single-story sans-serif lowercase 'aâs are frequently hard to distinguish from lowercase 'oâs.)
Okay, Internet, now prove me wrong! :-D