Zum Hauptinhalt springen
Rezept Nummer 155

Rezepte · Kapitel 11 · Comics und Manga

Eine Seite Pepper&Carrot, aus dem Transkript neu gelettert

Zwei Seiten Pepper&Carrot (CC BY 4.0), neu gesetzt aus David Revoys textfreien Bildern und den offiziellen Übersetzungen, jede Sprechblase in zehn Sprachen.

Auf dieser Seite
Gattung
Comics
Ausgabe
Canvas · PDF
Postext
Getestet mit Postext 1.65.0
Erfordert ≥ 1.65.0 · postext-pdf ≥ 1.65.0
Lizenz
Aktualisiert am 31. Okt. 2026
Code MIT · Text CC BY 4.0

S. 2–3 von 3

  • Endformat 210 × 297 mm
  • 1 Spalte
  • Source Serif 4 10/15
  • Comic Neue
  • 3 Seiten
  • Stufe
  • Postext 1.65.0
  • In 198 ms gesetzt
  • 182 Zeilen Code

Kurz gesagt

Zwei Seiten eines frei lizenzierten Webcomics, neu gebaut aus den Bildern des Künstlers ohne Wörter und aus den Übersetzungen, die Leute davon gemacht haben, sodass die Sprechblasen in jeder Sprache neu gezeichnet werden.

Was Sie setzen

Die Seiten 5 und 6 von Episode 8 von Pepper&Carrot, „Peppers Geburtstagsfeier“, von David Revoy, dem frei lizenzierten Webcomic (CC BY 4.0) über eine junge Hexe und ihre Katze. Revoy veröffentlicht seine Seiten ohne ihre Wörter, und die Community übersetzt das Transkript in Dutzende Sprachen. Hier setzt Postext diese Teile wieder zusammen: Die Panels sind aus seinen textfreien Seiten geschnitten, das Seitenraster ist seines, und jede Sprechblase, jeder Schrei, jedes Soundword und der Titel auf dem Zauberbuch werden von der Engine gelettert, aus dem französischen Original und den offiziellen Übersetzungen ins Englische, Spanische, Katalanische, Chinesische, Japanische, Arabische, Portugiesische, Deutsche und Italienische. Eine Titelseite enthält die Nachweise, die die Lizenz verlangt.

Dieses Rezept beantwortet

  • Wie lettere ich einen frei lizenzierten Comic anhand seines Transkripts neu?
  • Wie lettere ich einen Comic in einer anderen Sprache neu?

Die kurze Antwort

script.js · Zeilen 53–83im vollständigen Code
// 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
};

Zutaten

Schrift
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)
Dateien
  • 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)

Zubereitung

#1 · Das Transkript in ein Skript verwandeln

Der Code steht oben in der kurzen Antwort. Ein Umwandlungsskript liest die Quelldateien der Episode: Es schneidet jede Seite an ihren weißen Zwischenräumen in Panels und schreibt die gemessene Aufteilung (29.9 / 49.3 / * für Seite 5), nimmt die Wörter jeder Sprechblase aus dem SVG der Übersetzung und benennt ihren Sprecher aus dem Transkript (Einen Comic übersetzen). Das Ergebnis ist eine Zeile je Sprechblase, pepper{shout break}: …, mit der Form, die die Originalblase hatte: Ein gezackter Umriss wurde zu shout, eine Sprechblase, die den Rand überschritt, zu break. Der Akzent der Dämonen mit seinem š und ā stammt von den Übersetzern und bleibt.

Seite 5, Panel 1: Peppers Schrei, aus der offiziellen deutschen Übersetzung gelettert, und der Titel des Buches in Gold auf seinem Einband.

#2 · Die Sprecher dort verankern, wohin Revoys Dornen zeigten

script.js · Zeilen 169–271im vollständigen Code
// 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.' }),
};

Revoys Sprechblasen liegen in seinen Quelldateien als Vektorformen vor, Dornen eingeschlossen. Die Umwandlung folgt jedem Dorn bis zur Spitze und speichert sie als Anker des Sprechers in Bruchteilen des Panels, sodass die neuen Sprechblasen dorthin zeigen, wohin seine zeigten: auf Peppers offenen Mund, auf den Dämon in der Mitte (Sprecher und Anker). Die Sicherheitsbereiche halten das Motiv jedes Panels, wenn die Zellen ein paar Millimeter von seinen abweichen.

#3 · Jeder Stimme ihre eigenen Buchstaben geben

script.js · Zeilen 37–49im vollständigen Code
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'],
});

Die Besetzung in der kurzen Antwort gibt den Dämonen schwarze Sprechblasen mit weißen Buchstaben, wie Revoy sie zeichnet, und eine eigene Stimme: Grenze Gotisch, eine Fraktur, in den lateinschriftlichen Ausgaben. Der Stil plate setzt Text auf einen Gegenstand: den Titel des Zauberbuchs in vergoldeter Zen Antique mit einem dünnen dunklen Lichthof, mit rotate gedreht und mit skew geneigt, damit er auf dem Einband liegt, und mit \ so in Zeilen gebrochen, wie der Einband sie bricht. Jede Ausgabe nimmt Schriften für ihr Schriftsystem; die japanischen Sprechblasen sind vertikal, und die japanische und die arabische Seite lesen von rechts nach links (Lettering).

#4 · Jeden Übersetzer nennen, mit jedem Buchstaben

script.js · Zeilen 295–314im vollständigen Code
// 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()))];
}

Die Lizenz verlangt Autor, Quelle, Lizenz und einen Hinweis auf die Änderungen; die Titelseite gibt sie in den Worten jeder Ausgabe wieder, aus den Nachweisen der Episode selbst. Ein Mitwirkender an der spanischen und der japanischen Übersetzung ist Hồ Nhựt Châu, und vietnamesische Buchstaben liegen in einer eigenen Fontsource-Datei: Das Rezept lädt sie für die Schrift der Nachweise und übergibt sie an das PDF.

Auf Papier zeigt ein Link nur seinen Text, die zwei Links der Nachweise, die Lizenz und die Episode auf peppercarrot.com, führten den Leser also nirgendwohin. links.print: 'notes' mit show: 'both' macht aus jedem eine Fußnote auf der Titelseite: die kurze Adresse und daneben ein QR-Code in der Farbe der Tinte, damit ein Handy ihn liest. Jede Ausgabe verweist auf die Lizenz und die Episode in ihrer Sprache.

script.js · Zeilen 113–118im vollständigen Code
  // 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') } },

Das ganze Rezept

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 = 'de'; // @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'],

Das zusammengesetzte script.js läuft unverändert: Fügen Sie es in das Modulskript einer beliebigen Seite ein, oder öffnen Sie das Rezept auf CodePen. Ordner des Rezepts auf GitHub ↗ (öffnet sich in einem neuen Tab)

Varianten

#Alle sechs Seiten übertragen

Die Verarbeitungskette der Episode schreibt die sechs Seiten; die 21 Panels wiegen 1,8 MB. Ergänzen Sie die anderen Blöcke :::page und ihre Panels.

 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')),

#Die Panels abrunden, wie Revoy es auf Seite 2 tut

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

Häufige Fehler

  • Behalten Sie die Nachweise im Dokument: Die Bilder reisen mit dem PDF, und CC BY 4.0 verlangt, dass die Namensnennung mit ihnen reist.

Nachweise

Text
Bilder
Schriften
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