Nastaliq practice sheets, measured to the pen.
A generator for printable Persian calligraphy practice sheets, where the pen-nib width you choose is exactly what lands on paper, verified at 600 dpi.

Calligraphy students practise by tracing. The sheet only helps if the letters are drawn at the size of the student's actual pen.
Mashq measures each typeface's stroke and sizes the text so the nib width on paper matches the one requested. A reference ruler on every sheet shows whether the printer scaled it.
Mashq makes printable A4 practice sheets for Persian Nastaliq calligraphy. You choose the width of your pen, and the letters are sized so that stroke is exactly that wide on paper.
The font is measured, not trusted.
Pick the width of your qalam in half-millimetre steps and the sheet is drawn for it.
The app renders a noon and measures the flat of its bowl, the stroke a full-width pen lays down.
The stroke ratio is measured when the app starts, so a new font is calibrated without any manual numbers.
Sheets were rendered at 600 dpi and measured, landing within 0.04 mm of the requested pen width.
Every control is a calligraphy decision.
Type up to 200 characters to repeat across the sheet.
All rows faint for tracing, a solid model row with faint rows below, or every row solid.
Set the faint rows anywhere from a 3 percent whisper to full black.
Rows are spaced as a multiple of the writing's own height, where 1.0 means rows just touch.
Sets the smallest space between copies, which then widens evenly to fill the row.
Choose a margin from 5 to 40 mm on the A4 page.
Optional thin rules under each row to write along.
Keep the reference ruler at the foot of the page or drop it for a cleaner sheet.
Nastaliq overhangs its own boxes, so layout follows the ink.
The text is shaped exactly as it prints, then as many repetitions and rows as the page holds are laid out.
Spare space is shared between repetitions so each row meets both side margins.
The writing sits the same distance from the right, top and left edges at any pen size.
Row height follows the text being practised, so a short letter is not lost in empty space.
When only one repetition fits on a row, it is centred instead of pushed to one side.
If the text is wider than the page, the app says so and suggests a smaller pen or margin.
The preview is a picture of the actual PDF.
The first page redraws a moment after any change, with older requests cancelled.
Shows rows, repetitions per row, font size and row height in millimetres.
If the printed line is not 50 mm long, the printer scaled the page and the pen width is off.
The A4 PDF is named after the text, pen width and font, ready to print at 100 percent.
The whole app is written in Persian and laid out right to left.
Slider readouts show Persian digits and decimal marks.
Below tablet width the controls and preview stack into one column.
The Nastaliq typeface stays on the server, and only the letters used are embedded in each PDF.