Debian Codegraph @

docs/locales/ja/LC_MESSAGES/recipes-common-issues-and-their-solutions.po

raw
1 # PyMuPDF Japanese documentation
2 # Copyright (C) 2015-2023, Artifex
3 # This file is distributed under the same license as the PyMuPDF package.
4 # Jamie Lemon <[email protected]>, 2023.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PyMuPDF 1.23.0rc1\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2025-04-17 15:00+0100\n"
12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 "Last-Translator: Suzan Sanver <[email protected]>\n"
14 "Language: ja\n"
15 "Language-Team: ja <[email protected]>\n"
16 "Plural-Forms: nplurals=1; plural=0;\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=utf-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
20 "Generated-By: Babel 2.10.3\n"
21
22 #: ../../header.rst:-1 4668aba35041418d9985c1a35575a6b3
23 msgid "Artifex"
24 msgstr ""
25
26 #: ../../header.rst:-1 1011e86add0c4e648dea40533c7fd1a2
27 msgid ""
28 "PyMuPDF is a high-performance Python library for data extraction, "
29 "analysis, conversion & manipulation of PDF (and other) documents."
30 msgstr "PyMuPDF は、PDF (およびその他の)ドキュメントのデータ抽出、分析、変換、操作のための高性能な Python ライブラリです。"
31
32 #: ../../header.rst:-1 10324b8854a4413791056120093832e9
33 msgid ""
34 "PDF Text Extraction, PDF Image Extraction, PDF Conversion, PDF Tables, "
35 "PDF Splitting, PDF Creation, Pyodide, PyScript"
36 msgstr "PDFテキスト抽出、PDFイメージ抽出、PDF変換、PDFテーブル、PDF分割、PDF作成, Pyodide, PyScript"
37
38 #: ../../recipes-common-issues-and-their-solutions.rst:7
39 #: 20bc28cec0154c7c9136122bd912f369
40 msgid "Common Issues and their Solutions"
41 msgstr "一般的な問題とその解決方法"
42
43 #: ../../recipes-common-issues-and-their-solutions.rst:10
44 #: 7f1290c0169445d78461fff755cfc034
45 msgid "How To Dynamically Clean Up Corrupt :title:`PDFs`"
46 msgstr "壊れた |PDF| を動的にクリーンアップする方法"
47
48 #: ../../recipes-common-issues-and-their-solutions.rst:12
49 #: ce6827f92d194d24abb5efce34f05be9
50 msgid ""
51 "This shows a potential use of |PyMuPDF| with another Python PDF library "
52 "(the excellent pure Python package `pdfrw "
53 "<https://pypi.python.org/pypi/pdfrw>`_ is used here as an example)."
54 msgstr ""
55 "これは、別のPython PDFライブラリ(素晴らしい純粋なPythonパッケージである `pdfrw "
56 "<https://pypi.python.org/pypi/pdfrw>`_ "
57 "を例として使用しています)と組み合わせてPyMuPDFを潜在的に使用する方法を示しています。"
58
59 #: ../../recipes-common-issues-and-their-solutions.rst:14
60 #: 4b79f85178e14c0bada317304b337db0
61 msgid ""
62 "If a clean, non-corrupt / decompressed PDF is needed, one could "
63 "dynamically invoke PyMuPDF to recover from many problems like so::"
64 msgstr ""
65 "クリーンで壊れていない / "
66 "解凍されていないPDFが必要な場合、次のようにしてPyMuPDFを動的に呼び出して多くの問題から回復することができます::"
67
68 #: ../../recipes-common-issues-and-their-solutions.rst:50
69 #: e6d9c9e53bdc4e6ea4fff95948a77ce0
70 msgid ""
71 "With the command line utility *pdftk* (`available "
72 "<https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/>`_ for Windows "
73 "only, but reported to also run under `Wine <https://www.winehq.org/>`_) a"
74 " similar result can be achieved, see `here "
75 "<http://www.overthere.co.uk/2013/07/22/improving-pypdf2-with-pdftk/>`_. "
76 "However, you must invoke it as a separate process via *subprocess.Popen*,"
77 " using stdin and stdout as communication vehicles."
78 msgstr ""
79 "コマンドラインユーティリティ `pdftk <https://www.pdflabs.com/tools/pdftk-the-pdf-"
80 "toolkit/>`_ (Windowsのみで利用可能ですが、 `Wine <https://www.winehq.org/>`_ "
81 "下でも動作すると報告されています)を使用すると、類似の結果を得ることができます。詳細は `こちら "
82 "<http://www.overthere.co.uk/2013/07/22/improving-pypdf2-with-pdftk/>`_ "
83 "をご覧ください。ただし、stdinとstdoutを通信手段として使用して別のプロセスとしてsubprocess.Popenを介して呼び出す必要があります。"
84
85 #: ../../recipes-common-issues-and-their-solutions.rst:55
86 #: 3f9ab9bf78a74d9781937269cf8ef3cb
87 msgid "How to Convert Any Document to |PDF|"
88 msgstr "どの文書も |PDF| に変換する方法"
89
90 #: ../../recipes-common-issues-and-their-solutions.rst:57
91 #: ca2811011d7b40808c8a55f65188b25f
92 msgid ""
93 "Here is a script that converts any |PyMuPDF| :ref:`supported "
94 "document<Supported_File_Types>` to a |PDF|. These include XPS, EPUB, FB2,"
95 " CBZ and image formats, including multi-page TIFF images."
96 msgstr ""
97 "以下は、任意のPyMuPDFが :ref:`サポートされている <Supported_File_Types>` "
98 "文書をPDFに変換するスクリプトです。これにはXPS、EPUB、FB2、CBZ、および複数ページのTIFFイメージを含む画像フォーマットが含まれます。"
99
100 #: ../../recipes-common-issues-and-their-solutions.rst:59
101 #: d7e2dfdcb75b40739daf46856a819f58
102 msgid ""
103 "It features maintaining any metadata, table of contents and links "
104 "contained in the source document::"
105 msgstr "これにはソース文書に含まれるメタデータ、目次、リンクを保持する機能が備わっています::"
106
107 #: ../../recipes-common-issues-and-their-solutions.rst:131
108 #: a41bc630ff314f64bcfa4150a08c3c84
109 msgid "Changing Annotations: Unexpected Behaviour"
110 msgstr "注釈の変更:予期しない動作"
111
112 #: ../../recipes-common-issues-and-their-solutions.rst:134
113 #: 9b87b714c12948aa94ae2868604c760c
114 msgid "Problem"
115 msgstr "問題"
116
117 #: ../../recipes-common-issues-and-their-solutions.rst:135
118 #: 5870f9a9b1184a3cb1849e71b71e5026
119 msgid "There are two scenarios:"
120 msgstr "2つのシナリオがあります:"
121
122 #: ../../recipes-common-issues-and-their-solutions.rst:137
123 #: b360eb295e35468b9a48ce456cc717e7
124 msgid ""
125 "**Updating** an annotation with PyMuPDF which was created by some other "
126 "software."
127 msgstr "他のソフトウェアで作成された注釈をPyMuPDFで**更新**する。"
128
129 #: ../../recipes-common-issues-and-their-solutions.rst:138
130 #: c2f4bd673f784318906b6982c2873fdf
131 msgid ""
132 "**Creating** an annotation with PyMuPDF and later changing it with some "
133 "other software."
134 msgstr "PyMuPDFで注釈を**作成**し、後で他のソフトウェアで変更する。"
135
136 #: ../../recipes-common-issues-and-their-solutions.rst:140
137 #: 3a2c5f9ca0da4058b2119d1e5ee6432c
138 msgid ""
139 "In both cases you may experience unintended changes, like a different "
140 "annotation icon or text font, the fill color or line dashing have "
141 "disappeared, line end symbols have changed their size or even have "
142 "disappeared too, etc."
143 msgstr "どちらの場合でも、異なる注釈アイコンやテキストフォント、塗りつぶしの色や線の破線が消えたり、線の端のシンボルのサイズが変わったり、さらには消えたりするなど、意図しない変更が発生する可能性があります。"
144
145 #: ../../recipes-common-issues-and-their-solutions.rst:143
146 #: ../../recipes-common-issues-and-their-solutions.rst:182
147 #: ../../recipes-common-issues-and-their-solutions.rst:195
148 #: 0ec3d7b289ed40d1b1c9a6e6509cb81c 3db222ba67d34ffe8b9c76049639a28f
149 #: 4947608029184f4eacde97cb22e6b0a0
150 msgid "Cause"
151 msgstr "原因"
152
153 #: ../../recipes-common-issues-and-their-solutions.rst:144
154 #: 580b99ed7b294df89844c876e4930bb6
155 msgid ""
156 "Annotation maintenance is handled differently by each PDF maintenance "
157 "application. Some annotation types may not be supported, or not be "
158 "supported fully or some details may be handled in a different way than in"
159 " another application. **There is no standard.**"
160 msgstr "注釈の保守は、各PDF保守アプリケーションごとに異なる方法で処理されます。一部の注釈タイプはサポートされないか、完全にはサポートされていない場合もあり、また、他のアプリケーションとは異なる方法で詳細が処理される場合もあります。標準規格は存在しません。"
161
162 #: ../../recipes-common-issues-and-their-solutions.rst:146
163 #: 0d39ed4b97424a2a87eb4bec722728b0
164 msgid ""
165 "Almost always a PDF application also comes with its own icons (file "
166 "attachments, sticky notes and stamps) and its own set of supported text "
167 "fonts. For example:"
168 msgstr "ほとんどの場合、PDFアプリケーションには独自のアイコン(ファイル添付、付箋、スタンプなど)とサポートされるテキストフォントのセットが付属しています。例えば:"
169
170 #: ../../recipes-common-issues-and-their-solutions.rst:148
171 #: 65134846c0a240acb342d722b107de3f
172 msgid ""
173 "(Py-) MuPDF only supports these 5 basic fonts for 'FreeText' annotations:"
174 " Helvetica, Times-Roman, Courier, ZapfDingbats and Symbol -- no italics /"
175 " no bold variations. When changing a 'FreeText' annotation created by "
176 "some other app, its font will probably not be recognized nor accepted and"
177 " be replaced by Helvetica."
178 msgstr ""
179 "(Py-) MuPDFは、'FreeText'注釈に対してこれらの5つの基本フォントのみをサポートしています:Helvetica、Times-"
180 "Roman、Courier、ZapfDingbats、Symbol - 斜体や太字のバリエーションはありません。他のアプリで作成された "
181 "'FreeText' 注釈を変更する際、そのフォントはおそらく認識されず、Helveticaに置き換えられる可能性があります。"
182
183 #: ../../recipes-common-issues-and-their-solutions.rst:150
184 #: e2cbd8bfb3d14500a0612d1d8d2c5ec6
185 msgid ""
186 "PyMuPDF supports all PDF text markers (highlight, underline, strikeout, "
187 "squiggly), but these types cannot be updated with Adobe Acrobat Reader."
188 msgstr ""
189 "PyMuPDFはすべてのPDFテキストマーカー(ハイライト、下線、取り消し線、波線)をサポートしていますが、これらのタイプはAdobe "
190 "Acrobat Readerで更新することはできません。"
191
192 #: ../../recipes-common-issues-and-their-solutions.rst:152
193 #: 5f42aed9c005492a92b5b6aa0cbcd03e
194 msgid ""
195 "In most cases there also exists limited support for line dashing which "
196 "causes existing dashes to be replaced by straight lines. For example:"
197 msgstr "ほとんどの場合、破線には限定的なサポートが存在し、既存の破線が直線に置き換えられることがあります。例えば:"
198
199 #: ../../recipes-common-issues-and-their-solutions.rst:154
200 #: 7651dba336694614afc84cba3418f5cc
201 msgid ""
202 "PyMuPDF fully supports all line dashing forms, while other viewers only "
203 "accept a limited subset."
204 msgstr "PyMuPDFはすべての線の破線形式を完全にサポートしていますが、他のビューアは一部の形式しか受け入れません。"
205
206 #: ../../recipes-common-issues-and-their-solutions.rst:158
207 #: 01eaf095c9b6491d88ab187baa0e5739
208 msgid "Solutions"
209 msgstr "解決策"
210
211 #: ../../recipes-common-issues-and-their-solutions.rst:159
212 #: ecb162091bfd40ba807179842faf6a91
213 msgid "Unfortunately there is not much you can do in most of these cases."
214 msgstr "残念ながら、これらの多くの場合、あまり対処できることはありません。"
215
216 #: ../../recipes-common-issues-and-their-solutions.rst:161
217 #: f4ff16b309524593aafb3a90fa47384c
218 msgid "Stay with the same software for **creating and changing** an annotation."
219 msgstr "注釈の作成と変更に同じソフトウェアを使用してください。"
220
221 #: ../../recipes-common-issues-and-their-solutions.rst:162
222 #: ddc8bae66d8249efbc79df236e51d0d0
223 msgid ""
224 "When using PyMuPDF to change an \"alien\" annotation, try to **avoid** "
225 ":meth:`Annot.update`. The following methods **can be used without it,** "
226 "so that the original appearance should be maintained:"
227 msgstr ""
228 "\"異なる\"注釈を変更する際にPyMuPDFを使用する場合、:meth:`Annot.update` "
229 "を避けるようにしてください。次のメソッドは、元の外観を維持するために、:meth:`Annot.update` を使用せずに使用できます:"
230
231 #: ../../recipes-common-issues-and-their-solutions.rst:164
232 #: 57c092ce6a7d45d4952de8c67279fa4f
233 msgid ":meth:`Annot.set_rect` (location changes)"
234 msgstr ":meth:`Annot.set_rect` (位置の変更)"
235
236 #: ../../recipes-common-issues-and-their-solutions.rst:165
237 #: d313ef9ae75449729e1849ab57d05a32
238 msgid ":meth:`Annot.set_flags` (annotation behaviour)"
239 msgstr ":meth:`Annot.set_flags` (注釈の動作)"
240
241 #: ../../recipes-common-issues-and-their-solutions.rst:166
242 #: ff9f33feb2224cd69192417071637524
243 msgid ":meth:`Annot.set_info` (meta information, except changes to *content*)"
244 msgstr ":meth:`Annot.set_info` (メタ情報、*コンテンツ* の変更以外)"
245
246 #: ../../recipes-common-issues-and-their-solutions.rst:167
247 #: 90c72eaaebfa4a848238a0cd487b74e6
248 msgid ":meth:`Annot.set_popup` (create popup or change its rect)"
249 msgstr ":meth:`Annot.set_popup` (ポップアップの作成または位置の変更)"
250
251 #: ../../recipes-common-issues-and-their-solutions.rst:168
252 #: fea8fa06e33040f2b13ce9a7b5306f8f
253 #, fuzzy
254 msgid ""
255 ":meth:`Annot.set_oc` (add / remove reference to optional content "
256 "information)"
257 msgstr ":meth:`Annot.set_optional_content` (オプションコンテンツ情報への参照の追加/削除)"
258
259 #: ../../recipes-common-issues-and-their-solutions.rst:169
260 #: cee27cf68bda482690d014a3468ad911
261 msgid ":meth:`Annot.set_open`"
262 msgstr ""
263
264 #: ../../recipes-common-issues-and-their-solutions.rst:170
265 #: 85c766ba5c7c4ec9a875af07684f5f8f
266 msgid ":meth:`Annot.update_file` (file attachment changes)"
267 msgstr ":meth:`Annot.update_file` (ファイル添付の変更)"
268
269 #: ../../recipes-common-issues-and-their-solutions.rst:174
270 #: 6e6d7441feb444b08da4f309c51f2989
271 msgid "Missing or Unreadable Extracted Text"
272 msgstr "欠落または読み取り不可能な抽出テキスト"
273
274 #: ../../recipes-common-issues-and-their-solutions.rst:175
275 #: 01ae9eb704e14a1e8f24cf021dc91c0e
276 msgid ""
277 "Fairly often, text extraction does not work text as you would expect: "
278 "text may be missing, or may not appear in the reading sequence visible on"
279 " your screen, or contain garbled characters (like a ? or a \"TOFU\" "
280 "symbol), etc. This can be caused by a number of different problems."
281 msgstr "非常にしばしば、テキスト抽出が期待通りに機能しないことがあります。テキストが欠落しているか、画面上で表示される読み取り順序に表示されないか、文字が文字化けしている(「?」や「TOFU」シンボルなど)ことがあります。これはさまざまな問題が原因で起こる可能性があります。"
282
283 #: ../../recipes-common-issues-and-their-solutions.rst:178
284 #: e80411b38d4845d9b2714609a65db94c
285 msgid "Problem: no text is extracted"
286 msgstr "問題:テキストが抽出されない"
287
288 #: ../../recipes-common-issues-and-their-solutions.rst:179
289 #: 29d32a1dea084e1886b86272d02868c8
290 msgid ""
291 "Your PDF viewer does display text, but you cannot select it with your "
292 "cursor, and text extraction delivers nothing."
293 msgstr "PDFビューアはテキストを表示しているが、カーソルで選択できず、テキストの抽出結果が何も表示されない。"
294
295 #: ../../recipes-common-issues-and-their-solutions.rst:183
296 #: 407916e2cc0148868141e8b6e9837feb
297 msgid ""
298 "You may be looking at an image embedded in the PDF page (e.g. a scanned "
299 "PDF)."
300 msgstr "PDFページに埋め込まれた画像を表示している可能性がある(例:スキャンされたPDF)。"
301
302 #: ../../recipes-common-issues-and-their-solutions.rst:184
303 #: 94397a359e604251a6ce3e563fe0ef48
304 msgid ""
305 "The PDF creator used no font, but **simulated** text by painting it, "
306 "using little lines and curves. E.g. a capital \"D\" could be painted by a"
307 " line \"|\" and a left-open semi-circle, an \"o\" by an ellipse, and so "
308 "on."
309 msgstr "PDFの作成者がフォントを使用せず、テキストをペイントして小さな線と曲線を使用して模倣している場合がある。たとえば、大文字の「D」は縦棒「|」と左開きの半円で描かれ、「o」は楕円で描かれるなど。"
310
311 #: ../../recipes-common-issues-and-their-solutions.rst:187
312 #: ../../recipes-common-issues-and-their-solutions.rst:200
313 #: 4fedb4cf875041c2a5e70dae89f7991f fb8a38a5ca084321aac57be8d1ebb7bb
314 msgid "Solution"
315 msgstr "解決策"
316
317 #: ../../recipes-common-issues-and-their-solutions.rst:188
318 #: 3ab64c25a2be4f59907562b0f68b24dc
319 msgid ""
320 "Use an OCR software like `OCRmyPDF <https://pypi.org/project/ocrmypdf/>`_"
321 " to insert a hidden text layer underneath the visible page. The resulting"
322 " PDF should behave as expected."
323 msgstr ""
324 "`OCRmyPDF <https://pypi.org/project/ocrmypdf/>`_ "
325 "のようなOCRソフトウェアを使用して、表示ページの下に非表示のテキストレイヤーを挿入します。その結果のPDFは期待どおりに動作するはずです。"
326
327 #: ../../recipes-common-issues-and-their-solutions.rst:191
328 #: a8f6e51df1dc464fbb0f7475eba7a54b
329 msgid "Problem: unreadable text"
330 msgstr "問題:読み取れないテキスト"
331
332 #: ../../recipes-common-issues-and-their-solutions.rst:192
333 #: 7e6f3f7dc9964fac985a7fb4c533b3f2
334 msgid ""
335 "Text extraction does not deliver the text in readable order, duplicates "
336 "some text, or is otherwise garbled."
337 msgstr "テキストの抽出が読みやすい順序で行われず、一部のテキストが重複しているか、その他の理由で文字化けしている。"
338
339 #: ../../recipes-common-issues-and-their-solutions.rst:196
340 #: 060884ca10f34a9fa6daba7b2794c592
341 msgid ""
342 "The single characters are readable as such (no \"<?>\" symbols), but the "
343 "sequence in which the text is **coded in the file** deviates from the "
344 "reading order. The motivation behind may be technical or protection of "
345 "data against unwanted copies."
346 msgstr "個々の文字はそのまま読み取れるが(「<?>」シンボルがない)、テキストがファイル内でコード化された順序が読み取り順序と異なる場合がある。その背後には技術的な問題やデータの不正なコピーからの保護がある可能性がある。"
347
348 #: ../../recipes-common-issues-and-their-solutions.rst:197
349 #: 99dd9930809d4551bfe5d806b32e28bc
350 msgid ""
351 "Many \"<?>\" symbols occur, indicating MuPDF could not interpret these "
352 "characters. The font may indeed be unsupported by MuPDF, or the PDF "
353 "creator may haved used a font that displays readable text, but on purpose"
354 " obfuscates the originating corresponding unicode character."
355 msgstr "多くの「<?>」シンボルが表示され、MuPDFがこれらの文字を解釈できないことを示している場合。フォントがMuPDFでサポートされていない可能性があるか、PDFの作成者が読み取り可能なテキストを表示するフォントを使用しているが、意図的に元の対応するUnicode文字を曖昧にしている場合があります。"
356
357 #: ../../recipes-common-issues-and-their-solutions.rst:201
358 #: 7e9a1b033ba149c29732bf6d66164707
359 msgid "Use layout preserving text extraction: `python -m fitz gettext file.pdf`."
360 msgstr "レイアウトを保持するテキスト抽出を使用します: `python -m fitz gettext file.pdf`。"
361
362 #: ../../recipes-common-issues-and-their-solutions.rst:202
363 #: 05bbf78e0c8c447794e360a1dda9f6df
364 msgid ""
365 "If other text extraction tools also don't work, then the only solution "
366 "again is OCRing the page."
367 msgstr "他のテキスト抽出ツールも機能しない場合は、再びOCRでページを処理するのが唯一の解決策です。"
368
369 #: ../../footer.rst:60 8010577d7dfe46e7ab6edda3adc1976a
370 msgid "This documentation covers all versions up to |version|."
371 msgstr "このドキュメントは |version| までのすべてのバージョンを対象としています。"
372
373 #~ msgid "PyMuPDF は、PDF (およびその他の)ドキュメントのデータ抽出、分析、変換、操作のための高性能な Python ライブラリです。"
374 #~ msgstr ""
375
376 #~ msgid "PDFテキスト抽出、PDFイメージ抽出、PDF変換、PDFテーブル、PDF分割、PDF作成, Pyodide, PyScript"
377 #~ msgstr ""
378
379 #~ msgid "Misplaced Item Insertions on PDF Pages"
380 #~ msgstr "PDFページ上の誤ったアイテムの挿入"
381
382 #~ msgid ""
383 #~ "You inserted an item (like an "
384 #~ "image, an annotation or some text) "
385 #~ "on an existing PDF page, but later"
386 #~ " you find it being placed at a"
387 #~ " different location than intended. For "
388 #~ "example an image should be inserted "
389 #~ "at the top, but it unexpectedly "
390 #~ "appears near the bottom of the "
391 #~ "page."
392 #~ msgstr "既存のPDFページにアイテム(画像、注釈、テキストなど)を挿入しましたが、後で意図した場所とは異なる位置に配置されていることがあります。たとえば、画像はページの上部に挿入する予定でしたが、予想外にページの下部近くに表示されています。"
393
394 #~ msgid ""
395 #~ "The creator of the PDF has "
396 #~ "established a non-standard page geometry"
397 #~ " without keeping it \"local\" (as "
398 #~ "they should!). Most commonly, the PDF"
399 #~ " standard point (0,0) at *bottom-"
400 #~ "left* has been changed to the "
401 #~ "*top-left* point. So top and bottom"
402 #~ " are reversed -- causing your "
403 #~ "insertion to be misplaced."
404 #~ msgstr "PDFの作成者が標準ではないページジオメトリを設定しており、それを「ローカル」に保持していないためです(正しい方法で保持すべきです)。最も一般的には、PDF標準の座標(0,0)が左下にある点から、左上の点に変更されています。したがって、上下が逆転し、挿入が誤って配置されてしまいます。"
405
406 #~ msgid ""
407 #~ "The visible image of a PDF page"
408 #~ " is controlled by commands coded in"
409 #~ " a special mini-language. For an "
410 #~ "overview of this language consult "
411 #~ "\"Operator Summary\" on pp. 643 of "
412 #~ "the :ref:`AdobeManual`. These commands are "
413 #~ "stored in :data:`contents` objects as "
414 #~ "strings (*bytes* in PyMuPDF)."
415 #~ msgstr ""
416 #~ "PDFページの可視イメージは、特別なミニ言語でコード化されたコマンドによって制御されています。この言語の概要については、 "
417 #~ ":ref:`AdobeManual` のpp. "
418 #~ "643にある「オペレーターサマリー」を参照してください。これらのコマンドは、 :data:`contents` "
419 #~ "オブジェクトに文字列(PyMuPDFではバイト)として格納されます。"
420
421 #~ msgid ""
422 #~ "There are commands in that language, "
423 #~ "which change the coordinate system of"
424 #~ " the page for all the following "
425 #~ "commands. In order to limit the "
426 #~ "scope of such commands to \"local\", "
427 #~ "they must be wrapped by the "
428 #~ "command pair *q* (\"save graphics "
429 #~ "state\", or \"stack\") and *Q* "
430 #~ "(\"restore graphics state\", or \"unstack\")."
431 #~ msgstr "この言語には、次に続くすべてのコマンドの座標系を変更するコマンドがあります。このようなコマンドのスコープを「ローカル」に制限するためには、コマンドペアq(「グラフィックスステートの保存」または「スタック」)およびQ(「グラフィックスステートの復元」または「アンスタック」)で囲む必要があります。"
432
433 #~ msgid "So the PDF creator did this::"
434 #~ msgstr "したがって、PDFの作成者は次のように行いました::"
435
436 #~ msgid "where they should have done this::"
437 #~ msgstr "正しくは、次のように行うべきでした::"
438
439 #~ msgid ""
440 #~ "In the mini-language's syntax, spaces"
441 #~ " and line breaks are equally accepted"
442 #~ " token delimiters."
443 #~ msgstr "ミニ言語の構文では、スペースと改行は同様にトークンの区切りとして受け入れられます。"
444
445 #~ msgid "Multiple consecutive delimiters are treated as one."
446 #~ msgstr "複数の連続した区切りは、1つとして扱われます。"
447
448 #~ msgid ""
449 #~ "Keywords \"stream\" and \"endstream\" are "
450 #~ "inserted automatically -- not by the "
451 #~ "programmer."
452 #~ msgstr "キーワード「stream」と「endstream」は自動的に挿入されます - プログラマーによって挿入されるものではありません。"
453
454 #~ msgid ""
455 #~ "Since v1.16.0, there is the property "
456 #~ ":attr:`Page.is_wrapped`, which lets you check"
457 #~ " whether a page's contents are "
458 #~ "wrapped in that string pair."
459 #~ msgstr "v1.16.0以降、プロパティPage.is_wrappedがあり、ページの内容がその文字列ペアでラップされているかどうかを確認できます。"
460
461 #~ msgid ""
462 #~ "If it is ``False`` or if you "
463 #~ "want to be on the safe side, "
464 #~ "pick one of the following:"
465 #~ msgstr "それが `False` であるか、安全側に立ちたい場合、次のいずれかを選択してください:"
466
467 #~ msgid ""
468 #~ "The easiest way: in your script, "
469 #~ "do a :meth:`Page.clean_contents` before you"
470 #~ " do your first item insertion."
471 #~ msgstr "最も簡単な方法:スクリプトで最初のアイテム挿入を行う前に :meth:`Page.clean_contents` を実行します。"
472
473 #~ msgid ""
474 #~ "Pre-process your PDF with the "
475 #~ "MuPDF command line utility *mutool clean"
476 #~ " -c ...* and work with its "
477 #~ "output file instead."
478 #~ msgstr "PDFをMuPDFコマンドラインユーティリティ `mutool clean -c …` で前処理し、その出力ファイルで作業します。"
479
480 #~ msgid ""
481 #~ "Directly wrap the page's :data:`contents` "
482 #~ "with the stacking commands before you"
483 #~ " do your first item insertion."
484 #~ msgstr "最初のアイテム挿入を行う前に、直接ページの内容をスタッキングコマンドでラップします。"
485
486 #~ msgid ""
487 #~ "**Solutions 1. and 2.** use the "
488 #~ "same technical basis and **do a "
489 #~ "lot more** than what is required "
490 #~ "in this context: they also clean "
491 #~ "up other inconsistencies or redundancies "
492 #~ "that may exist, multiple */Contents* "
493 #~ "objects will be concatenated into one,"
494 #~ " and much more."
495 #~ msgstr ""
496 #~ "**解決策1と2** "
497 #~ "は同じ技術的基盤を使用しており、この文脈で必要なもの以上のことを行います:他の不整合や冗長性もクリーンアップされ、複数の "
498 #~ "*/Contents* オブジェクトが1つに結合されるなど、さまざまな操作が行われます。"
499
500 #~ msgid ""
501 #~ "For **incremental saves,** solution 1. "
502 #~ "has an unpleasant implication: it will"
503 #~ " bloat the update delta, because it"
504 #~ " changes so many things and, in "
505 #~ "addition, stores the **cleaned contents "
506 #~ "uncompressed**. So, if you use "
507 #~ ":meth:`Page.clean_contents` you should consider "
508 #~ "**saving to a new file** with (at"
509 #~ " least) *garbage=3* and *deflate=True*."
510 #~ msgstr ""
511 #~ "増分保存の場合、解決策1には不快な影響があります:多くの変更を行い、さらにクリーンされた内容を非圧縮で保存するため、更新デルタが膨れる可能性があります。したがって、"
512 #~ " :meth:`Page.clean_contents` を使用する場合は、(少なくとも) "
513 #~ "`garbage=3` および `deflate=True` "
514 #~ "を指定して新しいファイルに保存することを検討する必要があります。"
515
516 #~ msgid ""
517 #~ "**Solution 3.** is completely under your"
518 #~ " control and only does the minimum"
519 #~ " corrective action. There is a handy"
520 #~ " utility method :meth:`Page.wrap_contents` which"
521 #~ " -- as twe name suggests -- "
522 #~ "**wraps** the page's :data:`contents` "
523 #~ "object(s) by the PDF commands `q` "
524 #~ "and `Q`."
525 #~ msgstr ""
526 #~ "**解決策3** は完全にあなたの制御下にあり、最小限の修正しか行いません。便利なユーティリティメソッド "
527 #~ ":meth:`Page.wrap_contents` があり、名前が示すように、ページの内容 "
528 #~ "(:data:`contents`) オブジェクトをPDFコマンド `q` と `Q`"
529 #~ " でラップします。"
530
531 #~ msgid ""
532 #~ "This solution is extremely fast and "
533 #~ "the changes to the PDF are "
534 #~ "minimal. This is useful in situations"
535 #~ " where incrementally saving the file "
536 #~ "is desirable -- or even a must "
537 #~ "when the PDF has been digitally "
538 #~ "signed and you cannot change this "
539 #~ "status."
540 #~ msgstr "この解決策は非常に高速で、PDFへの変更は最小限です。これは、ファイルを増分保存することが望ましい場合、またはPDFがデジタル署名されており、このステータスを変更できない場合に便利です。"
541
542 #~ msgid "We recommend the following snippet to get the situation under control:"
543 #~ msgstr "次のスニペットを使用して状況をコントロールすることをお勧めします:"
544
545 #~ msgid "How to Deal with Messages Issued by :title:`MuPDF`"
546 #~ msgstr ":title:`MuPDF` から発行されるメッセージの処理方法"
547
548 #~ msgid ""
549 #~ "Since |PyMuPDF| v1.16.0, **error messages**"
550 #~ " issued by the underlying :title:`MuPDF`"
551 #~ " library are being redirected to the"
552 #~ " Python standard device *sys.stderr*. So"
553 #~ " you can handle them like any "
554 #~ "other output going to this devices."
555 #~ msgstr ""
556 #~ "PyMuPDF v1.16.0以降、基盤となるMuPDFライブラリから発行されるエラーメッセージは、Python標準デバイス"
557 #~ " *sys.stderr* "
558 #~ "にリダイレクトされます。したがって、これらのメッセージはこのデバイスに出力される他の出力と同様に扱うことができます。"
559
560 #~ msgid ""
561 #~ "In addition, these messages go to "
562 #~ "the internal buffer together with any"
563 #~ " :title:`MuPDF` warnings -- see below."
564 #~ msgstr "さらに、これらのメッセージはMuPDFの警告とともに内部バッファに送られます - 以下を参照してください。"
565
566 #~ msgid ""
567 #~ "We always prefix these messages with "
568 #~ "an identifying string *\"mupdf:\"*. If "
569 #~ "you prefer to not see recoverable "
570 #~ "MuPDF errors at all, issue the "
571 #~ "command `pymupdf.TOOLS.mupdf_display_errors(False)`."
572 #~ msgstr ""
573 #~ "これらのメッセージは常に識別用の文字列 `\"mupdf:\"` "
574 #~ "で始まります。復旧可能なMuPDFエラーを全く表示したくない場合は、コマンド "
575 #~ "`pymupdf.TOOLS.mupdf_display_errors(False)` を発行してください。"
576
577 #~ msgid ""
578 #~ "MuPDF warnings continue to be stored "
579 #~ "in an internal buffer and can be"
580 #~ " viewed using :meth:`Tools.mupdf_warnings`."
581 #~ msgstr "MuPDFの警告は引き続き内部バッファに保存され、 :meth:`Tools.mupdf_warnings` を使用して表示できます。"
582
583 #~ msgid ""
584 #~ "Please note that MuPDF errors may "
585 #~ "or may not lead to Python "
586 #~ "exceptions. In other words, you may "
587 #~ "see error messages from which MuPDF "
588 #~ "can recover and continue processing."
589 #~ msgstr "MuPDFのエラーがPython例外につながる場合とつながらない場合があることに注意してください。言い換えれば、MuPDFが回復して処理を続けることができるエラーメッセージが表示される可能性があります。"
590
591 #~ msgid ""
592 #~ "Example output for a **recoverable "
593 #~ "error**. We are opening a damaged "
594 #~ "PDF, but MuPDF is able to repair"
595 #~ " it and gives us a little "
596 #~ "information on what happened. Then we"
597 #~ " illustrate how to find out whether"
598 #~ " the document can later be saved "
599 #~ "incrementally. Checking the "
600 #~ ":attr:`Document.is_dirty` attribute at this "
601 #~ "point also indicates that during "
602 #~ "`pymupdf.open` the document had to be"
603 #~ " repaired:"
604 #~ msgstr ""
605 #~ "回復可能なエラーの例出力です。損傷したPDFを開いていますが、MuPDFはそれを修復し、何が起こったかに関する少しの情報を提供しています。その後、ドキュメントが後で増分保存できるかどうかを調べる方法も示しています。この時点で"
606 #~ " :attr:`Document.is_dirty` 属性をチェックすることも、 `pymupdf.open`"
607 #~ " の際にドキュメントを修復する必要があったことを示しています::"
608
609 #~ msgid "Example output for an **unrecoverable error**:"
610 #~ msgstr "**復旧できないエラー**の例出力:"
611
612 #~ msgid "Discord logo"
613 #~ msgstr ""
614