انتقل إلى المحتوى الرئيسي
الوصفة رقم 161

دليل الوصفات · الفصل 12 · الكتب المدرسية

كراسة خط بعشرة خطوط مدرسية

كراسة أولى لتعلّم الكتابة بكل لغة من لغات الموقع: الخط المدرسي لكل بلد على تسطير دفاتره، ونموذج، وحروف منقّطة للتتبّع، وأسطر فارغة.

في هذه الصفحة
المُخرَج
Canvas · PDF
المستوى
متوسط
Postext
اختُبرت مع Postext 1.65.0
تتطلب ≥ 1.65.0 · postext-pdf ≥ 1.65.0
الترخيص
حُدّثت في 31 أكتوبر 2026
الشيفرة MIT · النص CC BY 4.0

ص ١ · 1 من 12

  • مقاس القص 210 × 297 مم
  • عمود واحد
  • Noto Naskh Arabic 14/25
  • Baloo Bhaijaan 2
  • Playpen Sans Arabic
  • 12 صفحة
  • المستوى
  • Postext 1.65.0
  • أُخرجت في 112 ms
  • أسطر الشيفرة: 300

باختصار

كراسة خط للأطفال صُنعت عشر مرات، مرة لكل لغة. كل درس يعرض كلمة مكتوبة، ثم منقّطة ليمرّ عليها الطفل بقلمه، ثم أسطرًا فارغة، بالحروف المتصلة والورق المسطّر الذي تستعمله مدارس كل بلد.

ما الذي ستنضده

اثنتا عشرة صفحة من كراسة خط للصف الأول بقياس A4، في عشر طبعات هي عشر كراسات مختلفة. لكل لغة الخط المتصل الذي تعلّمه مدارسها، من عائلات Playwrite من Google ‏(GB J وES وFR Trad وDE VA وIT Trad وBR) أو من Playpen Sans Arabic، على الورق الذي يكتب عليه أطفالها: الـpauta الإسبانية، ومربعات Seyès الفرنسية بهامشها الأحمر، والـLineatur الألمانية بشريطها الأوسط الأصفر، وأسطر caligrafia البرازيلية. تكتب الطبعة الصينية في مربعات 田字格 يتتبّع فيها الأطفال حروفًا بلون أحمر باهت (描红)، مع البينيين على أربعة خطوط؛ وتكتب اليابانية في مربعات マス يقطعها صليب منقّط، والتتبّع فيها بالرمادي (なぞり書き). وتتبع الدروس إملاء كل لغة: حرف ñ والـh الصامتة في الإسبانية، والـl·l في الكتالونية، وحرف ß والأسماء التي تبدأ بحرف كبير في الألمانية، والأدوات は وを وへ في اليابانية، والأشكال الأربعة للحرف والحروف التي لا تتصل بما بعدها في العربية. ينتقل كل سطر من النموذج إلى النقاط ثم إلى الفراغ. وتشترك الطبعات كلها في تسع وعشرين لوحة مولّدة بنموذج انتشار.

تجيب هذه الوصفة عن

  • كيف أصنع كرّاسة خط: نموذج، ثم حروف منقّطة للتتبّع، ثم أسطر فارغة، على تسطير المدرسة في كل بلد؟
  • كيف أبني صفحة ورقة عمل: أسطر للتعبئة، وإطارات إجابات، وبنوك كلمات، وقوائم تحقق؟

الجواب المختصر

script.js · الأسطر 70–93في الشيفرة الكاملة
// :::callout{type="palabra" title="Repasa y escribe"} / niña / ::: draws four rows: the model
// and copies, a row of copies, the model and a copy, an empty row, all of them the box's word
// ({boxText}); a copy has `dotted`, `repeat` fills its row. A design text's baseline falls 0.8
// of its line below its top; a tall line keeps the descenders inside its clip.
const G = CJK ? null : geometry(ED.ruling, ED.u); // rows, baselines and the face's size
const [LABEL_H, GAP] = [7, 3 * ED.u]; // mm: the box's title above its ruling; between copies
const hand = (id, placement, extra) => text(id, '{boxText}', HAND, G.size / 0.3528, placement,
  { lineHeight: mm(G.line), overflow: 'clip', ...extra });
const dots = (many) => ({ color: col('dots'), dotted: { spacing: mm(0.2 * ED.u),
  size: mm(0.11 * ED.u) }, ...(many && { repeat: { gap: mm(GAP) } }) });
const onRow = (n, size) => at('container', 'top-left', 0, G.base[n] - 0.8 * G.line, size);
const model = (n) => hand(`model-${n}`, onRow(n));
// Copies after the model of row n (as many as fit, or one), or from the row's start.
const after = (n, many) => hand(`after-${n}`, { anchor: { to: `#model-${n}`,
  edge: 'right-of' }, offset: { x: mm(GAP) } }, dots(many));
const copies = (n, many) => hand(`copies-${n}`, onRow(n, { width: 'fill' }), dots(many));
const ruled = (rows, picture, texts) => ({ setsContent: true, minHeight: mm(G.height(rows)),
  slot: { elements: [image('ruling', picture, at('container', 'top-left', 0, 0,
    box(W, G.height(rows)))), ...texts] } });
// Every practice box: no frame, its title in the label face LABEL_H above the drawing.
const practice = (id, design, gap = mm(4)) => ({ id, design, backgroundEnabled: false,
  padding: { top: pt(0), right: pt(0), bottom: pt(0), left: pt(0) }, titleStyle: {
    fontFamily: LABEL, fontSize: pt(9), fontWeight: LW, color: col('accent'), lineHeight: mm(5),
    gap: mm(LABEL_H - 5), ...caps(1.2) }, marginTop: gap, marginBottom: mm(5), snapToGrid: false });

المكونات

الميزات
صفحات افتتاح مصمَّمةإطارات التنبيهحروف منقّطة للتتبّعالصور في تصاميم الصفحةسمات العنوانأنماط العناوينالأغلفة وصفحات العنوان وبيانات النشرالنصوص والخطوط والمربعات في تصاميم الصفحةالشارات داخل السطرلوحة ألوان دلاليةتقسيم الكلمات ولغة المستندالترويسات بحسب دور الصفحةهوامش متناظرةالخطوط العربيةالخطوط الصينية واليابانية والكوريةكتب مجلّدة من اليمينالنص من اليمين إلى اليسارالكانا والكانجي والروماجيصفحات على اللوحة (Canvas)التصدير إلى PDF
الخطوط
Andika, Lexend, Playwrite GB J, Playwrite ES, Playwrite FR Trad, Playwrite DE VA, Playwrite IT Trad, Playwrite BR, LXGW WenKai TC, Noto Serif SC, Noto Sans SC, Klee One, Zen Maru Gothic, Playpen Sans Arabic, Noto Naskh Arabic, Baloo Bhaijaan 2 (SIL OFL 1.1)
الأصول
  • apple-480.jpg
  • bee-480.jpg
  • bird-480.jpg
  • boat-480.jpg
  • butterfly-480.jpg
  • cake-480.jpg
  • cat-480.jpg
  • cover-1600.jpg
  • dog-480.jpg
  • duck-480.jpg
  • fire-480.jpg
  • fish-480.jpg
  • flower-480.jpg
  • grip-480.jpg
  • house-480.jpg
  • icecream-480.jpg
  • key-480.jpg
  • kite-480.jpg
  • medal-480.jpg
  • moon-480.jpg
  • mountain-480.jpg
  • owl-480.jpg
  • penguin-480.jpg
  • shoe-480.jpg
  • spider-480.jpg
  • sun-480.jpg
  • tree-480.jpg
  • umbrella-480.jpg
  • water-480.jpg
  • Two children writing in notebooks at a school table, a cat asleep on a chair beside them. (Generated With Diffusion Models, أصلي)
  • A smiling sun. (Generated With Diffusion Models, أصلي)
  • A crescent moon with three stars. (Generated With Diffusion Models, أصلي)
  • A ginger cat sitting. (Generated With Diffusion Models, أصلي)
  • A brown and white puppy. (Generated With Diffusion Models, أصلي)
  • An orange fish with blue stripes. (Generated With Diffusion Models, أصلي)
  • A honey bee flying. (Generated With Diffusion Models, أصلي)
  • A little black spider on a thread. (Generated With Diffusion Models, أصلي)
  • A red apple. (Generated With Diffusion Models, أصلي)
  • A golden key. (Generated With Diffusion Models, أصلي)
  • A red child's shoe. (Generated With Diffusion Models, أصلي)
  • A small house with a red roof. (Generated With Diffusion Models, أصلي)
  • A small sailing boat. (Generated With Diffusion Models, أصلي)
  • A yellow duckling. (Generated With Diffusion Models, أصلي)
  • A colourful kite. (Generated With Diffusion Models, أصلي)
  • A birthday cake with three candles. (Generated With Diffusion Models, أصلي)
  • A penguin. (Generated With Diffusion Models, أصلي)
  • An owl on a branch. (Generated With Diffusion Models, أصلي)
  • A red umbrella in the rain. (Generated With Diffusion Models, أصلي)
  • An ice-cream cone with two scoops. (Generated With Diffusion Models, أصلي)
  • A blue and orange butterfly. (Generated With Diffusion Models, أصلي)
  • A leafy tree. (Generated With Diffusion Models, أصلي)
  • A snowy mountain. (Generated With Diffusion Models, أصلي)
  • A daisy. (Generated With Diffusion Models, أصلي)
  • A small blue bird on a twig. (Generated With Diffusion Models, أصلي)
  • Splashing water. (Generated With Diffusion Models, أصلي)
  • A small campfire. (Generated With Diffusion Models, أصلي)
  • A child's hand holding a pencil with the tripod grip. (Generated With Diffusion Models, أصلي)
  • A golden star medal with coloured pencils. (Generated With Diffusion Models, أصلي)

طريقة التحضير

#1 · أعطِ كل طبعة خطها المدرسي وورقها

script.js · الأسطر 30–54في الشيفرة الكاملة
// hand: the school model the children copy; ruling: the paper they copy it on; u: its
// x-height in mm (the height of an a), the unit every ruling is drawn in; rise: the room its
// capitals need above a title. The Chinese text is in Song: the Kai face, cut for Hong Kong
// and Taiwan, centres its commas, so it sets only the titles and the squares.
const EDITIONS = {
  en: { hand: 'Playwrite GB J', ruling: 'gb', u: 3.6 },
  es: { hand: 'Playwrite ES', ruling: 'pauta', u: 3.6 },
  ca: { hand: 'Playwrite ES', ruling: 'pauta', u: 3.6 },
  fr: { hand: 'Playwrite FR Trad', ruling: 'seyes', u: 3, rise: 5 },
  de: { hand: 'Playwrite DE VA', ruling: 'lineatur', u: 3.6 },
  it: { hand: 'Playwrite IT Trad', ruling: 'righe', u: 3.6 },
  pt: { hand: 'Playwrite BR', ruling: 'caligrafia', u: 3.2 },
  zh: { hand: 'LXGW WenKai TC', ruling: 'tian', text: 'Noto Serif SC',
    label: 'Noto Sans SC', pinyin: 'Andika', cell: 16 },
  ja: { hand: 'Klee One', ruling: 'masu', text: 'Klee One', label: 'Zen Maru Gothic', cell: 16 },
  ar: { hand: 'Playpen Sans Arabic', ruling: 'satr', u: 3.6,
    text: 'Noto Naskh Arabic', label: 'Baloo Bhaijaan 2' },
};
const ED = { text: 'Andika', label: 'Lexend', rise: 0, ...EDITIONS[LANG] };
const [HAND, TEXT, LABEL] = [ED.hand, ED.text, ED.label];
const CJK = ED.cell !== undefined; // a grid of squares, one character to each
const RTL = LANG === 'ar';
const LW = CJK ? 700 : 600; // the labels' weight: the CJK label faces ship no 600
// Labels in tracked capitals, where the script has capitals.
const caps = (n) => (!CJK && !RTL ? { textTransform: 'uppercase', letterSpacing: pt(n) } : {});

الرمز u هو ارتفاع x بالمليمتر، وهو الوحدة التي يُرسم بها كل تسطير: 3.6 مم في أغلب الطبعات، و3 مم في الفرنسية، لأن المسافة بين خطوط Seyès تساوي ارتفاع x واحدًا. ترسم خطوط Playwrite كلها ارتفاع x عند نصف الـem، فيكون حجم النموذج u / 0.5، وتقع خطوط التسطير حيث تضع نسب الخط نفسه صواعده ونوازله. والنص الصيني منضّد بخط Song ‏(Noto Serif SC)، لأن LXGW WenKai TC يضع الفواصل في وسط المربع كما تُطبع في هونغ كونغ وتايوان، فلا يُستعمل خط Kai إلا للعناوين والمربعات.

#2 · ضع النموذج على التسطير نصًّا حيًّا

script.js · الأسطر 70–93في الشيفرة الكاملة
// :::callout{type="palabra" title="Repasa y escribe"} / niña / ::: draws four rows: the model
// and copies, a row of copies, the model and a copy, an empty row, all of them the box's word
// ({boxText}); a copy has `dotted`, `repeat` fills its row. A design text's baseline falls 0.8
// of its line below its top; a tall line keeps the descenders inside its clip.
const G = CJK ? null : geometry(ED.ruling, ED.u); // rows, baselines and the face's size
const [LABEL_H, GAP] = [7, 3 * ED.u]; // mm: the box's title above its ruling; between copies
const hand = (id, placement, extra) => text(id, '{boxText}', HAND, G.size / 0.3528, placement,
  { lineHeight: mm(G.line), overflow: 'clip', ...extra });
const dots = (many) => ({ color: col('dots'), dotted: { spacing: mm(0.2 * ED.u),
  size: mm(0.11 * ED.u) }, ...(many && { repeat: { gap: mm(GAP) } }) });
const onRow = (n, size) => at('container', 'top-left', 0, G.base[n] - 0.8 * G.line, size);
const model = (n) => hand(`model-${n}`, onRow(n));
// Copies after the model of row n (as many as fit, or one), or from the row's start.
const after = (n, many) => hand(`after-${n}`, { anchor: { to: `#model-${n}`,
  edge: 'right-of' }, offset: { x: mm(GAP) } }, dots(many));
const copies = (n, many) => hand(`copies-${n}`, onRow(n, { width: 'fill' }), dots(many));
const ruled = (rows, picture, texts) => ({ setsContent: true, minHeight: mm(G.height(rows)),
  slot: { elements: [image('ruling', picture, at('container', 'top-left', 0, 0,
    box(W, G.height(rows)))), ...texts] } });
// Every practice box: no frame, its title in the label face LABEL_H above the drawing.
const practice = (id, design, gap = mm(4)) => ({ id, design, backgroundEnabled: false,
  padding: { top: pt(0), right: pt(0), bottom: pt(0), left: pt(0) }, titleStyle: {
    fontFamily: LABEL, fontSize: pt(9), fontWeight: LW, color: col('accent'), lineHeight: mm(5),
    gap: mm(LABEL_H - 5), ...caps(1.2) }, marginTop: gap, marginBottom: mm(5), snapToGrid: false });

سطر التمرين إطار، والكلمة المراد التمرّن عليها هي محتواه: :::callout{type="palabra" title="تَتَبَّعْ وَاكْتُبْ"}، ثم بَيْت على سطر وحدها، ثم :::. وتشترك أسطر الشكل الواحد كلها في نمط إطار واحد، ولا تختلف إلا في كلماتها. يرسم design النمط التسطيرَ صورةً، ويضع فوقها الكلمة نصًّا بالخط المدرسي عبر {boxText}، في النموذج ونسخه على السواء؛ ويمنع setsContent الإطار من تنضيد محتواه مرة ثانية تحت الرسم. يقع خط أساس نص التصميم عند 0.8 من ارتفاع سطره تحت أعلى صندوقه، لذلك يوضع صندوق النموذج فوق خط أساس سطر الكتابة بمقدار 0.8 من ارتفاع سطره، فتقف الحروف على الخط الذي يرسمه التسطير. وارتفاع السطر عشرة أضعاف ارتفاع x، حتى لا يُقصّ الصندوق إلا على بعد 2 u تحت خط الأساس، وهو عمق يتسع لذيل حرف g. ويصير عنوان الإطار تسميةً للسطر. أما العناوين فتُترك لمخطط الكتاب: للغلاف وحده عنوان من المستوى الأول، ولكل درس عنوان من المستوى الثاني، ويوقف sectionEnd: 'heading' في نمط الغلاف ترويساته الفارغة عند الدرس الأول.

#3 · اكتب النسخ نقاطًا

النسخة هي {boxText} نفسه مع dotted: يرسم المحرّك حروفها صفوفًا من النقاط على امتداد وسط كل خط، بين النقطة والأخرى 0.2 من ارتفاع x، ويترك التنضيد على حاله. وتتبع النقاط الخط كما يشكّله المتصفح، فتخرج وصلات الخط المدرسي وأشكال الكلمة العربية صحيحة، وتكون نقطة الـi أو علامة الحركة نقطة واحدة. ويعيد repeat كتابة الكلمة بعد نفسها مرات كاملة بقدر ما يتسع السطر، بين الواحدة والأخرى 3 u: فالنسخ بعد النموذج نص مثبّت إلى النموذج بـright-of، والسطر الكامل نص بعرض الإطار، والنسخة بعد النموذج الثاني هي النص نفسه بلا repeat. غيّر الكلمة في Markdown فتتغير معها كل النسخ ونقاطها.

#4 · تتبّع الحروف في مربعاتها

script.js · الأسطر 97–129في الشيفرة الكاملة
// :::callout{type="caracteres" title="写一写"} with one character per list item: each in the
// first square of its row, three copies to trace in the pale red (描红) or grey (なぞり書き) of
// the next squares, then empty ones. A Han or kana character is one em wide, so tracking of
// (square − em) sets one per square.
const [CELL, EM] = [ED.cell ?? 16, (ED.cell ?? 16) * 0.72]; // mm: the square, its character
const SQUARES = Math.floor(W / CELL);
const row = (n, y, content, x, color) => text(`r${n}-${x}`, content, HAND, EM / 0.3528,
  at('container', 'top-left', x * CELL + (CELL - EM) / 2, y + (CELL - EM) / 2 + EM * 0.06,
    box(W - x * CELL, EM)),
  { lineHeight: mm(EM), letterSpacing: mm(CELL - EM), overflow: 'clip', color: col(color) });
// A sentence (type="frase") takes three rows: written out, traced, and a row to write it alone.
const squareBlock = (rows, sentence) => ({ setsContent: true, minHeight: mm(rows * CELL),
  slot: { elements: [image('grid', `squares-${rows}`,
    at('container', 'top-left', 0, 0, box(SQUARES * CELL, rows * CELL))),
  ...(sentence ? [row(0, 0, '{boxText}', 0, 'ink'), row(1, CELL, '{boxText}', 0, 'trace')]
    : Array.from({ length: rows }, (_, n) => [
      row(n, n * CELL, `{boxText.${n + 1}}`, 0, 'ink'),
      row(n, n * CELL, `{boxText.${n + 1}}`.repeat(3), 1, 'trace'),
    ]).flat()),
  ] } });
// Pinyin on four lines and three spaces (四线三格), :::callout{type="pinyin"} / bā / ::: —
// the syllable, copies to trace in the pale red, the syllable again and room after it.
const P = ED.pinyin ? geometry('sixian', 3.6) : null;
const pinyin = (id, n, x, content, color) => text(id, content, ED.pinyin, P.size / 0.3528,
  at('container', 'top-left', x, P.base[n] - 0.8 * P.line, { width: mm(W - x) }),
  { lineHeight: mm(P.line), overflow: 'clip', color: col(color) });
const syllables = Array(5).fill('{boxText}').join('\u00a0\u00a0\u00a0\u00a0');
const pinyinBlock = P && { setsContent: true, minHeight: mm(P.height(3)),
  slot: { elements: [
    image('lines', 'sixian', at('container', 'top-left', 0, 0, box(W, P.height(3)))),
    pinyin('p1', 0, 0, '{boxText}', 'ink'), pinyin('p1-copies', 0, 36, syllables, 'trace'),
    pinyin('p2', 1, 0, syllables, 'trace'), pinyin('p3', 2, 0, '{boxText}', 'ink'),
  ] } };

عرض الحرف الصيني أو حرف الكانا em واحد، لذلك يضع تباعد حروف يساوي عرض المربع ناقصًا الـem حرفًا واحدًا في كل مربع، كما في الـ字帖. يحمل المربع الأول من السطر الحرف بالحبر، والمربعات الثلاثة التالية الحرف نفسه بالأحمر الباهت في 描红 (وبالرمادي في الطبعة اليابانية)، ويبقى الباقي فارغًا. ويسرد إطار السطر حروفه الأربعة عناصرَ قائمة، يقرؤها التصميم واحدًا بعد آخر بـ {boxText.1} إلى {boxText.4}. وتشغل الجملة (إطار frase) ثلاثة أسطر: مكتوبة، ثم متتبَّعة، ثم فارغة، ولكل علامة ترقيم مربعها. وتستعمل أسطر البينيين الصينية تسطير الخطوط الأربعة في الطبعات اللاتينية مع خط Andika، الذي يرسم حرفي a وg بالشكل البسيط الذي يتعلمه الأطفال.

#5 · لا تعكس شيئًا للعربية

تشترك الطبعة العربية مع غيرها في كل التصاميم. يعكس المحرّك التصميم حين يقع في تدفق صفحة من اليمين إلى اليسار، تصميمَ عنوان كان أو تصميمَ إطار، فينتقل قرص الحروف والنموذج ونسخه والصورة الأولى في القاموس إلى اليمين وحدها؛ ويبدأ النص المكرَّر من الجهة التي يبدأ منها اتجاهه. ولا يجري من اليمين إلى اليسار في الشيفرة إلا أمواج التسخين، لأنها مرسومة داخل صورة. ويجلّد locale: 'ar' الكتاب على اليمين.

الوصفة كاملة

Sandbox
// ═══ Postext Cookbook · Nº 161 · Handwriting workbook in ten scripts ═══════════════
// https://postext.dev/en/cookbook/handwriting-workbook
// Code: MIT · Text: original (CC BY 4.0) · Pictures: generated with diffusion models
// Fonts: Playwrite, Playpen Sans Arabic, Klee One and others (SIL OFL) · Needs postext ≥ 1.65.0
import {
  buildDocument, withLoadedFonts, renderPageToCanvas, registerResourceImage,
} from 'https://esm.sh/postext';
import { renderToPdf, decompressWoff2 } from 'https://esm.sh/postext-pdf';

const LANG = 'ar'; // @lang: the language of the workbook (en es ca fr de it pt zh ja ar)
const RECIPE = 'handwriting-workbook';

// ─── 1 · Design ─────────────────────────────────────────────────────────────
// #region palette: a navy ink, one coral accent, the sun and the pale fields of the bands
const palette = {
  ink: '#22304a', accent: '#bf4630', // text and models; kickers, labels, folios
  sun: '#f4b73f', tint: '#fdf0da', // the boxes' stripe; opener bands, boxes
  rule: '#7f9ccc', dots: '#4d5b76', // the ruling; the dotted letters
  trace: LANG === 'ja' ? '#b4bccb' : '#e7a9a0', // traced over: 描红 in red, なぞり書き in grey
  paper: '#ffffff',
};
const col = (id) => ({ hex: palette[id], model: 'hex', paletteId: id });
const colorPalette = [
  ...Object.entries(palette).map(([id, hex]) => ({ id, name: id, value: { hex, model: 'hex' } })),
  { id: 'main-color', name: 'accent (defaults)', value: { hex: palette.accent, model: 'hex' } },
];
// #endregion

// #region editions: each language its school's script, its ruling and its faces
// hand: the school model the children copy; ruling: the paper they copy it on; u: its
// x-height in mm (the height of an a), the unit every ruling is drawn in; rise: the room its
// capitals need above a title. The Chinese text is in Song: the Kai face, cut for Hong Kong
// and Taiwan, centres its commas, so it sets only the titles and the squares.
const EDITIONS = {
  en: { hand: 'Playwrite GB J', ruling: 'gb', u: 3.6 },
  es: { hand: 'Playwrite ES', ruling: 'pauta', u: 3.6 },
  ca: { hand: 'Playwrite ES', ruling: 'pauta', u: 3.6 },
  fr: { hand: 'Playwrite FR Trad', ruling: 'seyes', u: 3, rise: 5 },
  de: { hand: 'Playwrite DE VA', ruling: 'lineatur', u: 3.6 },
  it: { hand: 'Playwrite IT Trad', ruling: 'righe', u: 3.6 },
  pt: { hand: 'Playwrite BR', ruling: 'caligrafia', u: 3.2 },
  zh: { hand: 'LXGW WenKai TC', ruling: 'tian', text: 'Noto Serif SC',
    label: 'Noto Sans SC', pinyin: 'Andika', cell: 16 },
  ja: { hand: 'Klee One', ruling: 'masu', text: 'Klee One', label: 'Zen Maru Gothic', cell: 16 },
  ar: { hand: 'Playpen Sans Arabic', ruling: 'satr', u: 3.6,
    text: 'Noto Naskh Arabic', label: 'Baloo Bhaijaan 2' },
};
const ED = { text: 'Andika', label: 'Lexend', rise: 0, ...EDITIONS[LANG] };

يعمل ملف script.js المجمّع كما هو: الصقه في سكربت الوحدة (module) لأي صفحة، أو افتح الوصفة على CodePen. مجلد الوصفة على GitHub ↗ (يفتح في تبويب جديد)

تنويعات

#استعمل الخط المتصل الأمريكي

لـPlaywrite عائلة لكثير من النماذج المدرسية. للخط المتصل الأمريكي، غيّر خط الطبعة الإنجليزية، فتتبعه النقاط.

-  en: { hand: 'Playwrite GB J', ruling: 'gb', u: 3.6 },
+  en: { hand: 'Playwrite US Trad', ruling: 'gb', u: 3.6 },

#اكتب على خط من كل خطين في Seyès

كثيرًا ما يكتب الأطفال في أول المدرسة على خط سميك من كل خطين. أعطِ أسطر الطبعة الفرنسية خطوة من ثمانية خطوط.

-    seyes: { above: 4, below: 2, gap: -2, seyes: true }, // a row on every heavy line
+    seyes: { above: 4, below: 2, gap: 2, seyes: true },

أخطاء شائعة

  • يُقصّ نص التصميم عند حدود صندوقه. والصندوق الذي ارتفاعه سطر واحد يقطع ذيلي g وp في النموذج: أعطه سطرًا طويلًا وضعه انطلاقًا من خط الأساس.
  • يحمّل loadCjkFonts كل خط للعيّنة كلها، فإذا نقص خطًّا صينيًّا حرفٌ يستعمله النص في أي موضع فشل التحميل. اكتب أسماء الخطوط بالحروف اللاتينية في بيانات النشر.

الحقوق

الوصفة
Ignacio Ferro
النص
نص أصلي, CC BY 4.0
الصور
  • Two children writing in notebooks at a school table, a cat asleep on a chair beside them. · Generated With Diffusion Models · أصلي
  • A smiling sun. · Generated With Diffusion Models · أصلي
  • A crescent moon with three stars. · Generated With Diffusion Models · أصلي
  • A ginger cat sitting. · Generated With Diffusion Models · أصلي
  • A brown and white puppy. · Generated With Diffusion Models · أصلي
  • An orange fish with blue stripes. · Generated With Diffusion Models · أصلي
  • A honey bee flying. · Generated With Diffusion Models · أصلي
  • A little black spider on a thread. · Generated With Diffusion Models · أصلي
  • A red apple. · Generated With Diffusion Models · أصلي
  • A golden key. · Generated With Diffusion Models · أصلي
  • A red child's shoe. · Generated With Diffusion Models · أصلي
  • A small house with a red roof. · Generated With Diffusion Models · أصلي
  • A small sailing boat. · Generated With Diffusion Models · أصلي
  • A yellow duckling. · Generated With Diffusion Models · أصلي
  • A colourful kite. · Generated With Diffusion Models · أصلي
  • A birthday cake with three candles. · Generated With Diffusion Models · أصلي
  • A penguin. · Generated With Diffusion Models · أصلي
  • An owl on a branch. · Generated With Diffusion Models · أصلي
  • A red umbrella in the rain. · Generated With Diffusion Models · أصلي
  • An ice-cream cone with two scoops. · Generated With Diffusion Models · أصلي
  • A blue and orange butterfly. · Generated With Diffusion Models · أصلي
  • A leafy tree. · Generated With Diffusion Models · أصلي
  • A snowy mountain. · Generated With Diffusion Models · أصلي
  • A daisy. · Generated With Diffusion Models · أصلي
  • A small blue bird on a twig. · Generated With Diffusion Models · أصلي
  • Splashing water. · Generated With Diffusion Models · أصلي
  • A small campfire. · Generated With Diffusion Models · أصلي
  • A child's hand holding a pencil with the tripod grip. · Generated With Diffusion Models · أصلي
  • A golden star medal with coloured pencils. · Generated With Diffusion Models · أصلي
الخطوط
Andika (SIL OFL 1.1) · Lexend (SIL OFL 1.1) · Playwrite GB J (SIL OFL 1.1) · Playwrite ES (SIL OFL 1.1) · Playwrite FR Trad (SIL OFL 1.1) · Playwrite DE VA (SIL OFL 1.1) · Playwrite IT Trad (SIL OFL 1.1) · Playwrite BR (SIL OFL 1.1) · LXGW WenKai TC (SIL OFL 1.1) · Noto Serif SC (SIL OFL 1.1) · Noto Sans SC (SIL OFL 1.1) · Klee One (SIL OFL 1.1) · Zen Maru Gothic (SIL OFL 1.1) · Playpen Sans Arabic (SIL OFL 1.1) · Noto Naskh Arabic (SIL OFL 1.1) · Baloo Bhaijaan 2 (SIL OFL 1.1)
الشيفرة
MIT، مثل Postext
SandboxPDF