Among the regulations of documents is to examine the vavs and zayins of the document, that they should not be crowded between the words, lest he forged and added a vav or a zayin; and they should not be spaced out, lest he erased one letter, such as a heh or a chet, and left one leg in the place of a vav. And regarding everything similar to this, they are meticulous and careful, and so too in every script and language. Therefore, the scribe must be careful in the writing of the document that its letters be similar to one another, and the script should be straight and equal in all its words, so that he does not space the letters from one another excessively, and let him not crowd the script excessively. And he should write equally throughout the entire document, so that it should not be in one place slightly crowded and in one place slightly spaced, for even though he could write the entire document with such crowding or such spacing, nevertheless, if there is a change in one place in the document more than in another place, it can lead to corruption, as he might add some letters in that space and it will not be noticeable, for it will be equal to the somewhat crowded words in the document [Sma]. Therefore, the witnesses are not permitted to sign until they examine all its letters thoroughly. And therefore, when a document comes before the dayan, he must examine all its letters and compare letter to letter, and if he sees in it any change, he shall not collect with it until he investigates the matter thoroughly. And anything that we can attribute to an erasure—that is, that the holder of the document erased this place—we attribute it so, and the document is invalid. And if it is necessary to coerce the holder of the document and penalize him so that he will confess, he should do so in order that the judgment should emerge in its truth. And even if the borrower did not plead, it is incumbent upon the dayan to see and supervise the document, and if he senses in it any doubt, he shall plead on his behalf. And some say that specifically when the holder of the document comes to extract from heirs or from purchasers, we plead on their behalf, as we hold that the beit din pleads for an heir and for a purchaser; but where he comes to extract from the borrower or from the seller and from the giver themselves, and they do not plead that there is a flaw in the document, we do not plead for them, and the beit din shows them the document, and when they do not sense it, the beit din also shall not plead for them. And these words apply when they admit to the entire act of the document, but if they deny certain things in the details of the document, even though they do not plead that a forgery was made in the document, since they deny some matter, the dayan is obligated to plead for them when he senses some forgery in the document, even according to this opinion [Shach]. And such is the primary rule in law.
מתקוני שטרות הוא להתבונן בווין וזיינין של השטר שלא יהיו דחוקים בין התיבות שמא זייף והוסיף ו' או ז' ולא יהיו מרוחקים שמא מחק אות אחת כגון ה' או ח' והניח רגלה אחת במקום ו' וכל כיוצא בזה מדקדקים ונזהרים בו וכן בכל כתב ולשון ולכן צריך הסופר ליזהר בכתיבת השטר שיהיו אותיותיו דומות זל"ז ויהי' הכתב מיושר ושוה בכל דבריו שלא ירחיק האותיות זמ"ז יותר מדאי ואל ידחוק הכתב יותר מדאי ויכתוב בשוה בכל השטר שלא יהי' במקום אחד דחוק מעט ובמקום אחד מרווח מעט אע"פ שדחק כזה או ריוח כזה יכול לכתוב הני מילי כל השטר אבל שתהא שינוי במקום אחד שבשטר יותר מבמקום אחר יכול לבא לידי קלקול שיוסיף איזה אותיות באותו ריוח ולא יהי' ניכר שהרי יהי' שוה לתיבות המדוחקים קצת שבשטר [סמ"ע] לפיכך אין העדים רשאים לחתום עד שידקדקו היטב בכל אותיותיו ולפיכך כשיבא שטר לפני הדיין צריך לעיין בכל אותיותיו ולדמות אות לאות ואם רואה בו שום שינוי לא יגבה בו עד שיבדוק הדבר היטב וכל דבר שנוכל לתלות במחק דהיינו שבעל השטר מחק מקום זה תלינן והשטר פסול ואם צריך לכוף בעל השטר ולייסרו כדי שיודה יעשה כדי שיצא הדין לאמיתו ואפילו לא טען הלוה על הדיין מוטל לראות ולהשגיח בהשטר ואם מרגיש בו שום פקפוק יטעון בעדו וי"א דדוקא כשבעה"ש בא להוציא מיורשים או מלקוחות טענינן בעדם דקיי"ל דב"ד טוענים ליורש וללוקח אבל היכא דאתי לאפוקי מלוה או ממוכר ומנותן גופייהו ואינם טוענים שיש ריעותא בשטר לא טענינן להו והב"ד מראים להם השטר וכשאינם מרגישים גם הב"ד לא יטענו בעדם והני מילי כשמודים לכל מעשה השטר אבל אם בפרטיות מהשטר מכחישים איזה דברים אע"ג שאינם טוענים שנעשה זיוף בשטר כיון שמכחישים באיזה דבר מחוייב הדיין לטעון בעדם כשמרגיש איזה זיוף בשטר אף לדעה זו [ש"ך] וכן עיקר לדינא: