How can I control the margins or other options of the new pages that are created automatically when content overflows?
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, node.js
- 領域
- tooling
調査の方向性
この issue では、ファイル、テスト、エントリーポイントが指定されていません。まず、自動的に作成されるページがコンテンツのオーバーフローをどのように処理するか、また手動で作成されるページのマージンがどのように設定されるかを追跡してください。完了条件は、すべての文字列をあらかじめ計測することなく、オーバーフローによって作成される奇数ページと偶数ページで異なるマージンをサポートすることです。
索引モデルが issue の本文から書いたものです。
説明
I am creating a pdf in which odd and even pages have different margins. I can do that by manually creating pages but when content overflows a new page is created automatically and I cannot control the margins of it.
Any suggestions? Is there a feature that allows to manipulate this?
I am thinking of a workaround in which I measure the height of the string prior to adding it to the document and then calculate the amount of pages it will stretch so that I can create those pages in advance with the required margins. However, when a lot of different strings start overflowing things start to get messy.
Any ideas about how can I achieve this? Bear in mind that I have like 200 separate strings to add to the document and some of them might span for several pages while others just a line. Furthermore, strings vary in length depending on the user data.
Thanks
- 主要言語
- JavaScript
- スター
- 10.7k
- フォーク
- 1.2k
- 平均マージ
- 21時間 41分
- マージ済み PR(30日)
- 27
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
foliojs/pdfkit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
foliojs/pdfkit#1804 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
PDFKit crashes when providing fonts as Buffer in table対応中かも @ykw9263 が 132 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
foliojs/pdfkit#1743 · コメント 13 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
foliojs/pdfkit#1635 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
foliojs/pdfkit#1512 · コメント 1 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Upgrade codemirrorオープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
curriculum documentation quality
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
githubnext/gh-aw-workshop#5367 ·
メンテナーはふだん 3 日以内に返信
-
channels:add check:passed
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
メンテナーはふだん 4 日以内に返信
-
beginner blocked
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
hiero-ledger/hiero-sdk-js#4670 ·
メンテナーはふだん 1 日以内に返信
-
Media widget: selecting a paused player is ignored while another paused player holds an audio streamオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
area: editor complexity: easy impact: low status: triage
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
ueberdosis/tiptap#8699 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信