Debian Codegraph @

docs/locales/ja/LC_MESSAGES/functions.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 4362cd8e08a74daebc63e2250a1293cd
23 msgid "Artifex"
24 msgstr ""
25
26 #: ../../header.rst:-1 8c3fd3acd0a54dacaaaea104c5ca20e2
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 7d4f452edf45487b8855a2fdb4b7f37b
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 #: ../../functions.rst:5 764415be522b4af7bed822bf808d3c81
39 msgid "Functions"
40 msgstr "関数"
41
42 #: ../../functions.rst:6 7d85734965b44884afa1f60ccbb9fce3
43 msgid ""
44 "The following are miscellaneous functions and attributes on a fairly low-"
45 "level technical detail."
46 msgstr "以下は、PDFに関する低レベルな技術的詳細に関するさまざまな関数と属性です。"
47
48 #: ../../functions.rst:8 87eea67bd6bd469c809cfb2f400fd0ac
49 msgid ""
50 "Some functions provide detail access to PDF structures. Others are "
51 "stripped-down, high performance versions of other functions which provide"
52 " more information."
53 msgstr "一部の関数は、PDF構造への詳細なアクセスを提供します。他の関数の高性能バージョンで、より多くの情報を提供する関数から派生しています。"
54
55 #: ../../functions.rst:10 3e757537a03d4b07bdcba164caba05f3
56 msgid "Yet others are handy, general-purpose utilities."
57 msgstr "また、その他にも便利な汎用ユーティリティが含まれています。"
58
59 #: ../../functions.rst:14 3a980a38ec2e42368864c2737353297a
60 msgid "**Function**"
61 msgstr "**関数**"
62
63 #: ../../functions.rst:14 53d11d16c6cb41359e0d1eb9434091a8
64 msgid "**Short Description**"
65 msgstr "**短い説明**"
66
67 #: ../../functions.rst:16 add8a0f8af544090bd2b69bec2a08b06
68 msgid ":attr:`Annot.apn_bbox`"
69 msgstr ""
70
71 #: ../../functions.rst:16 5e6c725340da4680b4b2182ec97992ef
72 msgid "PDF only: bbox of the appearance object"
73 msgstr "PDFのみ:外観オブジェクトのバウンディングボックス"
74
75 #: ../../functions.rst:17 0e00e13e8cd249aea5b27907a5924ac2
76 msgid ":attr:`Annot.apn_matrix`"
77 msgstr ""
78
79 #: ../../functions.rst:17 f099fa1353fa448486e549396e8c85c4
80 msgid "PDF only: the matrix of the appearance object"
81 msgstr "PDFのみ:外観オブジェクトの行列"
82
83 #: ../../functions.rst:18 04cb195c672149e79a5dbf453e0dd2d2
84 msgid ":attr:`Page.is_wrapped`"
85 msgstr ""
86
87 #: ../../functions.rst:18 733534121ca84a7dae39d79a0e4fdf8e
88 msgid "check whether contents wrapping is present"
89 msgstr "コンテンツの折り返しが存在するかどうかを確認します"
90
91 #: ../../functions.rst:19 6070d8798ae847c7b81482b126630c8a
92 msgid ":meth:`adobe_glyph_names`"
93 msgstr ""
94
95 #: ../../functions.rst:19 3e1263f453fb48c78527c09031c8dfda
96 msgid "list of glyph names defined in **Adobe Glyph List**"
97 msgstr "**Adobe Glyph List** で定義されたグリフ名のリスト"
98
99 #: ../../functions.rst:20 8540cf95e6284b908e38968f6e2b84b1
100 msgid ":meth:`adobe_glyph_unicodes`"
101 msgstr ""
102
103 #: ../../functions.rst:20 868c1c4b39334083b57fc6f75dc63c73
104 msgid "list of unicodes defined in **Adobe Glyph List**"
105 msgstr "**Adobe Glyph List** で定義されたUnicodeのリスト"
106
107 #: ../../functions.rst:21 b9f2db6bdc1f4375b9d86730afc564cf
108 msgid ":meth:`Annot.clean_contents`"
109 msgstr ""
110
111 #: ../../functions.rst:21 c89e0a09bfd5482e9a00164e53985cdb
112 msgid "PDF only: clean the annot's :data:`contents` object"
113 msgstr "PDFのみ:アノテーションの :data:`contents` オブジェクトをクリーンアップ"
114
115 #: ../../functions.rst:22 32cff1b105fc415ab1df92fb4a1367ee
116 msgid ":meth:`Annot.set_apn_bbox`"
117 msgstr ""
118
119 #: ../../functions.rst:22 490b8142dc73479a84f8532efe1a7dd0
120 msgid "PDF only: set the bbox of the appearance object"
121 msgstr "PDFのみ:外観オブジェクトのバウンディングボックスを設定"
122
123 #: ../../functions.rst:23 825eafcadc4840a6b3da5b4eae9803b5
124 msgid ":meth:`Annot.set_apn_matrix`"
125 msgstr ""
126
127 #: ../../functions.rst:23 bd593d88e1054999ba94daf514352282
128 msgid "PDF only: set the matrix of the appearance object"
129 msgstr "PDFのみ:外観オブジェクトの行列を設定"
130
131 #: ../../functions.rst:24 c442dc2915174eb9bca27cc7aaec5a63
132 msgid ":meth:`ConversionHeader`"
133 msgstr ""
134
135 #: ../../functions.rst:24 39f5b60624524140bcf3d19279f48605
136 msgid "return header string for *get_text* methods"
137 msgstr "*get_text* メソッド用のヘッダー文字列を返す"
138
139 #: ../../functions.rst:25 2832c8a25ff645c1833824445cd50d2e
140 msgid ":meth:`ConversionTrailer`"
141 msgstr ""
142
143 #: ../../functions.rst:25 809aa5cd142a4d28927bdedc1f5d789a
144 msgid "return trailer string for *get_text* methods"
145 msgstr "*get_text* メソッド用のトレーラー文字列を返す"
146
147 #: ../../functions.rst:26 793c18c2f91c4349a65f71f6504d9872
148 msgid ":meth:`Document.del_xml_metadata`"
149 msgstr ""
150
151 #: ../../functions.rst:26 2c210b89288b437482fee9c882c0c7a4
152 msgid "PDF only: remove XML metadata"
153 msgstr "PDFのみ:XMLメタデータを削除"
154
155 #: ../../functions.rst:27 0bd03bc3092d4f75ab36f591dd57098a
156 msgid ":meth:`Document.get_char_widths`"
157 msgstr ""
158
159 #: ../../functions.rst:27 cb86339da05542aaafc997cf781c9fb9
160 msgid "PDF only: return a list of glyph widths of a font"
161 msgstr "PDFのみ:フォントのグリフ幅のリストを返す"
162
163 #: ../../functions.rst:28 56fc88a38fce4ad58e50e488249dc90a
164 msgid ":meth:`Document.get_new_xref`"
165 msgstr ""
166
167 #: ../../functions.rst:28 950c2315e268432ca322e1428ccede80
168 msgid "PDF only: create and return a new :data:`xref` entry"
169 msgstr "PDFのみ:新しい :data:`xref` エントリを作成して返す"
170
171 #: ../../functions.rst:29 496d02cad3d94be590dc49051170a1c4
172 msgid ":meth:`Document.is_stream`"
173 msgstr ""
174
175 #: ../../functions.rst:29 586f78f3e3d24a80bc537b10b6756ccb
176 msgid "PDF only: check whether an :data:`xref` is a stream object"
177 msgstr "PDFのみ::data:`xref` がストリームオブジェクトであるかどうかを確認"
178
179 #: ../../functions.rst:30 578b7d1ff1d6471a84f62fa135e05681
180 msgid ":meth:`Document.xml_metadata_xref`"
181 msgstr ""
182
183 #: ../../functions.rst:30 253ad5dd537940c684f95c34413e9613
184 msgid "PDF only: return XML metadata :data:`xref` number"
185 msgstr "PDFのみ:XMLメタデータの :data:`xref` 番号を返す"
186
187 #: ../../functions.rst:31 4f8b6a367f104e19b3686d48c220b2e8
188 msgid ":meth:`Document.xref_length`"
189 msgstr ""
190
191 #: ../../functions.rst:31 944580e1219b4d6da596e2f0ecac1e0c
192 msgid "PDF only: return length of :data:`xref` table"
193 msgstr "PDFのみ::data:`xref` テーブルの長さを返す"
194
195 #: ../../functions.rst:32 9e00d8d6db8640a48b68b28cce3d2d56
196 msgid ":meth:`EMPTY_IRECT`"
197 msgstr ""
198
199 #: ../../functions.rst:32 ../../functions.rst:34
200 #: 4f93c48b456e40edb3bf54e18372fbcd 8885468553b943e2804495b185674bdb
201 msgid "return the (standard) empty / invalid rectangle"
202 msgstr "標準の空の/無効な矩形を返す"
203
204 #: ../../functions.rst:33 116425823f97476ba4ef170d8f70b2a5
205 msgid ":meth:`EMPTY_QUAD`"
206 msgstr ""
207
208 #: ../../functions.rst:33 1db98794aff94fc58a84179249ea06eb
209 msgid "return the (standard) empty / invalid quad"
210 msgstr "標準の空の/無効な四角形を返す"
211
212 #: ../../functions.rst:34 9000c9e5d6c6449ea2fac2877457a80c
213 msgid ":meth:`EMPTY_RECT`"
214 msgstr ""
215
216 #: ../../functions.rst:35 a2378f40c3bd4ff68bf33e9d7f8d55a0
217 msgid ":meth:`get_pdf_now`"
218 msgstr ""
219
220 #: ../../functions.rst:35 e3d896a505e3415f91020a611d1b60cb
221 msgid "return the current timestamp in PDF format"
222 msgstr "現在のタイムスタンプをPDF形式で返す"
223
224 #: ../../functions.rst:36 44be0971a3e943d4b339543e89c7d3e5
225 msgid ":meth:`get_pdf_str`"
226 msgstr ""
227
228 #: ../../functions.rst:36 d222dad1da46497a90683f26ca17b272
229 msgid "return PDF-compatible string"
230 msgstr "PDF互換の文字列を返す"
231
232 #: ../../functions.rst:37 97fc6fa0db4446d9884dd169f4279dba
233 msgid ":meth:`get_text_length`"
234 msgstr ""
235
236 #: ../../functions.rst:37 110ac58da1a44ce2999975602c6c0e1a
237 msgid "return string length for a given font & :data:`fontsize`"
238 msgstr "指定したフォントと :data:`fontsize` の文字列長を返す"
239
240 #: ../../functions.rst:38 c90ff4bd56b84326a2666157890bfd03
241 msgid ":meth:`glyph_name_to_unicode`"
242 msgstr ""
243
244 #: ../../functions.rst:38 401f5bf92bb74478b4d7029ec15dd089
245 msgid "return unicode from a glyph name"
246 msgstr "グリフ名からUnicodeを返す"
247
248 #: ../../functions.rst:39 99beef3b550a46ba98443a9d326de35b
249 msgid ":meth:`image_profile`"
250 msgstr ""
251
252 #: ../../functions.rst:39 143bc56e8ef9413e96b151d77c64ae6f
253 msgid "return a dictionary of basic image properties"
254 msgstr "基本的な画像プロパティの辞書を返します。"
255
256 #: ../../functions.rst:40 2290ac67413048f9a7e8bc3c1bed82da
257 msgid ":meth:`INFINITE_IRECT`"
258 msgstr ""
259
260 #: ../../functions.rst:40 ../../functions.rst:42
261 #: 6c93c70e175b4feebad851e5e2d302e5 db34282539ff4d0cbcbb59a0746f4ad5
262 msgid "return the (only existing) infinite rectangle"
263 msgstr "(唯一存在する)無限の矩形を返します。"
264
265 #: ../../functions.rst:41 15427ddf5f9d40ea95e44583d180da0e
266 msgid ":meth:`INFINITE_QUAD`"
267 msgstr ""
268
269 #: ../../functions.rst:41 c51f25d2a9ab403aaf35fdc880ac80ea
270 msgid "return the (only existing) infinite quad"
271 msgstr "(唯一存在する)無限のクワッドを返します。"
272
273 #: ../../functions.rst:42 9c580aaf4136403aa2944098c657ef29
274 msgid ":meth:`INFINITE_RECT`"
275 msgstr ""
276
277 #: ../../functions.rst:43 ffa25a10067248539ecece4ed9e0453d
278 msgid ":meth:`make_table`"
279 msgstr ""
280
281 #: ../../functions.rst:43 7533bf849012437cbd56f1d3ab66a42c
282 msgid "split rectangle in sub-rectangles"
283 msgstr "矩形をサブ矩形に分割します。"
284
285 #: ../../functions.rst:44 312874e2effa4bc0bfd1300774e3a463
286 msgid ":meth:`Page.clean_contents`"
287 msgstr ""
288
289 #: ../../functions.rst:44 01e6fccf3e744a89a6858df35f24007a
290 msgid "PDF only: clean the page's :data:`contents` objects"
291 msgstr "PDF のみ:ページの :data:`contents` オブジェクトをクリーンアップします"
292
293 #: ../../functions.rst:45 3dd8b9b45ab44ebba9d1b686be8dc50b
294 msgid ":meth:`Page.get_bboxlog`"
295 msgstr ""
296
297 #: ../../functions.rst:45 dfbe6b6c5f9f47fd88042b9ae17531f3
298 msgid "list of rectangles that envelop text, drawing or image objects"
299 msgstr "テキスト、描画、または画像オブジェクトを囲む矩形のリストです。"
300
301 #: ../../functions.rst:46 c65e19fd4d02409cb4543812fa3b43d4
302 msgid ":meth:`Page.get_contents`"
303 msgstr ""
304
305 #: ../../functions.rst:46 299985f0af5147d7aa248ec6d462f2d1
306 msgid "PDF only: return a list of content :data:`xref` numbers"
307 msgstr "PDF のみ:コンテンツ :data:`xref` 番号のリストを返します。"
308
309 #: ../../functions.rst:47 c2ceb3b6204947318ef0c33b8b87b0d3
310 msgid ":meth:`Page.get_displaylist`"
311 msgstr ""
312
313 #: ../../functions.rst:47 c37180301960473ba34f6e7663b61b99
314 msgid "create the page's display list"
315 msgstr "ページの表示リストを作成します。"
316
317 #: ../../functions.rst:48 5b0003105f4240f88525d89fa0c0908d
318 msgid ":meth:`Page.get_text_blocks`"
319 msgstr ""
320
321 #: ../../functions.rst:48 dd0afb0850654e8695ffc98210144dc8
322 msgid "extract text blocks as a Python list"
323 msgstr "テキスト ブロックを Python リストとして抽出します。"
324
325 #: ../../functions.rst:49 76e04262af69408e9a63c3184fb7bad0
326 msgid ":meth:`Page.get_text_words`"
327 msgstr ""
328
329 #: ../../functions.rst:49 9f393e28ef804590afa7ec5de0048155
330 msgid "extract text words as a Python list"
331 msgstr "テキストワードを Python リストとして抽出します。"
332
333 #: ../../functions.rst:50 1c8ae2f8f1f84b618bf7807fb1a10cc4
334 msgid ":meth:`Page.get_texttrace`"
335 msgstr ""
336
337 #: ../../functions.rst:50 e214fbbc63ae4d19a39fbd35f361f107
338 msgid "low-level text information"
339 msgstr "低レベルのテキスト情報です。"
340
341 #: ../../functions.rst:51 c12d9e81a4f14a1ead2ead8d7f981a7c
342 msgid ":meth:`Page.read_contents`"
343 msgstr ""
344
345 #: ../../functions.rst:51 4ea4aa95a0e74da39d80427e97d0c2f4
346 msgid "PDF only: get complete, concatenated /Contents source"
347 msgstr "PDF のみ:完全な連結 /Contents ソースを取得します。"
348
349 #: ../../functions.rst:52 0a7b92c5ce184b8696922871f9786f30
350 msgid ":meth:`Page.run`"
351 msgstr ""
352
353 #: ../../functions.rst:52 e20ec70bf4894a6aa07e7a11aaf63d9e
354 msgid "run a page through a device"
355 msgstr "ページをデバイスを介して実行します。"
356
357 #: ../../functions.rst:53 f318ac76d76d4865bd43843061a922e7
358 msgid ":meth:`Page.set_contents`"
359 msgstr ""
360
361 #: ../../functions.rst:53 efe0c81605704542bfd7c295f5f6ccce
362 msgid "PDF only: set page's :data:`contents` to some :data:`xref`"
363 msgstr "PDF のみ:ページの :data:`contents` を特定の :data:`xref` に設定します。"
364
365 #: ../../functions.rst:54 4eb1f3fa01d74d89bd9e13660d80aace
366 msgid ":meth:`Page.wrap_contents`"
367 msgstr ""
368
369 #: ../../functions.rst:54 1e1087f91ea540e786db6751528af559
370 msgid "wrap contents with stacking commands"
371 msgstr "スタッキング コマンドでコンテンツをラップします。"
372
373 #: ../../functions.rst:55 09fa362cbcc546d5bf5d8ff7ab48a08e
374 msgid ":meth:`css_for_pymupdf_font`"
375 msgstr ""
376
377 #: ../../functions.rst:55 e8300bd4f1b44f5db6278ec60b77cd26
378 msgid "create CSS source for a font in package pymupdf_fonts"
379 msgstr "パッケージ pymupdf_fonts のフォント用の CSS ソースを作成します。"
380
381 #: ../../functions.rst:56 f03759eda97c48b2a48fa4f9b0fedb9a
382 msgid ":meth:`paper_rect`"
383 msgstr ""
384
385 #: ../../functions.rst:56 b1fb4ea8173343e4b372c4196e07d4ea
386 msgid "return rectangle for a known paper format"
387 msgstr "既知の用紙形式の矩形を返します。"
388
389 #: ../../functions.rst:57 18bd1781e96740a0bd73013a3d7b664c
390 msgid ":meth:`paper_size`"
391 msgstr ""
392
393 #: ../../functions.rst:57 4c71d20789bf4aafba9b403c91023308
394 msgid "return width, height for a known paper format"
395 msgstr "既知の用紙形式の幅と高さを返します。"
396
397 #: ../../functions.rst:58 448bae55c0144a77bf34e084c2087748
398 msgid ":meth:`paper_sizes`"
399 msgstr ""
400
401 #: ../../functions.rst:58 a4b88a6f83704283b1d067b9b422950b
402 msgid "dictionary of pre-defined paper formats"
403 msgstr "事前定義の用紙形式の辞書です。"
404
405 #: ../../functions.rst:59 b534913dfb3a46caa10a1f68b16f99f5
406 msgid ":meth:`planish_line`"
407 msgstr ""
408
409 #: ../../functions.rst:59 dfa9809478844cd3a030cab4d9dfd1c2
410 msgid "matrix to map a line to the x-axis"
411 msgstr "直線を x 軸にマップする行列です。"
412
413 #: ../../functions.rst:60 73b07e7023524c939f290cfec3c5147d
414 msgid ":meth:`recover_char_quad`"
415 msgstr ""
416
417 #: ../../functions.rst:60 5d790e90a6db4ee39f6b9c7eaeaabaee
418 msgid "compute the quad of a char (\"rawdict\")"
419 msgstr "文字のクワッドを計算します(\"rawdict\")。"
420
421 #: ../../functions.rst:61 c7b763ff7e8242908671eb76801b55c5
422 msgid ":meth:`recover_line_quad`"
423 msgstr ""
424
425 #: ../../functions.rst:61 907e455060ee4289a865a3187bb4704e
426 msgid "compute the quad of a subset of line spans"
427 msgstr "ラインスパンのサブセットのクワッドを計算します"
428
429 #: ../../functions.rst:62 7f4adbdf1e7345cd91ccb084d979616b
430 msgid ":meth:`recover_quad`"
431 msgstr ""
432
433 #: ../../functions.rst:62 0077aa420f404be69c0b00c321022093
434 msgid "compute the quad of a span (\"dict\", \"rawdict\")"
435 msgstr "スパンのクワッドを計算する (\"dict\", \"rawdict\")"
436
437 #: ../../functions.rst:63 02efaa1a3ddc4f1c8aa20484a700e7e4
438 msgid ":meth:`recover_span_quad`"
439 msgstr ""
440
441 #: ../../functions.rst:63 8ce412850eb445b78abe6ca665a2a77f
442 msgid "compute the quad of a subset of span characters"
443 msgstr "行スパンのサブセットのクワッドを計算します。"
444
445 #: ../../functions.rst:64 c8a3bffef95e412ca257c252d6bff657
446 msgid ":meth:`set_messages`"
447 msgstr ""
448
449 #: ../../functions.rst:64 ae0c40a4b5ed4b718dfb8abc492ca10e
450 msgid "set destination of |PyMuPDF| messages."
451 msgstr ""
452
453 #: ../../functions.rst:65 0d4e3f46893442b5b8eba64b982bf3f2
454 msgid ":meth:`sRGB_to_pdf`"
455 msgstr ""
456
457 #: ../../functions.rst:65 d696f1caa15445b6bb8d91e71984f0a4
458 msgid "return PDF RGB color tuple from an sRGB integer"
459 msgstr "sRGB 整数から PDF RGB カラー タプルを返します。"
460
461 #: ../../functions.rst:66 65f3ad24442c445fb34dae8002131da9
462 msgid ":meth:`sRGB_to_rgb`"
463 msgstr ""
464
465 #: ../../functions.rst:66 3d999340cd904162a8038d1a4126b947
466 msgid "return (R, G, B) color tuple from an sRGB integer"
467 msgstr "sRGB 整数から (R、G、B) カラー タプルを返します。"
468
469 #: ../../functions.rst:67 766d7f863ca4428e842619c0ebca36ef
470 msgid ":meth:`unicode_to_glyph_name`"
471 msgstr ""
472
473 #: ../../functions.rst:67 6d5f5fe4327b4bf9b8aae045c9bf2b99
474 msgid "return glyph name from a unicode"
475 msgstr "Unicode からグリフ名を返します。"
476
477 #: ../../functions.rst:68 b9b504a041b94a4f8519153749eb4825
478 msgid ":meth:`get_tessdata`"
479 msgstr ""
480
481 #: ../../functions.rst:68 a2891d94940c4cf8a54ab447f7b15370
482 msgid "locates the language support of the Tesseract-OCR installation"
483 msgstr "Tesseract-OCR インストールの言語サポートを特定します。"
484
485 #: ../../functions.rst:69 f1824ee678fd459f92586806ad603df7
486 msgid ":meth:`colors_pdf_dict`"
487 msgstr ""
488
489 #: ../../functions.rst:69 0d099e9629fb4b689e08965adfc300e0
490 msgid "return dict of color names."
491 msgstr ""
492
493 #: ../../functions.rst:70 8dffcc2057e74973bf33f55a5145efa7
494 msgid ":meth:`colors_wx_list`"
495 msgstr ""
496
497 #: ../../functions.rst:70 df83f96c7f9049f9a2135f8c7c3e1f45
498 msgid "return list of color names."
499 msgstr ""
500
501 #: ../../functions.rst:71 a7d1b2ff6e7b499991be2827f2ce182f
502 msgid ":attr:`fitz_fontdescriptors`"
503 msgstr ""
504
505 #: ../../functions.rst:71 2bd5030a1ab34dfea799a7bac792e409
506 msgid "dictionary of available supplement fonts"
507 msgstr "利用可能な補足フォントの辞書です。"
508
509 #: ../../functions.rst:72 213d79bfa9874a63ac1a4cfeb7032132
510 msgid ":attr:`PYMUPDF_MESSAGE`"
511 msgstr ""
512
513 #: ../../functions.rst:72 01828b10e24e4ca7a6ec84f910c2955e
514 msgid "destination of |PyMuPDF| messages."
515 msgstr ""
516
517 #: ../../functions.rst:73 fe68fe9641d94830aac3959ef70a3a46
518 msgid ":attr:`pdfcolor`"
519 msgstr ""
520
521 #: ../../functions.rst:73 19755c9b06fb412fac21ab46d85760d4
522 msgid "dictionary of almost 500 RGB colors in PDF format."
523 msgstr "PDF 形式のほぼ 500 以上の RGB カラーの辞書です。"
524
525 #: ../../functions.rst:78 688881b3cb454361936fad432734136c
526 msgid ""
527 "Convenience function to return width and height of a known paper format "
528 "code. These values are given in pixels for the standard resolution 72 "
529 "pixels = 1 inch."
530 msgstr "既知の用紙フォーマットの幅と高さを返す便利な関数です。これらの値は、標準解像度 72 ピクセル = 1 インチのピクセル単位で指定されます。"
531
532 #: ../../functions.rst:80 df6f7db7c5e64bb99187e217a5e55d94
533 msgid ""
534 "Currently defined formats include **'A0'** through **'A10'**, **'B0'** "
535 "through **'B10'**, **'C0'** through **'C10'**, **'Card-4x6'**, **'Card-"
536 "5x7'**, **'Commercial'**, **'Executive'**, **'Invoice'**, **'Ledger'**, "
537 "**'Legal'**, **'Legal-13'**, **'Letter'**, **'Monarch'** and **'Tabloid-"
538 "Extra'**, each in either portrait or landscape format."
539 msgstr ""
540 "現在の定義されたフォーマットには、**‘A0’** から **‘A10’**、**‘B0’** から **‘B10’**、**‘C0’** から "
541 "**‘C10’**、**‘Card-4x6’**、**‘Card-"
542 "5x7’**、**‘Commercial’**、**‘Executive’**、**‘Invoice’**、**‘Ledger’**、**‘Legal’**、**‘Legal-13’**、**‘Letter’**、**‘Monarch"
543 "’**、**‘Tabloid-Extra’** が含まれており、各フォーマットは縦向きまたは横向きで提供されています。"
544
545 #: ../../functions.rst:82 1227353c5f80413d8e4366aaa7e00301
546 msgid ""
547 "A format name must be supplied as a string (case **in** \\sensitive), "
548 "optionally suffixed with \"-L\" (landscape) or \"-P\" (portrait). No "
549 "suffix defaults to portrait."
550 msgstr ""
551 "フォーマット名は、文字列として指定する必要があります(大文字小文字を区別しない)。オプションで \" -L\"(横向き)または \" "
552 "-P\"(縦向き)でサフィックスを付けることができます。サフィックスが指定されていない場合、デフォルトは縦向きです。"
553
554 #: ../../functions.rst 0859ddc790de48e98a47485cde669401
555 #: 09aae792d39a4719b5feaf0ab83fff20 19bfd0356987458d83477865a5d1a227
556 #: 49070de6bbd648339c39152b16917361 5abb2b0067e04d25a6a480258935ec7b
557 #: 64942c1bcabb4af8b61d6c1763fa9ec1 7e3314757aad4fc1a94940b29ca6827c
558 #: 813511b4bfb04affbe03c50f1c74e9c8 82b50464d79647069ebf77eb5eaa2f72
559 #: 89cb96a7503f42ea8e5af77eae2653a1 92ffa13c8ae94cb2b2fa323e85adf355
560 #: 99b800f8ef394726a8cf31b1e64c2e16 9d31e1e684094f7b843f37fca583e403
561 #: 9fd573cd7d544e0aa4901376821e273b a1c3d38ad8b348718a4c58ba8de0d1f6
562 #: a36d22d544834da3858edb86ef6f1644 ac8c99d18c2b4b9bb781c6f88660d86b
563 #: b6d2ba4ce7ea4aeda4dcafbeb54f8f0d b770518ae6a749dbb83e9e8e640a10ee
564 #: cd5810abe8154ef1bb614e2940eece1a f11cee020a504c72a63ce27fbbd09651
565 #: fa237829f2624242ba676a501a682730 fe1aebb4ec3b40bd940fea19abc2ba9f
566 msgid "Parameters"
567 msgstr ""
568
569 #: ../../functions.rst:84 58f6fc5980274479b8466f9943b239a0
570 msgid ""
571 "any format name from above in upper or lower case, like *\"A4\"* or "
572 "*\"letter-l\"*."
573 msgstr ""
574 "上記のいずれかのフォーマット名を大文字または小文字で指定します。たとえば、*\"A4\"* または *\"letter-l\"* "
575 "のように指定します。"
576
577 #: ../../functions.rst 03f1fe2e5c3943e183598885bc51d1dc
578 #: 1857900ce17a4569876c842ed42c6268 20b469d28e6e4ef18b3176a5e74627d3
579 #: 20f0ad032864401e8e11b10c90f9c24b 27537b59f5694129a544cd09ee1e4957
580 #: 2e112e3af1b74659bdb9c43d7db12a74 3062eec0ad0247d28f2f532f9cd5cce4
581 #: 51bd37f77a214f6a8d3c6918723b9eea 5a94a14aae9b4984be7e3591cb6101df
582 #: 6b1952aa0aa84cbe8c865623124268ab 6cf6024e798045079d4c6551e3a7b175
583 #: 8bbd1c084844464088dab98f7d9f4965 9caea92222fe4cdc8432df38e26f83c6
584 #: acae4a31653a4d72b4a2e701c6c059b0 ad60dbf189334ee5a807f1faec163c26
585 #: b13938ce54e342d49bb6ee61f3927459 bd9c2eff50e34f239e7589f9e6ad949c
586 #: d3cd059ede494646bac809314f2a7aa3 dedeff11b7fe409fa341704aee20d714
587 #: f446e807ba984edf862a261ccd18ee92 f661f3aea2174106b4f7c07557d2937d
588 #: fcea4521481d45bb8138e2bc86f57dd6 fd35d8681ef34d8882c8131bfbb9325f
589 #: ffae2284aadc4ea5b7ce903b300110e5
590 msgid "Return type"
591 msgstr ""
592
593 #: ../../functions.rst 241f189d177b4abe8781c1323a0ec686
594 #: 269469e84adb406bba0203eeb27db4ea 3002f251a3b34a938e7f3b2d8ff54f55
595 #: 393bd2c99abb435c9096087b1340609a 4c3f97315cf04d0891ea76a1bc4cdec7
596 #: 4ce3f7bf85464affb653fdc3cde40999 4d87d3c54e3f482fbeae0695ccae2f3d
597 #: 54eed5b94cd8484089e327a49e09c976 6b22f8b9a6ca4d4cbc8cc4d236263067
598 #: 7c586b43f1e2413b82c7aec73497ad09 7d42f6afd5844f1caca525f80b3c1328
599 #: 8bc58d3f2fc9447e98d7349da31213de a168611b4d644084a80c9ebf51127c66
600 #: a636bdbee8ca4bb993b51dab8564eb04 afce09bb4d3e4e5dad5ccfaa3e62395a
601 #: b4b81ec6ce2548c6a66b0675d31bd1d6 b7e7fb7a4c2747b1adf7a8583f8654c4
602 #: b8cab8292e6e4f3ea1b79e200dca449d be0506cde75249c5b7cf35d1ae34c87d
603 #: c02e22251e0c496c99819e2bbfd566f2 e1d0fe254797467e8a7b7fe3ea0ae483
604 #: e1de8b977cf8465eb45cad2ef5f5e0dd eb4281b814a647efb2ad231baf1ca7ae
605 #: f468fa01ceb94ad8ac3451a68a33ae39 fda237d8691b4a959eeca8fe09b6bbae
606 msgid "Returns"
607 msgstr ""
608
609 #: ../../functions.rst:87 b4296412402b46a4965f9ad12430f3a5
610 msgid ""
611 "*(width, height)* of the paper format. For an unknown format *(-1, -1)* "
612 "is returned. Examples: *pymupdf.paper_size(\"A4\")* returns *(595, 842)* "
613 "and *pymupdf.paper_size(\"letter-l\")* delivers *(792, 612)*."
614 msgstr ""
615 "用紙フォーマットの *(幅、高さ)*。不明なフォーマットの場合、(-1、-1) "
616 "が返されます。例:*pymupdf.paper_size(\"A4\")* は (595、842) "
617 "を返し、*pymupdf.paper_size(\"letter-l\")* は *(792、612)* を返します。"
618
619 #: ../../functions.rst:93 5b13894197174f5b9b605cf39be91764
620 msgid "Convenience function to return a :ref:`Rect` for a known paper format."
621 msgstr "既知の紙のフォーマットに対応する :ref:`Rect` を返す便益関数です。"
622
623 #: ../../functions.rst:95 2b01808a6f984885ad72685e42b6ba34
624 msgid "any format name supported by :meth:`paper_size`."
625 msgstr ":meth:`paper_size` でサポートされている任意のフォーマット名。"
626
627 #: ../../functions.rst:97 398230d02c1a4139a2c25e15afd00441
628 msgid ":ref:`Rect`"
629 msgstr ""
630
631 #: ../../functions.rst:98 3bcbeafd12094f66b7da10fbb6e44d13
632 msgid ""
633 "*pymupdf.Rect(0, 0, width, height)* with *width, "
634 "height=pymupdf.paper_size(s)*."
635 msgstr ""
636
637 #: ../../functions.rst:109 dfd4fa5a7ed645d687e1add0d26f8fd9
638 msgid ""
639 "Sets destination of |PyMuPDF| messages to a file descriptor, a file, an "
640 "existing stream or `Python's logging system "
641 "<https://docs.python.org/3/library/logging.html>`_."
642 msgstr ""
643
644 #: ../../functions.rst:113 7ca7d103b38f48e6807607f1b5fb4e04
645 msgid "Usually one would only set one arg, or one or more `pylogging*` args."
646 msgstr ""
647
648 #: ../../functions.rst:115 d3110ebcfa014f9a9e9dffbfb07b8429
649 msgid ""
650 "A text specification of destination; for details see description of "
651 "environmental variable `PYMUPDF_MESSAGE`."
652 msgstr ""
653
654 #: ../../functions.rst:118 f2568fbdee6a469e86d30e697b54e228
655 msgid "Write to file descriptor."
656 msgstr ""
657
658 #: ../../functions.rst:120 3005a922a0bd4a02926e0a5b40014183
659 msgid ""
660 "Write to existing stream, which must have methods `.write(text)` and "
661 "`.flush()`."
662 msgstr ""
663
664 #: ../../functions.rst:123 7bae0338bdf7484c9e843251d5c4268e
665 msgid "Write to a file."
666 msgstr ""
667
668 #: ../../functions.rst:125 629d6fa80e1140f48a18cd82a8d2631d
669 msgid "Append to a file."
670 msgstr ""
671
672 #: ../../functions.rst:127 af3dad1d6ce942b8bc8207879fb6e153
673 msgid "Write to Python's `logging` system."
674 msgstr ""
675
676 #: ../../functions.rst:129 edef27de299d43b580f0142468f71ade
677 msgid "Write to Python's `logging` system using specified Logger."
678 msgstr ""
679
680 #: ../../functions.rst:131 97f0f14a9c6543069de109bdaa320698
681 msgid "Write to Python's `logging` system using specified level."
682 msgstr ""
683
684 #: ../../functions.rst:133 54a6240e34794f1d8f029e59eef09948
685 msgid ""
686 "Write to Python's `logging` system using specified logger name. Only used"
687 " if `pylogging_logger` is ``None``. Default is `pymupdf`."
688 msgstr ""
689
690 #: ../../functions.rst:137 7fc3645c02074a4aa4ff724cf1ab0856
691 msgid ""
692 "If any `pylogging*` arg is not ``None``, we write to `Python's logging "
693 "system <https://docs.python.org/3/library/logging.html>`_."
694 msgstr ""
695
696 #: ../../functions.rst:144 ../../functions.rst:156 ../../functions.rst:270
697 #: 70ea9f075bbc45bc9f22e2b8a925f0c2 d9fd6097dd8642d681771c59c34ec163
698 #: e3bdeda869f54aae9ed48140bfa9aa51
699 msgid "*New in v1.17.4*"
700 msgstr "*バージョン1.17.4で新たに追加*"
701
702 #: ../../functions.rst:146 0aa93594a530468e84df8471d05d150d
703 msgid ""
704 "Convenience function returning a PDF color triple (red, green, blue) for "
705 "a given sRGB color integer as it occurs in :meth:`Page.get_text` "
706 "dictionaries \"dict\" and \"rawdict\"."
707 msgstr ""
708 ":meth:`Page.get_text` の辞書 \"dict\" および \"rawdict\" に存在する与えられた sRGB "
709 "カラー整数に対して、PDF カラーのトリプル(赤、緑、青)を返す便益関数です。"
710
711 #: ../../functions.rst:148 ../../functions.rst:160
712 #: 864b3d47658d4c118df2f33b9208300f 8b645478645441eebd77be6157685571
713 msgid ""
714 "an integer of format RRGGBB, where each color component is an integer in "
715 "range(255)."
716 msgstr "各カラーコンポーネントが範囲[0, 255]の整数である RRGGBB 形式の整数。"
717
718 #: ../../functions.rst:150 87564fe0c411497099602ced50913c18
719 msgid ""
720 "a tuple (red, green, blue) with float items in interval *0 <= item <= 1* "
721 "representing the same color. Example `sRGB_to_pdf(0xff0000) = (1, 0, 0)` "
722 "(red)."
723 msgstr ""
724 "*0 <= item <= 1* "
725 "の間の浮動小数点数アイテムを持つタプル(赤、緑、青)で、同じカラーを表します。例:`sRGB_to_pdf(0xff0000) = (1, 0, "
726 "0)` (赤)。"
727
728 #: ../../functions.rst:158 33afb580cfbe4b5fb5fed85569086eeb
729 msgid ""
730 "Convenience function returning a color (red, green, blue) for a given "
731 "*sRGB* color integer."
732 msgstr "与えられた *sRGB* カラー整数に対して、カラー(赤、緑、青)を返す便益関数です。"
733
734 #: ../../functions.rst:162 99b662fe46f9469682b0a7ec89eed460
735 msgid ""
736 "a tuple (red, green, blue) with integer items in `range(256)` "
737 "representing the same color. Example `sRGB_to_pdf(0xff0000) = (255, 0, "
738 "0)` (red)."
739 msgstr ""
740 "整数アイテムが `range(256)` の範囲にある、同じ色を表すタプル(赤、緑、青)。例: `sRGB_to_pdf(0xff0000) = "
741 "(255, 0, 0)` (赤)"
742
743 #: ../../functions.rst:168 ../../functions.rst:183 ../../functions.rst:198
744 #: ../../functions.rst:211 79490e25884e4b379b80f56b00625d5c
745 #: 8802b9dd8e1644918618883055d9afaf 8d692f79ec3d47b5a19c94c7e7f90981
746 #: cc00fcf3f3834541862d9a786318f32f
747 msgid "*New in v1.18.0*"
748 msgstr "*バージョン1.18.0で新たに追加*"
749
750 #: ../../functions.rst:170 5ba3d698e66646eeba96e992e95fc235
751 msgid ""
752 "Return the unicode number of a glyph name based on the **Adobe Glyph "
753 "List**."
754 msgstr "**Adobe Glyph List** に基づくグリフ名のUnicode番号を返す関数です。"
755
756 #: ../../functions.rst:172 bdb4dabbf07a42e1b2aaa60fafc3f6a5
757 msgid ""
758 "the name of some glyph. The function is based on the `Adobe Glyph List "
759 "<https://github.com/adobe-type-tools/agl-"
760 "aglfn/blob/master/glyphlist.txt>`_."
761 msgstr ""
762 "グリフの名前。この関数は `Adobe Glyph List <https://github.com/adobe-type-tools/agl-"
763 "aglfn/blob/master/glyphlist.txt>`_ に基づいています。"
764
765 #: ../../functions.rst:175 7f83c8a40f1f4f5182386d25b2900e70
766 #, fuzzy
767 msgid "the unicode. Invalid ``name`` entries return `0xfffd (65533)`."
768 msgstr "Unicode番号。無効な *name* のエントリは `0xfffd (65533)` を返します。"
769
770 #: ../../functions.rst:177 ../../functions.rst:205 ../../functions.rst:218
771 #: 06e18a271eb844ff8ee1fc0870be4fb8 d7d9853398734fcbb59570519db66ef3
772 #: e5f542bf904c4baf92ddadf03e7802e6
773 msgid ""
774 "A similar functionality is provided by package `fontTools "
775 "<https://pypi.org/project/fonttools/>`_ in its *agl* sub-package."
776 msgstr ""
777 "同様の機能は、`fontTools <https://pypi.org/project/fonttools/>`_ パッケージの *agl* "
778 "サブパッケージで提供されています。"
779
780 #: ../../functions.rst:185 9c9f41d26b6f44d5a0675c56c191b7b5
781 msgid ""
782 "Return the glyph name of a unicode number, based on the **Adobe Glyph "
783 "List**."
784 msgstr "以下は、**Adobe Glyph List** に基づいた、Unicode番号に基づいたグリフ名を返す関数です。"
785
786 #: ../../functions.rst:187 3efb1935917c44828cdb74dd8e802d39
787 #: a7cc8fab866e446fb5d9bd91531a6e33
788 msgid ""
789 "the unicode given by e.g. `ord(\"ß\")`. The function is based on the "
790 "`Adobe Glyph List <https://github.com/adobe-type-tools/agl-"
791 "aglfn/blob/master/glyphlist.txt>`_."
792 msgstr ""
793 "Unicode番号、例:`ord(\"ß\")` によって与えられます。この関数は `Adobe Glyph List "
794 "<https://github.com/adobe-type-tools/agl-"
795 "aglfn/blob/master/glyphlist.txt>`_ に基づいています。"
796
797 #: ../../functions.rst:190 5176a1a461ef43a1bfbefacc552c8a8b
798 msgid ""
799 "the glyph name. E.g. `pymupdf.unicode_to_glyph_name(ord(\"Ä\"))` returns "
800 "`'Adieresis'`."
801 msgstr "グリフ名、例:`pymupdf.unicode_to_glyph_name(ord(\"Ä\"))` は `'Adieresis'` を返します。"
802
803 #: ../../functions.rst:192 2d968ce1f4004533b122972fdbbabdf7
804 msgid ""
805 "A similar functionality is provided by package `fontTools "
806 "<https://pypi.org/project/fonttools/>`_: in its *agl* sub-package."
807 msgstr ""
808 "類似の機能は、`fontTools <https://pypi.org/project/fonttools/>`_ パッケージの *agl* "
809 "サブパッケージで提供されています。"
810
811 #: ../../functions.rst:200 cdc27cc2524340f49b6cc45e587c802c
812 msgid "Return a list of glyph names defined in the **Adobe Glyph List**."
813 msgstr "**Adobe Glyph List** で定義されたグリフ名のリストを返します。"
814
815 #: ../../functions.rst:203 2fd087c0315e407ea96067edc1c4393c
816 msgid "list of strings."
817 msgstr "文字列のリスト。"
818
819 #: ../../functions.rst:213 a02dfb86773a455382f6a6c0268d3499
820 msgid ""
821 "Return a list of unicodes for there exists a glyph name in the **Adobe "
822 "Glyph List**."
823 msgstr "**Adobe Glyph List** にグリフ名が存在するUnicodeのリストを返します。"
824
825 #: ../../functions.rst:216 b7378500b7af448d86db01202a45986c
826 msgid "list of integers."
827 msgstr "整数のリスト。"
828
829 #: ../../functions.rst:224 44322f42c7554831ac045bccb97dbc3c
830 msgid "*New in v1.21.0*"
831 msgstr "*新機能 v1.21.0*"
832
833 #: ../../functions.rst:226 24ae3761fb07422393846de0c9c3fa88
834 msgid "**Utility function for use with \"Story\" applications.**"
835 msgstr "**\"Story\" アプリケーションで使用するためのユーティリティ関数。**"
836
837 #: ../../functions.rst:228 fd42be5d92474036bd944ca8660478de
838 msgid ""
839 "Create CSS `@font-face` items for the given fontcode in pymupdf-fonts. "
840 "Creates a CSS font-family for all fonts starting with string "
841 "\"fontcode\"."
842 msgstr ""
843 "指定された \"fontcode\" に対して CSS `@font-face` アイテムを作成します。文字列 \"fontcode\" "
844 "で始まるすべてのフォント用に CSS font-family を作成します。"
845
846 #: ../../functions.rst:230 a814b536199949e891f96f03e13d68a2
847 msgid ""
848 "The font naming convention in package pymupdf-fonts is \"fontcode<sf>\", "
849 "where the suffix \"sf\" is one of \"\" (empty), \"it\"/\"i\", "
850 "\"bo\"/\"b\" or \"bi\". These suffixes thus represent the regular, "
851 "italic, bold or bold-italic variants of that font."
852 msgstr ""
853 "パッケージ pymupdf-fonts でのフォントの命名規則は \"fontcode<sf>\" で、サフィックス \"sf\" "
854 "は(空白)、\"it\"、\"i\"、\"bo\"、\"b\"、\"bi\" "
855 "のいずれかです。したがって、これらのサフィックスは、フォントの通常の、イタリックの、太字の、太字イタリックのバリアントを表します。"
856
857 #: ../../functions.rst:232 ee523a99cc234e859fb1a6cabd4448c4
858 msgid "For example, font code \"notos\" refers to fonts"
859 msgstr "例えば、フォントコード \"notos\" は以下のフォントに対応します。"
860
861 #: ../../functions.rst:234 1624cd3ce5cb41d68b00cfbdefbab550
862 msgid "\"notos\" - \"Noto Sans Regular\""
863 msgstr ""
864
865 #: ../../functions.rst:235 b5bfb596ccb74dcf835b39d8f7d13881
866 msgid "\"notosit\" - \"Noto Sans Italic\""
867 msgstr ""
868
869 #: ../../functions.rst:236 f4b764ed2d584d8893bf0b2de910b9cf
870 msgid "\"notosbo\" - \"Noto Sans Bold\""
871 msgstr ""
872
873 #: ../../functions.rst:237 a8b2daa11b7845f3bed1ce18440ef016
874 msgid "\"notosbi\" - \"Noto Sans Bold Italic\""
875 msgstr ""
876
877 #: ../../functions.rst:239 cb8e8390629f4d188e7e1dbc5af60b03
878 msgid ""
879 "The function creates (up to) four CSS `@font-face` definitions and "
880 "collectively assigns the `font-family` name \"notos\" to them (or the "
881 "\"name\" value if provided). Associated font buffers are placed / added "
882 "to the provided archive."
883 msgstr ""
884 "この関数は(最大で)4つの CSS `@font-face` 定義を作成し、それらに `font-family` 名 "
885 "\"notos\"(または指定された \"name\" "
886 "の値)を割り当てます。関連するフォントバッファは提供されたアーカイブに配置されます/追加されます。"
887
888 #: ../../functions.rst:241 b1578620590c4d49a662b6873f7c33e7
889 msgid ""
890 "To use the font in the Python API for :ref:`Story`, execute "
891 "`.set_font(fontcode)` (or \"name\" if given). The correct font weight or "
892 "style will automatically be selected as required."
893 msgstr ""
894 ":ref:`Story` の Python API でフォントを使用するには、`.set_font(fontcode)`(または指定した場合は "
895 "\"name\")を実行します。必要に応じて正しいフォントウェイトまたはスタイルが自動的に選択されます。"
896
897 #: ../../functions.rst:243 5c4c7320f1f8400e924e56c72a17c2c3
898 msgid ""
899 "For example to replace the \"sans-serif\" HTML standard (i.e. Helvetica) "
900 "with the above \"notos\", execute the following. Whenever \"sans-serif\" "
901 "is used (whether explicitly or implicitly), the Noto Sans fonts will be "
902 "selected."
903 msgstr ""
904 "たとえば、上記の \"notos\" で \"sans-serif\" HTML 標準(Helvetica)を置き換えるには、次のように実行します"
905 "。\"sans-serif\" が使用される場合(明示的にまたは暗黙的に)、Noto Sans フォントが選択されます。"
906
907 #: ../../functions.rst:245 3ab4384a20d149669910ef03ad792c3a
908 msgid ""
909 "`CSS = pymupdf.css_for_pymupdf_font(\"notos\", name=\"sans-serif\", "
910 "archive=...)`"
911 msgstr ""
912
913 #: ../../functions.rst:247 3206db2b9e4548d9873d135de0833c62
914 msgid "Expects and returns the CSS source, with the new CSS definitions appended."
915 msgstr "CSS ソースが期待されており、新しい CSS 定義が追加されています。"
916
917 #: ../../functions.rst:249 a2d622ad8ee347cdbf24cf65b46dd835
918 msgid ""
919 "one of the font codes present in package `pymupdf-fonts "
920 "<https://pypi.org/project/pymupdf-fonts/>`_ (usually) representing the "
921 "regular version of the font family."
922 msgstr ""
923 "`pymupdf-fonts <https://pypi.org/project/pymupdf-fonts/>`_ "
924 "パッケージに存在するフォントファミリーの通常バージョンを表す、フォントコード。"
925
926 #: ../../functions.rst:250 3e43aa6f3cb7415c856593e0c2009f4d
927 msgid ""
928 "any already existing CSS source, or `None`. The function will append its "
929 "new definitions to this. This is the string that **must be used** as "
930 "`user_css` when creating the :ref:`Story`."
931 msgstr ""
932 "既存の CSS ソース、または `None`。新しい定義はこれに追加されます。これは :ref:`Story` を作成する際に "
933 "`user_css` として **使用する必要がある** 文字列です。"
934
935 #: ../../functions.rst:251 96d99d7375ed4394a4e5ec1661857dde
936 msgid ""
937 ":ref:`Archive`, **mandatory**. All font binaries (i.e. up to four) found "
938 "for \"fontcode\" will be added to the archive. This is the archive that "
939 "**must be used** as `archive` when creating the :ref:`Story`."
940 msgstr ""
941 ":ref:`Archive`、**必須** です。\"fontcode\" "
942 "に対して見つかるすべてのフォントバイナリ(最大で4つ)がアーカイブに追加されます。これは :ref:`Story` を作成する際に "
943 ":ref:`Archive` として**使用する必要があります** 。"
944
945 #: ../../functions.rst:252 efd7cc2ac7184a718e3bdc84648becc0
946 msgid ""
947 "the name under which the \"fontcode\" fonts should be found. If omitted, "
948 "\"fontcode\" will be used."
949 msgstr "\"fontcode\" フォントが見つかる名前。省略した場合、\"fontcode\" が使用されます。"
950
951 #: ../../functions.rst:255 d17bb0f3f24845159c50104934ef2fc9
952 msgid ""
953 "Modified CSS, with appended `@font-face` statements for each font variant"
954 " of fontcode. Fontbuffers associated with \"fontcode\" will have been "
955 "added to 'archive'. The function will automatically find up to 4 font "
956 "variants. All pymupdf-fonts (that are no special purpose like math or "
957 "music, etc.) have regular, bold, italic and bold-italic variants. To see "
958 "currently available font codes check "
959 "`pymupdf.fitz_fontdescriptors.keys()`. This will show something like "
960 "`dict_keys(['cascadia', 'cascadiai', 'cascadiab', 'cascadiabi', 'figbo', "
961 "'figo', 'figbi', 'figit', 'fimbo', 'fimo', 'spacembo', 'spacembi', "
962 "'spacemit', 'spacemo', 'math', 'music', 'symbol1', 'symbol2', 'notosbo', "
963 "'notosbi', 'notosit', 'notos', 'ubuntu', 'ubuntubo', 'ubuntubi', "
964 "'ubuntuit', 'ubuntm', 'ubuntmbo', 'ubuntmbi', 'ubuntmit'])`."
965 msgstr ""
966 "変更された CSS。\"fontcode\" の各フォントバリアントに対して追加された `@font-face` "
967 "ステートメントを含みます。関連する pymupdf-fonts のフォントバッファが 'archive' に追加されます。関数は最大で 4 "
968 "つのフォントバリアントを自動的に見つけます。現在利用可能なフォントコードを確認するには、`pymupdf.fitz_fontdescriptors.keys()`"
969 " を使用します。これにより、`dict_keys(['cascadia', 'cascadiai', 'cascadiab', "
970 "'cascadiabi', 'figbo', 'figo', 'figbi', 'figit', 'fimbo', 'fimo', "
971 "'spacembo', 'spacembi', 'spacemit', 'spacemo', 'math', 'music', "
972 "'symbol1', 'symbol2', 'notosbo', 'notosbi', 'notosit', 'notos', 'ubuntu',"
973 " 'ubuntubo', 'ubuntubi', 'ubuntuit', 'ubuntm', 'ubuntmbo', 'ubuntmbi', "
974 "'ubuntmit'])` のようなものが表示されます。"
975
976 #: ../../functions.rst:257 9c918c7741a8450fadc38bb8e6d8248e
977 msgid ""
978 "Here is a complete snippet for using the \"Noto Sans\" font instead of "
979 "\"Helvetica\"::"
980 msgstr "以下は \"Helvetica\" の代わりに \"Noto Sans\" フォントを使用する完全なスニペットです::"
981
982 #: ../../functions.rst:272 b6bf01dfadf043f89d73dc2362986d56
983 #, fuzzy
984 msgid ""
985 "Convenience function to split a rectangle into sub-rectangles of equal "
986 "size. Returns a list of `rows` lists, each containing `cols` :ref:`Rect` "
987 "items. Each sub-rectangle can then be addressed by its row and column "
988 "index."
989 msgstr ""
990 "矩形をサブ矩形に分割するための関数です。*行* のリストを含むリストを返し、各リストには指定された *列数* の :ref:`Rect` "
991 "アイテムが含まれています。各サブ矩形はその行と列のインデックスでアクセスできます。"
992
993 #: ../../functions.rst:274 2379b768d70b429e80b9ee76ff6affc6
994 msgid "the rectangle to split."
995 msgstr "分割する矩形。"
996
997 #: ../../functions.rst:275 bc2cff2237ae4cc2b772925cc341db0f
998 msgid "the desired number of columns."
999 msgstr "列の数。"
1000
1001 #: ../../functions.rst:276 bb04dcac38e94e4ea02e6ce480164b8f
1002 msgid "the desired number of rows."
1003 msgstr "行の数。"
1004
1005 #: ../../functions.rst:277 afead5470e7e4b4ba96f6b47fa94c27f
1006 msgid ""
1007 "a list of :ref:`Rect` objects of equal size, whose union equals *rect*. "
1008 "Here is the layout of a 3x4 table created by `cell = "
1009 "pymupdf.make_table(rect, cols=4, rows=3)`:"
1010 msgstr ""
1011 "等しいサイズの :ref:`Rect` オブジェクトのリストで、それらの合併は元の *rect* と同じです。たとえば、`cell = "
1012 "pymupdf.make_table(rect, cols=4, rows=3)` によって作成された 3x4 "
1013 "のテーブルのレイアウトは次のようになります:"
1014
1015 #: ../../functions.rst:287 3cf17d4592c24625a3c0f8b4ccf257b9
1016 msgid "New in version 1.16.2)*"
1017 msgstr "*バージョン1.16.2で新たに導入されました。*"
1018
1019 #: ../../functions.rst:289 3de02919aba44c58882ea49db6a70ca4
1020 msgid ""
1021 "Return a matrix which maps the line from p1 to p2 to the x-axis such that"
1022 " p1 will become (0,0) and p2 a point with the same distance to (0,0)."
1023 msgstr "p1からp2への直線をx軸にマッピングする行列を返します。その際、p1は(0,0)になり、p2は(0,0)から同じ距離に配置されるように変換されます。"
1024
1025 #: ../../functions.rst:291 d5051adab1c74eff8ca8bbcac46881e6
1026 msgid "starting point of the line."
1027 msgstr "直線の始点。"
1028
1029 #: ../../functions.rst:292 0739796326eb427b8251e930406ec398
1030 msgid "end point of the line."
1031 msgstr "直線の終点。"
1032
1033 #: ../../functions.rst:294 b3f32ee30e7e408ea53d346c946793b4
1034 msgid ":ref:`Matrix`"
1035 msgstr ""
1036
1037 #: ../../functions.rst:295 80f96c88c5c54adb87efd7e63247f4cf
1038 msgid ""
1039 "a matrix which combines a rotation and a translation:: >>> p1 = "
1040 "pymupdf.Point(1, 1) >>> p2 = pymupdf.Point(4, 5) >>> abs(p2 - p1) "
1041 "# distance of points 5.0 >>> m = pymupdf.planish_line(p1, p2) "
1042 ">>> p1 * m Point(0.0, 0.0) >>> p2 * m Point(5.0, "
1043 "-5.960464477539063e-08) >>> # distance of the resulting points >>> "
1044 "abs(p2 * m - p1 * m) 5.0 .. image:: images/img-planish.png "
1045 ":scale: 40"
1046 msgstr ""
1047
1048 #: ../../functions.rst:295 85ea149f226e4e2ca4d42190a34693e5
1049 msgid "a matrix which combines a rotation and a translation::"
1050 msgstr "回転と平行移動を組み合わせた行列::"
1051
1052 #: ../../functions.rst:319 d7085018534f47e2b428476e6d18257b
1053 msgid ""
1054 "A dictionary of pre-defines paper formats. Used as basis for "
1055 ":meth:`paper_size`."
1056 msgstr "あらかじめ定義された用紙フォーマットの辞書。:meth:`paper_size` の基盤として使用されます。"
1057
1058 #: ../../functions.rst:325 1100f2cd223244e098a59cab294695cd
1059 msgid "New in v1.17.5"
1060 msgstr "バージョン1.17.5で新たに導入されました"
1061
1062 #: ../../functions.rst:327 611b74fc7f2f49e7be426fe3db89be8f
1063 msgid ""
1064 "A dictionary of usable fonts from repository `pymupdf-fonts "
1065 "<https://pypi.org/project/pymupdf-fonts/>`_. Items are keyed by their "
1066 "reserved fontname and provide information like this::"
1067 msgstr ""
1068 "`pymupdf-fonts <https://pypi.org/project/pymupdf-fonts/>`_ "
1069 "リポジトリから使用可能なフォントの辞書。アイテムは予約されたフォント名でキー付けされ、以下のような情報を提供します::"
1070
1071 #: ../../functions.rst:343 43582b0da1f84beba44a5e36e2cdd048
1072 msgid "If `pymupdf-fonts` is not installed, the dictionary is empty."
1073 msgstr "`pymupdf-fonts` がインストールされていない場合、この辞書は空です。"
1074
1075 #: ../../functions.rst:345 5c5c8927cd35468f8b40e91051754525
1076 msgid ""
1077 "The dictionary keys can be used to define a :ref:`Font` via e.g. `font = "
1078 "pymupdf.Font(\"fimo\")` -- just like you can do it with the builtin fonts"
1079 " \"Helvetica\" and friends."
1080 msgstr ""
1081 "辞書のキーは、例えば `font = pymupdf.Font(\"fimo\")` "
1082 "のように使用してフォントを定義できます。これは、組み込みのフォント \"Helvetica\" やその他のフォントと同様に行うことができます。"
1083
1084 #: ../../functions.rst:351 829280be90364ab59d34ab8bcb9ee3a5
1085 msgid ""
1086 "If in `os.environ` when |PyMuPDF| is imported, sets destination of "
1087 "|PyMuPDF| messages. Otherwise messages are sent to `sys.stdout`."
1088 msgstr ""
1089
1090 #: ../../functions.rst:355 2a7234b598ca4be78a6ed7fd2cd0e68b
1091 msgid ""
1092 "If the value starts with `fd:`, the remaining text should be an integer "
1093 "file descriptor to which messages are written."
1094 msgstr ""
1095
1096 #: ../../functions.rst:358 52dfedc05920490596eb9bb364ca70ad
1097 msgid "For example `PYMUPDF_MESSAGE=fd:2` will send messages to stderr."
1098 msgstr ""
1099
1100 #: ../../functions.rst:360 c2c608b9dd754c2095660836dded1873
1101 msgid ""
1102 "If the value starts with `path:`, the remaining text is the path of a "
1103 "file to which messages are written. If the file already exists, it is "
1104 "truncated."
1105 msgstr ""
1106
1107 #: ../../functions.rst:364 f8a67537ff5540058906057a31801f10
1108 msgid ""
1109 "If the value starts with `path+:`, the remaining text is the path of file"
1110 " to which messages are written. If the file already exists, we append "
1111 "output."
1112 msgstr ""
1113
1114 #: ../../functions.rst:369 a97a4cc6ac8941099d31bee564b661d6
1115 msgid ""
1116 "If the value starts with `logging:`, messages are written to `Python's "
1117 "logging system <https://docs.python.org/3/library/logging.html>`_. The "
1118 "remaining text can contain comma-separated name=value items:"
1119 msgstr ""
1120
1121 #: ../../functions.rst:373 85f8ee63e7c242de87aa78d6da95ec89
1122 msgid "`level=<int>` sets the logging level."
1123 msgstr ""
1124
1125 #: ../../functions.rst:374 ced54a7765f14a2c90cc9b941ac3cdaf
1126 msgid "`name=<str>` sets the logger name (default is `pymupdf`)."
1127 msgstr ""
1128
1129 #: ../../functions.rst:376 79d9e976d47c48d2b2f5d924b71d2bdd
1130 msgid "Other items are ignored."
1131 msgstr ""
1132
1133 #: ../../functions.rst:378 e6049a9e63db495e951e0a96d3dbe162
1134 msgid "Other prefixes will cause an error."
1135 msgstr ""
1136
1137 #: ../../functions.rst:380 cea43b4378c542439ade76acf38cef95
1138 msgid "Also see `set_messages()`."
1139 msgstr ""
1140
1141 #: ../../functions.rst:387 d33f434c014340318a8b4f2408cf37ee
1142 msgid "New in v1.19.6"
1143 msgstr "バージョン1.19.6で新たに導入されました"
1144
1145 #: ../../functions.rst:389 2d49cc1b71804cc6add57d8ac8aeeb40
1146 msgid ""
1147 "Contains about 500 RGB colors in PDF format with the color name as key. "
1148 "To see what is there, you can obviously look at "
1149 "`pymupdf.pdfcolor.keys()`."
1150 msgstr ""
1151 "PDF形式の約500個のRGB色が、色の名前をキーとして含まれています。中身を確認するには、`pymupdf.pdfcolor.keys()` "
1152 "を見ることができます。"
1153
1154 #: ../../functions.rst:391 210b4f32e51c447c920aa1e17090177d
1155 msgid "Examples:"
1156 msgstr "例:"
1157
1158 #: ../../functions.rst:393 78b6aa54c3d8499c933344b9d67aa935
1159 msgid "`pymupdf.pdfcolor[\"red\"] = (1.0, 0.0, 0.0)`"
1160 msgstr ""
1161
1162 #: ../../functions.rst:394 25976b6b069c4a278c407ca0a6e0dd34
1163 msgid ""
1164 "`pymupdf.pdfcolor[\"skyblue\"] = (0.5294117647058824, 0.807843137254902, "
1165 "0.9215686274509803)`"
1166 msgstr ""
1167
1168 #: ../../functions.rst:395 036d984bb9494bfb970022074689d37d
1169 msgid ""
1170 "`pymupdf.pdfcolor[\"wheat\"] = (0.9607843137254902, 0.8705882352941177, "
1171 "0.7019607843137254)`"
1172 msgstr ""
1173
1174 #: ../../functions.rst:401 8e917a8067e94f15b90b52ee3016acc1
1175 msgid ""
1176 "Convenience function to return the current local timestamp in PDF "
1177 "compatible format, e.g. *D:20170501121525-04'00'* for local datetime May "
1178 "1, 2017, 12:15:25 in a timezone 4 hours westward of the UTC meridian."
1179 msgstr ""
1180 "PDF互換の形式で現在のローカルタイムスタンプを返す便利な関数です。例: "
1181 "ローカルの日付と時刻が2017年5月1日12時15分25秒で、UTC子午線の西4時間のタイムゾーンにある場合、*D:20170501121525-04’00’*"
1182 " となります。"
1183
1184 #: ../../functions.rst:404 f9d2422e60aa4b95b2387399f8819412
1185 msgid "current local PDF timestamp."
1186 msgstr "現在のローカルPDFタイムスタンプ。"
1187
1188 #: ../../functions.rst:410 7c48f1b5388547b9847fe88c7fbcd18a
1189 msgid "New in version 1.14.7"
1190 msgstr "バージョン1.14.7で新規追加"
1191
1192 #: ../../functions.rst:412 64c91a6941404cf293748277c1e40776
1193 msgid ""
1194 "Calculate the length of text on output with a given **builtin** font, "
1195 ":data:`fontsize` and encoding."
1196 msgstr "指定された *組み込み* フォント、:data:`fontsize` 、およびエンコーディングで出力されるテキストの長さを計算します。"
1197
1198 #: ../../functions.rst:414 1b351f62d3ce47ba820d95770c3b7ccf
1199 msgid "the text string."
1200 msgstr "テキスト文字列。"
1201
1202 #: ../../functions.rst:415 7a65fc2611854e61ae76f3d30079961a
1203 #, fuzzy
1204 msgid ""
1205 "the font name. Must be one of either the :ref:`Base-14-Fonts` or the CJK "
1206 "fonts, identified by their \"reserved\" fontnames (see table in "
1207 ":meth:`Page.insert_font`)."
1208 msgstr ""
1209 "フォント名。:ref:`Base-14-Fonts` "
1210 "またはCJKフォントのいずれかでなければなりません。これらは「予約済み」フォント名で識別されます(:meth:`Page.insert_font`"
1211 " のテーブルを参照)。"
1212
1213 #: ../../functions.rst:416 932954ed0adf44ef9900d8f882a388e7
1214 msgid "the :data:`fontsize`."
1215 msgstr ":data:`fontsize`。"
1216
1217 #: ../../functions.rst:417 d499111356cf4e9081c8c3c2912a57bd
1218 msgid ""
1219 "the encoding to use. Besides 0 = Latin, 1 = Greek and 2 = Cyrillic "
1220 "(Russian) are available. Relevant for Base-14 fonts \"Helvetica\", "
1221 "\"Courier\" and \"Times\" and their variants only. Make sure to use the "
1222 "same value as in the corresponding text insertion."
1223 msgstr ""
1224 "使用するエンコーディング。0 = ラテン、1 = ギリシャ、2 = "
1225 "キリル文字(ロシア語)が利用可能です。ベース14フォント「Helvetica」、「Courier」、「Times」とそのバリアントにのみ関連します。対応するテキスト挿入で使用する値と同じ値を使用してください。"
1226
1227 #: ../../functions.rst:419 9120edd3ebae44b4acc13d6f9de3fc03
1228 msgid ""
1229 "the length in points the string will have (e.g. when used in "
1230 ":meth:`Page.insert_text`)."
1231 msgstr "文字列が持つポイント単位の長さ(たとえば、:meth:`Page.insert_text` で使用する場合)。"
1232
1233 #: ../../functions.rst:421 79cef2d8477740418dbe285f8a7e7d06
1234 msgid ""
1235 "This function will only do the calculation -- it won't insert font nor "
1236 "text."
1237 msgstr "この関数は計算のみを行います - フォントまたはテキストを挿入しません。"
1238
1239 #: ../../functions.rst:423 00b63292efa741d3a51b9a25802baf30
1240 msgid ""
1241 "The :ref:`Font` class offers a similar method, :meth:`Font.text_length`, "
1242 "which supports Base-14 fonts and any font with a character map (CMap, "
1243 "Type 0 fonts)."
1244 msgstr ""
1245 ":ref:`Font` クラスは、Base-14フォントおよび文字マップ(CMap、Type "
1246 "0フォントをサポートする任意のフォントに対応した似たようなメソッド :meth:`Font.text_length` を提供しています。"
1247
1248 #: ../../functions.rst:425 cfcfc76eb218486fa8b032c6c50ab81e
1249 msgid ""
1250 "If you use this function to determine the required rectangle width for "
1251 "the (:ref:`Page` or :ref:`Shape`) *insert_textbox* methods, be aware that"
1252 " they calculate on a **by-character level**. Because of rounding effects,"
1253 " this will mostly lead to a slightly larger number: "
1254 "*sum([pymupdf.get_text_length(c) for c in text]) > "
1255 "pymupdf.get_text_length(text)*. So either (1) do the same, or (2) use "
1256 "something like *pymupdf.get_text_length(text + \"'\")* for your "
1257 "calculation."
1258 msgstr ""
1259 "この関数を使用して(:ref:`Page` または :ref:`Shape`)*insert_textbox* "
1260 "メソッドの必要な矩形の幅を決定する場合、**文字単位で** "
1261 "計算されることに注意してください。丸め効果のため、これはほとんどの場合、やや大きな数になります:*sum([pymupdf.get_text_length(c)"
1262 " for c in text]) > "
1263 "pymupdf.get_text_length(text)*。したがって、(1)同じことを行うか、(2)計算に "
1264 "*pymupdf.get_text_length(text + \"’\")* のようなものを使用してください。"
1265
1266 #: ../../functions.rst:431 763b708ba6ae4ddab04cf7af4a0c1d41
1267 msgid ""
1268 "Make a PDF-compatible string: if the text contains code points *ord(c) > "
1269 "255*, then it will be converted to UTF-16BE with BOM as a hexadecimal "
1270 "character string enclosed in \"<>\" brackets like *<feff...>*. Otherwise,"
1271 " it will return the string enclosed in (round) brackets, replacing any "
1272 "characters outside the ASCII range with some special code. Also, every "
1273 "\"(\", \")\" or backslash is escaped with a backslash."
1274 msgstr ""
1275 "PDF互換の文字列を作成します。テキストに含まれる文字のコードポイントが *ord(c) > 255* の場合、それはUTF-"
1276 "16BEに変換され、BOMが含まれた16進数の文字列で \"<>\" "
1277 "ブラケットで囲まれます。それ以外の場合は、ASCII範囲外の文字を特別なコードで置き換えて、(丸い)カッコで囲まれた文字列が返されます。また、すべての"
1278 " \"(\", \")\", またはバックスラッシュはバックスラッシュでエスケープされます。"
1279
1280 #: ../../functions.rst:433 c2b249b32f5f45e889b055dec35c3b1c
1281 msgid "the object to convert"
1282 msgstr "変換するオブジェクト"
1283
1284 #: ../../functions.rst:436 1acb62d7d240428ab032edcf601996ca
1285 msgid "PDF-compatible string enclosed in either *()* or *<>*."
1286 msgstr "*()* または *<>* で囲まれたPDF互換の文字列。"
1287
1288 #: ../../functions.rst:442 702d8585021a43eba297b69d4836db1d
1289 msgid "New in v1.16.7"
1290 msgstr "バージョン1.16.7で新規追加"
1291
1292 #: ../../functions.rst:443 d731f027bad84dc4a0c0fa97dddbc2ba
1293 msgid ""
1294 "Changed in v1.19.5: also return natural image orientation extracted from "
1295 "EXIF data if present."
1296 msgstr "バージョン1.19.5で変更:EXIFデータから抽出した自然な画像の向きも返すように変更されました。"
1297
1298 #: ../../functions.rst:444 27b180112c374ac4a920954d1634ef4d
1299 msgid ""
1300 "Changed in v1.22.5: always return `None` in error cases instead of an "
1301 "empty dictionary."
1302 msgstr "バージョン1.22.5で変更:エラーケースで空の辞書ではなく、常に `None` を返すように変更されました。"
1303
1304 #: ../../functions.rst:446 9803cc75c9f044399d2dda1e316afe12
1305 msgid ""
1306 "Show important properties of an image provided as a memory area. Its main"
1307 " purpose is to avoid using other Python packages just to determine them."
1308 msgstr "メモリ領域として提供される画像の重要なプロパティを表示します。主な目的は、これらのプロパティを決定するために他のPythonパッケージを使用しないようにすることです。"
1309
1310 #: ../../functions.rst:448 fdf0ee2300ce40418b494c923b925202
1311 msgid ""
1312 "either an image in memory or an **opened** file. An image in memory may "
1313 "be any of the formats `bytes`, `bytearray` or `io.BytesIO`."
1314 msgstr ""
1315 "メモリ内の画像または **開いた** ファイル。メモリ内の画像は、`bytes`、`bytearray`、または `io.BytesIO` "
1316 "形式のいずれかです。"
1317
1318 #: ../../functions.rst:451 fe8ea596a2524046aa4127a94283a123
1319 msgid ""
1320 "No exception is ever raised. In case of an error, `None` is returned. "
1321 "Otherwise, there are the following items:: In [2]: "
1322 "pymupdf.image_profile(open(\"nur-ruhig.jpg\", \"rb\").read()) Out[2]:"
1323 " {'width': 439, 'height': 501, 'orientation': 0, # natural "
1324 "orientation (from EXIF) 'transform': (1.0, 0.0, 0.0, 1.0, 0.0, 0.0), "
1325 "# orientation matrix 'xres': 96, 'yres': 96, 'colorspace': 3,"
1326 " 'bpc': 8, 'ext': 'jpeg', 'cs-name': 'DeviceRGB'} There is the "
1327 "following relation to **Exif** information encoded in `orientation`, and "
1328 "correspondingly in the `transform` matrix-like (quoted from MuPDF "
1329 "documentation, *ccw* = counter-clockwise): 0. Undefined 1. 0 "
1330 "degree ccw rotation. (Exif = 1) 2. 90 degree ccw rotation. (Exif = 8)"
1331 " 3. 180 degree ccw rotation. (Exif = 3) 4. 270 degree ccw rotation."
1332 " (Exif = 6) 5. flip on X. (Exif = 2) 6. flip on X, then rotate ccw "
1333 "by 90 degrees. (Exif = 5) 7. flip on X, then rotate ccw by 180 "
1334 "degrees. (Exif = 4) 8. flip on X, then rotate ccw by 270 degrees. "
1335 "(Exif = 7) .. note:: * For some \"exotic\" images (FAX encodings, "
1336 "RAW formats and the like), this method will not work. You can however "
1337 "still work with such images in PyMuPDF, e.g. by using "
1338 ":meth:`Document.extract_image` or create pixmaps via `Pixmap(doc, xref)`."
1339 " These methods will automatically convert exotic images to the PNG format"
1340 " before returning results. * You can also get the properties of images"
1341 " embedded in a PDF, via their :data:`xref`. In this case make sure to "
1342 "extract the raw stream: "
1343 "`pymupdf.image_profile(doc.xref_stream_raw(xref))`. * Images as "
1344 "returned by the image blocks of :meth:`Page.get_text` using \"dict\" or "
1345 "\"rawdict\" options are also supported."
1346 msgstr ""
1347
1348 #: ../../functions.rst:452 6c919d4bab45428dbd8afb4362c1639b
1349 msgid ""
1350 "No exception is ever raised. In case of an error, `None` is returned. "
1351 "Otherwise, there are the following items::"
1352 msgstr "例外は発生しません。エラーの場合、`None` が返されます。それ以外の場合、以下のアイテムがあります::"
1353
1354 #: ../../functions.rst:467 b9c14ed655074650822790e551f4ca7d
1355 msgid ""
1356 "There is the following relation to **Exif** information encoded in "
1357 "`orientation`, and correspondingly in the `transform` matrix-like (quoted"
1358 " from MuPDF documentation, *ccw* = counter-clockwise):"
1359 msgstr ""
1360 "以下は、**Exif** 情報にエンコードされた`orientation` と、対応する `transform` "
1361 "マトリックスの関係です(MuPDFドキュメンテーションから引用、*ccw* = 反時計回り):"
1362
1363 #: ../../functions.rst:469 19e611ede392404ba77fd6f75497a37d
1364 msgid "Undefined"
1365 msgstr "未定義"
1366
1367 #: ../../functions.rst:470 32314d4117e54bddb20d74a136422abf
1368 msgid "0 degree ccw rotation. (Exif = 1)"
1369 msgstr "0度の反時計回りの回転(Exif = 1)"
1370
1371 #: ../../functions.rst:471 781696a0f9f242fe89d413224e12432e
1372 msgid "90 degree ccw rotation. (Exif = 8)"
1373 msgstr "90度の反時計回りの回転(Exif = 8)"
1374
1375 #: ../../functions.rst:472 589888419f494f768f3287b5f5fa3e86
1376 msgid "180 degree ccw rotation. (Exif = 3)"
1377 msgstr "180度の反時計回りの回転(Exif = 3)"
1378
1379 #: ../../functions.rst:473 f01ff82a9eed4b9f844b157ad3881ef5
1380 msgid "270 degree ccw rotation. (Exif = 6)"
1381 msgstr "270度の反時計回りの回転(Exif = 6)"
1382
1383 #: ../../functions.rst:474 0446ad252a924396aaeed11ed1109b46
1384 msgid "flip on X. (Exif = 2)"
1385 msgstr "X軸で反転(Exif = 2)"
1386
1387 #: ../../functions.rst:475 26416c1428b9417cb36e3f04129eb26b
1388 msgid "flip on X, then rotate ccw by 90 degrees. (Exif = 5)"
1389 msgstr "X軸で反転し、さらに90度反時計回りに回転(Exif = 5)"
1390
1391 #: ../../functions.rst:476 7bf8066761234bc9b89b24615ac9ff55
1392 msgid "flip on X, then rotate ccw by 180 degrees. (Exif = 4)"
1393 msgstr "X軸で反転し、さらに180度反時計回りに回転(Exif = 4)"
1394
1395 #: ../../functions.rst:477 e588846b59874666b6702e6ff455f044
1396 msgid "flip on X, then rotate ccw by 270 degrees. (Exif = 7)"
1397 msgstr "X軸で反転し、さらに270度反時計回りに回転(Exif = 7)"
1398
1399 #: ../../functions.rst:482 b2e5bec7f40640858d351ef7a4d13151
1400 msgid ""
1401 "For some \"exotic\" images (FAX encodings, RAW formats and the like), "
1402 "this method will not work. You can however still work with such images in"
1403 " PyMuPDF, e.g. by using :meth:`Document.extract_image` or create pixmaps "
1404 "via `Pixmap(doc, xref)`. These methods will automatically convert exotic "
1405 "images to the PNG format before returning results."
1406 msgstr ""
1407 "一部の「エキゾチック」な画像(FAXエンコーディング、RAWフォーマットなど)では、この方法は機能しない場合があります。ただし、PyMuPDFでは引き続きこのような画像を使用できます。たとえば、:meth:`Document.extract_image`"
1408 " を使用したり、`Pixmap(doc, xref)` "
1409 "を介してピクマップを作成したりできます。これらのメソッドは、結果を返す前にエキゾチックな画像を自動的にPNG形式に変換します。"
1410
1411 #: ../../functions.rst:483 60dfbff3781a411aa5ac084ed06bc481
1412 msgid ""
1413 "You can also get the properties of images embedded in a PDF, via their "
1414 ":data:`xref`. In this case make sure to extract the raw stream: "
1415 "`pymupdf.image_profile(doc.xref_stream_raw(xref))`."
1416 msgstr ""
1417 "また、PDFに埋め込まれた画像のプロパティをxrefを介して取得することもできます。この場合は生のストリームを抽出してください: "
1418 "`pymupdf.image_profile(doc.xref_stream_raw(xref))`。"
1419
1420 #: ../../functions.rst:484 68c194bfed0d449c9f716b2f8c1e9a6d
1421 msgid ""
1422 "Images as returned by the image blocks of :meth:`Page.get_text` using "
1423 "\"dict\" or \"rawdict\" options are also supported."
1424 msgstr ":meth:`Page.get_text` の画像ブロックが「dict」または「rawdict」オプションを使用して返す画像もサポートされています。"
1425
1426 #: ../../functions.rst:491 841e72c301064b7d8cd16a7659df3715
1427 msgid ""
1428 "Return the header string required to make a valid document out of page "
1429 "text outputs."
1430 msgstr "ページのテキスト出力を有効なドキュメントに変換するために必要なヘッダー文字列を返します。"
1431
1432 #: ../../functions.rst:493 ../../functions.rst:505
1433 #: 98ab75da842e44f0aba2173690b17420 be09e3df54dd47cc9a0f9dad37daf7ba
1434 msgid "type of document. Use the same as the output parameter of *get_text()*."
1435 msgstr "ドキュメントの種類。*get_text()* メソッドのoutputパラメータと同じものを使用します。"
1436
1437 #: ../../functions.rst:495 91d48bdf66814693aa7ac8c87d1d2704
1438 msgid "optional arbitrary name to use in output types \"json\" and \"xml\"."
1439 msgstr "出力タイプ \"json\" および \"xml\" で使用するオプションの任意の名前。"
1440
1441 #: ../../functions.rst:503 8f75e703912b484cad9c58f9ef286a30
1442 msgid ""
1443 "Return the trailer string required to make a valid document out of page "
1444 "text outputs. See :meth:`Page.get_text` for an example."
1445 msgstr ":meth:`Page.get_text` の例を参照して、ページテキストの出力から有効な文書を作成するために必要なトレーラー文字列を返します。"
1446
1447 #: ../../functions.rst:513 7bf3dbf728174900a685386f86d7b613
1448 msgid ""
1449 "Delete an object containing XML-based metadata from the PDF. (Py-) MuPDF "
1450 "does not support XML-based metadata. Use this if you want to make sure "
1451 "that the conventional metadata dictionary will be used exclusively. Many "
1452 "thirdparty PDF programs insert their own metadata in XML format and thus "
1453 "may override what you store in the conventional dictionary. This method "
1454 "deletes any such reference, and the corresponding PDF object will be "
1455 "deleted during next garbage collection of the file."
1456 msgstr "PDF内からXMLベースのメタデータを含むオブジェクトを削除します。PyMuPDFではXMLベースのメタデータはサポートされていません。従って、従来のメタデータ辞書が排他的に使用されることを確認したい場合に使用します。多くのサードパーティのPDFプログラムは、独自のXML形式でメタデータを挿入し、従来の辞書に保存されている内容を上書きする可能性があります。このメソッドはそのような参照を削除し、ファイルの次回のガベージコレクション時に対応するPDFオブジェクトが削除されます。"
1457
1458 #: ../../functions.rst:519 62c4ccaa8b8c436c990340d78e6341c0
1459 msgid ""
1460 "Return the XML-based metadata :data:`xref` of the PDF if present -- also "
1461 "refer to :meth:`Document.del_xml_metadata`. You can use it to retrieve "
1462 "the content via :meth:`Document.xref_stream` and then work with it using "
1463 "some XML software."
1464 msgstr ""
1465 "PDFのXMLベースのメタデータの :data:`xref` "
1466 "を返します。存在する場合は、:meth:`Document.del_xml_metadata` "
1467 "にも言及してください。これを使用して、:meth:`Document.xref_stream` "
1468 "を介してコンテンツを取得し、それをいくつかのXMLソフトウェアを使用して操作できます。"
1469
1470 #: ../../functions.rst:522 28fca2e874754c1b8e1f76de939f070b
1471 msgid ":data:`xref` of PDF file level XML metadata -- or 0 if none exists."
1472 msgstr "PDFファイルレベルのXMLメタデータの :data:`xref`。存在しない場合は0。"
1473
1474 #: ../../functions.rst:528 bb22cba4009542cf9cbe10b1bdf7d0a0
1475 msgid "Run a page through a device."
1476 msgstr "ページをデバイスを通じて実行します。"
1477
1478 #: ../../functions.rst:530 b59467cb760a428cb9a1ad3ddc2372f5
1479 msgid "Device, obtained from one of the :ref:`Device` constructors."
1480 msgstr ":ref:`Device`。デバイスのコンストラクタから取得します。"
1481
1482 #: ../../functions.rst:533 764e316039514bc2b1c84a2a3613584f
1483 msgid ""
1484 "Transformation to apply to the page. Set it to :ref:`Identity` if no "
1485 "transformation is desired."
1486 msgstr "ページに適用する変換。変換を行わない場合は :ref:`Identity` に設定します。"
1487
1488 #: ../../functions.rst:540 132d218ecda54d83a572eccb181b290d
1489 msgid "New in v1.19.0"
1490 msgstr "新機能 v1.19.0"
1491
1492 #: ../../functions.rst:541 eb0d8183af6d46dcaa937647ed837885
1493 msgid ""
1494 "Changed in v1.22.0: optionally also return the OCG name applicable to the"
1495 " boundary box."
1496 msgstr "v1.22.0 で変更: 境界ボックスに適用される OCG 名もオプションで返すように変更されました。"
1497
1498 #: ../../functions.rst:543 2b307ac70a2c47239fe84735d4ea5dcc
1499 msgid ""
1500 "a list of rectangles that envelop text, image or drawing objects. Each "
1501 "item is a tuple `(type, (x0, y0, x1, y1))` where the second tuple "
1502 "consists of rectangle coordinates, and *type* is one of the following "
1503 "values. If `layers=True`, there is a third item containing the OCG name "
1504 "or `None`: `(type, (x0, y0, x1, y1), None)`. * `\"fill-text\"` -- normal"
1505 " text (painted without character borders) * `\"stroke-text\"` -- text "
1506 "showing character borders only * `\"ignore-text\"` -- text that should "
1507 "not be displayed (e.g. as used by OCR text layers) * `\"fill-path\"` -- "
1508 "drawing with fill color (and no border) * `\"stroke-path\"` -- drawing "
1509 "with border (and no fill color) * `\"fill-image\"` -- displays an image *"
1510 " `\"fill-shade\"` -- display a shading The item sequence represents the "
1511 "**sequence in which these commands are executed** to build the page's "
1512 "appearance. Therefore, if an item's bbox intersects or contains that of a"
1513 " previous item, then the previous item may be (partially) covered / "
1514 "hidden. So this list can be used to detect such situations. An item's "
1515 "index in this list equals the value of a `\"seqno\"` in dictionaries as "
1516 "returned by :meth:`Page.get_drawings` and :meth:`Page.get_texttrace`."
1517 msgstr ""
1518
1519 #: ../../functions.rst:543 1b114fa4f3f64d72bd937199e3a3d2f7
1520 msgid ""
1521 "a list of rectangles that envelop text, image or drawing objects. Each "
1522 "item is a tuple `(type, (x0, y0, x1, y1))` where the second tuple "
1523 "consists of rectangle coordinates, and *type* is one of the following "
1524 "values. If `layers=True`, there is a third item containing the OCG name "
1525 "or `None`: `(type, (x0, y0, x1, y1), None)`."
1526 msgstr ""
1527 "テキスト、画像、または描画オブジェクトを囲む矩形のリスト。各アイテムはタプル `(type, (x0, y0, x1, y1))` "
1528 "で、第2のタプルは矩形の座標を表し、*type* は以下の値のいずれかです。`layers=True` の場合、OCG 名または `None` "
1529 "を含む第3のアイテムがあります: `(type, (x0, y0, x1, y1), None)`。"
1530
1531 #: ../../functions.rst:545 abf0c36f44e04ee8a5a2afa7b724f5a1
1532 msgid "`\"fill-text\"` -- normal text (painted without character borders)"
1533 msgstr "`\"fill-text\"` – 通常のテキスト(文字の境界線なしで描画)"
1534
1535 #: ../../functions.rst:546 37dd54d3f17044c6b337bff4655966a0
1536 msgid "`\"stroke-text\"` -- text showing character borders only"
1537 msgstr "`\"stroke-text\"` – 文字の境界線のみを表示するテキスト"
1538
1539 #: ../../functions.rst:547 849119a86cd44565a26d3541b70c0516
1540 msgid ""
1541 "`\"ignore-text\"` -- text that should not be displayed (e.g. as used by "
1542 "OCR text layers)"
1543 msgstr "`\"ignore-text\"` – 表示されないべきテキスト(OCR テキストレイヤーなどで使用されます)"
1544
1545 #: ../../functions.rst:548 aec96117beef420c82608445b9e8819a
1546 msgid "`\"fill-path\"` -- drawing with fill color (and no border)"
1547 msgstr "`\"fill-path\"` – 塗りつぶしカラーで描画(境界線なし)"
1548
1549 #: ../../functions.rst:549 b1d6ad4002a641048ce03e94bd21d5bb
1550 msgid "`\"stroke-path\"` -- drawing with border (and no fill color)"
1551 msgstr "`\"stroke-path\"` – 境界線で描画(塗りつぶしカラーなし)"
1552
1553 #: ../../functions.rst:550 b0e26ed279dc4820a41a7f8a4e615183
1554 msgid "`\"fill-image\"` -- displays an image"
1555 msgstr "`\"fill-image\"` – 画像を表示"
1556
1557 #: ../../functions.rst:551 7ad6ff9b7faf470cbe306351c31df8ec
1558 msgid "`\"fill-shade\"` -- display a shading"
1559 msgstr "`\"fill-shade\"` – シェーディングを表示"
1560
1561 #: ../../functions.rst:553 218f82ee4e624649b8e8a57969e46706
1562 msgid ""
1563 "The item sequence represents the **sequence in which these commands are "
1564 "executed** to build the page's appearance. Therefore, if an item's bbox "
1565 "intersects or contains that of a previous item, then the previous item "
1566 "may be (partially) covered / hidden."
1567 msgstr ""
1568 "**アイテムのシーケンスは、ページの外観を構築するためにこれらのコマンドが実行される** 順序を表します。したがって、アイテムの bbox "
1569 "が前のアイテムの bbox と交差または包含されている場合、前のアイテムは(部分的に)カバー / 隠される可能性があります。"
1570
1571 #: ../../functions.rst:556 5593f221ed344831866cbd474df50bc3
1572 msgid ""
1573 "So this list can be used to detect such situations. An item's index in "
1574 "this list equals the value of a `\"seqno\"` in dictionaries as returned "
1575 "by :meth:`Page.get_drawings` and :meth:`Page.get_texttrace`."
1576 msgstr ""
1577 "したがって、このリストを使用してそのような状況を検出できます。このリスト内のアイテムのインデックスは、:meth:`Page.get_drawings`"
1578 " および :meth:`Page.get_texttrace` によって返される辞書の `\"seqno\"` の値と等しいです。"
1579
1580 #: ../../functions.rst:563 1b4ab5c71554402a9c63ee38f27e71cb
1581 msgid "New in v1.18.16"
1582 msgstr "v1.18.16 で新機能"
1583
1584 #: ../../functions.rst:564 83fdfa37d163451e9ff96def5e0de5c0
1585 msgid "Changed in v1.19.0: added key \"seqno\"."
1586 msgstr "v1.19.0 で変更: キー \"seqno\" を追加。"
1587
1588 #: ../../functions.rst:565 916f4cdfdeda417abeea07844d42deca
1589 msgid ""
1590 "Changed in v1.19.1: stroke and fill colors now always are either RGB or "
1591 "GRAY"
1592 msgstr "v1.19.1 で変更: ストロークと塗りつぶしのカラーは常に RGB または GRAY です"
1593
1594 #: ../../functions.rst:566 8c99ffdc891844ad872fd6def677e08b
1595 msgid ""
1596 "Changed in v1.19.3: span and character bboxes are now also correct if "
1597 "`dir != (1, 0)`."
1598 msgstr "v1.19.3 で変更: `dir != (1, 0)` の場合、スパンと文字の bbox も正確になりました。"
1599
1600 #: ../../functions.rst:567 03678344ac2e4f0ba4e15f06b3b558d0
1601 msgid "Changed in v1.22.0: add new dictionary key \"layer\"."
1602 msgstr "v1.22.0 で変更: 新しい辞書キー \"layer\" を追加。"
1603
1604 #: ../../functions.rst:570 6d08591e52224bc08f77d6dcb26d9a04
1605 msgid ""
1606 "Return low-level text information of the page. The method is available "
1607 "for **all** document types. The result is a list of Python dictionaries "
1608 "with the following content::"
1609 msgstr ""
1610 "ページの低レベルなテキスト情報を返します。このメソッドは **すべて** のドキュメントタイプで利用可能です。結果は、以下の内容を持つ "
1611 "Python 辞書のリストです。"
1612
1613 #: ../../functions.rst:606 cc0d6a11bdbc410cb9411001f8e05eee
1614 msgid "Details:"
1615 msgstr ""
1616
1617 #: ../../functions.rst:608 11f8d880efa247139f7f83220839a83a
1618 msgid ""
1619 "Information above tagged with \"(1)\" has the same meaning and value as "
1620 "explained in :ref:`TextPage`."
1621 msgstr "「(1)」でタグ付けされた情報は、:ref:`TextPage` で説明された内容と同じ意味と値を持っています。"
1622
1623 #: ../../functions.rst:610 4d9d835859f449e0a40b7667d81451a8
1624 #, fuzzy
1625 msgid ""
1626 "Please note that the font ``flags`` value will never contain a "
1627 "*superscript* flag bit: the detection of superscripts is done within "
1628 "MuPDF :ref:`TextPage` code -- it is not a property of any font."
1629 msgstr ""
1630 "フォント `flags` の値には *superscript* フラグビットが含まれないことに注意してください。上付き文字の検出はMuPDF "
1631 ":ref:`TextPage` 内で行われます。これは任意のフォントのプロパティではありません。"
1632
1633 #: ../../functions.rst:611 d9f311aa264940be9b1fd7dc476446f3
1634 msgid ""
1635 "Also note, that the text *color* is encoded as the usual tuple of floats "
1636 "0 <= f <= 1 -- not in sRGB format. Depending on `span[\"type\"]`, "
1637 "interpret this as fill color or stroke color."
1638 msgstr ""
1639 "また、テキストの *color* は通常の浮動小数点数のタプル(0 <= f <= "
1640 "1)でエンコードされており、sRGB形式ではありません。`span[\"type\"]` "
1641 "に応じて、これを塗りつぶし色またはストローク色として解釈してください。"
1642
1643 #: ../../functions.rst:613 c32efb528d114e888542af9a76a9477a
1644 msgid "There are 3 text span types:"
1645 msgstr "テキストスパンには3つのタイプがあります:"
1646
1647 #: ../../functions.rst:615 ea8c6854860c4abc84f35271f246cf6f
1648 msgid ""
1649 "0: Filled text -- equivalent to PDF text rendering mode 0 (`0 Tr`, the "
1650 "default in PDF), only each character's \"inside\" is shown."
1651 msgstr "0:塗りつぶしテキスト - PDFテキストレンダリングモード0(`0 Tr`、PDFのデフォルト)と同等で、各文字の「内部」のみが表示されます。"
1652
1653 #: ../../functions.rst:616 8c5b60838d0043ad832b76f6964725ec
1654 msgid ""
1655 "1: Stroked text -- equivalent to `1 Tr`, only the character borders are "
1656 "shown."
1657 msgstr "1:ストロークテキスト - `1 Tr` に相当し、文字の境界のみが表示されます。"
1658
1659 #: ../../functions.rst:617 aad83dab705242819a32cf3d87f3fcd2
1660 msgid "3: Ignored text -- equivalent to `3 Tr` (hidden text)."
1661 msgstr "3:無視されたテキスト - `3 Tr` に相当し(非表示テキスト)。"
1662
1663 #: ../../functions.rst:619 95d1e914c8254b37a6c64251be78ac76
1664 #, python-format
1665 msgid ""
1666 "Line width in this context is important only for processing "
1667 "`span[\"type\"] != 0`: it determines the thickness of the character's "
1668 "border line. This value may not be provided at all with the text data. In"
1669 " this case, a value of 5% of the :data:`fontsize` (`span[\"size\"] * "
1670 "0,05`) is generated. Often, an \"artificial\" bold text in PDF is created"
1671 " by `2 Tr`. There is no equivalent span type for this case. Instead, "
1672 "respective text is represented by two consecutive spans -- which are "
1673 "identical in every aspect, except for their types, which are 0, resp 1. "
1674 "It is your responsibility to handle this type of situation - in "
1675 ":meth:`Page.get_text`, MuPDF is doing this for you."
1676 msgstr ""
1677 "この文脈では、線の幅は `span[\"type\"] != 0` "
1678 "を処理する際にのみ重要であり、文字の境界線の厚さを決定します。この値はテキストデータと一緒に提供されないこともあります。この場合、:data:`fontsize`"
1679 " の5%(`span[\"size\"] * 0.05`)の値が生成されます。PDF内の「人工」の太字テキストは、通常、`2 Tr` "
1680 "によって作成されます。この場合、このケースの等価なスパンタイプは存在しません。代わりに、対応するテキストは2つの連続したスパンによって表されます。これらのスパンはすべての側面が同一であり、タイプ以外は異なります(0、1)。このタイプの状況を処理する責任はあなたにあります。:meth:`Page.get_text`"
1681 " では、MuPDFがこれを代わりに行います。"
1682
1683 #: ../../functions.rst:620 606f56ad2fa34ddb82e2171ac68c7ae0
1684 msgid ""
1685 "For data compactness, the character's unicode is provided here. Use "
1686 "built-in function `chr()` for the character itself."
1687 msgstr "データのコンパクトさのために、文字のUnicodeがここで提供されます。文字自体には `chr()` という組み込み関数を使用します。"
1688
1689 #: ../../functions.rst:621 eafb5c8d2c0a47fe87b904f337b62657
1690 msgid ""
1691 "The alpha / opacity value of the span's text, `0 <= opacity <= 1`, 0 is "
1692 "invisible text, 1 (100%) is intransparent. Depending on `span[\"type\"]`,"
1693 " interpret this value as *fill* opacity or, resp. *stroke* opacity."
1694 msgstr ""
1695 "スパンのテキストのアルファ/不透明度値、`0 <= opacity <= "
1696 "1`、0は見えないテキスト、1(100%)は不透明です。`span[\"type\"]` に応じて、この値を *fill* の不透明度または "
1697 "*stroke* の不透明度として解釈してください。"
1698
1699 #: ../../functions.rst:622 eb23d9902fba49d087006466112feef8
1700 msgid ""
1701 "*(Changed in v1.19.0)* This value is equal or close to `char[\"bbox\"]` "
1702 "of \"rawdict\". In particular, the bbox **height** value is always "
1703 "computed as if **\"small glyph heights\"** had been requested."
1704 msgstr ""
1705 "*(v1.19.0で変更)* この値は「rawdict」の `char[\"bbox\"]` と等しいか、近い値です。特に、bboxの "
1706 "**高さ** の値は常に **「小さなグリフの高さ」** が要求されたかのように計算されます。"
1707
1708 #: ../../functions.rst:623 3ef916cf4c6d4625b153f657810bcaac
1709 msgid "*(New in v1.19.0)* This is the union of all character bboxes."
1710 msgstr "*(v1.19.0で新規)* これはすべての文字bboxの合併です。"
1711
1712 #: ../../functions.rst:624 b64b0fd0a2f8435aada9591350d3276e
1713 msgid ""
1714 "*(New in v1.19.0)* Enumerates the commands that build up the page's "
1715 "appearance. Can be used to find out whether text is effectively hidden by"
1716 " objects, which are painted \"later\", or *over* some object. So if there"
1717 " is a drawing or image with a higher sequence number, whose bbox overlaps"
1718 " (parts of) this text span, one may assume that such an object hides the "
1719 "resp. text. Different text spans have identical sequence numbers if they "
1720 "were created in one go."
1721 msgstr ""
1722 "*(v1.19.0で新規)* "
1723 "ページの外観を構築するコマンドを列挙します。テキストが実際には後で「描画」されるオブジェクトによって隠れるか、またはいくつかのオブジェクトの上にかかっているかを判断するのに使用できます。したがって、bboxがこのテキストスパンのbboxと交差または含まれている場合、以前のアイテムが(部分的に)カバー/非表示にされる可能性があります。"
1724
1725 #: ../../functions.rst:625 4e53fc30ab4b434a8dd462b37df55b15
1726 msgid ""
1727 "*(New in v1.22.0)* The name of the Optional Content Group (OCG) if "
1728 "applicable or `None`."
1729 msgstr "*(v1.22.0で新規)* 該当する場合、Optional Content Group(OCG)の名前、または `None`"
1730
1731 #: ../../functions.rst:627 18fcebc358184f629a5dac8dd24f561d
1732 msgid ""
1733 "Here is a list of similarities and differences of `page.get_texttrace()` "
1734 "compared to `page.get_text(\"rawdict\")`:"
1735 msgstr ""
1736 "以下は、`page.get_texttrace()` と `page.get_text(\"rawdict\")` "
1737 "を比較した類似点と相違点のリストです:"
1738
1739 #: ../../functions.rst:629 10242bfca81e4c638b761ecd11ecc22b
1740 msgid ""
1741 "The method is up to **twice as fast,** compared to \"rawdict\" "
1742 "extraction. Depends on the amount of text."
1743 msgstr "メソッドは、テキストの量に依存しますが、\"rawdict\" の抽出と比較して最大 **2倍速い** です。"
1744
1745 #: ../../functions.rst:630 563d2bcc5e534c8aa65c037cb918a041
1746 msgid ""
1747 "The returned data is very **much smaller in size** -- although it "
1748 "provides more information."
1749 msgstr "返されるデータは **非常に小さく** 、より多くの情報を提供します。"
1750
1751 #: ../../functions.rst:631 22d9ce68958844f9b04f8ce7c51e84a7
1752 msgid ""
1753 "Additional types of text **invisibility can be detected**: opacity = 0 or"
1754 " type > 1 or overlapping bbox of an object with a higher sequence number."
1755 msgstr ""
1756 "追加のテキストの **不可視性のタイプを検出できます** :不透明度 = 0またはタイプ > "
1757 "1またはシーケンス番号の高いオブジェクトとの境界ボックスが重なる。"
1758
1759 #: ../../functions.rst:632 b7e1c0e67b62467e9bdadba9d42d6c6b
1760 msgid ""
1761 "If MuPDF returns unicode 0xFFFD (65533) for unrecognized characters, you "
1762 "may still be able to deduct desired information from the glyph id."
1763 msgstr ""
1764 "MuPDFが認識できない文字に対してUnicode "
1765 "0xFFFD(65533)を返す場合、グリフIDから必要な情報を導き出すことができるかもしれません。"
1766
1767 #: ../../functions.rst:633 b1f31df6bda84153ace8673ae63e9996
1768 msgid ""
1769 "The `span[\"chars\"]` **contains no spaces**, **except** the document "
1770 "creator has explicitly coded them. They **will never be generated** like "
1771 "it happens in :meth:`Page.get_text` methods. To provide some help for "
1772 "doing your own computations here, the width of a space character is "
1773 "given. This value is derived from the font where possible. Otherwise the "
1774 "value of a fallback font is taken."
1775 msgstr ""
1776 "`span[\"chars\"]` には **スペースは含まれません** 。ただし、ドキュメントの作成者が明示的にコード化しない限り、それらは "
1777 ":meth:`Page.get_text` メソッドで発生するように "
1778 "**生成されません**。自分自身の計算を行うのを助けるために、スペース文字の幅が提供されます。この値はフォントから派生しています。それ以外の場合はフォールバックフォントの値が取られます。"
1779
1780 #: ../../functions.rst:634 c94dc74956874bfa8ac4c59d48c0cc87
1781 msgid ""
1782 "There is no effort to organize text like it happens for a :ref:`TextPage`"
1783 " (the hierarchy of blocks, lines, spans, and characters). Characters are "
1784 "simply extracted in sequence, one by one, and put in a span. Whenever any"
1785 " of the span's characteristics changes, a new span is started. So you may"
1786 " find characters with different `origin.y` values in the same span (which"
1787 " means they would appear in different lines). You cannot assume, that "
1788 "span characters are sorted in any particular order -- you must make sense"
1789 " of the info yourself, taking `span[\"dir\"]`, `span[\"wmode\"]`, etc. "
1790 "into account."
1791 msgstr ""
1792 ":ref:`TextPage` "
1793 "のようにテキストを整理する取り組みはありません(ブロック、行、スパン、および文字の階層構造)。文字は単純に順番に抽出され、スパンに配置されます。スパンの特性が変更されるたびに、新しいスパンが開始されます。したがって、同じスパン内で異なる"
1794 " `origin.y` "
1795 "値を持つ文字を見つけることができます(これは異なる行に表示されることを意味します)。スパンの文字が特定の順序でソートされているとは仮定できません。情報を理解し、`span[\"dir\"]`、`span[\"wmode\"]`"
1796 " などを考慮に入れる必要があります。"
1797
1798 #: ../../functions.rst:652 7acddc7741614360bf17d5596c8cc5ab
1799 msgid "Ligatures are represented like this:"
1800 msgstr "リガチャは次のように表されます:"
1801
1802 #: ../../functions.rst:636 e72abf836baf467c93105d9dde8d8035
1803 msgid ""
1804 "MuPDF handles the following ligatures: \"fi\", \"ff\", \"fl\", \"ft\", "
1805 "\"st\", \"ffi\", and \"ffl\" (only the first 3 are mostly ever used). If "
1806 "the page contains e.g. ligature \"fi\", you will find the following two "
1807 "character items subsequent to each other::"
1808 msgstr ""
1809 "MuPDFは次のリガチャを処理します。 \"fi\"、 \"ff\"、 \"fl\"、 \"ft\"、 \"st\"、 \"ffi\"、および "
1810 "\"ffl\"(ほとんどは最初の3つが使用されます)。したがって、ページに \"fi\" "
1811 "のようなリガチャが含まれている場合、次の2つの文字アイテムが連続して表示されます。"
1812
1813 #: ../../functions.rst:641 d46f58a609804bea982da0876d2ba90f
1814 msgid ""
1815 "This means that the bbox of the first ligature character is the area "
1816 "containing the complete, compound glyph. Subsequent ligature components "
1817 "are recognizable by their glyph value -1 and a bbox of width zero."
1818 msgstr "これにより、最初の合字文字のbboxは、完全な合成グリフを含む領域です。後続の合字コンポーネントは、そのグリフ値が-1で幅がゼロであることで識別できます。"
1819
1820 #: ../../functions.rst:642 5f6b5b48f4684036ad328bffca38325a
1821 msgid ""
1822 "You may want to replace those 2 or 3 char tuples by one, that represents "
1823 "the ligature itself. Use the following mapping of ligatures to unicodes:"
1824 msgstr "これらの2つまたは3つの文字のタプルを、合字自体を表す1つに置き換えたい場合があるかもしれません。次のような合字をUnicodeにマッピングします。"
1825
1826 #: ../../functions.rst:644 889bc72258b64c39bbba09ab96188589
1827 msgid "`\"ff\" -> 0xFB00`"
1828 msgstr ""
1829
1830 #: ../../functions.rst:645 950a98981e9b4f3cad52eca1073f9df2
1831 msgid "`\"fi\" -> 0xFB01`"
1832 msgstr ""
1833
1834 #: ../../functions.rst:646 897debd680f84f00b2b72a621eb0ef78
1835 msgid "`\"fl\" -> 0xFB02`"
1836 msgstr ""
1837
1838 #: ../../functions.rst:647 06805958e3a24f58ba7fe31f2c71b37c
1839 msgid "`\"ffi\" -> 0xFB03`"
1840 msgstr ""
1841
1842 #: ../../functions.rst:648 108d095c0546443c9aed1a351b544e51
1843 msgid "`\"ffl\" -> 0xFB04`"
1844 msgstr ""
1845
1846 #: ../../functions.rst:649 685cc70784514cb8b5c01b88bff6ab68
1847 msgid "`\"ft\" -> 0xFB05`"
1848 msgstr ""
1849
1850 #: ../../functions.rst:650 0b2c082689e24ccca607cf35dac9ca2f
1851 msgid "`\"st\" -> 0xFB06`"
1852 msgstr ""
1853
1854 #: ../../functions.rst:652 3916ffdd9f474f4a8021e3466c4251ec
1855 msgid ""
1856 "So you may want to replace the two example tuples above by the following "
1857 "single one: `(0xFB01, glyph, (x, y), (x0, y0, x1, y1))` (there is usually"
1858 " no need to lookup the correct glyph id for 0xFB01 in the resp. font, but"
1859 " you may execute `font.has_glyph(0xFB01)` and use its return value)."
1860 msgstr ""
1861 "したがって、上記の2つの例のタプルを次の単一のタプルで置き換えたい場合があります:`(0xFB01, glyph, (x, y), (x0, "
1862 "y0, x1, "
1863 "y1))`(通常、0xFB01の正しいグリフIDをフォント内で調べる必要はありませんが、`font.has_glyph(0xFB01)` "
1864 "を実行し、その戻り値を使用することができます)。"
1865
1866 #: ../../functions.rst:654 57e26aabbddd4a9f9a02d4b02c1ef955
1867 #, fuzzy
1868 msgid ""
1869 "**Changed in v1.19.3:** Similar to other text extraction methods, the "
1870 "character and span bboxes envelop the character quads. To recover the "
1871 "quads, follow the same methods :meth:`recover_quad`, "
1872 ":meth:`recover_char_quad` or :meth:`recover_span_quad` as explained in "
1873 ":ref:`textpagedict`. Use either `None` or `span[\"dir\"]` for the writing"
1874 " direction."
1875 msgstr ""
1876 "**v1.19.3で変更:** "
1877 "他のテキスト抽出方法と同様に、文字とスパンのbboxは文字のクアッドを包含します。クアッドを回復するには、:ref:`textpagedict` "
1878 "で説明されている :meth:`recover_quad`、:meth:`recover_char_quad`、または "
1879 ":meth:`recover_span_quad` の同じ方法を使用します。書き込み方向にはNoneまたはspan `span[\"dir\"]`"
1880 " を使用してください。"
1881
1882 #: ../../functions.rst:656 c735d25ff37c439293d1c84142159a58
1883 msgid ""
1884 "**Changed in v1.21.1:** If applicable, the name of the OCG is shown in "
1885 "`\"layer\"`."
1886 msgstr "**v1.21.1** で変更:該当する場合、OCGの名前が `\"layer\"` に表示されます。"
1887
1888 #: ../../functions.rst:662 73cb0ecbc9904cfd9eedd2cf201a34ac
1889 msgid ""
1890 "Ensures that the page's so-called graphics state is balanced and new "
1891 "content can be inserted correctly."
1892 msgstr ""
1893
1894 #: ../../functions.rst:664 2fce8c9f6cfc4f5580d8dbfbdac54581
1895 msgid ""
1896 "In versions 1.24.1+ of PyMuPDF the method was improved and is being "
1897 "executed automatically as required, so you should no longer need to "
1898 "concern yourself with it."
1899 msgstr ""
1900
1901 #: ../../functions.rst:666 6ca70959e73644b19510f3250902df9a
1902 msgid "We discourage using :meth:`Page.clean_contents` to achieve this."
1903 msgstr ""
1904
1905 #: ../../functions.rst:672 fbfdfc139dba4d859c7e23c259a08157
1906 msgid ""
1907 "Indicate whether the page's so-called graphic state is balanced. If "
1908 "`False`, :meth:`Page.wrap_contents` should be executed if new content is "
1909 "inserted (only relevant in `overlay=True` mode). In newer versions "
1910 "(1.24.1+), this check and corresponding adjustments are automatically "
1911 "executed -- you therefore should not be concerned about this anymore."
1912 msgstr ""
1913
1914 #: ../../functions.rst:680 de1474a27a3c4f17a4b06482b9593875
1915 msgid ""
1916 "Deprecated wrapper for :meth:`TextPage.extractBLOCKS`. Use "
1917 ":meth:`Page.get_text` with the \"blocks\" option instead."
1918 msgstr ""
1919 ":meth:`TextPage.extractBLOCKS` の非推奨のラッパーです。代わりにオプション \"blocks\" を使用して "
1920 ":meth:`Page.get_text` を使用してください。"
1921
1922 #: ../../functions.rst:688 88b9617fbc71462e867dbd12dd918d79
1923 msgid ""
1924 "Deprecated wrapper for :meth:`TextPage.extractWORDS`. Use "
1925 ":meth:`Page.get_text` with the \"words\" option instead."
1926 msgstr ""
1927
1928 #: ../../functions.rst:696 e63d78e973014b5da39d398c04e37cd0
1929 msgid "Run a page through a list device and return its display list."
1930 msgstr "ページをリストデバイスを介して実行し、そのディスプレイリストを返します。"
1931
1932 #: ../../functions.rst:698 18c7a9bcd3614b61abe4ffa70c25080c
1933 msgid ":ref:`DisplayList`"
1934 msgstr ""
1935
1936 #: ../../functions.rst:699 95ce406969764ffea7a51bd7cb001954
1937 msgid "the display list of the page."
1938 msgstr "ページのディスプレイリスト。"
1939
1940 #: ../../functions.rst:705 2f7950caaff2497e85a41efaf8b7ab40
1941 #, fuzzy
1942 msgid ""
1943 "PDF only: Retrieve a list of :data:`xref` of :data:`contents` objects of "
1944 "a page. May be empty or contain multiple integers. If the page is cleaned"
1945 " (:meth:`Page.clean_contents`), it will be no more than one entry. The "
1946 "\"source\" of each `/Contents` object can be individually read by "
1947 ":meth:`Document.xref_stream` using an item of this list. Method "
1948 ":meth:`Page.read_contents` in contrast walks through this list and "
1949 "concatenates the corresponding sources into one `bytes` object."
1950 msgstr ""
1951 "PDFのみ:ページの :data:`contents` オブジェクトの :data:`xref` "
1952 "のリストを取得します。空であるか、複数の整数を含むことがあります。ページがクリーンアップされた場合(:meth:`Page.clean_contents`)、最大で1つのエントリになります。各/Contentsオブジェクトの"
1953 " \"source\" は、このリストのアイテムを使用して :meth:`Document.xref_stream` "
1954 "で個別に読み取ることができます。一方、:meth:`Page.read_contents` メソッドは、このリストを走査し、対応するソースを1つの"
1955 " `bytes` オブジェクトに連結します。"
1956
1957 #: ../../functions.rst:713 0e0e858c5fb34899bf5b31067d9f6cf0
1958 msgid ""
1959 "PDF only: Let the page's `/Contents` key point to this xref. Any "
1960 "previously used contents objects will be ignored and can be removed via "
1961 "garbage collection."
1962 msgstr ""
1963 "PDFのみ:ページの `/Contents` "
1964 "キーをこのxrefに設定します。以前に使用されていたコンテンツオブジェクトは無視され、ガベージコレクションを使用して削除できます。"
1965
1966 #: ../../functions.rst:719 5d1261cb25b84350a7512c2587a9a33e
1967 msgid "Changed in v1.17.6"
1968 msgstr "v1.17.6で変更"
1969
1970 #: ../../functions.rst:721 246c4ca104b04817bab2b24be75d9bcb
1971 msgid ""
1972 "PDF only: Clean and concatenate all :data:`contents` objects associated "
1973 "with this page. \"Cleaning\" includes syntactical corrections, "
1974 "standardizations and \"pretty printing\" of the contents stream. "
1975 "Discrepancies between :data:`contents` and :data:`resources` objects will"
1976 " also be corrected if sanitize is true. See :meth:`Page.get_contents` for"
1977 " more details."
1978 msgstr ""
1979 "PDFのみ:このページに関連付けられたすべての :data:`contents` ツオブジェクトをクリーンアップして連結します。 "
1980 "\"クリーニング\"には、構文の修正、標準化、およびコンテンツストリームの \"きれいな印刷\"が含まれます。 "
1981 "sanitizeがtrueの場合、:data:`contents` と :data:`resources` "
1982 "オブジェクト間の不一致も修正されます。詳細については、:meth:`Page.get_contents` を参照してください。"
1983
1984 #: ../../functions.rst:723 301ef7e95bd144f8b88b541724fc0d58
1985 msgid ""
1986 "Changed in version 1.16.0 Annotations are no longer implicitly cleaned by"
1987 " this method. Use :meth:`Annot.clean_contents` separately."
1988 msgstr ""
1989 "バージョン1.16.0以降、注釈はこのメソッドによって暗黙的にクリーンアップされなくなりました。 "
1990 ":meth:`Annot.clean_contents` を別途使用してください。"
1991
1992 #: ../../functions.rst:725 fb9142fcb2a94012a3fdd682a262552a
1993 msgid ""
1994 "*(new in v1.17.6)* if true, synchronization between resources and their "
1995 "actual use in the contents object is snychronized. For example, if a font"
1996 " is not actually used for any text of the page, then it will be deleted "
1997 "from the `/Resources/Font` object."
1998 msgstr ""
1999 "*(v1.17.6で新たに)* "
2000 "trueの場合、リソースとコンテンツオブジェクト間の同期が行われます。たとえば、ページのテキストでフォントが実際に使用されていない場合、それは "
2001 "`/Resources/Font` オブジェクトから削除されます。"
2002
2003 #: ../../functions.rst:727 fc916fcfc1a14c108f31a9985fbb06f9
2004 msgid ""
2005 "This is a complex function which may generate large amounts of new data "
2006 "and render old data unused. It is **not recommended** using it together "
2007 "with the **incremental save** option. Also note that the resulting "
2008 "singleton new */Contents* object is **uncompressed**. So you should save "
2009 "to a **new file** using options *\"deflate=True, garbage=3\"*."
2010 msgstr ""
2011 "これは大量の新しいデータを生成し、古いデータを使用しないようにする複雑な機能です。**増分保存** オプションと一緒に使用することは "
2012 "**お勧めできません** 。また、結果のシングルトンの新しい */Contents* オブジェクトは **非圧縮です**。したがって、オプション "
2013 "*\"deflate=True、garbage=3\"* を使用して **新しいファイル** に保存する必要があります。"
2014
2015 #: ../../functions.rst:729 ee091ea4bbad4137bdf94b65bf7e1505
2016 msgid ""
2017 "Do not any longer use this method to ensure correct insertions on PDF "
2018 "pages. Since PyMuPDF version 1.24.2 this is taken care of automatically."
2019 msgstr ""
2020
2021 #: ../../functions.rst:735 da8e22bf756d4516a6435fef2ee406ef
2022 msgid ""
2023 "*New in version 1.17.0.* Return the concatenation of all :data:`contents`"
2024 " objects associated with the page -- without cleaning or otherwise "
2025 "modifying them. Use this method whenever you need to parse this source in"
2026 " its entirety without having to bother how many separate contents objects"
2027 " exist."
2028 msgstr ""
2029 "*v1.17.0で新たに追加。* ページに関連付けられたすべての :data:`contents` "
2030 "オブジェクトの連結を返します。クリーニングや変更などを行わずに、このソース全体を解析する必要がある場合にこのメソッドを使用します。"
2031
2032 #: ../../functions.rst:744 0ea4768fd42d4fcdb406a86bb35b0b3c
2033 msgid ""
2034 "Clean the :data:`contents` streams associated with the annotation. This "
2035 "is the same type of action which :meth:`Page.clean_contents` performs -- "
2036 "just restricted to this annotation."
2037 msgstr ""
2038 "アノテーションに関連付けられた :data:`contents` "
2039 "ストリームをクリーンアップします。これは、:meth:`Page.clean_contents` "
2040 "が実行するのと同じ種類のアクションですが、この注釈に制限されています。"
2041
2042 #: ../../functions.rst:751 c48de20f6397476e88558a5f14a2c96c
2043 msgid ""
2044 "Return a list of character glyphs and their widths for a font that is "
2045 "present in the document. A font must be specified by its PDF cross "
2046 "reference number :data:`xref`. This function is called automatically from"
2047 " :meth:`Page.insert_text` and :meth:`Page.insert_textbox`. So you should "
2048 "rarely need to do this yourself."
2049 msgstr ""
2050 "ドキュメント内に存在するフォントに対して、文字のグリフと幅のリストを返します。フォントはPDFのクロスリファレンス番号 :data:`xref` "
2051 "で指定する必要があります。この関数は、:meth:`Page.insert_text` および "
2052 ":meth:`Page.insert_textbox` から自動的に呼び出されます。したがって、自分で行う必要があることはほとんどありません。"
2053
2054 #: ../../functions.rst:753 005b7266f7284e90bab8b77be14c642e
2055 msgid ""
2056 "cross reference number of a font embedded in the PDF. To find a font "
2057 ":data:`xref`, use e.g. *doc.get_page_fonts(pno)* of page number *pno* and"
2058 " take the first entry of one of the returned list entries."
2059 msgstr ""
2060 "ドキュメントに埋め込まれたPDFのクロスリファレンス番号。フォントの :data:`xref` を見つけるには、例えば、ページ番号 *pno* の"
2061 " *doc.get_page_fonts(pno)* を使用し、返されたリストエントリの最初を取得します。"
2062
2063 #: ../../functions.rst:755 c40931be83a048c2b0e4d6547935db08
2064 msgid ""
2065 "limits the number of returned entries. The default of 256 is enforced for"
2066 " all fonts that only support 1-byte characters, so-called \"simple "
2067 "fonts\" (checked by this method). All :ref:`Base-14-Fonts` are simple "
2068 "fonts."
2069 msgstr ""
2070 "返されるエントリの数を制限します。256のデフォルト値は、1バイトの文字のみをサポートする「シンプルフォント」と呼ばれるフォントに対して適用されます(このメソッドで確認されます)。すべてのPDF"
2071 " :ref:`Base-14-Fonts` はシンプルフォントです。"
2072
2073 #: ../../functions.rst:758 c0afe718bd2442b18653b0b77f36b88c
2074 msgid ""
2075 "a list of *limit* tuples. Each character *c* has an entry *(g, w)* in "
2076 "this list with an index of *ord(c)*. Entry *g* (integer) of the tuple is "
2077 "the glyph id of the character, and float *w* is its normalized width. The"
2078 " actual width for some :data:`fontsize` can be calculated as *w * "
2079 "fontsize*. For simple fonts, the *g* entry can always be safely ignored. "
2080 "In all other cases *g* is the basis for graphically representing *c*."
2081 msgstr ""
2082 "*limit* のタプルのリストです。各文字cには、*ord(c)* のインデックスでエントリ *(g、w)* があります。タプルの "
2083 "*g*(整数)エントリは文字のグリフIDで、float *w* はその正規化された幅です。一部のフォントサイズに対する実際の幅は、*w * "
2084 ":data:`fontsize`* として計算できます。シンプルフォントの場合、gエントリは常に安全に無視できます。それ以外の場合、*g* は "
2085 "*c* を視覚的に表現するための基礎です。"
2086
2087 #: ../../functions.rst:760 d14f388f645f450e95a675c15496f9d0
2088 msgid "This function calculates the pixel width of a string called *text*::"
2089 msgstr "この関数は、*text* と呼ばれる文字列のピクセル幅を計算します::"
2090
2091 #: ../../functions.rst:772 8580164da36b4e0c9468ee8d665d36ac
2092 msgid "New in version 1.14.14"
2093 msgstr "バージョン1.14.14で新規追加"
2094
2095 #: ../../functions.rst:774 e5ce7ef74ebc4d4f8905c40e607a49ce
2096 msgid ""
2097 "PDF only: Check whether the object represented by :data:`xref` is a "
2098 ":data:`stream` type. Return is ``False`` if not a PDF or if the number is"
2099 " outside the valid xref range."
2100 msgstr ""
2101 "PDFのみ::data:`xref` によって表されるオブジェクトが :data:`stream` "
2102 "タイプかどうかを確認します。PDFでない場合や、有効なxref範囲外の場合はFalseを返します。"
2103
2104 #: ../../functions.rst:776 2cbd0ce6bddd4eb7894ddab3fda4d4c8
2105 msgid ":data:`xref` number."
2106 msgstr ":data:`xref` 番号。"
2107
2108 #: ../../functions.rst:778 9a6d0c88e56045e394739af6408a6b4e
2109 msgid ""
2110 "``True`` if the object definition is followed by data wrapped in keyword "
2111 "pair *stream*, *endstream*."
2112 msgstr "*stream*、*endstream* のキーワードペアで囲まれたデータに続いてオブジェクト定義がある場合は ``True``。"
2113
2114 #: ../../functions.rst:784 5b978581dd6b490e8af4afbf4586ca56
2115 msgid ""
2116 "Increase the :data:`xref` by one entry and return that number. This can "
2117 "then be used to insert a new object."
2118 msgstr ":data:`xref` を1つ増やしてその番号を返します。これは新しいオブジェクトを挿入するために使用できます。"
2119
2120 #: ../../functions.rst:786 948cbb06043d486e90adbfb3b3275fa8
2121 msgid ""
2122 "int :returns: the number of the new :data:`xref` entry. Please note, that"
2123 " only a new entry in the PDF's cross reference table is created. At this "
2124 "point, there will not yet exist a PDF object associated with it. To "
2125 "create an (empty) object with this number use `doc.update_xref(xref, "
2126 "\"<<>>\")`."
2127 msgstr ""
2128 "int :returns: 新しい :data:`xref` "
2129 "エントリの数。PDFのクロスリファレンステーブルに新しいエントリのみが作成されます。この段階では、それに関連付けられたPDFオブジェクトはまだ存在しません。この番号で(空の)オブジェクトを作成するには、`doc.update_xref(xref、\"<<>>\")`"
2130 " を使用します。"
2131
2132 #: ../../functions.rst:793 e932ac5caa9f4c298a13a6d379dd7a51
2133 msgid "Return length of :data:`xref` table."
2134 msgstr ":data:`xref` テーブルの長さを返します。"
2135
2136 #: ../../functions.rst:796 f840df5df4b545b1bbf730bf184c5803
2137 msgid "the number of entries in the :data:`xref` table."
2138 msgstr ":data:`xref` テーブルのエントリ数。"
2139
2140 #: ../../functions.rst:802 b5d9bd2f14554b25bbb8fb9470c51da6
2141 msgid ""
2142 "Compute the quadrilateral of a text span extracted via options \"dict\" "
2143 "or \"rawdict\" of :meth:`Page.get_text`."
2144 msgstr ""
2145 ":meth:`Page.get_text` のオプション \"dict\" または \"rawdict\" "
2146 "で抽出されたテキストスパンの四辺形を計算します。"
2147
2148 #: ../../functions.rst:804 91a864a4261a4b1abf61f04339ba4ede
2149 msgid ""
2150 "`line[\"dir\"]` of the owning line. Use `None` for a span from "
2151 ":meth:`Page.get_texttrace`."
2152 msgstr ""
2153 "所有する行の `line[\"dir\"]`。:meth:`Page.get_texttrace` からのスパンの場合は `None` "
2154 "を使用します。"
2155
2156 #: ../../functions.rst:805 ../../functions.rst:815 ../../functions.rst:826
2157 #: 7033d11e092540f4ba156c04a297c691 74f50cf2036e4339af0cf16e7378d340
2158 #: 994444b97874454798b14763f2d63fca
2159 msgid "the span."
2160 msgstr "スパン。"
2161
2162 #: ../../functions.rst:806 ddc5c01bb3e44f12bf7284bf4fe74e81
2163 msgid ""
2164 "the :ref:`Quad` of the span, usable for text marker annotations "
2165 "('Highlight', etc.)."
2166 msgstr "スパンの :ref:`Quad`、テキストマーカーアノテーション('ハイライト' など)で使用できます。"
2167
2168 #: ../../functions.rst:812 f9901afa0a67408ebc90c04e01c93f8a
2169 msgid ""
2170 "Compute the quadrilateral of a text character extracted via option "
2171 "\"rawdict\" of :meth:`Page.get_text`."
2172 msgstr ":meth:`Page.get_text` のオプション \"rawdict\" で抽出されたテキスト文字の四辺形を計算します。"
2173
2174 #: ../../functions.rst:814 ../../functions.rst:825
2175 #: 67860855da1c47c8828ebecc90f766d6 7da81809c8ba42679d5e884d49b6878f
2176 msgid ""
2177 "`line[\"dir\"]` of the owning line. Use `None` for a span from "
2178 ":meth:`Page.get_texttrace`."
2179 msgstr ""
2180 "所有する行の `line[\"dir\"]`。:meth:`Page.get_texttrace` からのスパンの場合は `None` "
2181 "を使用します。"
2182
2183 #: ../../functions.rst:816 131dbbd284734ed089c4778deb4dd003
2184 msgid "the character."
2185 msgstr "文字。"
2186
2187 #: ../../functions.rst:817 f88cafc7c32a4d6fad1b6135cd5cc40f
2188 msgid ""
2189 "the :ref:`Quad` of the character, usable for text marker annotations "
2190 "('Highlight', etc.)."
2191 msgstr "文字の :ref:`Quad`、テキストマーカーアノテーション('ハイライト' など)で使用できます。"
2192
2193 #: ../../functions.rst:823 d59e0653bc4246c7a9357ca70c5860b0
2194 msgid ""
2195 "Compute the quadrilateral of a subset of characters of a span extracted "
2196 "via option \"rawdict\" of :meth:`Page.get_text`."
2197 msgstr ":meth:`Page.get_text` のオプション \"rawdict\" で抽出されたスパンの一部の文字の四辺形を計算します。"
2198
2199 #: ../../functions.rst:827 dadf644469074a32aa88fc7fdcf7698b
2200 msgid ""
2201 "the characters to consider. If given, the selected extraction option must"
2202 " be \"rawdict\"."
2203 msgstr "考慮する文字。省略した場合、。指定する場合、選択した抽出オプションは \"rawdict\" である必要があります。"
2204
2205 #: ../../functions.rst:828 dfa12d94ceb3431eb63330adacb7bfe9
2206 msgid ""
2207 "the :ref:`Quad` of the selected characters, usable for text marker "
2208 "annotations ('Highlight', etc.)."
2209 msgstr "選択された文字の :ref:`Quad` 、テキストマーカーアノテーション('ハイライト' など)で使用できます。"
2210
2211 #: ../../functions.rst:834 6aa28bd6817943bfbb2746f7a6243580
2212 msgid ""
2213 "Compute the quadrilateral of a subset of spans of a text line extracted "
2214 "via options \"dict\" or \"rawdict\" of :meth:`Page.get_text`."
2215 msgstr ""
2216 ":meth:`Page.get_text` のオプション \"dict\" または \"rawdict\" "
2217 "で抽出されたテキスト行の一部のスパンの四辺形を計算します。"
2218
2219 #: ../../functions.rst:836 78daeef8140c41a8a9c0b8b6c4532d1b
2220 msgid "the line."
2221 msgstr "行。"
2222
2223 #: ../../functions.rst:837 e903ee7d5d594fc1811c896806a6bb8e
2224 msgid ""
2225 "a sub-list of `line[\"spans\"]`. If omitted, the full line quad will be "
2226 "returned."
2227 msgstr "`line[\"spans\"]` のサブリスト。省略した場合、選択した行の四辺形が返されます。"
2228
2229 #: ../../functions.rst:838 4d44abbf27ac4dd98103b18718b1b07a
2230 msgid ""
2231 "the :ref:`Quad` of the selected line spans, usable for text marker "
2232 "annotations ('Highlight', etc.)."
2233 msgstr "選択された行のスパンの :ref:`Quad`、テキストマーカーアノテーション('ハイライト' など)で使用できます。"
2234
2235 #: ../../functions.rst:844 4afcc06f3e38430bafe222f1079b22a0
2236 msgid "Detect Tesseract language support folder."
2237 msgstr ""
2238
2239 #: ../../functions.rst:846 cab287431498493d97889bd9dc044f9d
2240 msgid ""
2241 "This function is used to enable OCR via Tesseract even if the language "
2242 "support folder is not specified directly or in environment variable "
2243 "TESSDATA_PREFIX."
2244 msgstr ""
2245
2246 #: ../../functions.rst:850 9ae2a9e271bd4bee918746c9384d309b
2247 msgid "If <tessdata> is set we return it directly."
2248 msgstr ""
2249
2250 #: ../../functions.rst:852 ff58521ec09244cf9af0e5556f7a846f
2251 msgid "Otherwise we return `os.environ['TESSDATA_PREFIX']` if set."
2252 msgstr ""
2253
2254 #: ../../functions.rst:854 e6350e60bfa84e9e9bc83ba51e45b115
2255 msgid ""
2256 "Otherwise we search for a Tesseract installation and return its language "
2257 "support folder."
2258 msgstr ""
2259
2260 #: ../../functions.rst:857 0e05c86bfe6f46f1b4451934cd24174b
2261 msgid "Otherwise we raise an exception."
2262 msgstr ""
2263
2264 #: ../../functions.rst:867 ec04b5d7ae7c4b2698bdbf79b6fee421
2265 msgid ""
2266 "Return the (unique) infinite rectangle `Rect(-2147483648.0, "
2267 "-2147483648.0, 2147483520.0, 2147483520.0)`, resp. the :ref:`IRect` and "
2268 ":ref:`Quad` counterparts. It is the largest possible rectangle: all valid"
2269 " rectangles are contained in it."
2270 msgstr ""
2271 "(ユニークな) 無限の四角形 "
2272 "`Rect(-2147483648.0、-2147483648.0、2147483520.0、2147483520.0)`、または "
2273 ":ref:`IRect` と :ref:`Quad` の対応するものを返します。これは最大の可能な四角形で、すべての有効な四角形が含まれます。"
2274
2275 #: ../../functions.rst:877 0089e42de5e24fdc9314358b9f612356
2276 msgid ""
2277 "Return the \"standard\" empty and invalid rectangle `Rect(2147483520.0, "
2278 "2147483520.0, -2147483648.0, -2147483648.0)` resp. quad. Its top-left and"
2279 " bottom-right point values are reversed compared to the infinite "
2280 "rectangle. It will e.g. be used to indicate empty bboxes in "
2281 "`page.get_text(\"dict\")` dictionaries. There are however infinitely many"
2282 " empty or invalid rectangles."
2283 msgstr ""
2284 "「標準」の空白で無効な四角形 `Rect(2147483520.0, 2147483520.0, -2147483648.0, "
2285 "-2147483648.0)` "
2286 "または対応する四角形を返します。その左上と右下のポイント値は、無限の四角形と比較して反転しています。たとえば、`page.get_text(\"dict\")`"
2287 " 辞書内の空の bboxes を示すために使用されます。ただし、無限に多くの空のまたは無効な四角形が存在します。"
2288
2289 #: ../../functions.rst:883 fea470f568524b038bb0e30aed353ec9
2290 msgid ""
2291 "Returns a dict mapping lower-case color name to `(red, green, blue)` "
2292 "tuple, and `red`, `green`, `blue` are floats in range 0..1."
2293 msgstr ""
2294
2295 #: ../../functions.rst:888 c23cf90537d54067a5727d87647c89d2
2296 msgid ""
2297 "Returns a list of `(colorname, red, green, blue)` tuples, where "
2298 "`colorname` is upper case and `red`, `green`, `blue` are integers in "
2299 "range 0..255."
2300 msgstr ""
2301
2302 #: ../../footer.rst:46 e369c07a6dfc4a3d9e7f48a78f52b9bf
2303 msgid "This documentation covers all versions up to |version|."
2304 msgstr "このドキュメントは |version| までのすべてのバージョンを対象としています。"
2305
2306 #~ msgid "return the quad for a text span (\"dict\" / \"rawdict\")"
2307 #~ msgstr "テキスト スパンのクワッドを返す (\"dict\", \"rawdict\")"
2308
2309 #~ msgid "*New in v1.18.9*"
2310 #~ msgstr "*新機能 v1.18.9*"
2311
2312 #~ msgid ""
2313 #~ "Convenience function returning the "
2314 #~ "quadrilateral enveloping the text of a"
2315 #~ " text span, as returned by "
2316 #~ ":meth:`Page.get_text` using the \"dict\" or"
2317 #~ " \"rawdict\" options."
2318 #~ msgstr ""
2319 #~ ":meth:`Page.get_text` を使用して、テキストスパンのテキストを囲む四角形を返す便利な関数。オプションとして"
2320 #~ " \"dict\" または \"rawdict\" を指定して "
2321 #~ ":meth:`Page.get_text` から返されたテキストスパンの情報を使用します。"
2322
2323 #~ msgid "the value `line[\"dir\"]` of the span's line."
2324 #~ msgstr "スパンのラインの値 `line[\"dir\"]`。"
2325
2326 #~ msgid "the span sub-dictionary."
2327 #~ msgstr "スパンのサブディクショナリ。"
2328
2329 #~ msgid "the quadrilateral of the span's text."
2330 #~ msgstr "スパンのテキストの四角形。"
2331
2332 #~ msgid ""
2333 #~ "Put string pair \"q\" / \"Q\" "
2334 #~ "before, resp. after a page's */Contents*"
2335 #~ " object(s) to ensure that any "
2336 #~ "\"geometry\" changes are **local** only."
2337 #~ msgstr ""
2338 #~ "ページの */Contents* オブジェクトの前、または後ろに文字列ペア \"q\" /"
2339 #~ " \"Q\" を配置して、どんな \"geometry\" の変更も **ローカル**"
2340 #~ " な変更だけになるようにします。"
2341
2342 #~ msgid ""
2343 #~ "Use this method as an alternative, "
2344 #~ "minimalist version of :meth:`Page.clean_contents`."
2345 #~ " Its advantage is a small footprint"
2346 #~ " in terms of processing time and "
2347 #~ "impact on the data size of "
2348 #~ "incremental saves. Multiple executions of "
2349 #~ "this method are no problem and "
2350 #~ "have no functional impact: `b\"q q "
2351 #~ "contents Q Q\"` is treated like "
2352 #~ "`b\"q contents Q\"`."
2353 #~ msgstr ""
2354 #~ "このメソッドは、:meth:`Page.clean_contents` "
2355 #~ "の代替として使用します。その利点は、処理時間と増分保存のデータサイズへの影響が少ないことです。このメソッドの複数回実行は問題ありませんし、機能的な影響もありません。例えば、`b\"q"
2356 #~ " q contents Q Q\"` は `b\"q "
2357 #~ "contents Q\"` と同様に扱われます。"
2358
2359 #~ msgid ""
2360 #~ "Indicate whether :meth:`Page.wrap_contents` may "
2361 #~ "be required for object insertions in "
2362 #~ "standard PDF geometry. Note that this"
2363 #~ " is a quick, basic check only: "
2364 #~ "a value of ``False`` may still be"
2365 #~ " a false alarm. But nevertheless "
2366 #~ "executing :meth:`Page.wrap_contents` will have "
2367 #~ "no negative side effects."
2368 #~ msgstr ""
2369 #~ ":meth:`Page.wrap_contents` "
2370 #~ "が標準のPDFジオメトリにオブジェクトを挿入する際に必要かどうかを示します。ただし、これは迅速で基本的なチェックであることに注意してください。``False``"
2371 #~ " の値でも誤報の可能性があることに留意してください。ただし、:meth:`Page.wrap_contents` "
2372 #~ "を実行しても負の副作用はありません。"
2373
2374 #~ msgid ":attr:`TESSDATA_PREFIX`"
2375 #~ msgstr ""
2376
2377 #~ msgid "a copy of `os.environ[\"TESSDATA_PREFIX\"]`"
2378 #~ msgstr "os.environ[\"TESSDATA_PREFIX\"] のコピーです"
2379
2380 #~ msgid "New in v1.19.4"
2381 #~ msgstr "バージョン1.19.4で新たに導入されました"
2382
2383 #~ msgid ""
2384 #~ "Copy of `os.environ[\"TESSDATA_PREFIX\"]` for "
2385 #~ "convenient checking whether there is "
2386 #~ "integrated Tesseract OCR support."
2387 #~ msgstr "便利なチェックに使用される `os.environ[\"TESSDATA_PREFIX\"]` のコピー"
2388
2389 #~ msgid ""
2390 #~ "If this attribute is `None`, "
2391 #~ "Tesseract-OCR is either not installed, "
2392 #~ "or the environment variable is not "
2393 #~ "set to point to Tesseract's language "
2394 #~ "support folder."
2395 #~ msgstr ""
2396 #~ "この属性が `None` の場合、Tesseract-"
2397 #~ "OCRはインストールされていないか、環境変数がTesseractの言語サポートフォルダを指すように設定されていない可能性があります。"
2398
2399 #~ msgid ""
2400 #~ "This variable is now checked before "
2401 #~ "OCR functions are tried. This prevents"
2402 #~ " verbose messages from MuPDF."
2403 #~ msgstr "この変数は、OCR関数が試行される前に確認されます。これにより、MuPDFから冗長なメッセージが表示されるのを防ぎます。"
2404
2405 #~ msgid ""
2406 #~ "This method obsoletes the use of "
2407 #~ ":meth:`Page.clean_contents` in most cases. The"
2408 #~ " advantage this method is a small "
2409 #~ "footprint in terms of processing time"
2410 #~ " and a low impact on the data"
2411 #~ " size of incremental saves."
2412 #~ msgstr ""
2413
2414 #~ msgid ""
2415 #~ "Return the name of Tesseract's language"
2416 #~ " support folder. Use this function if"
2417 #~ " the environment variable `TESSDATA_PREFIX` "
2418 #~ "has not been set."
2419 #~ msgstr ""
2420 #~ "Tesseractの言語サポートフォルダの名前を返します。環境変数 `TESSDATA_PREFIX` "
2421 #~ "が設定されていない場合にこの関数を使用します"
2422
2423 #~ msgid ""
2424 #~ "`os.getenv(\"TESSDATA_PREFIX\")` if not `None`. "
2425 #~ "Otherwise, if Tesseract-OCR is "
2426 #~ "installed, locate the name of "
2427 #~ "`tessdata`. If no installation is found,"
2428 #~ " return `False`. The folder name can"
2429 #~ " be used as parameter `tessdata` in"
2430 #~ " methods :meth:`Page.get_textpage_ocr`, "
2431 #~ ":meth:`Pixmap.pdfocr_save` and "
2432 #~ ":meth:`Pixmap.pdfocr_tobytes`."
2433 #~ msgstr ""
2434
2435 #~ msgid ""
2436 #~ "`os.getenv(\"TESSDATA_PREFIX\")` if not `None`. "
2437 #~ "Otherwise, if Tesseract-OCR is "
2438 #~ "installed, locate the name of "
2439 #~ "`tessdata`. If no installation is found,"
2440 #~ " return `False`."
2441 #~ msgstr ""
2442 #~ "`os.getenv(\"TESSDATA_PREFIX\")` が `None` でない場合"
2443 #~ "、またはTesseract-OCRがインストールされている場合は、`tessdata` "
2444 #~ "の名前を見つけます。インストールが見つからない場合、`False` を返します。"
2445
2446 #~ msgid ""
2447 #~ "The folder name can be used as "
2448 #~ "parameter `tessdata` in methods "
2449 #~ ":meth:`Page.get_textpage_ocr`, :meth:`Pixmap.pdfocr_save` "
2450 #~ "and :meth:`Pixmap.pdfocr_tobytes`."
2451 #~ msgstr ""
2452 #~ "このフォルダの名前は、メソッド "
2453 #~ ":meth:`Page.get_textpage_ocr`、:meth:`Pixmap.pdfocr_save`、および "
2454 #~ ":meth:`Pixmap.pdfocr_tobytes` の `tessdata` "
2455 #~ "パラメータに使用できます。"
2456
2457 #~ msgid "Discord logo"
2458 #~ msgstr ""
2459
2460 #~ msgid ""
2461 #~ "Write to Python's `logging` system using"
2462 #~ " specified logger name. Only used if"
2463 #~ " `pylogging_logger` is None. Default is "
2464 #~ "`pymupdf`."
2465 #~ msgstr ""
2466
2467 #~ msgid ""
2468 #~ "If any `pylogging*` arg is not "
2469 #~ "None, we write to `Python's logging "
2470 #~ "system <https://docs.python.org/3/library/logging.html>`_."
2471 #~ msgstr ""
2472