Debian Codegraph @

docs/locales/ja/LC_MESSAGES/textpage.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-11-25 23:33+0000\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 a689d6f014ae4b3e996f4ea1430fd7e2
23 msgid "Artifex"
24 msgstr ""
25
26 #: ../../header.rst:-1 fcaf663acdd64264ba54a9b09a7a053d
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 2384969b3a1a48ecb481ced21413e4ab
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 #: ../../textpage.rst:7 b50883dcbbd2424db737f428b4204dc7
39 msgid "TextPage"
40 msgstr "TextPage (テキストページ)"
41
42 #: ../../textpage.rst:9 6e81bba1ccf7481d8fc21ba0651cd715
43 msgid ""
44 "This class represents text and images shown on a document page. All "
45 ":ref:`MuPDF document types<Supported_File_Types>` are supported."
46 msgstr ""
47 "このクラスは、文書ページに表示されるテキストと画像を表します。すべての :ref:`MuPDF document "
48 "types<Supported_File_Types>` がサポートされています。"
49
50 #: ../../textpage.rst:11 214a6f0b55b94183bb1a4fee5b003e96
51 msgid ""
52 "The usual ways to create a textpage are :meth:`DisplayList.get_textpage` "
53 "and :meth:`Page.get_textpage`. Because there is a limited set of methods "
54 "in this class, there exist wrappers in :ref:`Page` which are handier to "
55 "use. The last column of this table shows these corresponding :ref:`Page` "
56 "methods."
57 msgstr ""
58 "テキストページを作成する通常の方法は、:meth:`DisplayList.get_textpage` および "
59 ":meth:`Page.get_textpage` です。このクラスにはメソッドのセットが制限されているため、:ref:`Page` "
60 "内にはより使いやすいラッパーが存在します。この表の最後の列には、対応する :ref:`Page` メソッドが示されています。"
61
62 #: ../../textpage.rst:13 8974c23cb16b4aa1b56189eff275c6fe
63 msgid "For a description of what this class is all about, see Appendix 2."
64 msgstr "このクラスに関する詳細な説明については、付録2を参照してください。"
65
66 #: ../../textpage.rst:16 a2ef271a41f24f089f82cb6c12de5544
67 msgid "**Method**"
68 msgstr "**メソッド**"
69
70 #: ../../textpage.rst:16 5b00ef707e3f4637b40a48d5d422e544
71 msgid "**Description**"
72 msgstr "**説明**"
73
74 #: ../../textpage.rst:16 c508a7963cbb4c77ab691615841f72fb
75 msgid "page get_text or search method"
76 msgstr "page get_textまたはsearchメソッド"
77
78 #: ../../textpage.rst:18 24790f911d6d4af491f3f0d4a90c5e4e
79 msgid ":meth:`~.extractText`"
80 msgstr ""
81
82 #: ../../textpage.rst:18 56f3e18347124df290f5bb60a9c6ab6f
83 msgid "extract plain text"
84 msgstr "プレーンテキストを抽出します"
85
86 #: ../../textpage.rst:18 ../../textpage.rst:19 292888a082e041b8820ab5b47243fa82
87 #: 587fc832f8b941329c209fc49dd67b0b
88 msgid "\"text\""
89 msgstr ""
90
91 #: ../../textpage.rst:19 062786889a8a4ad586cea1bcbfa2bb0d
92 msgid ":meth:`~.extractTEXT`"
93 msgstr ""
94
95 #: ../../textpage.rst:19 e0b7b72c38c746a4b7c512c66b738f1c
96 msgid "synonym of previous"
97 msgstr "前述の同義語"
98
99 #: ../../textpage.rst:20 98ed5aa1b9884de7858b147ee2bd2f0c
100 msgid ":meth:`~.extractBLOCKS`"
101 msgstr ""
102
103 #: ../../textpage.rst:20 35f208a1af3c4c5c8f17069788e702ca
104 msgid "plain text grouped in blocks"
105 msgstr "ブロックにグループ化されたプレーンテキスト"
106
107 #: ../../textpage.rst:20 6318f67c8f964981b4a354142092e102
108 msgid "\"blocks\""
109 msgstr ""
110
111 #: ../../textpage.rst:21 07a1408ddaf24b158ac6dc5d9fcc8115
112 msgid ":meth:`~.extractWORDS`"
113 msgstr ""
114
115 #: ../../textpage.rst:21 52e0458f76ee4231a07829bb051b29ac
116 msgid "all words with their bbox"
117 msgstr "すべての単語とそのバウンディングボックス"
118
119 #: ../../textpage.rst:21 2efe7bf211e74dc4a731d81393a6e10c
120 msgid "\"words\""
121 msgstr ""
122
123 #: ../../textpage.rst:22 7c9da76988c243e0b79a0f2a5c23cee7
124 msgid ":meth:`~.extractHTML`"
125 msgstr ""
126
127 #: ../../textpage.rst:22 269dcb92057443e096b0cd366dd7ba29
128 msgid "page content in HTML format"
129 msgstr "HTML形式のページコンテンツ"
130
131 #: ../../textpage.rst:22 d24ee0e44d5c45e59f125aacaccf3465
132 msgid "\"html\""
133 msgstr ""
134
135 #: ../../textpage.rst:23 388abf5016ba455c959cdd56009a4499
136 msgid ":meth:`~.extractXHTML`"
137 msgstr ""
138
139 #: ../../textpage.rst:23 b09f5acedceb4611bc7ea51121eb9bb2
140 msgid "page content in XHTML format"
141 msgstr "XHTML形式のページコンテンツ"
142
143 #: ../../textpage.rst:23 416a7019408e492da02693ffd6949a7a
144 msgid "\"xhtml\""
145 msgstr ""
146
147 #: ../../textpage.rst:24 ee85d9810eff41caa760d9ffb2a4fed2
148 msgid ":meth:`~.extractXML`"
149 msgstr ""
150
151 #: ../../textpage.rst:24 8ab1b023d2cc42b6ae74cb3b92b8d797
152 msgid "page text in XML format"
153 msgstr "XML形式のページテキスト"
154
155 #: ../../textpage.rst:24 fd3d4026c2c045b6a5dc724cd3c1cd16
156 msgid "\"xml\""
157 msgstr ""
158
159 #: ../../textpage.rst:25 a0d67d42d20d483ba2dc7c60232c4262
160 msgid ":meth:`~.extractDICT`"
161 msgstr ""
162
163 #: ../../textpage.rst:25 ../../textpage.rst:27 1867105a7ef841cd809711e47e335c93
164 #: 8cfc8dba8d384e489e2948bcbd7adaca
165 msgid "page content in *dict* format"
166 msgstr "*辞書* 形式のページコンテンツ"
167
168 #: ../../textpage.rst:25 8159466e656146a38f47f43f6bdcb810
169 msgid "\"dict\""
170 msgstr ""
171
172 #: ../../textpage.rst:26 1d75b88f1edb442898ea8017de3492d7
173 msgid ":meth:`~.extractJSON`"
174 msgstr ""
175
176 #: ../../textpage.rst:26 ../../textpage.rst:28 7480fba67d534ecc8956acf7902d5aed
177 #: 82d01a9dbb1d488198ecd836fed442ff
178 msgid "page content in JSON format"
179 msgstr "JSON形式のページコンテンツ"
180
181 #: ../../textpage.rst:26 78d2d0b851b240db8420aa1f8c823676
182 msgid "\"json\""
183 msgstr ""
184
185 #: ../../textpage.rst:27 1ade4b09c9674544bb58977574f5d593
186 msgid ":meth:`~.extractRAWDICT`"
187 msgstr ""
188
189 #: ../../textpage.rst:27 3155e2902bcd4713aa47e4919ec46081
190 msgid "\"rawdict\""
191 msgstr ""
192
193 #: ../../textpage.rst:28 b5f0e031790f497694abb5caa6eee204
194 msgid ":meth:`~.extractRAWJSON`"
195 msgstr ""
196
197 #: ../../textpage.rst:28 9b7e2e49823242bf83ea6a25986488d0
198 msgid "\"rawjson\""
199 msgstr ""
200
201 #: ../../textpage.rst:29 c2c9458e9c4a490087a519b61ecc5b19
202 msgid ":meth:`~.search`"
203 msgstr ""
204
205 #: ../../textpage.rst:29 ee8c8a71aa524335969fbb8af60b211e
206 msgid "Search for a string in the page"
207 msgstr "ページ内の文字列を検索します"
208
209 #: ../../textpage.rst:29 f79465ca7ff14a0a80fc365911c70bf6
210 msgid ":meth:`Page.search_for`"
211 msgstr ""
212
213 #: ../../textpage.rst:32 083eef252c154937ae0bc85aa81aff68
214 msgid "**Class API**"
215 msgstr "**クラスAPI**"
216
217 #: ../../textpage.rst:40 f33111b086ad4d72980c782edd305dd0
218 msgid ""
219 "Return a string of the page's complete text. The text is UTF-8 unicode "
220 "and in the same sequence as specified at the time of document creation."
221 msgstr "ページの完全なテキストの文字列を返します。テキストはUTF-8ユニコードで、文書作成時に指定された順序と同じです。"
222
223 #: ../../textpage.rst 3e9d1669f2fe4f15ab3177563f0420e3
224 #: 4bd4b9fa21ed426188fe213d2241f4ac 720def9977a743fdb77d7caeb93f8e63
225 #: aea747bd7d624e70bc7def00d62df838 ca24753a6b21474daba199227cbdb7cd
226 #: d0072bc05d7144aca56767bfde82c6a9 e1647eb182054d70be24b2cc9c6381ca
227 msgid "Parameters"
228 msgstr ""
229
230 #: ../../textpage.rst:42 ../../textpage.rst:85 ../../textpage.rst:93
231 #: ../../textpage.rst:113 ../../textpage.rst:121
232 #: 053cd209c0cd44b08367efe95d323dcb 2e3408186db64af29672df98a2541c3a
233 #: 88f4b7d0b3014f8ab6a88c7157c764d9 eafc202f0101431bbd82bb8f066f24c2
234 #: f7da0622405347bcb10099abdba152a3
235 msgid ""
236 "(new in v1.19.1) sort the output by vertical, then horizontal "
237 "coordinates. In many cases, this should suffice to generate a \"natural\""
238 " reading order."
239 msgstr ""
240
241 #: ../../textpage.rst 07f5f0a7fa5f4efbb1093cd496e1425a
242 #: 0f27872a10dd46fda6c8e7ecaf77c92b 34621dc4778249c49fbd4c5f8fd2fd39
243 #: 4c8745e920b8430fadff84a8e977a147 5081234f6b32451d915cc94583c1d60e
244 #: 9a9a5268dcfc421cb4ca9b69e5030ee1 9f3241fa28914e49a481723379042cd8
245 #: c0b2e445162446e1b4a2e0eb834ac7ca f3b8d685f26e44edbe5e23bac745020d
246 #: f63537f76faf47c884089748bdcbcd8b f8803c61a6fc41fe89a08237112d6d49
247 msgid "Return type"
248 msgstr ""
249
250 #: ../../textpage.rst:49 63307d556a584ea19173a54596c7f880
251 msgid ""
252 "Textpage content as a list of text lines grouped by block. Each list "
253 "items looks like this::"
254 msgstr "テキストページの内容を、ブロックごとにグループ化されたテキスト行のリストとして返します。各リストアイテムは次のようになります::"
255
256 #: ../../textpage.rst:53 78718be495234f9dbfa93e48e16d1e13
257 msgid ""
258 "The first four entries are the block's bbox coordinates, *block_type* is "
259 "1 for an image block, 0 for text. *block_no* is the block sequence "
260 "number. Multiple text lines are joined via line breaks."
261 msgstr ""
262 "最初の4つのエントリはブロックのbbox座標で、*ブblock_type* は画像ブロックの場合は1、テキストの場合は0です。*block_no*"
263 " はブロックのシーケンス番号です。複数のテキスト行は改行で結合されます。"
264
265 #: ../../textpage.rst:55 12f402e2e12346f8b7dd871f590f3197
266 msgid ""
267 "For an image block, its bbox and a text line with some image meta "
268 "information is included -- **not the image content**."
269 msgstr "画像ブロックの場合、そのbboxと画像メタ情報を含むテキスト行が含まれますが、**画像の内容は含まれません**。"
270
271 #: ../../textpage.rst:57 fb2f6c324124423bb74dbd2e4b974806
272 msgid ""
273 "This is a high-speed method with just enough information to output plain "
274 "text in desired reading sequence."
275 msgstr "これは、必要な読み取り順序でプレーンテキストを出力するのに十分な情報を持つ高速なメソッドです。"
276
277 #: ../../textpage.rst:63 cfb05f044359435fb061d158cb6ef21e
278 msgid "Changed in v1.23.5: added `delimiters` parameter"
279 msgstr ""
280
281 #: ../../textpage.rst:65 e3116b1baa374ce2b67b6002aaae107d
282 msgid ""
283 "Textpage content as a list of single words with bbox information. An item"
284 " of this list looks like this::"
285 msgstr "テキストページの内容を、bbox情報を持つ単語のリストとして返します。このリストのアイテムは次のようになります::"
286
287 #: ../../textpage.rst:69 6f56fac0469e45afa313a96110815e53
288 msgid ""
289 "(new in v1.23.5) use these characters as *additional* word separators. By"
290 " default, all white spaces (including the non-breaking space `0xA0`) "
291 "indicate start and end of a word. Now you can specify more characters "
292 "causing this. For instance, the default will return "
293 "`\"[email protected]\"` as **one** word. If you specify "
294 "`delimiters=\"@.\"` then the **four** words `\"john\"`, `\"doe\"`, "
295 "`\"outlook\"`, `\"com\"` will be returned. Other possible uses include "
296 "ignoring punctuation characters `delimiters=string.punctuation`. The "
297 "\"word\" strings will not contain any delimiting character."
298 msgstr ""
299
300 #: ../../textpage.rst:71 f122cb9dbcfb43fb8cd911d4aabb4817
301 #, fuzzy
302 msgid ""
303 "This is a high-speed method which e.g. allows extracting text from within"
304 " given areas or recovering the text reading sequence."
305 msgstr ""
306 "スペースで区切られたすべてが *「単語」* "
307 "として扱われます。これは、指定された領域内からテキストを抽出したり、テキストの読み取り順序を復元したりするのに適した高速なメソッドです。"
308
309 #: ../../textpage.rst:77 9fd59d1b4ce240e7ab72d24d4bfe0b1d
310 msgid ""
311 "Textpage content as a string in HTML format. This version contains "
312 "complete formatting and positioning information. Images are included "
313 "(encoded as base64 strings). You need an HTML package to interpret the "
314 "output in Python. Your internet browser should be able to adequately "
315 "display this information, but see :ref:`HTMLQuality`."
316 msgstr ""
317 "HTML形式の文字列としてのテキストページの内容を返します。このバージョンには完全なフォーマットと位置情報が含まれています。画像も含まれており(base64文字列としてエンコードされています)、Pythonで出力を解釈するためにはHTMLパッケージが必要です。インターネットブラウザはこの情報を適切に表示できるはずですが、:ref:`HTMLQuality`"
318 " を参照してください。"
319
320 #: ../../textpage.rst:83 a07e225c4bf3412585128a2fb86b8200
321 msgid ""
322 "Textpage content as a Python dictionary. Provides same information detail"
323 " as HTML. See below for the structure."
324 msgstr "TextPageの内容をPythonの辞書として取得します。HTMLと同じ情報の詳細を提供します。構造については以下を参照してください。"
325
326 #: ../../textpage.rst:91 3c7dcaacfe924c9ab076958b43f75600
327 msgid ""
328 "Textpage content as a JSON string. Created by "
329 "`json.dumps(TextPage.extractDICT())`. It is included for backlevel "
330 "compatibility. You will probably use this method ever only for outputting"
331 " the result to some file. The method detects binary image data and "
332 "converts them to base64 encoded strings."
333 msgstr ""
334 "TextPageの内容をJSON形式の文字列として取得します。`json.dumps(TextPage.extractDICT())` "
335 "によって作成されます。これは過去の互換性のために含まれています。おそらく、結果をファイルに出力する際にのみこのメソッドを使用するでしょう。このメソッドはバイナリ画像データを検出し、それらをBase64エンコードされた文字列に変換します。"
336
337 #: ../../textpage.rst:99 87f36a88ced6410383dcdafa2979eae5
338 msgid ""
339 "Textpage content as a string in XHTML format. Text information detail is "
340 "comparable with :meth:`extractTEXT`, but also contains images (base64 "
341 "encoded). This method makes no attempt to re-create the original visual "
342 "appearance."
343 msgstr ""
344 "TextPageの内容をXHTML形式の文字列として取得します。テキスト情報の詳細は :meth:`extractTEXT` "
345 "と比較できますが、画像も含まれます(Base64エンコードされています)。このメソッドは元の視覚的な外観を再作成しようとしません。"
346
347 #: ../../textpage.rst:105 ce4a584473674c4e91533c25a532fe15
348 msgid ""
349 "Textpage content as a string in XML format. This contains complete "
350 "formatting information about every single character on the page: font, "
351 "size, line, paragraph, location, color, etc. Contains no images. You need"
352 " an XML package to interpret the output in Python."
353 msgstr "TextPageの内容をXML形式の文字列として取得します。これにはページ上の各文字に関する完全なフォーマット情報が含まれています:フォント、サイズ、行、段落、位置、色など。画像は含まれていません。Pythonで出力を解釈するにはXMLパッケージが必要です。"
354
355 #: ../../textpage.rst:111 53dc5f5e5cc04c54a952877ba4755541
356 msgid ""
357 "Textpage content as a Python dictionary -- technically similar to "
358 ":meth:`extractDICT`, and it contains that information as a subset "
359 "(including any images). It provides additional detail down to each "
360 "character, which makes using XML obsolete in many cases. See below for "
361 "the structure."
362 msgstr ""
363 "TextPageの内容をPythonの辞書として取得します。技術的には :meth:`extractDICT` "
364 "と類似しており、その情報をサブセットとして含みます(画像も含まれます)。詳細については以下を参照してください。"
365
366 #: ../../textpage.rst:119 33863035deb9499b8feb6d00b3064acb
367 msgid ""
368 "Textpage content as a JSON string. Created by "
369 "`json.dumps(TextPage.extractRAWDICT())`. You will probably use this "
370 "method ever only for outputting the result to some file. The method "
371 "detects binary image data and converts them to base64 encoded strings."
372 msgstr ""
373 "TextPageの内容をJSON形式の文字列として取得します。`json.dumps(TextPage.extractRAWDICT())` "
374 "によって作成されます。おそらく、結果をファイルに出力する際にのみこのメソッドを使用するでしょう。このメソッドはバイナリ画像データを検出し、それらをBase64エンコードされた文字列に変換します。"
375
376 #: ../../textpage.rst:127 209053b84b6545e3994a163287facefa
377 msgid "Changed in v1.18.2"
378 msgstr "変更内容 v1.18.2"
379
380 #: ../../textpage.rst:129 05ffbacb61c7489882f082b48886e8d5
381 msgid "Search for *string* and return a list of found locations."
382 msgstr "*文字列* を検索し、見つかった位置のリストを返します。"
383
384 #: ../../textpage.rst:131 c71683b946f54d84aff575da2005613b
385 msgid ""
386 "the string to search for. Upper and lower cases will all match if needle "
387 "consists of ASCII letters only -- it does not yet work for \"Ä\" versus "
388 "\"ä\", etc."
389 msgstr ""
390 "検索対象の文字列。ASCII文字だけで構成されている場合、大文字と小文字はすべて一致します。これはまだ、例えば \"Ä\" と \"ä\" "
391 "のような場合には機能しません。"
392
393 #: ../../textpage.rst:132 0f1af98486ec43429066d8c48e3dc958
394 msgid "return quadrilaterals instead of rectangles."
395 msgstr "長方形の代わりに四辺形を返すかどうか。"
396
397 #: ../../textpage.rst 943e3f54b51f470ba6d34411ccdabcd3
398 msgid "Returns"
399 msgstr ""
400
401 #: ../../textpage.rst:134 89e19eb80ccd4b318611f268b0f75d7e
402 msgid ""
403 "a list of :ref:`Rect` or :ref:`Quad` objects, each surrounding a found "
404 "*needle* occurrence. As the search string may contain spaces, its parts "
405 "may be found on different lines. In this case, more than one rectangle "
406 "(resp. quadrilateral) are returned. **(Changed in v1.18.2)** The method "
407 "**now supports dehyphenation**, so it will find e.g. \"method\", even if "
408 "it was hyphenated in two parts \"meth-\" and \"od\" across two lines. The"
409 " two returned rectangles will contain \"meth\" (no hyphen) and \"od\"."
410 msgstr ""
411 "見つかった *needle* の出現箇所を囲む :ref:`Rect` または :ref:`Quad` "
412 "オブジェクトのリスト。検索文字列にはスペースが含まれる可能性があるため、その部分が異なる行に存在することがあります。この場合、複数の長方形(または四辺形)が返されます"
413 " **(v1.18.2 で変更)** 。このメソッドは **今ではハイフネーションに対応しており** 、例えば \"method\" が "
414 "\"meth-\" と \"od\" という2つの部分に分かれている場合でも、\"meth\"(ハイフンなし)と \"od\" "
415 "の2つの長方形が含まれます。"
416
417 #: ../../textpage.rst:136 c134a9fb178648ae8bab433d54e37e2b
418 msgid "**Overview of changes in v1.18.2:**"
419 msgstr "**v1.18.2 での変更内容の概要:**"
420
421 #: ../../textpage.rst:138 d9a3438955224e5685de548903667d74
422 msgid "The `hit_max` parameter has been removed: all hits are always returned."
423 msgstr "`hit_max` パラメータが削除され、すべてのヒットが常に返されます。"
424
425 #: ../../textpage.rst:139 c687c9305d954f6eaea257e2fe5bbe58
426 msgid ""
427 "The `rect` parameter of the :ref:`TextPage` is now respected: only text "
428 "inside this area is examined. Only characters with fully contained bboxes"
429 " are considered. The wrapper method :meth:`Page.search_for` "
430 "correspondingly supports a *clip* parameter."
431 msgstr ""
432 ":ref:`TextPage` の `rect` パラメータが尊重され、この領域内のテキストのみが検査されます。完全に含まれる bboxes "
433 "を持つ文字のみが考慮されます。:meth:`Page.search_for` のラッパーメソッドも対応するクリップパラメータをサポートしています。"
434
435 #: ../../textpage.rst:140 ec9e270e430341a88939c174a0e838a3
436 msgid "**Hyphenated words** are now found."
437 msgstr "**ハイフネーションされた単語** も見つかります。"
438
439 #: ../../textpage.rst:141 595b14cd29774ef49fd1666b1d37dbb7
440 msgid ""
441 "**Overlapping rectangles** in the same line are now automatically joined."
442 " We assume that such separations are an artifact created by multiple "
443 "marked content groups, containing parts of the same search needle."
444 msgstr ""
445 "同じ行内の **重複する長方形** "
446 "は自動的に結合されます。このような分割は、同じ検索対象の一部を含む複数のマークコンテンツグループによって作成されたアーティファクトと仮定されます。"
447
448 #: ../../textpage.rst:143 7b283f04f24544e18dc95d6f698f1a39
449 msgid ""
450 "Example Quad versus Rect: when searching for needle \"pymupdf\", then the"
451 " corresponding entry will either be the blue rectangle, or, if *quads* "
452 "was specified, the quad *Quad(ul, ur, ll, lr)*."
453 msgstr ""
454 "例:Quad 対 Rect:needle \"pymupdf\" を検索する場合、対応するエントリは青い長方形であるか、*quads* "
455 "が指定された場合は四辺形 *Quad(ul, ur, ll, lr)* になります。"
456
457 #: ../../textpage.rst:149 22015cb6553240db9caee4c5d4d0a06b
458 msgid ""
459 "The rectangle associated with the text page. This either equals the "
460 "rectangle of the creating page or the `clip` parameter of "
461 ":meth:`Page.get_textpage` and text extraction / searching methods."
462 msgstr ""
463 "テキストページに関連付けられた矩形。これは、作成ページの矩形または :meth:`Page.get_textpage` "
464 "およびテキスト抽出/検索メソッドの `clip` パラメーターと一致する場合があります。"
465
466 #: ../../textpage.rst:151 e4d7797e393d49f38a2ad6066b720a21
467 msgid ""
468 "The output of text searching and most text extractions **is restricted to"
469 " this rectangle**. (X)HTML and XML output will however always extract the"
470 " full page."
471 msgstr ""
472 "テキスト検索およびほとんどのテキスト抽出の出力は "
473 "**この矩形に制限されます**。ただし、(X)HTMLおよびXMLの出力は常にフルページを抽出します。"
474
475 #: ../../textpage.rst:156 746d4f0331d74f5eb4b706ab194b8b02
476 msgid "Structure of Dictionary Outputs"
477 msgstr "辞書出力の構造"
478
479 #: ../../textpage.rst:157 ae8559712aa84a3b8f3abc14fba42605
480 msgid ""
481 "Methods :meth:`TextPage.extractDICT`, :meth:`TextPage.extractJSON`, "
482 ":meth:`TextPage.extractRAWDICT`, and :meth:`TextPage.extractRAWJSON` "
483 "return dictionaries, containing the page's text and image content. The "
484 "dictionary structures of all four methods are almost equal. They strive "
485 "to map the text page's information hierarchy of blocks, lines, spans and "
486 "characters as precisely as possible, by representing each of these by its"
487 " own sub-dictionary:"
488 msgstr ""
489 ":meth:`TextPage.extractDICT`、:meth:`TextPage.extractJSON` "
490 "、:meth:`TextPage.extractRAWDICT` 、:meth:`TextPage.extractRAWJSON` "
491 "は、ページのテキストおよび画像コンテンツを含む辞書を返します。これらの4つのメソッドの辞書構造はほぼ同じです。これらは、ブロック、行、スパン、文字の情報階層をテキストページにできるだけ正確にマップし、各要素を独自のサブ辞書で表現することを目指しています。"
492
493 #: ../../textpage.rst:159 1fc549b40ec54504aba36b49e614c7cc
494 msgid "A **page** consists of a list of **block dictionaries**."
495 msgstr "**ページ** は **ブロック辞書** のリストから構成されます。"
496
497 #: ../../textpage.rst:160 531deb445eda49c78ee0170f577f2f93
498 msgid "A (text) **block** consists of a list of **line dictionaries**."
499 msgstr "(テキスト) **ブロック** は、**行辞書** のリストから構成されます。"
500
501 #: ../../textpage.rst:161 5d0d26a55df64fb0bc4619f73f865415
502 msgid "A **line** consists of a list of **span dictionaries**."
503 msgstr "**行** は、**スパン辞書** のリストから構成されます。"
504
505 #: ../../textpage.rst:162 d297bff2aae540828c971d533f6fe3bb
506 msgid ""
507 "A **span** either consists of the text itself or, for the RAW variants, a"
508 " list of **character dictionaries**."
509 msgstr "**スパン** は、テキスト自体またはRAWバリアントの場合、**文字辞書** のリストから構成されます。"
510
511 #: ../../textpage.rst:163 37000c1f71684c77a812407e7849a0e0
512 msgid ""
513 "RAW variants: a **character** is a dictionary of its origin, bbox and "
514 "unicode."
515 msgstr "RAWバリアント:**文字** はその起源、bbox、およびUnicodeの辞書です。"
516
517 #: ../../textpage.rst:165 192df2422b5e482bbb29f7afc93e8cdc
518 msgid ""
519 "All PyMuPDF geometry objects herein (points, rectangles, matrices) are "
520 "represented by there **\"like\"** formats: a :data:`rect_like` *tuple* is"
521 " used instead of a :ref:`Rect`, etc. The reasons for this are performance"
522 " and memory considerations:"
523 msgstr ""
524 "ここでのすべてのPyMuPDFジオメトリオブジェクト(ポイント、矩形、行列)は、:data:`rect_like` *タプル* の形式で "
525 ":ref:`Rect` などの代わりに使用されます。これは、パフォーマンスとメモリの考慮事項からです。"
526
527 #: ../../textpage.rst:167 517e734e4772478cb6b1bc32cab2ab16
528 msgid ""
529 "This code is written in C, where Python tuples can easily be generated. "
530 "The geometry objects on the other hand are defined in Python source only."
531 " A conversion of each Python tuple into its corresponding geometry object"
532 " would add significant -- and largely unnecessary -- execution time."
533 msgstr ""
534 "このコードはCで書かれており、Pythonタプルは簡単に生成できます。一方、ジオメトリオブジェクトはPythonソースでのみ定義されています。 "
535 "各Pythonタプルを対応するジオメトリオブジェクトに変換することは、実行時間を大幅に(かつ不必要に)増加させるでしょう。"
536
537 #: ../../textpage.rst:168 a7f4b55b2bb84753bc138ab3a04c2f8a
538 msgid ""
539 "A 4-tuple needs about 168 bytes, the corresponding :ref:`Rect` 472 bytes "
540 "- almost three times the size. A \"dict\" dictionary for a text-heavy "
541 "page contains 300+ bbox objects -- which thus require about 50 KB storage"
542 " as 4-tuples versus 140 KB as :ref:`Rect` objects. A \"rawdict\" output "
543 "for such a page will however contain **4 to 5 thousand** bboxes, so in "
544 "this case we talk about 750 KB versus 2 MB."
545 msgstr ""
546 "4つのタプルは約168バイト、対応する :ref:`Rect` は472バイトです - "
547 "サイズのほぼ3倍です。テキストが豊富なページの「dict」辞書には300以上のbboxオブジェクトが含まれているため、これらは4タプルとして約50"
548 " KBのストレージを必要としますが、:ref:`Rect` オブジェクトでは約140 "
549 "KBです。このようなページの「rawdict」出力は、**4,000から5,000** のbboxを含む場合がありますので、この場合は750 "
550 "KB対2 MBとなります。"
551
552 #: ../../textpage.rst:170 bbdd6aa883a447c5b6bbb24a389b7944
553 msgid ""
554 "Please also note, that only **bboxes** (= :data:`rect_like` 4-tuples) are"
555 " returned, whereas a :ref:`TextPage` actually has the **full position "
556 "information** -- in :ref:`Quad` format. The reason for this decision is "
557 "again a memory consideration: a :data:`quad_like` needs 488 bytes (3 "
558 "times the size of a :data:`rect_like`). Given the mentioned amounts of "
559 "generated bboxes, returning :data:`quad_like` information would have a "
560 "significant impact."
561 msgstr ""
562 "また、注意してください。 **bboxes** (rect_like 4タプル)のみが返され、:ref:`TextPage` には "
563 "**完全な位置情報** が含まれていることです - Quad形式で。これはメモリの考慮事項です。:data:`quad_like` "
564 "には488バイト(:data:`rect_like` "
565 "の3倍のサイズ)が必要です。言及した数の生成されたbboxを考えると、:data:`quad_like` "
566 "情報を返すことは重大な影響を与えるでしょう。"
567
568 #: ../../textpage.rst:172 d2d5ce2b47bc4940b491f08fbbaa0027
569 msgid ""
570 "In the vast majority of cases, we are dealing with **horizontal text "
571 "only**, where bboxes provide entirely sufficient information."
572 msgstr "ほとんどの場合、**水平テキストのみ** を扱っており、bboxは十分な情報を提供します。"
573
574 #: ../../textpage.rst:174 feb1b497d7a04358ac4fc4f59750eb21
575 msgid ""
576 "In addition, **the full quad information is not lost**: it can be "
577 "recovered as needed for lines, spans, and characters by using the "
578 "appropriate function from the following list:"
579 msgstr "さらに、**フルクワッド情報は失われていません**。必要に応じて、以下のリストから適切な関数を使用して行、スパン、および文字のクワッド情報を回復できます:"
580
581 #: ../../textpage.rst:176 e89548afd6dc44168e0b77628a3cba31
582 msgid ":meth:`recover_quad` -- the quad of a complete span"
583 msgstr ":meth:`recover_quad` – 完全なスパンのクワッド"
584
585 #: ../../textpage.rst:177 27d71bee525843278a01adf552fa7a36
586 msgid ":meth:`recover_span_quad` -- the quad of a character subset of a span"
587 msgstr ":meth:`recover_span_quad` – スパンの一部の文字のクワッド"
588
589 #: ../../textpage.rst:178 041a2862fe3d48ac95055a9328f85989
590 msgid ":meth:`recover_line_quad` -- the quad of a line"
591 msgstr ":meth:`recover_line_quad` – 行のクワッド"
592
593 #: ../../textpage.rst:179 66ae40921c104d34aba6daaf7127f04f
594 msgid ":meth:`recover_char_quad` -- the quad of a character"
595 msgstr ":meth:`recover_char_quad` – 文字のクワッド"
596
597 #: ../../textpage.rst:181 727a2901b16c4ddd96ae14b244c5424a
598 msgid ""
599 "As mentioned, using these functions is ever only needed, if the text is "
600 "**not written horizontally** -- `line[\"dir\"] != (1, 0)` -- and you need"
601 " the quad for text marker annotations (:meth:`Page.add_highlight_annot` "
602 "and friends)."
603 msgstr ""
604 "前述のように、これらの関数を使用する必要があるのは、テキストが **水平に書かれていない** 場合 - `line[\"dir\"] != (1,"
605 " 0)` - およびテキストマーカーアノテーション(:meth:`Page.add_highlight_annot` "
606 "など)でクワッドが必要な場合のみです。"
607
608 #: ../../textpage.rst:191 7805ac6076c748d18288314bba88341d
609 msgid "Page Dictionary"
610 msgstr "ページ辞書"
611
612 #: ../../textpage.rst:194 ../../textpage.rst:208 ../../textpage.rst:251
613 #: ../../textpage.rst:263 ../../textpage.rst:285 ../../textpage.rst:369
614 #: 29f9782130d642a8b2fddc4dfd20716c 70f3d2461fad4b3fadb0fc3afaea9f2e
615 #: 975906fdd1184ad3ad3fd3d27e4993b0 baf341562d684245aa92ddd993c2dd48
616 #: bf7900e8b9b5405a8f0d4d83a8bf0411 c6778ca210f143f38e1b9841a02401e9
617 msgid "**Key**"
618 msgstr "**キー**"
619
620 #: ../../textpage.rst:194 ../../textpage.rst:208 ../../textpage.rst:251
621 #: ../../textpage.rst:263 ../../textpage.rst:285 ../../textpage.rst:369
622 #: 264a4f1acc10474eb5e78fe3b5e5823b b4b639c47a4a414db8f8f3bb50ee8dc9
623 #: cc9c466c5ba84957921e1ff86a57d116 d94353036c5b40c1846dd829e554f27f
624 #: f0dc2d1c0f2f41dea26d6f56aa6b3a26 fe805e2ac2f84c418cdee9f01871d787
625 msgid "**Value**"
626 msgstr "**値**"
627
628 #: ../../textpage.rst:196 ../../textpage.rst:214
629 #: 07aa10194d0d48eb97c6202f508f7705 8f326282fbe8407aa66c61b1d8bcd062
630 msgid "width"
631 msgstr ""
632
633 #: ../../textpage.rst:196 f244c49149a243688a1885d014c7a1bb
634 msgid "width of the `clip` rectangle *(float)*"
635 msgstr "`clip` 矩形の幅 *(float)*"
636
637 #: ../../textpage.rst:197 ../../textpage.rst:215
638 #: b8882d43fa804c8a9c251b3ec47cef6d bcccca2b99b94b7ea01f4de3b4b7c85a
639 msgid "height"
640 msgstr ""
641
642 #: ../../textpage.rst:197 3100ead6fa2e45f5b61d6969928e4877
643 msgid "height of the `clip` rectangle *(float)*"
644 msgstr "`clip` 矩形の高さ *(float)*"
645
646 #: ../../textpage.rst:198 c5935e75747b42e799fe04c7f318b0da
647 msgid "blocks"
648 msgstr ""
649
650 #: ../../textpage.rst:198 30ab779a07894b089542bb81604f9b47
651 msgid "*list* of block dictionaries"
652 msgstr "ブロック辞書の *list* "
653
654 #: ../../textpage.rst:202 db462c15f35c46f5b52a233a3beed4d0
655 msgid "Block Dictionaries"
656 msgstr "ブロック辞書"
657
658 #: ../../textpage.rst:203 952d964d7a5e43c2848616b970e2716c
659 msgid ""
660 "Block dictionaries come in two different formats for **image blocks** and"
661 " for **text blocks**."
662 msgstr "ブロック辞書は、**画像ブロック** と **テキストブロック** の2つの異なるフォーマットで提供されます。"
663
664 #: ../../textpage.rst:205 238f68f9676441f1bdcff950557a856e
665 msgid "**Image block:**"
666 msgstr "**画像ブロック:**"
667
668 #: ../../textpage.rst:210 ../../textpage.rst:253
669 #: 800a3c27effc460f9480726ec3a5c729 d35d41a494c04f6285bda0eace697528
670 msgid "type"
671 msgstr ""
672
673 #: ../../textpage.rst:210 6328d3cec703451097bfaa7cf7f6c65f
674 #, fuzzy
675 msgid "1 = image (``int``)"
676 msgstr "1 = 画像 *(int)*"
677
678 #: ../../textpage.rst:211 ../../textpage.rst:254 ../../textpage.rst:265
679 #: ../../textpage.rst:287 ../../textpage.rst:372
680 #: 13e6c3dfe54549b9b050cea92d99d01a 322f2d6f5b2b44ed9706ad2f98ad459c
681 #: 4f766fcb9538433a8d4db8a39a80ff3c bc56648f4c414b1eb1faa55dba01ab98
682 #: db0fdf56b2254240a588914bece3c707
683 msgid "bbox"
684 msgstr ""
685
686 #: ../../textpage.rst:211 ff4d18f9a8d24d16a31d552e95f6e589
687 msgid "image bbox on page (:data:`rect_like`)"
688 msgstr "ページ上の画像の境界ボックス(:data:`rect_like`)"
689
690 #: ../../textpage.rst:212 ../../textpage.rst:255
691 #: 4c56479091544270885701e21d3794c0 5d311b7030c74d77b291641b825cabc0
692 msgid "number"
693 msgstr ""
694
695 #: ../../textpage.rst:212 044f427c89414858935273b873628617
696 #, fuzzy
697 msgid "block count (``int``)"
698 msgstr "ブロック数 *(int)*"
699
700 #: ../../textpage.rst:213 d457db3dffd648f5b421b9dabda513e8
701 msgid "ext"
702 msgstr ""
703
704 #: ../../textpage.rst:213 9a1b2497c15747ccae408e2908b03716
705 #, fuzzy
706 msgid "image type (``str``), as file extension, see below"
707 msgstr "画像の種類 *(str)*、ファイル拡張子として、以下参照"
708
709 #: ../../textpage.rst:214 65917d8aff0a47ae97e1c880700ae5b9
710 #, fuzzy
711 msgid "original image width (``int``)"
712 msgstr "元の画像の幅 *(int)*"
713
714 #: ../../textpage.rst:215 ef1b2983b8484b67aea4e7c52ec94c5e
715 #, fuzzy
716 msgid "original image height (``int``)"
717 msgstr "元の画像の高さ *(int)*"
718
719 #: ../../textpage.rst:216 cdbc1a0fe83a45878f7d57c8195c2541
720 msgid "colorspace"
721 msgstr ""
722
723 #: ../../textpage.rst:216 0768d9dd62e74b518365212bb8f2d509
724 #, fuzzy
725 msgid "colorspace component count (``int``)"
726 msgstr "カラースペースのコンポーネント数 *(int)*"
727
728 #: ../../textpage.rst:217 c72ef151fd0843acbf96ee02c0b50384
729 msgid "xres"
730 msgstr ""
731
732 #: ../../textpage.rst:217 2b798798946e43259c410f01235ab8cf
733 #, fuzzy
734 msgid "resolution in x-direction (``int``) [#f3]_"
735 msgstr "x方向の解像度 *(int)*"
736
737 #: ../../textpage.rst:218 711945f5b34049a1b07317557513f490
738 msgid "yres"
739 msgstr ""
740
741 #: ../../textpage.rst:218 91a31d61290640b8988418d1a9ebb3ba
742 #, fuzzy
743 msgid "resolution in y-direction (``int``) [#f3]_"
744 msgstr "y方向の解像度 *(int)*"
745
746 #: ../../textpage.rst:219 c247c45f267c4a6281d20687be8c99af
747 msgid "bpc"
748 msgstr ""
749
750 #: ../../textpage.rst:219 8934e38405664f3fa8f78d65d3a6dba5
751 #, fuzzy
752 msgid "bits per component (``int``)"
753 msgstr "コンポーネントごとのビット数 *(int)*"
754
755 #: ../../textpage.rst:220 2db498cd52714dd8b5097aa444b17ac0
756 msgid "transform"
757 msgstr ""
758
759 #: ../../textpage.rst:220 c07a01fdd4744863a7e7b665d9066376
760 msgid "matrix transforming image rect to bbox (:data:`matrix_like`)"
761 msgstr "画像矩形を境界ボックスに変換する行列(:data:`matrix_like`)"
762
763 #: ../../textpage.rst:221 ../../textpage.rst:292
764 #: 416da7dc62f34728a5e65a5b6eccec10 e5bfbe8873ce4531a1a93eea31b542ab
765 msgid "size"
766 msgstr ""
767
768 #: ../../textpage.rst:221 ef114c513c0140809c273a1fca277935
769 #, fuzzy
770 msgid "size of the image in bytes (``int``)"
771 msgstr "画像のサイズ(バイト単位)*(int)*"
772
773 #: ../../textpage.rst:222 b4442e7378f340ad9bbc40a5bda85f94
774 msgid "image"
775 msgstr ""
776
777 #: ../../textpage.rst:222 44de8974cd434bbca7c4dea100e9987f
778 #, fuzzy
779 msgid "image content (``bytes``)"
780 msgstr "画像コンテンツ *(bytes)*"
781
782 #: ../../textpage.rst:223 ce697bda1a494d35a92a1a9b886f4a53
783 msgid "mask"
784 msgstr ""
785
786 #: ../../textpage.rst:223 203d79f1d981499da21d8cae601cef42
787 msgid "image mask content (``bytes``) for transparent images"
788 msgstr ""
789
790 #: ../../textpage.rst:226 7b2748f1df1342538dd7b750dd6db1db
791 msgid ""
792 "Possible values of the \"ext\" key are \"bmp\", \"gif\", \"jpeg\", "
793 "\"jpx\" (JPEG 2000), \"jxr\" (JPEG XR), \"png\", \"pnm\", and \"tiff\"."
794 msgstr ""
795 "\"ext\"キーの可能な値は、\"bmp\"、\"gif\"、\"jpeg\"、\"jpx\"(JPEG 2000)、\"jxr\"(JPEG "
796 "XR)、\"png\"、\"pnm\"、および \"tiff\" です。"
797
798 #: ../../textpage.rst:230 f165771e95ce4de587ef46d0281ce182
799 msgid ""
800 "An image block is generated for **all and every image occurrence** on the"
801 " page. Hence there may be duplicates, if an image is shown at different "
802 "locations."
803 msgstr "ページ上の **すべての画像** が画像ブロックとして生成されます。したがって、画像が異なる場所で表示される場合、重複が発生する可能性があります。"
804
805 #: ../../textpage.rst:232 34122c8c572a45d7a4acfd1f2cbbbe55
806 msgid ""
807 ":ref:`TextPage` and corresponding method :meth:`Page.get_text` are "
808 "**available for all document types**. Only for PDF documents, methods "
809 ":meth:`Document.get_page_images` / :meth:`Page.get_images` offer some "
810 "overlapping functionality as far as image lists are concerned. But both "
811 "lists **may or may not** contain the same items. Any differences are most"
812 " probably caused by one of the following:"
813 msgstr ""
814 ":ref:`TextPage` および対応するメソッド :meth:`Page.get_text` は **すべてのドキュメントタイプ** "
815 "で利用可能です。PDFドキュメントの場合、:meth:`Document.get_page_images` / "
816 ":meth:`Page.get_images` は画像リストに関する機能が一部重複しています。ただし、これらのリストは同じアイテムを "
817 "**含むかどうかは必ずしも保証されません**。違いがある場合、その原因はおそらく次のいずれかです。"
818
819 #: ../../textpage.rst:234 87715f6d6a82452b8ef41b7cbb3b917c
820 msgid ""
821 "\"Inline\" images (see page 214 of the :ref:`AdobeManual`) of a PDF page "
822 "are contained in a textpage, but **do not appear** in "
823 ":meth:`Page.get_images`."
824 msgstr ""
825 "PDFページの「インライン」画像(:ref:`AdobeManual` "
826 "のページ214を参照)はテキストページに含まれていますが、:meth:`Page.get_images` には **表示されません**。"
827
828 #: ../../textpage.rst:235 7671c8c4e14e4452a9de51d3be9f9a57
829 msgid ""
830 "Annotations may also contain images -- these will **not appear** in "
831 ":meth:`Page.get_images`."
832 msgstr "アノテーションにも画像が含まれることがあります。これらは :meth:`Page.get_images` には **表示されません**。"
833
834 #: ../../textpage.rst:236 528e4366c2844284b6b3e06d85663c2c
835 msgid ""
836 "Image blocks in a textpage are generated for **every** image location -- "
837 "whether or not there are any duplicates. This is in contrast to "
838 ":meth:`Page.get_images`, which will list each image only once (per "
839 "reference name)."
840 msgstr ""
841 "テキストページの画像ブロックは、画像の場所 **ごとに** "
842 "生成されます。重複があるかどうかに関係なくです。これは、:meth:`Page.get_images` "
843 "では各画像が1回だけリストされる(参照名ごとに)のとは対照的です。"
844
845 #: ../../textpage.rst:237 6ba5259a29524a72bae31a85c368deb0
846 msgid ""
847 "Images mentioned in the page's :data:`object` definition will **always** "
848 "appear in :meth:`Page.get_images` [#f1]_. But it may happen, that there "
849 "is no \"display\" command in the page's :data:`contents` (erroneously or "
850 "on purpose). In this case the image will **not appear** in the textpage."
851 msgstr ""
852 "ページの :data:`object` 定義で言及されている画像は、常に :meth:`Page.get_images` に表示されます "
853 "[#f1]_。ただし、ページの :data:`contents` に「表示」コマンドがない場合、画像はテキストページに表示されません。"
854
855 #: ../../textpage.rst:239 e7f81738e67441429325db9963571f7d
856 msgid ""
857 "The image's \"transformation matrix\" is defined as the matrix, for which"
858 " the expression `bbox / transform == pymupdf.Rect(0, 0, 1, 1)` is true, "
859 "lookup details here: :ref:`ImageTransformation`."
860 msgstr ""
861 "画像の「変換行列」は、`bbox / transform == pymupdf.Rect(0, 0, 1, 1)` "
862 "という式が真である場合の行列です。詳細はこちらを参照してください: :ref:`ImageTransformation`。"
863
864 #: ../../textpage.rst:241 57bed7561cd444e0b640b95c35da2f85
865 msgid ""
866 "A transparent image may be accompanied by a mask image. This is stored "
867 "under key `\"mask\"` and has the format of a `DeviceGray` PNG image. "
868 "Otherwise the value of this key is ``None``. If present, you may be able "
869 "to recover (an equivalent of) the original image -- i.e. with "
870 "transparency -- by creating :ref:`Pixmap` objects from the \"image\", "
871 "respectively \"mask\" values and overlay them. This is not guaranteed to "
872 "always work because mask images come in multiple formats, of which not "
873 "all qualify for the conditions under which overlaying Pixmaps are "
874 "supported. Here is a code snippet:"
875 msgstr ""
876
877 #: ../../textpage.rst:248 4615f23b245b4db39e8ea23b4d176464
878 msgid "**Text block:**"
879 msgstr "**テキストブロック:**"
880
881 #: ../../textpage.rst:253 db5d3f31fc8d4153b8fafecfdf3d1727
882 msgid "0 = text *(int)*"
883 msgstr "0 = テキスト *(int)*"
884
885 #: ../../textpage.rst:254 6964cf3c7ba24458aae29d347f3f603a
886 msgid "block rectangle, :data:`rect_like`"
887 msgstr "ブロックの矩形、:data:`rect_like`"
888
889 #: ../../textpage.rst:255 731cf949720a4619b5ea681f7764d295
890 msgid "block count *(int)*"
891 msgstr "ブロック数 *(int)*"
892
893 #: ../../textpage.rst:256 3a23e4510e7949e29bf987d16327eb49
894 msgid "lines"
895 msgstr ""
896
897 #: ../../textpage.rst:256 ede4e782ec014752989f15767a43462d
898 msgid "*list* of text line dictionaries"
899 msgstr "テキスト行の辞書の *list*"
900
901 #: ../../textpage.rst:260 647d1430aba549968a23caa9bd2bf178
902 msgid "Line Dictionary"
903 msgstr ""
904
905 #: ../../textpage.rst:265 88d566f6551a42a29f62a0819ecbed64
906 msgid "line rectangle, :data:`rect_like`"
907 msgstr "行の矩形、:data:`rect_like`"
908
909 #: ../../textpage.rst:266 bc961e945f144c85a9e1a2193c3a4443
910 msgid "wmode"
911 msgstr ""
912
913 #: ../../textpage.rst:266 220a8c26dda34ae4b15fb120791f0296
914 msgid "writing mode *(int)*: 0 = horizontal, 1 = vertical"
915 msgstr "書き込みモード *(int)*:0 = 水平、1 = 垂直"
916
917 #: ../../textpage.rst:267 b23571753e8641b391f1c7bd3d666faf
918 msgid "dir"
919 msgstr ""
920
921 #: ../../textpage.rst:267 f040c814bf3643e0b50bb1889d157bc2
922 msgid "writing direction, :data:`point_like`"
923 msgstr "書き込み方向、:data:`point_like`"
924
925 #: ../../textpage.rst:268 f4df6d31bea14f7d9133d10fe217a237
926 msgid "spans"
927 msgstr ""
928
929 #: ../../textpage.rst:268 d2626131157f45bda11a0a0240ae20e0
930 msgid "*list* of span dictionaries"
931 msgstr "スパン辞書の *list*"
932
933 #: ../../textpage.rst:271 827a258f7a314424b22d7d3077bc4795
934 #, fuzzy
935 msgid ""
936 "The value of key *\"dir\"* is the **unit vector** `dir = (cosine, -sine)`"
937 " of the angle, which the text has relative to the x-axis [#f2]_. See the "
938 "following picture: The word in each quadrant (counter-clockwise from top-"
939 "right to bottom-right) is rotated by 30, 120, 210 and 300 degrees "
940 "respectively."
941 msgstr ""
942 "キー *\"dir\"* の値は、テキストが x 軸に対してどの角度であるかを示す **ユニットベクトル** `dir = (cosine, "
943 "sine)` "
944 "です。次の図を参照してください:各象限内の単語(右上から反時計回りに、上から下まで)は、それぞれ30、120、210、300度回転しています。"
945
946 #: ../../textpage.rst:277 76e3be33b8eb4d20a040a290a7493044
947 msgid "Span Dictionary"
948 msgstr ""
949
950 #: ../../textpage.rst:279 44e867372fca4010ae8c117e6f57244a
951 msgid ""
952 "Spans contain the actual text. A line contains **more than one span "
953 "only**, if it contains text with different font properties."
954 msgstr "スパンには実際のテキストが含まれています。フォントのプロパティが異なるテキストを含む場合を除き、1行には複数のスパンが含まれます。"
955
956 #: ../../textpage.rst:281 2484e6f332594c488b1ab6e8e45e8358
957 msgid "Changed in version 1.14.17 Spans now also have a *bbox* key (again)."
958 msgstr "バージョン1.14.17で変更されました:スパンには *bbox* キーが含まれています(再び)。"
959
960 #: ../../textpage.rst:282 fe2deeccb3484496b06cee9c45979177
961 msgid "Changed in version 1.17.6 Spans now also have an *origin* key."
962 msgstr "バージョン1.17.6で変更されました:スパンには *origin* キーも含まれています。"
963
964 #: ../../textpage.rst:287 24917424394140498d62e12db012d491
965 msgid "span rectangle, :data:`rect_like`"
966 msgstr "スパンの矩形、:data:`rect_like`"
967
968 #: ../../textpage.rst:288 ../../textpage.rst:371
969 #: d062895875c246f08ce11e156a46fe6c e4eadb2bf3fd4656a1dcaea2aa762fb2
970 msgid "origin"
971 msgstr ""
972
973 #: ../../textpage.rst:288 49dcac4791f7495283b181cd85e5cb96
974 msgid "the first character's origin, :data:`point_like`"
975 msgstr "最初の文字の原点、:data:`point_like`"
976
977 #: ../../textpage.rst:289 a039c803b12f44f2b903bfd72ff968f0
978 msgid "font"
979 msgstr ""
980
981 #: ../../textpage.rst:289 e59d2678453347c3b2290c87101bee41
982 msgid "font name *(str)*"
983 msgstr "フォント名 *(str)*"
984
985 #: ../../textpage.rst:290 9789271ef0d44ca8b8b7753a47109329
986 msgid "ascender"
987 msgstr ""
988
989 #: ../../textpage.rst:290 bae202ea90f340c08117616fba695605
990 msgid "ascender of the font *(float)*"
991 msgstr "フォントのアセンダー *(float)*"
992
993 #: ../../textpage.rst:291 f04de1e03bc64ecb932178642bbf28a2
994 msgid "descender"
995 msgstr ""
996
997 #: ../../textpage.rst:291 cab39571402145599cd516740c2cd5e3
998 msgid "descender of the font *(float)*"
999 msgstr "フォントのディセンダー *(float)*"
1000
1001 #: ../../textpage.rst:292 7bb34b245d0e4a7a807d37f771540973
1002 msgid "font size *(float)*"
1003 msgstr "フォントサイズ *(float)*"
1004
1005 #: ../../textpage.rst:293 728b3550893a43df91864ece6b6a6c75
1006 msgid "flags"
1007 msgstr ""
1008
1009 #: ../../textpage.rst:293 d4144f5c31e240ca8a9bc6a9902c4b40
1010 msgid "font characteristics *(int)*"
1011 msgstr "フォントの特性 *(int)*"
1012
1013 #: ../../textpage.rst:294 4ab488b7a402495f924066ec5fa0901d
1014 msgid "char_flags"
1015 msgstr ""
1016
1017 #: ../../textpage.rst:294 ac689e1eb3bd44c196f5a43696910e9c
1018 #, fuzzy
1019 msgid "char characteristics *(int)*"
1020 msgstr "フォントの特性 *(int)*"
1021
1022 #: ../../textpage.rst:295 70dfc6783fdb4c5a8a1e0ad9b92b44fc
1023 msgid "color"
1024 msgstr ""
1025
1026 #: ../../textpage.rst:295 0c21ca835d2f477e934a8f5cec1f8a4c
1027 #, fuzzy
1028 msgid "text color in sRGB format 0xRRGGBB *(int)*."
1029 msgstr "sRGB形式のテキストカラー *(int)*"
1030
1031 #: ../../textpage.rst:296 8e921b08a2ba477497897d70a87f4977
1032 msgid "alpha"
1033 msgstr ""
1034
1035 #: ../../textpage.rst:296 ec794a253afb48ea90cf9d7494caa03b
1036 msgid "text opacity 0..255 *(int)*."
1037 msgstr ""
1038
1039 #: ../../textpage.rst:297 72dbc8f290b94f6c88700e6a5df12717
1040 msgid "text"
1041 msgstr ""
1042
1043 #: ../../textpage.rst:297 42bc9c7faaed433c9e3868ab04254f3f
1044 msgid "(only for :meth:`extractDICT`) text *(str)*"
1045 msgstr "(:meth:`extractDICT` のみ)テキスト *(str)* "
1046
1047 #: ../../textpage.rst:298 6c4e864e58554766a1c930bd0e32e581
1048 msgid "chars"
1049 msgstr ""
1050
1051 #: ../../textpage.rst:298 287db5214934490ba0764caaa9ee699d
1052 msgid "(only for :meth:`extractRAWDICT`) *list* of character dictionaries"
1053 msgstr "(:meth:`extractRAWDICT` のみ)文字の辞書の*list*"
1054
1055 #: ../../textpage.rst:301 6a3a9323a60541ca97db64597a2a451a
1056 msgid "|history_begin|"
1057 msgstr ""
1058
1059 #: ../../textpage.rst:303 e0b8ee67e36546b0b5b8b155e00eeb45
1060 msgid "*(New in version 1.25.3.0):* Added *\"alpha\"* item."
1061 msgstr ""
1062
1063 #: ../../textpage.rst:305 04010301eebf4c2dbf6989108e207ae9
1064 msgid ""
1065 "*(New in version 1.16.0):* *\"color\"* is the text color encoded in sRGB "
1066 "(int) format, e.g. 0xFF0000 for red. There are functions for converting "
1067 "this integer back to formats (r, g, b) (PDF with float values from 0 to "
1068 "1) :meth:`sRGB_to_pdf`, or (R, G, B), :meth:`sRGB_to_rgb` (with integer "
1069 "values from 0 to 255)."
1070 msgstr ""
1071 "*バージョン1.16.0で新しく追加された項目:*. *「color」* "
1072 "はsRGB(int)形式でエンコードされたテキストカラーで、例えば赤の場合は0xFF0000です。この整数をフォーマット(r、g、b)(PDFでは0から1の範囲の浮動小数点値)"
1073 " :meth:`sRGB_to_pdf` または(R、G、B)、:meth:`sRGB_to_rgb` "
1074 "(整数値で0から255の範囲)に変換するための関数があります。"
1075
1076 #: ../../textpage.rst:307 744bef29da2f4dbc90404a35ef0fd253
1077 msgid ""
1078 "*(New in v1.18.5):* *\"ascender\"* and *\"descender\"* are font "
1079 "properties, provided relative to :data:`fontsize` 1. Note that descender "
1080 "is a negative value. The following picture shows the relationship to "
1081 "other values and properties."
1082 msgstr ""
1083 "*バージョン1.18.5で新しく追加された項目:* *「ascender」* と *「descender」* は、フォントのプロパティで、 "
1084 ":data:`fontsize` "
1085 "1に対して提供されます。ディセンダーは負の値であることに注意してください。以下の画像は、他の値やプロパティとの関係を示しています。"
1086
1087 #: ../../textpage.rst:309 e0a8a997405247f6bb89749ab0b624b7
1088 msgid "|history_end|"
1089 msgstr ""
1090
1091 #: ../../textpage.rst:314 9b180b7db6ac43e489b8d8e9ccb31622
1092 msgid ""
1093 "These numbers may be used to compute the minimum height of a character "
1094 "(or span) -- as opposed to the standard height provided in the \"bbox\" "
1095 "values (which actually represents the **line height**). The following "
1096 "code recalculates the span bbox to have a height of **fontsize** exactly "
1097 "fitting the text inside:"
1098 msgstr ""
1099 "これらの数字は、文字(またはスパン)の最小の高さを計算するために使用できます。これは、実際には行の高さを表す「bbox」値ではなく、フォントサイズに完全に合わせるための高さを表します。次のコードは、スパンのbboxを、内部のテキストに完全に合わせる高さが"
1100 " **フォントサイズ** となるように再計算します:"
1101
1102 #: ../../textpage.rst:324 91c353d85b0a45d7bde9987e275b50b5
1103 msgid ""
1104 "The above calculation may deliver a **larger** height! This may e.g. "
1105 "happen for OCRed documents, where the risk of all sorts of text artifacts"
1106 " is high. MuPDF tries to come up with a reasonable bbox height, "
1107 "independently from the :data:`fontsize` found in the PDF. So please "
1108 "ensure that the height of `span[\"bbox\"]` is **larger** than "
1109 "`span[\"size\"]`."
1110 msgstr ""
1111 "上記の計算は、**より大きな** "
1112 "高さをもたらす可能性があります。これは、OCRedドキュメントなどで発生する可能性があります。MuPDFは、PDFに存在する "
1113 ":data:`fontsize` から独立して、適切なbboxの高さを見つけ出そうとします。したがって、`span[\"bbox\"]` の高さが"
1114 " `span[\"size\"]` よりも大きいことを確認してください。"
1115
1116 #: ../../textpage.rst:326 cfa2fe9816d741889a16e7a98228f45f
1117 msgid ""
1118 "You may request PyMuPDF to do all of the above automatically by executing"
1119 " `pymupdf.TOOLS.set_small_glyph_heights(True)`. This sets a global "
1120 "parameter so that all subsequent text searches and text extractions are "
1121 "based on reduced glyph heights, where meaningful."
1122 msgstr ""
1123 "PyMuPDFに対して、`pymupdf.TOOLS.set_small_glyph_heights(True)` "
1124 "を実行して、上記のすべてを自動的に実行するように依頼することができます。これは、すべての後続のテキスト検索とテキスト抽出が、縮小されたグリフの高さを基に行われるようにするためのグローバルパラメータを設定します。"
1125
1126 #: ../../textpage.rst:328 dcd3f3103b3a404ea59ed88e1020efbe
1127 msgid ""
1128 "The following shows the original span rectangle in red and the rectangle "
1129 "with re-computed height in blue."
1130 msgstr "以下は、元のspanの矩形を赤で、再計算された高さを持つ矩形を青で示しています。"
1131
1132 #: ../../textpage.rst:334 c4897a84054b4b60ab66d79b8388e431
1133 msgid ""
1134 "*\"flags\"* is an integer, which represents font properties except for "
1135 "the first bit 0. They are to be interpreted like this:"
1136 msgstr "*\"flags\"* は、フォントのプロパティを表す整数で、最初のビット 0 を除いて次のように解釈されます:"
1137
1138 #: ../../textpage.rst:336 817f541495b84011b646fb0f5a0c1eff
1139 #, fuzzy
1140 msgid ""
1141 "bit 0: superscripted (:data:`TEXT_FONT_SUPERSCRIPT`) -- not a font "
1142 "property, detected by MuPDF code."
1143 msgstr "bit 0: superscripted (2\\ :sup:`0`) - フォントのプロパティではなく、MuPDFコードによって検出されます。"
1144
1145 #: ../../textpage.rst:337 4966d75813f448898822b04faffbe380
1146 msgid "bit 1: italic (:data:`TEXT_FONT_ITALIC`)"
1147 msgstr ""
1148
1149 #: ../../textpage.rst:338 31205a9cd37941e0ac7c7fbbfb19ffc1
1150 #, fuzzy
1151 msgid "bit 2: serifed (:data:`TEXT_FONT_SERIFED`)"
1152 msgstr "ビット 2: セリフ付き (2\\ :sup:`2`)"
1153
1154 #: ../../textpage.rst:339 f887f5fcd078467cbd8ea212d8133aa3
1155 #, fuzzy
1156 msgid "bit 3: monospaced (:data:`TEXT_FONT_MONOSPACED`)"
1157 msgstr "ビット 3: モノスペース (2\\ :sup:`3`)"
1158
1159 #: ../../textpage.rst:340 075ed56b276245c096a3204cc111339a
1160 msgid "bit 4: bold (:data:`TEXT_FONT_BOLD`)"
1161 msgstr ""
1162
1163 #: ../../textpage.rst:342 fafa4c4a530a43fa8278e455dd07640f
1164 msgid "Test these characteristics like so:"
1165 msgstr "これらの特性は、次のようにテストできます:"
1166
1167 #: ../../textpage.rst:348 ffbc346b79aa4a6189253e08eeb6280f
1168 msgid ""
1169 "Bits 1 thru 4 are font properties, i.e. encoded in the font program. "
1170 "Please note, that this information is not necessarily correct or "
1171 "complete: fonts quite often contain wrong data here."
1172 msgstr ""
1173 "ビット1からビット4までがフォントのプロパティであり、つまりフォントプログラムにエンコードされています。 "
1174 "ただし、この情報は必ずしも正確または完全ではないことに注意してください。フォントにはしばしば誤ったデータが含まれていることがあります。"
1175
1176 #: ../../textpage.rst:350 67a56b648e48459abc86b3d71dded7d7
1177 msgid ""
1178 "*\"char_flags\"* is an integer, which represents extra character "
1179 "properties:"
1180 msgstr ""
1181
1182 #: ../../textpage.rst:352 16e54aeb7318448cb0edbbce096027cc
1183 msgid "bit 0: strikeout."
1184 msgstr ""
1185
1186 #: ../../textpage.rst:353 f36bc128a5084f419c7b735cc7a5caeb
1187 msgid "bit 1: underline."
1188 msgstr ""
1189
1190 #: ../../textpage.rst:354 05f6a81ee7234929b145f42b0eaeb4ee
1191 msgid "bit 2: synthetic (always 0, see char dictionary)."
1192 msgstr ""
1193
1194 #: ../../textpage.rst:355 2d7d278b9b7b46479144808b701ed7da
1195 msgid "bit 3: filled."
1196 msgstr ""
1197
1198 #: ../../textpage.rst:356 a0b8d460dd8a42e69537652330a1f9ee
1199 msgid "bit 4: stroked."
1200 msgstr ""
1201
1202 #: ../../textpage.rst:357 430da53ed561403d90a8c2c28cc01a90
1203 msgid "bit 5: clipped."
1204 msgstr ""
1205
1206 #: ../../textpage.rst:359 26fc27f279ca42fba75113be40e54d40
1207 msgid ""
1208 "For example if not filled and not stroked (`if not (char_flags & 2**3 & "
1209 "2**4): ...`) then the text will be invisible."
1210 msgstr ""
1211
1212 #: ../../textpage.rst:362 f68e611505354310ab256d5f4ac755f3
1213 msgid "(`char_flags` is new in v1.25.2.)"
1214 msgstr ""
1215
1216 #: ../../textpage.rst:366 2b6029a504d149d0b74200b8dd10b461
1217 msgid "Character Dictionary for :meth:`extractRAWDICT`"
1218 msgstr "文字のディクショナリ、:meth:`extractRAWDICT`"
1219
1220 #: ../../textpage.rst:371 e3322f02de66484cb59d9ddf2e914bcb
1221 msgid "character's left baseline point, :data:`point_like`"
1222 msgstr "文字の左ベースラインポイント、:data:`point_like`"
1223
1224 #: ../../textpage.rst:372 3a206190a9b4495299d14480848ee306
1225 msgid "character rectangle, :data:`rect_like`"
1226 msgstr "文字の矩形、:data:`rect_like`"
1227
1228 #: ../../textpage.rst:373 7925e02a5e07443895c900f6450205fa
1229 msgid "synthetic"
1230 msgstr ""
1231
1232 #: ../../textpage.rst:373 d557f7b009724b00a3418fb77e4943ce
1233 msgid "bool."
1234 msgstr ""
1235
1236 #: ../../textpage.rst:374 fb692a970116495a977cac2daff0d94b
1237 msgid "c"
1238 msgstr ""
1239
1240 #: ../../textpage.rst:374 30e9a39551314a14a169ee11d34c575f
1241 msgid "the character (unicode)"
1242 msgstr "文字(ユニコード)"
1243
1244 #: ../../textpage.rst:377 504a88fbf1324f19a3ed16c3f2c0c942
1245 msgid "(`synthetic` is new in v1.25.3.)"
1246 msgstr ""
1247
1248 #: ../../textpage.rst:379 9d820af6f3ac446a912245d16d5e7bdd
1249 msgid ""
1250 "This image shows the relationship between a character's bbox and its "
1251 "quad: |textpagechar|"
1252 msgstr "この画像は、文字のbboxとそのquadの関係を示しています:|textpagechar|"
1253
1254 #: ../../textpage.rst:381 64023f700298486f98b566eac340e37b
1255 #: 7901af22526f478cb0ba76a7cc56288e
1256 msgid "textpagechar"
1257 msgstr ""
1258
1259 #: ../../textpage.rst:386 ab41f5e333004a04a46c0505e9d7bebf
1260 msgid "Footnotes"
1261 msgstr "脚注"
1262
1263 #: ../../textpage.rst:387 9c3377a336cd4477b8afbd4528d4dee0
1264 msgid ""
1265 "Image specifications for a PDF page are done in a page's (sub-) "
1266 ":data:`dictionary`, called `/Resources`. Resource dictionaries can be "
1267 "**inherited** from any of the page's parent objects (usually the "
1268 ":data:`catalog` -- the top-level parent). The PDF creator may e.g. define"
1269 " one `/Resources` on file level, naming all images and / or all fonts "
1270 "ever used by any page. In these cases, :meth:`Page.get_images` and "
1271 ":meth:`Page.get_fonts` will consequently return the same lists for all "
1272 "pages. If desired, this situation can be reverted using "
1273 ":meth:`Page.clean_contents`. After execution, the page's object "
1274 "definition will show fonts and images that are actually used."
1275 msgstr ""
1276
1277 #: ../../textpage.rst:389 8ebe9e78accc4c87b80eb50757ed695f
1278 msgid ""
1279 "The coordinate systems of MuPDF and PDF are different in that MuPDF uses "
1280 "the page's top-left point as `(0, 0)`. In PDF, this is the bottom-left "
1281 "point. Therefore, the positive direction for MuPDF's y-axis is **from top"
1282 " to bottom**. This causes the sign change for the sine value here: a "
1283 "**negative** value indicates anti-clockwise rotation of the text."
1284 msgstr ""
1285
1286 #: ../../textpage.rst:391 9bfe3c4bcdac45eb9b746197c51d2a7a
1287 msgid ""
1288 "This value is always 96, the default of the PDF interpreter. It **does "
1289 "not reflect** the resolution of the image itself. If you need the image's"
1290 " resolution, use the :meth:`Pixmap.xres` and :meth:`Pixmap.yres` "
1291 "attributes of the :ref:`Pixmap` created from the returned image binary."
1292 msgstr ""
1293
1294 #: ../../footer.rst:46 909bafb54f4646cd8842c5ccd34ceeef
1295 msgid "This documentation covers all versions up to |version|."
1296 msgstr "このドキュメントは |version| までのすべてのバージョンを対象としています。"
1297
1298 #~ msgid ""
1299 #~ "Image specifications for a PDF page "
1300 #~ "are done in a page's (sub-) "
1301 #~ ":data:`dictionary`, called *\"/Resources\"*. "
1302 #~ "Resource dictionaries can be **inherited** "
1303 #~ "from the page's parent object (usually"
1304 #~ " the :data:`catalog`). The PDF creator "
1305 #~ "may e.g. define one */Resources* on "
1306 #~ "file level, naming all images and "
1307 #~ "all fonts ever used by any page."
1308 #~ " In these cases, :meth:`Page.get_images` "
1309 #~ "and :meth:`Page.get_fonts` will return the "
1310 #~ "same lists for all pages."
1311 #~ msgstr ""
1312 #~ "PDFページの画像仕様は、ページの(サブ) :data:`dictionary` *「/Resources」*"
1313 #~ " として行われます。リソースディクショナリは、通常 :data:`catalog` "
1314 #~ "のページ親オブジェクトから継承されます。PDFの作成者は、ファイル全体で1つの/ */Resources* "
1315 #~ "を定義し、すべてのページで使用されるすべての画像とフォントを名前で指定する場合があります。これらの場合、:meth:`Page.get_images`"
1316 #~ " と :meth:`Page.get_fonts` はすべてのページに対して同じリストを返します。"
1317
1318 #~ msgid "*(Changed in v1.18.0)* -- new dict key *number*, the block number."
1319 #~ msgstr "*(v1.18.0で変更)* - 新しいdictキー *number* 、ブロック番号。"
1320
1321 #~ msgid ""
1322 #~ "*(Changed in v1.18.11)* -- new dict "
1323 #~ "key *transform*, the image transformation "
1324 #~ "matrix for image blocks."
1325 #~ msgstr "*(v1.18.11で変更)* - 新しいdictキー *transform* 、画像ブロックの画像変換行列。"
1326
1327 #~ msgid ""
1328 #~ "*(Changed in v1.18.11)* -- new dict "
1329 #~ "key *size*, the size of the image"
1330 #~ " in bytes for image blocks."
1331 #~ msgstr "*(v1.18.11で変更)* - 新しいdictキー *size* 、画像ブロックのバイト単位の画像サイズ。"
1332
1333 #~ msgid "bit 1: italic (2\\ :sup:`1`)"
1334 #~ msgstr "ビット 1: イタリック(2\\ :sup:`1`)"
1335
1336 #~ msgid "bit 4: bold (2\\ :sup:`4`)"
1337 #~ msgstr "ビット 4: ボールド (2\\ :sup:`4`)"
1338
1339 #~ msgid "Discord logo"
1340 #~ msgstr ""
1341