Перейти к основному содержанию
Рецепт номер 155

Рецепты · Глава 11 · Комиксы и манга

Страница Pepper&Carrot, леттеринг по тексту эпизода

Две страницы Pepper&Carrot (CC BY 4.0) по рисункам Давида Ревуа без слов и официальным переводам, каждое облачко набрано заново на десяти языках.

На этой странице
Вывод
Canvas · PDF
Postext
Проверено с Postext 1.65.0
Требуется ≥ 1.65.0 · postext-pdf ≥ 1.65.0
Лицензия
Обновлено 31 окт. 2026 г.
Код: MIT · Текст: CC BY 4.0

с. 2–3 из 3

  • Образец на английском: русского издания пока нет
  • Обрезной формат 210 × 297 мм
  • 1 колонка
  • Source Serif 4 10/15
  • Comic Neue
  • 3 страницы
  • Уровень
  • Postext 1.65.0
  • Свёрстано за 227 мс
  • Строк кода: 182

Коротко

Две страницы веб-комикса с открытой лицензией, собранные заново из рисунков автора без слов и из переводов, которые сделали читатели. Облачка на каждом языке рисуются заново.

Что получится

Страницы 5 и 6 эпизода 8 Pepper&Carrot, «Pepper's Birthday Party», Давида Ревуа: веб-комикса с открытой лицензией (CC BY 4.0) о юной ведьме и её коте. Ревуа публикует страницы без слов, а сообщество переводит текст на десятки языков. Здесь Postext собирает эти части заново: кадры вырезаны из страниц без текста, сетка страницы его собственная, а каждое облачко, крик, звукоподражание и название на книге заклинаний набраны движком с французского оригинала и официальных переводов на английский, испанский, каталанский, китайский, японский, арабский, португальский, немецкий и итальянский. Титульная страница несёт сведения об авторах, которых просит лицензия.

Рецепт отвечает на вопросы

  • Как заново сделать леттеринг комикса с открытой лицензией по его расшифровке?
  • Как заново сделать леттеринг комикса на другом языке?

Короткий ответ

script.js · строки 53–83в полном коде
// The Markdown is the episode's transcript turned into a script, one line per balloon:
//   :::page{split="29.9 / 49.3 / *"}        the page's three tiers, measured on his page
//   ::panel{art=e08p05-1}
//   pepper{shout break}: How could they do this to me ?!! To **me** !!!
//   monster: Monšters of Chaosāh àt your šeŗvice!
//   sfx{plate at="77.3% 14.4%" rotate=-11 skew=-8}: Incantations\
//     for Demons of\
//     CHAOSAH\
//     Vol .1                                 the book's title, a line per line of the cover
// The cast gives the demons Revoy's black balloons and a blackletter voice (its diacritics are
// his: the demons speak with an accent); 'plate' gilds the title on the book's cover.
const comics = {
  gutter: { horizontal: mm(5.4), vertical: mm(2.4) }, // his white gutters, measured
  panel: { borderWidth: pt(0), background: col('paper') }, // no frames: the art meets the white
  lettering: { fontFamily: LETTERING, fontSize: pt(10), color: col('ink'), inset: mm(2) },
  balloonStyles: [
    { id: 'speech', stroke: col('ink'), strokeWidth: pt(0.8) },
    { id: 'shout', stroke: col('ink'), strokeWidth: pt(1) },
    { id: 'caption', fill: col('paper'), stroke: col('ink') },
    { id: 'sfx', fontFamily: SFX, color: col('accent'), haloColor: col('paper') },
    { id: 'plate', shape: 'none', tail: 'none', fontFamily: PLATE, fontScale: 0.88,
      align: 'center', aspect: 3, color: col('gilt'), halo: pt(0.5), haloColor: col('plate'),
      letterSpacing: pt(0.2) }, // text tooled on an object, here a book's cover
  ],
  cast: [{ id: 'pepper', name: 'Pepper' }, { id: 'carrot', name: 'Carrot' },
    { id: 'monster', name: t({ en: 'Monsters of Chaosah', es: 'Demonios de Caosah',
      ca: 'Monstres del Chaosah', zh: '浑沌魔兽', ar: 'وحوش الفوضى', ja: 'ケイオサーの怪物',
      pt: 'Monstros do Caosah', fr: 'Démons de Chaosah', de: 'Monster von Chaosah', it: 'Mostri di Chaosah' }),
    fill: col('demon'), color: col('paper'), fontFamily: DEMON }],
  runningHeads: true, // the folio on comic pages
};

Ингредиенты

Шрифты
Comic Neue, Bangers, Grenze Gotisch, Source Serif 4, Zen Antique, Dela Gothic One, Noto Serif JP, ZCOOL KuaiLe, ZCOOL QingKe HuangYou, Noto Serif SC, Noto Sans SC, Playpen Sans Arabic, Lalezar, Noto Naskh Arabic (SIL OFL 1.1)
Материалы
  • e08p05-1.jpg
  • e08p05-2.jpg
  • e08p05-3.jpg
  • e08p06-1.jpg
  • e08p06-2.jpg
  • e08p06-3.jpg
  • Panel 5-1 of episode 8, cut from the text-free artwork (David Revoy, CC BY 4.0)
  • Panel 5-2 of episode 8, cut from the text-free artwork (David Revoy, CC BY 4.0)
  • Panel 5-3 of episode 8, cut from the text-free artwork (David Revoy, CC BY 4.0)
  • Panel 6-1 of episode 8, cut from the text-free artwork (David Revoy, CC BY 4.0)
  • Panel 6-2 of episode 8, cut from the text-free artwork (David Revoy, CC BY 4.0)
  • Panel 6-3 of episode 8, cut from the text-free artwork (David Revoy, CC BY 4.0)

Порядок работы

#1 · Превратите текст эпизода в сценарий

Код приведён выше, в разделе «Короткий ответ». Скрипт преобразования читает исходные файлы эпизода: режет каждую страницу на кадры по белым промежуткам и записывает измеренное деление (29.9 / 49.3 / * для страницы 5), берёт слова каждого облачка из SVG перевода и называет говорящего по тексту эпизода (перевод комикса). Получается по строке на облачко, pepper{shout break}: …, с формой исходного: зубчатый контур стал shout, облачко, пересекающее рамку, — break. Акцент демонов со знаками š и ā придумали переводчики, он остаётся.

Страница 5, кадр 1: крик Pepper, набранный с английского перевода, и название книги золотом на обложке.

#2 · Привяжите персонажей туда, куда показывали хвостики Ревуа

script.js · строки 169–271в полном коде
// From the episode's pipeline: panels cut from the text-free pages, anchors where the tails of
// the English balloons end. Fractions of each picture, the same in every language.
const area = (x, y, width, height) => ({ x, y, width, height });
const ART = {
  'e08p05-1': { width: 1200, height: 500, safeArea: area(0.02, 0.03, 0.85, 0.93),
    anchors: [{ id: 'pepper', x: 0.4249, y: 0.6863 }] },
  'e08p05-2': { width: 1200, height: 823, safeArea: area(0.1, 0.09, 0.77, 0.81),
    anchors: [{ id: 'pepper', x: 0.7858, y: 0.6274 }] },
  'e08p05-3': { width: 1200, height: 342, safeArea: area(0.09, 0.12, 0.81, 0.88),
    anchors: [{ id: 'sfx', x: 0.1861, y: 0.66 }] },
  'e08p06-1': { width: 1200, height: 646, safeArea: area(0.15, 0.06, 0.73, 0.9),
    anchors: [{ id: 'monster', x: 0.4808, y: 0.293 }] },
  'e08p06-2': { width: 1200, height: 290, safeArea: area(0.59, 0.15, 0.3, 0.77) },
  'e08p06-3': { width: 1200, height: 730, safeArea: area(0.09, 0.1, 0.77, 0.7) },
};
const ALT = {
  'e08p05-1': t({ en: 'Lightning. Pepper, furious, pulls a book with a demon’s face on its cover '
      + 'from the shelf. Carrot is terrified.',
    es: 'Relámpagos. Pimienta, furiosa, saca de la estantería un libro con la cara de un demonio '
      + 'en '
      + 'la tapa. Zanahoria está aterrado.',
    ca: 'Llamps. La Pepper, furiosa, treu del prestatge un llibre amb la cara d’un dimoni a la '
      + 'coberta. En Carrot està aterrit.',
    zh: '电闪雷鸣。小辣椒怒气冲冲地从书架上抽出一本封面有恶魔脸的书。胡萝卜吓坏了。',
    ar: 'برق. فُلفُل غاضبة تسحب من الرف كتابًا على غلافه وجه شيطان، وجزرة مذعور.',
    ja: '稲妻。怒ったペッパーが、表紙に悪魔の顔のある本を棚から引き抜く。キャロットはおびえている。',
    pt: 'Relâmpagos. Pepper, furiosa, tira da estante um livro com a cara de um demônio na capa. '
      + 'Carrot está apavorado.',
    fr: 'Des éclairs. Pepper, furieuse, tire de l’étagère un livre dont la couverture porte un '
      + 'visage de démon. Carrot est terrifié.',
    de: 'Blitze. Die wütende Pepper zieht ein Buch mit einem Dämonengesicht auf dem Umschlag aus '
      + 'dem Regal. Carrot ist zu Tode erschrocken.',
    it: 'Lampi. Pepper, furiosa, estrae dallo scaffale un libro con il volto di un demone sulla '
      + 'copertina. Carrot è terrorizzato.' }),
  'e08p05-2': t({ en: 'From above, in the rain, Pepper draws three glowing red magic circles on '
      + 'the ground with her wand. Carrot watches.',
    es: 'Desde arriba, bajo la lluvia, Pimienta traza con su varita tres círculos mágicos rojos en '
      + 'el suelo. Zanahoria mira.',
    ca: 'Des de dalt, sota la pluja, la Pepper traça amb la vareta tres cercles màgics vermells a '
      + 'terra. En Carrot mira.',
    zh: '俯视:雨中,小辣椒用魔杖在地上画出三个发光的红色魔法阵,胡萝卜在一旁看着。',
    ar: 'من الأعلى، تحت المطر، ترسم فُلفُل بعصاها ثلاث دوائر سحرية حمراء متوهجة على الأرض، وجزرة '
      + 'يراقب.',
    ja: '上から見たところ。雨の中、ペッパーが杖で地面に赤く光る魔法陣を三つ描く。キャロットが見ている。',
    pt: 'Vista de cima, na chuva, Pepper traça com a varinha três círculos mágicos vermelhos e '
      + 'brilhantes no chão. Carrot observa.',
    fr: 'Vue d’en haut, sous la pluie, Pepper trace à la baguette trois cercles magiques rouges et '
      + 'lumineux sur le sol. Carrot regarde.',
    de: 'Von oben, im Regen: Pepper zeichnet mit ihrem Zauberstab drei rot leuchtende '
      + 'Zauberkreise auf den Boden. Carrot sieht zu.',
    it: 'Dall’alto, sotto la pioggia, Pepper traccia con la bacchetta tre cerchi magici rossi e '
      + 'luminosi sul terreno. Carrot osserva.' }),
  'e08p05-3': t({ en: 'Red light floods the scene. Pepper, grim, holds the open book.',
    es: 'Una luz roja lo inunda todo. Pimienta, seria, sostiene el libro abierto.',
    ca: 'Una llum vermella ho inunda tot. La Pepper, seriosa, aguanta el llibre obert.',
    zh: '红光笼罩一切。小辣椒神情严峻,捧着打开的书。',
    ar: 'ضوء أحمر يغمر المشهد، وفُلفُل متجهّمة تمسك الكتاب مفتوحًا.',
    ja: '赤い光があたりを満たす。ペッパーが険しい顔で、開いた本を持っている。',
    pt: 'Uma luz vermelha inunda a cena. Pepper, séria, segura o livro aberto.',
    fr: 'Une lumière rouge envahit la scène. Pepper, l’air sombre, tient le livre ouvert.',
    de: 'Rotes Licht überflutet die Szene. Pepper hält mit finsterer Miene das offene Buch.',
    it: 'Una luce rossa inonda la scena. Pepper, cupa, tiene il libro aperto.' }),
  'e08p06-1': t({ en: 'Pepper and Carrot stand before three huge red-eyed demons that rise in the '
      + 'storm, lightning around them.',
    es: 'Pimienta y Zanahoria ante tres enormes demonios de ojos rojos que se alzan en la '
      + 'tormenta, entre relámpagos.',
    ca: 'La Pepper i en Carrot davant de tres dimonis enormes d’ulls vermells que s’alcen en la '
      + 'tempesta, entre llamps.',
    zh: '小辣椒和胡萝卜站在三个红眼巨魔面前,巨魔在暴风雨中升起,四周电光闪闪。',
    ar: 'فُلفُل وجزرة أمام ثلاثة شياطين ضخمة بعيون حمراء تنهض في العاصفة والبرق حولها.',
    ja: '嵐の中に現れた赤い目の巨大な悪魔三体の前に、ペッパーとキャロットが立つ。まわりに稲妻。',
    pt: 'Pepper e Carrot diante de três demônios enormes de olhos vermelhos que surgem na '
      + 'tempestade, entre relâmpagos.',
    fr: 'Pepper et Carrot face à trois démons gigantesques aux yeux rouges qui se dressent dans '
      + 'l’orage, entre les éclairs.',
    de: 'Pepper und Carrot stehen vor drei riesigen Dämonen mit roten Augen, die sich im Sturm '
      + 'erheben, umgeben von Blitzen.',
    it: 'Pepper e Carrot davanti a tre enormi demoni dagli occhi rossi che si ergono nella '
      + 'tempesta, tra i lampi.' }),
  'e08p06-2': t({ en: 'Pepper smiles a sly smile.', es: 'Pimienta sonríe con malicia.',
    ca: 'La Pepper somriu amb malícia.', zh: '小辣椒狡黠地一笑。', ar: 'فُلفُل تبتسم ابتسامة ماكرة.',
    ja: 'ペッパーがにやりと笑う。', pt: 'Pepper dá um sorriso malicioso.',
    fr: 'Pepper esquisse un sourire malicieux.',
    de: 'Pepper lächelt verschmitzt.', it: 'Pepper fa un sorriso furbo.' }),
  'e08p06-3': t({ en: 'The party: Pepper, Carrot and the three demons drink tea around the table '
      + 'by candlelight, all smiling.',
    es: 'La fiesta: Pimienta, Zanahoria y los tres demonios toman té alrededor de la mesa a la luz '
      + 'de las velas, sonrientes.',
    ca: 'La festa: la Pepper, en Carrot i els tres dimonis prenen te al voltant de la taula a la '
      + 'llum de les espelmes, somrients.',
    zh: '派对:小辣椒、胡萝卜和三个恶魔围着桌子,在烛光下喝茶,个个笑容满面。',
    ar: 'الحفلة: فُلفُل وجزرة والشياطين الثلاثة يشربون الشاي حول المائدة على ضوء الشموع، مبتسمين.',
    ja: 'パーティー。ペッパーとキャロットと三体の悪魔が、ろうそくの明かりのテーブルを囲んでお茶を飲み、'
      + 'みんな笑っている。',
    pt: 'A festa: Pepper, Carrot e os três demônios tomam chá em volta da mesa à luz de velas, '
      + 'todos sorrindo.',
    fr: 'La fête : Pepper, Carrot et les trois démons boivent le thé autour de la table à la '
      + 'lueur des bougies, tous souriants.',
    de: 'Die Feier: Pepper, Carrot und die drei Dämonen trinken bei Kerzenlicht Tee am Tisch, '
      + 'alle lächeln.',
    it: 'La festa: Pepper, Carrot e i tre demoni bevono il tè intorno al tavolo a lume di '
      + 'candela, tutti sorridenti.' }),
};

Облачка Ревуа лежат в его исходных файлах векторными фигурами вместе с хвостиками. Преобразование проходит по каждому хвостику до кончика и записывает его как якорь персонажа в долях кадра, поэтому новые облачка показывают туда же: на открытый рот Pepper, на демона посередине (персонажи и якоря). Безопасные зоны сохраняют главное в каждом кадре, когда ячейки отличаются от исходных на несколько миллиметров.

#3 · Дайте каждому голосу свои буквы

script.js · строки 37–49в полном коде
const [LETTERING, SFX, DEMON, TEXT, PLATE] = t({
  en: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],
  es: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],
  ca: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],
  ja: ['Zen Antique', 'Dela Gothic One', 'Dela Gothic One', 'Noto Serif JP', 'Zen Antique'],
  zh: ['ZCOOL KuaiLe', 'ZCOOL QingKe HuangYou', 'ZCOOL QingKe HuangYou', 'Noto Serif SC',
    'Noto Sans SC'],
  ar: ['Playpen Sans Arabic', 'Lalezar', 'Lalezar', 'Noto Naskh Arabic', 'Lalezar'],
  pt: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],
  fr: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],
  de: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],
  it: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],
});

Состав персонажей в «Коротком ответе» даёт демонам чёрные облачка с белыми буквами, как их рисует Ревуа, и собственный голос: Grenze Gotisch, готический шрифт, в изданиях на латинице. Стиль plate ставит текст на предмет: название книги заклинаний набрано золочёным Zen Antique с тонким тёмным ореолом, повёрнуто через rotate и наклонено через skew, чтобы лечь на обложку, и разбито на строки через \, как на ней. Каждая версия берёт шрифты своего письма; японские облачка вертикальные, а японские и арабские страницы читаются справа налево (леттеринг).

#4 · Назовите каждого переводчика со всеми буквами

script.js · строки 295–314в полном коде
// The credits thank Hồ Nhựt Châu. Vietnamese letters live in a Fontsource file of their own,
// which neither loadFonts nor the PDF providers fetch: the page loads it for the credits' face,
// and the PDF provider adds it to that face when the page sets one of its letters.
const VI_RANGE = 'U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,'
  + 'U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB';
const VI = /[ĂăĐđƠơƯưẠ-ỹ]/u;
const viFile = (family, weight) => `https://cdn.jsdelivr.net/npm/@fontsource/`
  + `${fontsourceId(family)}@5/files/${fontsourceId(family)}-vietnamese-${weight}-normal.woff2`;
async function loadVietnamese(family) {
  if (!VI.test(markdown)) return;
  document.fonts.add(await new FontFace(family, `url(${viFile(family, 400)})`,
    { weight: '400', unicodeRange: VI_RANGE }).load());
}
async function pdfFonts(family, weight, style, request) {
  const files = [await comicPdfProvider(family, weight, style, request)].flat();
  const text = String.fromCodePoint(...(request?.codePoints ?? []));
  if (family !== TEXT || !VI.test(text)) return files;
  const res = await fetch(viFile(family, 400));
  return [...files, await decompressWoff2(new Uint8Array(await res.arrayBuffer()))];
}

Лицензия просит назвать автора, источник, саму лицензию и изменения; титульная страница печатает их словами каждой версии по сведениям самого эпизода. Один из участников испанского и японского переводов — Hồ Nhựt Châu, а вьетнамские буквы у Fontsource лежат в отдельном файле: рецепт загружает его для шрифта сведений и передаёт в PDF.

В печати ссылка показывает только свой текст, поэтому две ссылки сведений, на лицензию и на эпизод на peppercarrot.com, никуда бы не привели. links.print: 'notes' с show: 'both' превращает каждую в сноску внизу титульной страницы: короткий адрес и QR-код рядом, нарисованный цветом текста, чтобы его прочёл телефон. Каждая версия ссылается на текст лицензии и эпизод на своём языке.

script.js · строки 113–118в полном коде
  // The licence's deed and the episode online, both in the edition's language: a reader scans
  // the code beside the short address.
  links: { print: 'notes', show: 'both', urlDisplay: 'short',
    qr: { size: mm(18), side: 'start', color: col('ink') } },
  footnotes: { fontSize: pt(8), lineHeight: pt(11), color: col('muted'), spaceBetween: pt(6),
    separator: { enabled: true, width: 0.2, lineWidth: pt(0.5), color: col('muted') } },

Рецепт целиком

Sandbox
// ═══ Postext Cookbook · Nº 155 · A Pepper&Carrot page re-lettered from its transcript ═══
// https://postext.dev/en/cookbook/pepper-and-carrot-page
// Code: MIT · Text and art: David Revoy and translators, Pepper&Carrot ep. 8 (CC BY 4.0)
// Fonts: Comic Neue, Bangers, Grenze Gotisch and 11 more (OFL) · Needs postext ≥ 1.65.0
//
// Two pages of an open-licensed webcomic, Pepper&Carrot episode 8 by David Revoy, set again
// from his text-free artwork: the panels are cut from his pages, the speakers' anchors come
// from the tails of his balloons, and the words come from the official translations, so the
// engine letters every edition itself.
import {
  buildDocument, withLoadedFonts, renderPageToCanvas, registerResourceImage, loadVerticalAlternates,
} from 'https://esm.sh/postext';
import { renderToPdf, decompressWoff2 } from 'https://esm.sh/postext-pdf';

const LANG = 'en'; // @lang: 'en' | 'es' | 'ca' | 'zh' | 'ar' | 'ja' | 'pt' | 'fr' | 'de' | 'it'
const RECIPE = 'pepper-and-carrot-page';

// ─── 1 · Design ─────────────────────────────────────────────────────────────
// #region palette: Pepper's red, the demons' black and a warm ink
const palette = {
  ink: '#241a14', // lettering and the title page
  accent: '#a8241c', // Pepper's red: the title and the sound effect
  demon: '#0f0f0f', // the demons' balloons, as Revoy letters them
  gilt: '#e4cf96', // the title tooled on the spell book's cover
  plate: '#151a20', // the dark halo that lifts the gilt off the cover
  muted: '#6a5c52', // credits and folios
  paper: '#fffdf8',
};
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: the lettering, sound-effect, demon, title-page and book-title faces
const [LETTERING, SFX, DEMON, TEXT, PLATE] = t({
  en: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],
  es: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],
  ca: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],
  ja: ['Zen Antique', 'Dela Gothic One', 'Dela Gothic One', 'Noto Serif JP', 'Zen Antique'],
  zh: ['ZCOOL KuaiLe', 'ZCOOL QingKe HuangYou', 'ZCOOL QingKe HuangYou', 'Noto Serif SC',
    'Noto Sans SC'],
  ar: ['Playpen Sans Arabic', 'Lalezar', 'Lalezar', 'Noto Naskh Arabic', 'Lalezar'],
  pt: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],
  fr: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],
  de: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],
  it: ['Comic Neue', 'Bangers', 'Grenze Gotisch', 'Source Serif 4', 'Zen Antique'],

Собранный script.js работает как есть: вставьте его в модульный скрипт любой страницы или откройте рецепт на CodePen. Папка рецепта на GitHub ↗ (открывается в новой вкладке)

Варианты

#Перенести все шесть страниц

Конвейер эпизода записывает шесть страниц; 21 кадр весит 1,8 МБ. Добавьте остальные блоки :::page и их кадры.

 const resources = await Promise.all([
+  panel('e08p01-1', asset('e08p01-1.jpg')), // … and the other fourteen panels of pages 1 to 4
   panel('e08p05-1', asset('e08p05-1.jpg')), panel('e08p05-2', asset('e08p05-2.jpg')),

#Скруглить кадры, как Ревуа на странице 2

   panel: { borderWidth: pt(0), background: col('paper') },
+  panelStyles: [{ id: 'rounded', borderRadius: mm(5.8) }], // ::panel{style=rounded}

Частые ошибки

  • Оставьте сведения об авторах в документе: картинки едут вместе с PDF, и CC BY 4.0 просит, чтобы с ними ехало и указание авторства.

Источники и лицензии

Рецепт
Ignacio Ferro
Текст
Изображения
Шрифты
Comic Neue (SIL OFL 1.1) · Bangers (SIL OFL 1.1) · Grenze Gotisch (SIL OFL 1.1) · Source Serif 4 (SIL OFL 1.1) · Zen Antique (SIL OFL 1.1) · Dela Gothic One (SIL OFL 1.1) · Noto Serif JP (SIL OFL 1.1) · ZCOOL KuaiLe (SIL OFL 1.1) · ZCOOL QingKe HuangYou (SIL OFL 1.1) · Noto Serif SC (SIL OFL 1.1) · Noto Sans SC (SIL OFL 1.1) · Playpen Sans Arabic (SIL OFL 1.1) · Lalezar (SIL OFL 1.1) · Noto Naskh Arabic (SIL OFL 1.1)
SandboxPDF