本文へスキップ
レシピ番号155

レシピ集 · 第11章 · コミックと漫画

台本から写植し直した『ペッパー&キャロット』

『ペッパー&キャロット』(CC BY 4.0)の2ページを、デイヴィッド・ルヴォワの文字なしの絵と公式翻訳から組み直し、エンジンが十言語で吹き出しを写植します。

このページの内容
出力
Canvas · PDF
レベル
上級
Postext
Postext 1.65.0で検証済み
1.65.0以上が必要 · postext-pdf ≥ 1.65.0
ライセンス
2026年10月31日更新
コードMIT · 本文CC BY 4.0

2〜3ページ(全3ページ)

  • 仕上がり210 × 297 mm
  • 1段
  • Noto Serif JP 10/15
  • Zen Antique
  • 3ページ
  • レベル
  • Postext 1.65.0
  • 組版時間241 ms
  • コード182行

かんたんな説明

オープンライセンスのウェブ漫画の2ページを、作者の文字のない絵と、みんなが作った翻訳から組み直します。吹き出しは言語ごとに描き直されます。

できあがり

デイヴィッド・ルヴォワ作『ペッパー&キャロット』第8話「ペッパーの誕生パーティー」の5ページと6ページです。若い魔女と猫を描いたオープンライセンス(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 · 台本をスクリプトにする

コードは前の手短な答えにあります。変換スクリプトがこの話のソースファイルを読みます。間白に沿って各ページをコマに切り分けて測った割り方(5ページは29.9 / 49.3 / *)を書き出し、翻訳のSVGから吹き出しごとの言葉を取り、台本から話者を決めます(漫画の翻訳)。結果は吹き出し一つにつき1行のpepper{shout break}: …で、元の吹き出しの形を引き継ぎます。ギザギザの輪郭はshout、枠をはみ出していた吹き出しはbreakです。

5ページの1コマ目。翻訳から写植したペッパーの叫びと、表紙の金色の書名。

#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.' }),
};

ルヴォワの吹き出しは、しっぽも含めてベクターの形でソースファイルに入っています。変換はしっぽを先端までたどり、それをコマに対する比率で話者のアンカーとして記録します。だから新しい吹き出しも元と同じ場所、ペッパーの開いた口や真ん中の悪魔を指します(話者とアンカー)。セルが元のコマと数ミリ違っても、セーフエリアが各コマの主役を残します。

#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、日本語版ではDela Gothic Oneです。plateのスタイルは物の上に文字を置くもので、魔導書の書名を金色のZen Antiqueに細い暗色のふちを付けて組み、rotateで回しskewで傾けて表紙に沿わせ、表紙の行分けどおりに\で改行します(日本語版ではhorizontalで横組み)。各版はその文字に合った書体を使い、日本語の吹き出しは縦組みで、日本語とアラビア語のページは右から左に読みます(写植)。

#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 = 'ja'; // @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上のレシピのフォルダー ↗ (新しいタブで開きます)

アレンジ

#6ページ全部を移植する

この話の変換は6ページすべてを書き出します。21コマで1.8 MBです。残りの:::pageブロックとそのコマを加えます。

 const resources = await Promise.all([
+  panel('e08p01-1', asset('e08p01-1.jpg')), // … ほか1〜4ページの14コマ
   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