I have used Sharpies for windshield gaskets many times and have had no problem with the ink smearing. After I have applied the ink, I set the parts aside for a couple of days before I install the glass. I sometimes sand the edges of the glass before applying the ink (to remove excess flash and sprue attachment points). You might try that and see if it helps.