| 1 |
# SOME DESCRIPTIVE TITLE. |
| 2 |
# Copyright (C) 2015-2025, Artifex |
| 3 |
# This file is distributed under the same license as the PyMuPDF package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PyMuPDF 1.26.7\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: FULL NAME <EMAIL@ADDRESS>\n" |
| 14 |
"Language: ko\n" |
| 15 |
"Language-Team: ko <[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 aacd92b247384bf48857a075d285a561 |
| 23 |
msgid "Artifex" |
| 24 |
msgstr "Artifex" |
| 25 |
|
| 26 |
#: ../../header.rst:-1 dbeb3e790165465a99d5c54f8c3d8ead |
| 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 c0909ea966bf494c8da17ef86ca44a3b |
| 33 |
msgid "" |
| 34 |
"PDF Text Extraction, PDF Image Extraction, PDF Conversion, PDF Tables, " |
| 35 |
"PDF Splitting, PDF Creation, Pyodide, PyScript" |
| 36 |
msgstr "|PDF| 텍스트 추출, |PDF| 이미지 추출, |PDF| 변환, |PDF| 테이블, |PDF| 분할, |PDF| 생성, Pyodide, PyScript" |
| 37 |
|
| 38 |
#: ../../recipes-text.rst:7 05ae1dd8d9f44a9481a79f9e3b1d86d7 |
| 39 |
msgid "Text" |
| 40 |
msgstr "Text" |
| 41 |
|
| 42 |
#: ../../recipes-text.rst:13 7caab8ee2fd2466083df37b5e33d293a |
| 43 |
msgid "How to Extract all Document Text" |
| 44 |
msgstr "모든 문서 텍스트 추출 방법" |
| 45 |
|
| 46 |
#: ../../recipes-text.rst:15 8c1e407daf5546229fd685147c64ce69 |
| 47 |
msgid "" |
| 48 |
"This script will take a document filename and generate a text file from " |
| 49 |
"all of its text." |
| 50 |
msgstr "이 스크립트는 문서 파일 이름을 받아 모든 텍스트에서 텍스트 파일을 생성합니다." |
| 51 |
|
| 52 |
#: ../../recipes-text.rst:17 32ad66847ecb4784aabbcd72e5132bcc |
| 53 |
msgid "The document can be any :ref:`supported type<Supported_File_Types>`." |
| 54 |
msgstr "문서는 :ref:`지원되는 모든 타입<Supported_File_Types>` 일 수 있습니다." |
| 55 |
|
| 56 |
#: ../../recipes-text.rst:19 81db58eeb7da49e8ac352d7290a9895b |
| 57 |
msgid "" |
| 58 |
"The script works as a command line tool which expects the document " |
| 59 |
"filename supplied as a parameter. It generates one text file named " |
| 60 |
"\"filename.txt\" in the script directory. Text of pages is separated by a" |
| 61 |
" form feed character::" |
| 62 |
msgstr "스크립트는 매개변수로 제공된 문서 파일 이름을 기대하는 명령줄 도구로 작동합니다. 스크립트 디렉토리에 \"filename.txt\"라는 하나의 텍스트 파일을 생성합니다. 페이지의 텍스트는 폼 피드 문자로 구분됩니다::" |
| 63 |
|
| 64 |
#: ../../recipes-text.rst:28 34acce45dea14d438a205400310b647d |
| 65 |
msgid "" |
| 66 |
"The output will be plain text as it is coded in the document. No effort " |
| 67 |
"is made to prettify in any way. Specifically for PDF, this may mean " |
| 68 |
"output not in usual reading order, unexpected line breaks and so forth." |
| 69 |
msgstr "출력은 문서에 코딩된 대로 일반 텍스트입니다. 어떤 방식으로도 예쁘게 만들려는 시도는 없습니다. 특히 PDF의 경우, 이것은 일반적인 읽기 순서가 아닌 출력, 예상치 못한 줄바꿈 등을 의미할 수 있습니다." |
| 70 |
|
| 71 |
#: ../../recipes-text.rst:30 d85615155c024325ba277a5ca1e1ccc0 |
| 72 |
msgid "" |
| 73 |
"You have many options to rectify this -- see chapter :ref:`Appendix2`. " |
| 74 |
"Among them are:" |
| 75 |
msgstr "이를 수정하는 많은 옵션이 있습니다 -- :ref:`Appendix2` 장을 참조하세요. 그 중에는 다음이 있습니다:" |
| 76 |
|
| 77 |
#: ../../recipes-text.rst:32 9f7a0c712a724bcb8f46594a0696a485 |
| 78 |
msgid "" |
| 79 |
"Extract text in HTML format and store it as a HTML document, so it can be" |
| 80 |
" viewed in any browser." |
| 81 |
msgstr "HTML 형식으로 텍스트를 추출하고 HTML 문서로 저장하여 모든 브라우저에서 볼 수 있도록 합니다." |
| 82 |
|
| 83 |
#: ../../recipes-text.rst:33 14d8db3ab4354b208d1b10a44164247a |
| 84 |
msgid "" |
| 85 |
"Extract text as a list of text blocks via *Page.get_text(\"blocks\")*. " |
| 86 |
"Each item of this list contains position information for its text, which " |
| 87 |
"can be used to establish a convenient reading order." |
| 88 |
msgstr "*Page.get_text(\"blocks\")* 를 통해 텍스트 블록 목록으로 텍스트를 추출합니다. 이 목록의 각 항목은 텍스트에 대한 위치 정보를 포함하며, 이를 사용하여 편리한 읽기 순서를 설정할 수 있습니다." |
| 89 |
|
| 90 |
#: ../../recipes-text.rst:34 a737dbb5f0df4394b85c682d11c5fbc7 |
| 91 |
msgid "" |
| 92 |
"Extract a list of single words via *Page.get_text(\"words\")*. Its items " |
| 93 |
"are words with position information. Use it to determine text contained " |
| 94 |
"in a given rectangle -- see next section." |
| 95 |
msgstr "*Page.get_text(\"words\")* 를 통해 단일 단어 목록을 추출합니다. 항목은 위치 정보가 있는 단어입니다. 주어진 사각형에 포함된 텍스트를 확인하는 데 사용하세요 -- 다음 섹션을 참조하세요." |
| 96 |
|
| 97 |
#: ../../recipes-text.rst:36 1eecb5d77eb545a89b29bbbe32c68b52 |
| 98 |
msgid "See the following two sections for examples and further explanations." |
| 99 |
msgstr "예제 및 추가 설명은 다음 두 섹션을 참조하세요." |
| 100 |
|
| 101 |
#: ../../recipes-text.rst:44 5d550fa30f214c0ab6daaa5da9d1d56b |
| 102 |
msgid "How to Extract Text as Markdown" |
| 103 |
msgstr "Markdown 형식으로 텍스트 추출 방법" |
| 104 |
|
| 105 |
#: ../../recipes-text.rst:46 3a0e63deebbf4416a1fea6b96c24774a |
| 106 |
msgid "" |
| 107 |
"This is especially useful for :title:`RAG/LLM` environments - please see " |
| 108 |
":ref:`Outputting as Markdown <rag_outputting_as_md>`." |
| 109 |
msgstr "" |
| 110 |
"이는 특히 :title:`RAG/LLM` 환경에 유용합니다 - :ref:`Outputting as Markdown " |
| 111 |
"<rag_outputting_as_md>` 를 참조하세요." |
| 112 |
|
| 113 |
#: ../../recipes-text.rst:52 76343110228443c691bf59b95ab056c9 |
| 114 |
msgid "How to Extract Key-Value Pairs from a Page" |
| 115 |
msgstr "페이지에서 키-값 쌍 추출 방법" |
| 116 |
|
| 117 |
#: ../../recipes-text.rst:53 34f319f64a034da383333b8c516bb6fc |
| 118 |
msgid "" |
| 119 |
"If the layout of a page is *\"predictable\"* in some sense, then there is" |
| 120 |
" a simple way to find the values for a given set of keywords fast and " |
| 121 |
"easily -- without using regular expressions. Please see `this example " |
| 122 |
"script <https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/text-" |
| 123 |
"extraction/lookup-keywords.py>`_." |
| 124 |
msgstr "" |
| 125 |
"페이지 레이아웃이 어느 정도 *\"예측 가능한\"* 경우, 정규 표현식을 사용하지 않고도 특정 키워드 집합에 대한 값을 빠르고 쉽게 찾는 간단한 방법이 있습니다. `이 예제 스크립트 " |
| 126 |
"<https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/text-extraction/lookup-" |
| 127 |
"keywords.py>`_ 를 참조하세요." |
| 128 |
|
| 129 |
#: ../../recipes-text.rst:55 0b02d215083344e3bafc3ec057536e9f |
| 130 |
msgid "\"Predictable\" in this context means:" |
| 131 |
msgstr "여기서 \"예측 가능한\" 이란 다음을 의미합니다:" |
| 132 |
|
| 133 |
#: ../../recipes-text.rst:57 312afbe84baa4bdf84138e6f35377145 |
| 134 |
msgid "" |
| 135 |
"Every keyword is followed by its value -- no other text is present in " |
| 136 |
"between them." |
| 137 |
msgstr "각 키워드 뒤에는 그 값이 이어집니다 -- 그 사이에 다른 텍스트는 없습니다." |
| 138 |
|
| 139 |
#: ../../recipes-text.rst:58 fd6c255cc6164834b85534e21a47f8c3 |
| 140 |
msgid "" |
| 141 |
"The bottom of the value's boundary box is **not above** the one of the " |
| 142 |
"keyword." |
| 143 |
msgstr "값의 경계 상자 하단이 키워드의 경계 상자보다 **위에 있지 않습니다**." |
| 144 |
|
| 145 |
#: ../../recipes-text.rst:59 3a28328449d0465298d40e600034845d |
| 146 |
msgid "" |
| 147 |
"There are **no other restrictions**: the page layout may or may not be " |
| 148 |
"fixed, and the text may also have been stored as one string. Key and " |
| 149 |
"value may have any distance from each other." |
| 150 |
msgstr "" |
| 151 |
"**다른 제한은 없습니다**: 페이지 레이아웃이 고정되어 있을 수도 있고 아닐 수도 있으며, 텍스트가 하나의 문자열로 저장되었을 수도 있습니다. 키와 값은 서로 어떤 거리든 가질 수 있습니다." |
| 152 |
|
| 153 |
#: ../../recipes-text.rst:61 d4fc0262f0d74fcd8ab3810ea67fcabd |
| 154 |
msgid "" |
| 155 |
"For example, the following five key-value pairs will be correctly " |
| 156 |
"identified::" |
| 157 |
msgstr "예를 들어, 다음 다섯 개의 키-값 쌍이 올바르게 식별됩니다::" |
| 158 |
|
| 159 |
#: ../../recipes-text.rst:77 193e5336ec2f43b2a832b43d6a58d308 |
| 160 |
msgid "How to Extract Text from within a Rectangle" |
| 161 |
msgstr "사각형 내부에서 텍스트 추출 방법" |
| 162 |
|
| 163 |
#: ../../recipes-text.rst:78 4c4438f1bc044009b24645d65ce8ab60 |
| 164 |
msgid "" |
| 165 |
"There is now (v1.18.0) more than one way to achieve this. We therefore " |
| 166 |
"have created a `folder <https://github.com/pymupdf/PyMuPDF-" |
| 167 |
"Utilities/tree/master/textbox-extraction>`_ in the PyMuPDF-Utilities " |
| 168 |
"repository specifically dealing with this topic." |
| 169 |
msgstr "" |
| 170 |
"이제 (v1.18.0) 이를 달성하는 방법이 여러 가지 있습니다. 따라서 이 주제를 다루는 `폴더 " |
| 171 |
"<https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/textbox-extraction>`_ 를 " |
| 172 |
"PyMuPDF-Utilities 저장소에 만들었습니다." |
| 173 |
|
| 174 |
#: ../../recipes-text.rst:88 742b2388b2764f87a7e62ef6bfa73dd6 |
| 175 |
msgid "How to Extract Text in Natural Reading Order" |
| 176 |
msgstr "자연스러운 읽기 순서로 텍스트 추출 방법" |
| 177 |
|
| 178 |
#: ../../recipes-text.rst:90 0e8c0fee0d084b9883b573ad87009d6e |
| 179 |
msgid "" |
| 180 |
"One of the common issues with PDF text extraction is, that text may not " |
| 181 |
"appear in any particular reading order." |
| 182 |
msgstr "PDF 텍스트 추출의 일반적인 문제 중 하나는 텍스트가 특정 읽기 순서로 나타나지 않을 수 있다는 것입니다." |
| 183 |
|
| 184 |
#: ../../recipes-text.rst:92 371d80a5d01448afa0dd235c5b575b74 |
| 185 |
msgid "" |
| 186 |
"This is the responsibility of the PDF creator (software or a human). For " |
| 187 |
"example, page headers may have been inserted in a separate step -- after " |
| 188 |
"the document had been produced. In such a case, the header text will " |
| 189 |
"appear at the end of a page text extraction (although it will be " |
| 190 |
"correctly shown by PDF viewer software). For example, the following " |
| 191 |
"snippet will add some header and footer lines to an existing PDF::" |
| 192 |
msgstr "" |
| 193 |
"이는 PDF 생성자(소프트웨어 또는 사람)의 책임입니다. 예를 들어, 페이지 헤더는 문서가 생성된 후 별도의 단계에서 삽입되었을 수 있습니다. " |
| 194 |
"이 경우 헤더 텍스트는 페이지 텍스트 추출의 끝에 나타납니다(하지만 PDF 뷰어 소프트웨어에서는 올바르게 표시됩니다). 예를 들어, 다음 스니펫은 기존 " |
| 195 |
"PDF에 일부 헤더 및 푸터 줄을 추가합니다::" |
| 196 |
|
| 197 |
#: ../../recipes-text.rst:104 4e580c24666243d38d3b31b8c81cd144 |
| 198 |
msgid "" |
| 199 |
"The text sequence extracted from a page modified in this way will look " |
| 200 |
"like this:" |
| 201 |
msgstr "이런 방식으로 수정된 페이지에서 추출된 텍스트 시퀀스는 다음과 같습니다:" |
| 202 |
|
| 203 |
#: ../../recipes-text.rst:106 0dc07ee4abb14a8591e99d17d219a66e |
| 204 |
msgid "original text" |
| 205 |
msgstr "원본 텍스트" |
| 206 |
|
| 207 |
#: ../../recipes-text.rst:107 a16785675c2e42889b217e4366030fc0 |
| 208 |
msgid "header line" |
| 209 |
msgstr "헤더 줄" |
| 210 |
|
| 211 |
#: ../../recipes-text.rst:108 799554ad7a954b8f9f8b0a65b45eb2ef |
| 212 |
msgid "footer line" |
| 213 |
msgstr "푸터 줄" |
| 214 |
|
| 215 |
#: ../../recipes-text.rst:110 6dfbb78929994320a0792e1e879361b4 |
| 216 |
msgid "" |
| 217 |
"PyMuPDF has several means to re-establish some reading sequence or even " |
| 218 |
"to re-generate a layout close to the original:" |
| 219 |
msgstr "PyMuPDF는 읽기 순서를 재구성하거나 원본에 가까운 레이아웃을 재생성하는 여러 가지 방법을 제공합니다:" |
| 220 |
|
| 221 |
#: ../../recipes-text.rst:112 3c8a07a9513e4d6faa6519684db819d5 |
| 222 |
msgid "" |
| 223 |
"Use `sort` parameter of :meth:`Page.get_text`. It will sort the output " |
| 224 |
"from top-left to bottom-right (ignored for XHTML, HTML and XML output)." |
| 225 |
msgstr "" |
| 226 |
":meth:`Page.get_text` 의 `sort` 매개변수를 사용하세요. 출력을 왼쪽 위에서 오른쪽 아래로 정렬합니다 (XHTML, " |
| 227 |
"HTML 및 XML 출력에는 무시됨)." |
| 228 |
|
| 229 |
#: ../../recipes-text.rst:113 ec3f668329044785b2d980019e4279e2 |
| 230 |
msgid "" |
| 231 |
"Use the `pymupdf` module in CLI: `python -m pymupdf gettext ...`, which " |
| 232 |
"produces a text file where text has been re-arranged in layout-preserving" |
| 233 |
" mode. Many options are available to control the output." |
| 234 |
msgstr "" |
| 235 |
"CLI에서 `pymupdf` 모듈을 사용하세요: `python -m pymupdf gettext ...`, 이는 레이아웃을 보존하는 모드로 " |
| 236 |
"텍스트가 재배열된 텍스트 파일을 생성합니다. 출력을 제어하는 많은 옵션이 있습니다." |
| 237 |
|
| 238 |
#: ../../recipes-text.rst:115 e9acdb536bca4568ad8b4d1ec10d61ea |
| 239 |
msgid "" |
| 240 |
"You can also use the above mentioned `script " |
| 241 |
"<https://github.com/pymupdf/PyMuPDF/wiki/How-to-extract-text-" |
| 242 |
"from-a-rectangle>`_ with your modifications." |
| 243 |
msgstr "" |
| 244 |
"위에서 언급한 `스크립트 <https://github.com/pymupdf/PyMuPDF/wiki/How-to-extract-text-from-a-" |
| 245 |
"rectangle>`_ 를 수정하여 사용할 수도 있습니다." |
| 246 |
|
| 247 |
#: ../../recipes-text.rst:122 e855c66968e14c8292b797d093cd0b65 |
| 248 |
msgid "" |
| 249 |
"How to :index:`Extract Table Content <pair: extract; table>` from " |
| 250 |
"Documents" |
| 251 |
msgstr "문서에서 :index:`테이블 내용 추출 <pair: extract; table>` 방법" |
| 252 |
|
| 253 |
#: ../../recipes-text.rst:123 44f6d95fd2764808af666701bb7f19a0 |
| 254 |
msgid "" |
| 255 |
"If you see a table in a document, you are normally not looking at " |
| 256 |
"something like an embedded Excel or other identifiable object. It usually" |
| 257 |
" is just normal, standard text, formatted to appear as tabular data." |
| 258 |
msgstr "" |
| 259 |
"문서에서 테이블을 볼 때, 일반적으로 Excel 같은 임베드된 객체나 다른 식별 가능한 객체를 보는 것이 아닙니다. 보통은 표 형식 데이터로 " |
| 260 |
"보이도록 포맷된 일반적인 표준 텍스트일 뿐입니다." |
| 261 |
|
| 262 |
#: ../../recipes-text.rst:125 d16f360542d940e5a852c0aa8564e344 |
| 263 |
msgid "" |
| 264 |
"Extracting tabular data from such a page area therefore means that you " |
| 265 |
"must find a way to **identify** the table area (i.e. its boundary box), " |
| 266 |
"then **(1)** graphically indicate table and column borders, and **(2)** " |
| 267 |
"then extract text based on this information." |
| 268 |
msgstr "" |
| 269 |
"따라서 이러한 페이지 영역에서 표 형식 데이터를 추출하려면 테이블 영역(즉, 경계 상자)을 **식별** 하는 방법을 찾은 다음 **(1)** " |
| 270 |
"테이블 및 열 경계를 그래픽으로 표시하고 **(2)** 이 정보를 기반으로 텍스트를 추출해야 합니다." |
| 271 |
|
| 272 |
#: ../../recipes-text.rst:127 a113658ef8c641279d0583854610b700 |
| 273 |
msgid "" |
| 274 |
"This can be a very complex task, depending on details like the presence " |
| 275 |
"or absence of lines, rectangles or other supporting vector graphics." |
| 276 |
msgstr "" |
| 277 |
"이는 선, 사각형 또는 기타 지원 벡터 그래픽의 존재 여부와 같은 세부 사항에 따라 매우 복잡한 작업이 될 수 있습니다." |
| 278 |
|
| 279 |
#: ../../recipes-text.rst:129 591bba39c0464acda49f9fc542563e38 |
| 280 |
msgid "" |
| 281 |
"Method :meth:`Page.find_tables` does all that for you, with a high table " |
| 282 |
"detection precision. Its great advantage is that there are no external " |
| 283 |
"library dependencies, nor the need to employ artificial intelligence or " |
| 284 |
"machine learning technologies. It also provides an integrated interface " |
| 285 |
"to the well-known Python package for data analysis `pandas " |
| 286 |
"<https://pypi.org/project/pandas/>`_." |
| 287 |
msgstr "" |
| 288 |
":meth:`Page.find_tables` 메서드는 높은 테이블 감지 정밀도로 모든 작업을 수행합니다. 큰 장점은 외부 라이브러리 의존성이 없고 " |
| 289 |
"인공 지능이나 머신 러닝 기술을 사용할 필요가 없다는 것입니다. 또한 데이터 분석을 위한 잘 알려진 Python 패키지 `pandas " |
| 290 |
"<https://pypi.org/project/pandas/>`_ 에 대한 통합 인터페이스를 제공합니다." |
| 291 |
|
| 292 |
#: ../../recipes-text.rst:131 0ec9741148044d23b6fe82ee829207a2 |
| 293 |
msgid "" |
| 294 |
"Please have a look at example `Jupyter notebooks " |
| 295 |
"<https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/table-" |
| 296 |
"analysis>`_, which cover standard situations like multiple tables on one " |
| 297 |
"page or joining table fragments across multiple pages." |
| 298 |
msgstr "" |
| 299 |
"한 페이지에 여러 테이블이 있거나 여러 페이지에 걸친 테이블 조각을 결합하는 것과 같은 표준 상황을 다루는 예제 `Jupyter 노트북 " |
| 300 |
"<https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/table-analysis>`_ " |
| 301 |
"를 살펴보세요." |
| 302 |
|
| 303 |
#: ../../recipes-text.rst:138 b1f926e82a76494a9f56c7876863ca93 |
| 304 |
msgid "How to Mark Extracted Text" |
| 305 |
msgstr "추출된 텍스트 표시 방법" |
| 306 |
|
| 307 |
#: ../../recipes-text.rst:139 1e973eca86874445943029692b1f158c |
| 308 |
msgid "" |
| 309 |
"There is a standard search function to search for arbitrary text on a " |
| 310 |
"page: :meth:`Page.search_for`. It returns a list of :ref:`Rect` objects " |
| 311 |
"which surround a found occurrence. These rectangles can for example be " |
| 312 |
"used to automatically insert annotations which visibly mark the found " |
| 313 |
"text." |
| 314 |
msgstr "" |
| 315 |
"페이지에서 임의의 텍스트를 검색하는 표준 검색 함수가 있습니다: :meth:`Page.search_for`. 발견된 항목을 둘러싸는 " |
| 316 |
":ref:`Rect` 객체 목록을 반환합니다. 이러한 사각형은 예를 들어 발견된 텍스트를 시각적으로 표시하는 주석을 자동으로 삽입하는 데 사용할 수 있습니다." |
| 317 |
|
| 318 |
#: ../../recipes-text.rst:141 dc031cd749464364bf765bac0417b4b0 |
| 319 |
msgid "This method has advantages and drawbacks. Pros are:" |
| 320 |
msgstr "이 방법에는 장점과 단점이 있습니다. 장점은 다음과 같습니다:" |
| 321 |
|
| 322 |
#: ../../recipes-text.rst:143 86833cccc89c42c3895307b65c1b8961 |
| 323 |
msgid "The search string can contain blanks and wrap across lines" |
| 324 |
msgstr "검색 문자열은 공백을 포함할 수 있고 여러 줄에 걸칠 수 있습니다" |
| 325 |
|
| 326 |
#: ../../recipes-text.rst:144 fbcd0df95b764ad0a6fc7a6e5cf28042 |
| 327 |
msgid "Upper or lower case characters are treated equal" |
| 328 |
msgstr "대문자 또는 소문자 문자가 동일하게 처리됩니다" |
| 329 |
|
| 330 |
#: ../../recipes-text.rst:145 5c86c01b36574cb1ac96a3d8134e20f7 |
| 331 |
msgid "Word hyphenation at line ends is detected and resolved" |
| 332 |
msgstr "줄 끝의 단어 하이픈 연결이 감지되고 해결됩니다" |
| 333 |
|
| 334 |
#: ../../recipes-text.rst:146 3c530d96cd524a0f93975a14b9e1802b |
| 335 |
msgid "" |
| 336 |
"Return may also be a list of :ref:`Quad` objects to precisely locate text" |
| 337 |
" that is **not parallel** to either axis -- using :ref:`Quad` output is " |
| 338 |
"also recommended, when page rotation is not zero." |
| 339 |
msgstr "" |
| 340 |
"반환값은 어느 축에도 **평행하지 않은** 텍스트를 정확히 찾기 위한 :ref:`Quad` 객체 목록일 수도 있습니다 -- 페이지 회전이 " |
| 341 |
"0이 아닐 때는 :ref:`Quad` 출력 사용을 권장합니다." |
| 342 |
|
| 343 |
#: ../../recipes-text.rst:148 d23bafdfe40a49d6bf4bb9a1b76b0938 |
| 344 |
msgid "But you also have other options::" |
| 345 |
msgstr "하지만 다른 옵션도 있습니다::" |
| 346 |
|
| 347 |
#: ../../recipes-text.rst:182 80855b0c68a2478481c53a15e79cac96 |
| 348 |
msgid "" |
| 349 |
"This script uses `Page.get_text(\"words\")` to look for a string, handed " |
| 350 |
"in via cli parameter. This method separates a page's text into \"words\" " |
| 351 |
"using white spaces as delimiters. Further remarks:" |
| 352 |
msgstr "" |
| 353 |
"이 스크립트는 CLI 매개변수를 통해 전달된 문자열을 찾기 위해 `Page.get_text(\"words\")` 를 사용합니다. 이 방법은 " |
| 354 |
"페이지의 텍스트를 공백을 구분자로 사용하여 \"단어\"로 분리합니다. 추가 설명:" |
| 355 |
|
| 356 |
#: ../../recipes-text.rst:184 1de65ffefd864dd3aba7fd7e18895779 |
| 357 |
msgid "" |
| 358 |
"If found, the **complete word containing the string** is marked " |
| 359 |
"(underlined) -- not only the search string." |
| 360 |
msgstr "발견되면, 검색 문자열뿐만 아니라 **문자열을 포함하는 전체 단어** 가 표시됩니다(밑줄)." |
| 361 |
|
| 362 |
#: ../../recipes-text.rst:185 2b3e71fdbd4147a499e2a703e50786fd |
| 363 |
msgid "" |
| 364 |
"The search string may **not contain word delimiters**. By default, word " |
| 365 |
"delimiters are white spaces and the non-breaking space `chr(0xA0)`. If " |
| 366 |
"you use extra delimiting characters like `page.get_text(\"words\", " |
| 367 |
"delimiters=\"./,\")` then none of these characters should be included in " |
| 368 |
"your search string either." |
| 369 |
msgstr "" |
| 370 |
"검색 문자열에는 **단어 구분자를 포함할 수 없습니다**. 기본적으로 단어 구분자는 공백과 줄바꿈 없는 공백 `chr(0xA0)` " |
| 371 |
"입니다. `page.get_text(\"words\", delimiters=\"./,\")` 와 같이 추가 구분 문자를 사용하는 경우, 이러한 " |
| 372 |
"문자 중 어느 것도 검색 문자열에 포함되어서는 안 됩니다." |
| 373 |
|
| 374 |
#: ../../recipes-text.rst:186 adbf6633cd5e4ad488040e4cc264ca3c |
| 375 |
msgid "" |
| 376 |
"As shown here, upper / lower cases are **respected**. But this can be " |
| 377 |
"changed by using the string method *lower()* (or even regular " |
| 378 |
"expressions) in function *mark_word*." |
| 379 |
msgstr "" |
| 380 |
"여기서 보여주듯이, 대문자/소문자가 **구분됩니다**. 하지만 *mark_word* 함수에서 문자열 메서드 *lower()* (또는 정규 " |
| 381 |
"표현식)를 사용하여 이를 변경할 수 있습니다." |
| 382 |
|
| 383 |
#: ../../recipes-text.rst:187 96993cd9b8a9474da6785f2edc5b39a5 |
| 384 |
msgid "There is **no upper limit**: all occurrences will be detected." |
| 385 |
msgstr "**상한이 없습니다**: 모든 항목이 감지됩니다." |
| 386 |
|
| 387 |
#: ../../recipes-text.rst:188 0e9d7915b8cc4de6861f917e3f3412e6 |
| 388 |
msgid "" |
| 389 |
"You can use **anything** to mark the word: 'Underline', 'Highlight', " |
| 390 |
"'StrikeThrough' or 'Square' annotations, etc." |
| 391 |
msgstr "" |
| 392 |
"단어를 표시하는 데 **어떤 것** 이든 사용할 수 있습니다: 'Underline', 'Highlight', 'StrikeThrough' 또는 " |
| 393 |
"'Square' 주석 등." |
| 394 |
|
| 395 |
#: ../../recipes-text.rst:189 d0f23f19d8d74f58b65405672d5ef654 |
| 396 |
msgid "" |
| 397 |
"Here is an example snippet of a page of this manual, where \"MuPDF\" has " |
| 398 |
"been used as the search string. Note that all strings **containing " |
| 399 |
"\"MuPDF\"** have been completely underlined (not just the search string)." |
| 400 |
msgstr "" |
| 401 |
"이 매뉴얼 페이지의 예제 스니펫입니다. \"MuPDF\" 가 검색 문자열로 사용되었습니다. **\"MuPDF\"를 포함하는** 모든 문자열이 " |
| 402 |
"완전히 밑줄 처리되었습니다(검색 문자열뿐만 아니라)." |
| 403 |
|
| 404 |
#: ../../recipes-text.rst:200 e7ff4483e8b34bd3b6aa194e55963507 |
| 405 |
msgid "How to Mark Searched Text" |
| 406 |
msgstr "검색된 텍스트 표시 방법" |
| 407 |
|
| 408 |
#: ../../recipes-text.rst:204 7c7b2708f7d045ebb7a03223d6f8ea9d |
| 409 |
msgid "This script searches for text and marks it::" |
| 410 |
msgstr "이 스크립트는 텍스트를 검색하고 표시합니다::" |
| 411 |
|
| 412 |
#: ../../recipes-text.rst:230 e211931535cf4266a427d5b731c8a73e |
| 413 |
msgid "The result looks like this:" |
| 414 |
msgstr "결과는 다음과 같습니다:" |
| 415 |
|
| 416 |
#: ../../recipes-text.rst:241 9c36d575753f422cbdc4614a787057ab |
| 417 |
msgid "How to Mark Non-horizontal Text" |
| 418 |
msgstr "수평이 아닌 텍스트 표시 방법" |
| 419 |
|
| 420 |
#: ../../recipes-text.rst:242 1e52760d0e514e19ba6ab20d5f1fb0d7 |
| 421 |
msgid "" |
| 422 |
"The previous section already shows an example for marking non-horizontal " |
| 423 |
"text, that was detected by text **searching**." |
| 424 |
msgstr "이전 섹션에서는 텍스트 **검색** 으로 감지된 수평이 아닌 텍스트를 표시하는 예제를 이미 보여주었습니다." |
| 425 |
|
| 426 |
#: ../../recipes-text.rst:244 ded1ab547046433489a3f24860ad56dc |
| 427 |
msgid "" |
| 428 |
"But text **extraction** with the \"dict\" / \"rawdict\" options of " |
| 429 |
":meth:`Page.get_text` may also return text with a non-zero angle to the " |
| 430 |
"x-axis. This is indicated by the value of the line dictionary's `\"dir\"`" |
| 431 |
" key: it is the tuple `(cosine, sine)` for that angle. If `line[\"dir\"] " |
| 432 |
"!= (1, 0)`, then the text of all its spans is rotated by (the same) angle" |
| 433 |
" != 0." |
| 434 |
msgstr "" |
| 435 |
"하지만 :meth:`Page.get_text` 의 \"dict\" / \"rawdict\" 옵션을 사용한 텍스트 **추출** 은 x축에 대해 " |
| 436 |
"0이 아닌 각도를 가진 텍스트도 반환할 수 있습니다. 이는 줄 딕셔너리의 `\"dir\"` 키 값으로 표시됩니다: 해당 각도의 튜플 " |
| 437 |
"`(cosine, sine)` 입니다. `line[\"dir\"] != (1, 0)` 이면, 모든 스팬의 텍스트가 (동일한) 각도 != 0으로 " |
| 438 |
"회전됩니다." |
| 439 |
|
| 440 |
#: ../../recipes-text.rst:246 806b832583d84ccc93707076ad170901 |
| 441 |
msgid "" |
| 442 |
"The \"bboxes\" returned by the method however are rectangles only -- not " |
| 443 |
"quads. So, to mark span text correctly, its quad must be recovered from " |
| 444 |
"the data contained in the line and span dictionary. Do this with the " |
| 445 |
"following utility function (new in v1.18.9)::" |
| 446 |
msgstr "" |
| 447 |
"하지만 이 메서드가 반환하는 \"bboxes\"는 사각형일 뿐입니다 -- 쿼드가 아닙니다. 따라서 스팬 텍스트를 올바르게 표시하려면, 줄 및 " |
| 448 |
"스팬 딕셔너리에 포함된 데이터에서 쿼드를 복구해야 합니다. 다음 유틸리티 함수를 사용하세요 (v1.18.9에서 새로 추가됨)::" |
| 449 |
|
| 450 |
#: ../../recipes-text.rst:251 374483caf365491888ccd4a28c1034f8 |
| 451 |
msgid "" |
| 452 |
"If you want to **mark the complete line** or a subset of its spans in one" |
| 453 |
" go, use the following snippet (works for v1.18.10 or later)::" |
| 454 |
msgstr "" |
| 455 |
"**전체 줄** 또는 스팬의 하위 집합을 한 번에 표시하려면 다음 스니펫을 사용하세요 (v1.18.10 이상에서 작동)::" |
| 456 |
|
| 457 |
#: ../../recipes-text.rst:258 1257febf78464c89b484b1cf6071bec4 |
| 458 |
msgid "" |
| 459 |
"The `spans` argument above may specify any sub-list of `line[\"spans\"]`." |
| 460 |
" In the example above, the second to second-to-last span are marked. If " |
| 461 |
"omitted, the complete line is taken." |
| 462 |
msgstr "" |
| 463 |
"위의 `spans` 인수는 `line[\"spans\"]` 의 임의의 하위 목록을 지정할 수 있습니다. 위 예제에서는 두 번째부터 " |
| 464 |
"마지막에서 두 번째까지의 스팬이 표시됩니다. 생략하면 전체 줄이 사용됩니다." |
| 465 |
|
| 466 |
#: ../../recipes-text.rst:265 73fd41c1a1a94a5db20497ae5b6e3c38 |
| 467 |
msgid "How to Analyze Font Characteristics" |
| 468 |
msgstr "폰트 특성 분석 방법" |
| 469 |
|
| 470 |
#: ../../recipes-text.rst:266 7643d48b4b834ad5a18337b0d8dda127 |
| 471 |
msgid "" |
| 472 |
"To analyze the characteristics of text in a PDF use this elementary " |
| 473 |
"script as a starting point:" |
| 474 |
msgstr "PDF의 텍스트 특성을 분석하려면 이 기본 스크립트를 시작점으로 사용하세요:" |
| 475 |
|
| 476 |
#: ../../recipes-text.rst:271 be40eabfee1c41e68990b36a6e79a16f |
| 477 |
msgid "Here is the PDF page and the script output:" |
| 478 |
msgstr "PDF 페이지와 스크립트 출력은 다음과 같습니다:" |
| 479 |
|
| 480 |
#: ../../recipes-text.rst:282 f7cca7fc650940c6b739a5e09938bbdd |
| 481 |
msgid "How to Insert Text" |
| 482 |
msgstr "텍스트 삽입 방법" |
| 483 |
|
| 484 |
#: ../../recipes-text.rst:283 dacb14e969f44d09b2a5487775dd63ea |
| 485 |
msgid "" |
| 486 |
"PyMuPDF provides ways to insert text on new or existing PDF pages with " |
| 487 |
"the following features:" |
| 488 |
msgstr "PyMuPDF는 다음 기능을 사용하여 새 PDF 페이지나 기존 PDF 페이지에 텍스트를 삽입하는 방법을 제공합니다:" |
| 489 |
|
| 490 |
#: ../../recipes-text.rst:285 f1dd495e1caa4902a8e5c782e9c679b5 |
| 491 |
msgid "" |
| 492 |
"choose the font, including built-in fonts and fonts that are available as" |
| 493 |
" files" |
| 494 |
msgstr "파일로 사용 가능한 폰트를 포함하여 내장 폰트와 폰트를 선택" |
| 495 |
|
| 496 |
#: ../../recipes-text.rst:286 4b098043ef3245699c145e6b99254bfb |
| 497 |
msgid "choose text characteristics like bold, italic, font size, font color, etc." |
| 498 |
msgstr "굵게, 기울임, 폰트 크기, 폰트 색상 등의 텍스트 특성 선택" |
| 499 |
|
| 500 |
#: ../../recipes-text.rst:287 a7d20d40102b4dd987941eec0fe2059b |
| 501 |
msgid "position the text in multiple ways:" |
| 502 |
msgstr "여러 방법으로 텍스트 위치 지정:" |
| 503 |
|
| 504 |
#: ../../recipes-text.rst:289 ebb1742c954f43b6b40e7dd5c8eefbc2 |
| 505 |
msgid "either as simple line-oriented output starting at a certain point," |
| 506 |
msgstr "특정 지점에서 시작하는 간단한 줄 지향 출력으로," |
| 507 |
|
| 508 |
#: ../../recipes-text.rst:290 caf3e77d02db4d88ba4b4ce0df67f82b |
| 509 |
msgid "" |
| 510 |
"or fitting text in a box provided as a rectangle, in which case text " |
| 511 |
"alignment choices are also available," |
| 512 |
msgstr "또는 사각형으로 제공된 상자에 텍스트를 맞추는 경우, 이 경우 텍스트 정렬 선택도 사용 가능," |
| 513 |
|
| 514 |
#: ../../recipes-text.rst:291 08f04e2e5fff428aad600459aeae779f |
| 515 |
msgid "" |
| 516 |
"choose whether text should be put in foreground (overlay existing " |
| 517 |
"content)," |
| 518 |
msgstr "텍스트를 전경에 배치할지 선택(기존 콘텐츠 위에 오버레이)," |
| 519 |
|
| 520 |
#: ../../recipes-text.rst:292 1899456d8c24474f8bcd5e172b2cde12 |
| 521 |
msgid "" |
| 522 |
"all text can be arbitrarily \"morphed\", i.e. its appearance can be " |
| 523 |
"changed via a :ref:`Matrix`, to achieve effects like scaling, shearing or" |
| 524 |
" mirroring," |
| 525 |
msgstr "" |
| 526 |
"모든 텍스트를 임의로 \"변형\"할 수 있습니다. 즉, :ref:`Matrix` 를 통해 모양을 변경하여 확대/축소, 기울이기 또는 미러링과 " |
| 527 |
"같은 효과를 얻을 수 있습니다," |
| 528 |
|
| 529 |
#: ../../recipes-text.rst:293 86bfde1660ba41f499e89840e1564a90 |
| 530 |
msgid "" |
| 531 |
"independently from morphing and in addition to that, text can be rotated " |
| 532 |
"by integer multiples of 90 degrees." |
| 533 |
msgstr "변형과 독립적으로, 추가로 텍스트를 90도의 정수 배로 회전할 수 있습니다." |
| 534 |
|
| 535 |
#: ../../recipes-text.rst:295 be111c03edb84cf2a94e8762714cc0eb |
| 536 |
msgid "" |
| 537 |
"All of the above is provided by three basic :ref:`Page`, resp. " |
| 538 |
":ref:`Shape` methods:" |
| 539 |
msgstr "위의 모든 것은 세 가지 기본 :ref:`Page`, 각각 :ref:`Shape` 메서드로 제공됩니다:" |
| 540 |
|
| 541 |
#: ../../recipes-text.rst:297 72cb967325024d41a8ffa1c2ab753fd4 |
| 542 |
msgid "" |
| 543 |
":meth:`Page.insert_font` -- install a font for the page for later " |
| 544 |
"reference. The result is reflected in the output of " |
| 545 |
":meth:`Document.get_page_fonts`. The font can be:" |
| 546 |
msgstr "" |
| 547 |
":meth:`Page.insert_font` -- 나중에 참조할 수 있도록 페이지에 폰트를 설치합니다. 결과는 " |
| 548 |
":meth:`Document.get_page_fonts` 의 출력에 반영됩니다. 폰트는 다음 중 하나일 수 있습니다:" |
| 549 |
|
| 550 |
#: ../../recipes-text.rst:299 b76fff0661ed480cb05480c7a9a31ddd |
| 551 |
msgid "provided as a file," |
| 552 |
msgstr "파일로 제공되거나," |
| 553 |
|
| 554 |
#: ../../recipes-text.rst:300 7c635389b9dd4de28b6bfd73e66eb774 |
| 555 |
msgid "via :ref:`Font` (then use :attr:`Font.buffer`)" |
| 556 |
msgstr ":ref:`Font` 를 통해 (그런 다음 :attr:`Font.buffer` 사용) 또는" |
| 557 |
|
| 558 |
#: ../../recipes-text.rst:301 58c5c49b72314f1fbef5a7fdb829811d |
| 559 |
msgid "already present somewhere in **this or another** PDF, or" |
| 560 |
msgstr "**이 PDF 또는 다른** PDF의 어딘가에 이미 있거나," |
| 561 |
|
| 562 |
#: ../../recipes-text.rst:302 f6a2b00d975e4ffbb57171c37d4127bb |
| 563 |
msgid "be a **built-in** font." |
| 564 |
msgstr "**내장** 폰트일 수 있습니다." |
| 565 |
|
| 566 |
#: ../../recipes-text.rst:304 a44d01d2b9bb4d3686811c70f9b9271a |
| 567 |
msgid "" |
| 568 |
":meth:`Page.insert_text` -- write some lines of text. Internally, this " |
| 569 |
"uses :meth:`Shape.insert_text`." |
| 570 |
msgstr "" |
| 571 |
":meth:`Page.insert_text` -- 텍스트 줄을 작성합니다. 내부적으로는 :meth:`Shape.insert_text` 를 " |
| 572 |
"사용합니다." |
| 573 |
|
| 574 |
#: ../../recipes-text.rst:306 bfd1f9b3c2b741b29c87208a1a66d28e |
| 575 |
msgid "" |
| 576 |
":meth:`Page.insert_textbox` -- fit text in a given rectangle. Here you " |
| 577 |
"can choose text alignment features (left, right, centered, justified) and" |
| 578 |
" you keep control as to whether text actually fits. Internally, this uses" |
| 579 |
" :meth:`Shape.insert_textbox`." |
| 580 |
msgstr "" |
| 581 |
":meth:`Page.insert_textbox` -- 주어진 사각형에 텍스트를 맞춥니다. 여기서 텍스트 정렬 기능(왼쪽, 오른쪽, " |
| 582 |
"가운데, 양쪽 정렬)을 선택할 수 있으며 텍스트가 실제로 맞는지 제어할 수 있습니다. 내부적으로는 :meth:`Shape.insert_textbox` " |
| 583 |
"를 사용합니다." |
| 584 |
|
| 585 |
#: ../../recipes-text.rst:308 be171eb050b94f58b9cd1b5e0262f4c9 |
| 586 |
msgid "Both text insertion methods automatically install the font as necessary." |
| 587 |
msgstr "두 텍스트 삽입 방법 모두 필요에 따라 폰트를 자동으로 설치합니다." |
| 588 |
|
| 589 |
#: ../../recipes-text.rst:314 b5fff0f0c7634c4b944d6adf15b57a63 |
| 590 |
msgid "How to Write Text Lines" |
| 591 |
msgstr "텍스트 줄 작성 방법" |
| 592 |
|
| 593 |
#: ../../recipes-text.rst:315 cb73fdfc91be42e784e9bdd13d791bc0 |
| 594 |
msgid "Output some text lines on a page::" |
| 595 |
msgstr "페이지에 텍스트 줄 출력::" |
| 596 |
|
| 597 |
#: ../../recipes-text.rst:336 93ea55096a814bf78d67323eff265e39 |
| 598 |
msgid "" |
| 599 |
"With this method, only the **number of lines** will be controlled to not " |
| 600 |
"go beyond page height. Surplus lines will not be written and the number " |
| 601 |
"of actual lines will be returned. The calculation uses a line height " |
| 602 |
"calculated from the :data:`fontsize` and 36 points (0.5 inches) as bottom" |
| 603 |
" margin." |
| 604 |
msgstr "" |
| 605 |
"이 방법을 사용하면 **줄 수** 만 페이지 높이를 초과하지 않도록 제어됩니다. 초과 줄은 작성되지 않으며 실제 줄 수가 반환됩니다. 계산은 " |
| 606 |
":data:`fontsize` 와 하단 여백으로 36포인트(0.5인치)에서 계산된 줄 높이를 사용합니다." |
| 607 |
|
| 608 |
#: ../../recipes-text.rst:338 d32561da58f04605a11ea899f3142f80 |
| 609 |
msgid "" |
| 610 |
"Line **width is ignored**. The surplus part of a line will simply be " |
| 611 |
"invisible." |
| 612 |
msgstr "줄 **너비는 무시됩니다**. 줄의 초과 부분은 단순히 보이지 않습니다." |
| 613 |
|
| 614 |
#: ../../recipes-text.rst:340 be87d53797fa4459b5ccf3c4131594e4 |
| 615 |
msgid "" |
| 616 |
"However, for built-in fonts there are ways to calculate the line width " |
| 617 |
"beforehand - see :meth:`get_text_length`." |
| 618 |
msgstr "하지만 내장 폰트의 경우 사전에 줄 너비를 계산하는 방법이 있습니다 - :meth:`get_text_length` 를 참조하세요." |
| 619 |
|
| 620 |
#: ../../recipes-text.rst:342 f9e73fbbab774c2caa85bbed776cc956 |
| 621 |
msgid "" |
| 622 |
"Here is another example. It inserts 4 text strings using the four " |
| 623 |
"different rotation options, and thereby explains, how the text insertion " |
| 624 |
"point must be chosen to achieve the desired result::" |
| 625 |
msgstr "" |
| 626 |
"다른 예제입니다. 네 가지 다른 회전 옵션을 사용하여 4개의 텍스트 문자열을 삽입하고, 원하는 결과를 얻기 위해 텍스트 삽입 지점을 어떻게 " |
| 627 |
"선택해야 하는지 설명합니다::" |
| 628 |
|
| 629 |
#: ../../recipes-text.rst:378 0213c8bab6154d30805d62976edc9a19 |
| 630 |
msgid "This is the result:" |
| 631 |
msgstr "결과는 다음과 같습니다:" |
| 632 |
|
| 633 |
#: ../../recipes-text.rst:390 f3944598e7174b5c84183c27d9976e7d |
| 634 |
msgid "How to Fill a Text Box" |
| 635 |
msgstr "텍스트 상자 채우기 방법" |
| 636 |
|
| 637 |
#: ../../recipes-text.rst:391 432bedd774af4765abc17063d64bbff5 |
| 638 |
msgid "" |
| 639 |
"This script fills 4 different rectangles with text, each time choosing a " |
| 640 |
"different rotation value::" |
| 641 |
msgstr "이 스크립트는 텍스트로 4개의 다른 사각형을 채우며, 매번 다른 회전 값을 선택합니다::" |
| 642 |
|
| 643 |
#: ../../recipes-text.rst:428 b57fefc0582d49269895485a9f9f2d81 |
| 644 |
msgid "" |
| 645 |
"Some default values were used above: font size 11 and text alignment " |
| 646 |
"\"left\". The result will look like this:" |
| 647 |
msgstr "위에서는 일부 기본값이 사용되었습니다: 폰트 크기 11 및 텍스트 정렬 \"left\". 결과는 다음과 같습니다:" |
| 648 |
|
| 649 |
#: ../../recipes-text.rst:438 1b2793a104ab4b5688254d0c742bdce1 |
| 650 |
msgid "How to Fill a Box with HTML Text" |
| 651 |
msgstr "HTML 텍스트로 상자 채우기 방법" |
| 652 |
|
| 653 |
#: ../../recipes-text.rst:439 19e59b0993924e4c95225686d9cc0d88 |
| 654 |
msgid "" |
| 655 |
"Method :meth:`Page.insert_htmlbox` offers a **much more powerful** way to" |
| 656 |
" insert text in a rectangle." |
| 657 |
msgstr ":meth:`Page.insert_htmlbox` 메서드는 사각형에 텍스트를 삽입하는 **훨씬 더 강력한** 방법을 제공합니다." |
| 658 |
|
| 659 |
#: ../../recipes-text.rst:441 35f57808a8794c8e9e19787c2c32e112 |
| 660 |
msgid "" |
| 661 |
"Instead of simple, plain text, this method accepts HTML source, which may" |
| 662 |
" not only contain HTML tags but also styling instructions to influence " |
| 663 |
"things like font, font weight (bold) and style (italic), color and much " |
| 664 |
"more." |
| 665 |
msgstr "" |
| 666 |
"간단한 일반 텍스트 대신, 이 메서드는 HTML 소스를 받아들입니다. HTML 태그뿐만 아니라 폰트, 폰트 굵기(굵게), 스타일(기울임), " |
| 667 |
"색상 등을 제어하는 스타일 지시문도 포함할 수 있습니다." |
| 668 |
|
| 669 |
#: ../../recipes-text.rst:443 71ac810a548442d29907981f132dccbf |
| 670 |
msgid "" |
| 671 |
"It is also possible to mix multiple fonts and languages, to output HTML " |
| 672 |
"tables and to insert images and URI links." |
| 673 |
msgstr "여러 폰트와 언어를 혼합하고, HTML 테이블을 출력하며, 이미지와 URI 링크를 삽입할 수도 있습니다." |
| 674 |
|
| 675 |
#: ../../recipes-text.rst:445 0b4174d507754388b32a80b165012df6 |
| 676 |
msgid "" |
| 677 |
"For even more styling flexibility, an additional CSS source may also be " |
| 678 |
"given." |
| 679 |
msgstr "더 많은 스타일링 유연성을 위해 추가 CSS 소스를 제공할 수도 있습니다." |
| 680 |
|
| 681 |
#: ../../recipes-text.rst:447 ef0b305a96e04f7b82deb24dacac92d1 |
| 682 |
msgid "" |
| 683 |
"The method is based on the :ref:`Story` class. Therefore, complex script " |
| 684 |
"systems like Devanagari, Nepali, Tamil and many are supported and written" |
| 685 |
" correctly thanks to using the HarfBuzz library - which provides this so-" |
| 686 |
"called **\"text shaping\"** feature." |
| 687 |
msgstr "" |
| 688 |
"이 메서드는 :ref:`Story` 클래스를 기반으로 합니다. 따라서 Devanagari, Nepali, Tamil 등과 같은 복잡한 " |
| 689 |
"문자 체계가 지원되며 HarfBuzz 라이브러리를 사용하여 올바르게 작성됩니다 - 이는 소위 **\"텍스트 셰이핑\"** 기능을 제공합니다." |
| 690 |
|
| 691 |
#: ../../recipes-text.rst:449 1260a458a7e544b1aa67b8755b17c8ec |
| 692 |
msgid "" |
| 693 |
"Any required fonts to output characters are automatically pulled in from " |
| 694 |
"the Google NOTO font library - as a fallback (when the -- optionally " |
| 695 |
"supplied -- user font(s) do not contain some glyphs)." |
| 696 |
msgstr "" |
| 697 |
"문자를 출력하는 데 필요한 모든 폰트는 Google NOTO 폰트 라이브러리에서 자동으로 가져옵니다 - 폴백으로 (선택적으로 제공된 " |
| 698 |
"-- 사용자 폰트에 일부 글리프가 없는 경우)." |
| 699 |
|
| 700 |
#: ../../recipes-text.rst:451 fcaf38aee6714a809439a7e41809456a |
| 701 |
msgid "" |
| 702 |
"As a small glimpse into the features offered here, we will output the " |
| 703 |
"following HTML-enriched text::" |
| 704 |
msgstr "여기서 제공되는 기능을 간단히 살펴보기 위해 다음 HTML이 풍부한 텍스트를 출력합니다::" |
| 705 |
|
| 706 |
#: ../../recipes-text.rst:476 9c59a952ce374072a5f1980b9e94e9e5 |
| 707 |
msgid "" |
| 708 |
"Please note how the \"css\" parameter is used to globally select the " |
| 709 |
"default \"sans-serif\" font and a font size of 14." |
| 710 |
msgstr "\"css\" 매개변수가 기본 \"sans-serif\" 폰트와 폰트 크기 14를 전역적으로 선택하는 데 어떻게 사용되는지 주목하세요." |
| 711 |
|
| 712 |
#: ../../recipes-text.rst:478 ../../recipes-text.rst:546 |
| 713 |
#: 7e28c391edc0498e9f137492e4579c8b d1d571d5e2a543f1960a767a55013650 |
| 714 |
msgid "The result will look like this:" |
| 715 |
msgstr "결과는 다음과 같습니다:" |
| 716 |
|
| 717 |
#: ../../recipes-text.rst:483 ed1313ec473f4a6abdbea7c7fdbc2bc3 |
| 718 |
msgid "How to output HTML tables and images" |
| 719 |
msgstr "HTML 테이블 및 이미지 출력 방법" |
| 720 |
|
| 721 |
#: ../../recipes-text.rst:485 d915167d0a8a487ca0714949823727f9 |
| 722 |
msgid "" |
| 723 |
"Here is another example that outputs a table with this method. This time," |
| 724 |
" we are including all the styling in the HTML source itself. Please also " |
| 725 |
"note, how it works to include an image - even within a table cell::" |
| 726 |
msgstr "" |
| 727 |
"이 메서드로 테이블을 출력하는 또 다른 예제입니다. 이번에는 모든 스타일링을 HTML 소스 자체에 포함합니다. 이미지를 포함하는 방법(테이블 " |
| 728 |
"셀 내부에서도)도 주목하세요::" |
| 729 |
|
| 730 |
#: ../../recipes-text.rst:552 8a1001c5f5074d4ba6c32b464a047fe3 |
| 731 |
msgid "How to Output Languages of the World" |
| 732 |
msgstr "세계 언어 출력 방법" |
| 733 |
|
| 734 |
#: ../../recipes-text.rst:554 694851da42974f849ae4f15fb8583d84 |
| 735 |
msgid "" |
| 736 |
"Our third example will demonstrate the automatic multi-language support. " |
| 737 |
"It includes automatic **text shaping** for complex scripting systems like" |
| 738 |
" Devanagari and right-to-left languages::" |
| 739 |
msgstr "" |
| 740 |
"세 번째 예제는 자동 다국어 지원을 보여줍니다. Devanagari 및 오른쪽에서 왼쪽으로 쓰는 언어와 같은 복잡한 문자 체계에 대한 자동 " |
| 741 |
"**텍스트 셰이핑** 을 포함합니다::" |
| 742 |
|
| 743 |
#: ../../recipes-text.rst:584 11883d2c3225403c9efe9db6404e0614 |
| 744 |
msgid "And this is the output:" |
| 745 |
msgstr "그리고 이것이 출력입니다:" |
| 746 |
|
| 747 |
#: ../../recipes-text.rst:589 1694d9848471473387efc178c64d1ac3 |
| 748 |
msgid "How to Specify your Own Fonts" |
| 749 |
msgstr "자신의 폰트 지정 방법" |
| 750 |
|
| 751 |
#: ../../recipes-text.rst:591 e24039a16e614bad9521e9f98300ca0a |
| 752 |
msgid "" |
| 753 |
"Define your font files in CSS syntax using the `@font-face` statement. " |
| 754 |
"You need a separate `@font-face` for every combination of font weight and" |
| 755 |
" font style (e.g. bold or italic) you want to be supported. The following" |
| 756 |
" example uses the famous MS Comic Sans font in its four variants regular," |
| 757 |
" bold, italic and bold-italic." |
| 758 |
msgstr "" |
| 759 |
"`@font-face` 문을 사용하여 CSS 구문으로 폰트 파일을 정의하세요. 지원하려는 폰트 굵기와 폰트 스타일(예: 굵게 또는 기울임)의 " |
| 760 |
"모든 조합에 대해 별도의 `@font-face` 가 필요합니다. 다음 예제는 유명한 MS Comic Sans 폰트를 일반, 굵게, " |
| 761 |
"기울임, 굵은 기울임의 네 가지 변형으로 사용합니다." |
| 762 |
|
| 763 |
#: ../../recipes-text.rst:593 b2b6a21607d34d64a2c7e188ebc89771 |
| 764 |
msgid "" |
| 765 |
"As these four font files are located in the system's folder " |
| 766 |
"`C:/Windows/Fonts` the method needs an :ref:`Archive` definition that " |
| 767 |
"points to that folder::" |
| 768 |
msgstr "" |
| 769 |
"이 네 개의 폰트 파일이 시스템 폴더 `C:/Windows/Fonts` 에 있으므로, 메서드는 해당 폴더를 가리키는 :ref:`Archive` " |
| 770 |
"정의가 필요합니다::" |
| 771 |
|
| 772 |
#: ../../recipes-text.rst:642 e0f58841406a42738934f9d5496b3b1a |
| 773 |
msgid "How to Request Text Alignment" |
| 774 |
msgstr "텍스트 정렬 요청 방법" |
| 775 |
|
| 776 |
#: ../../recipes-text.rst:644 fe05e68776a74af9bbef92af559109dd |
| 777 |
msgid "This example combines multiple requirements:" |
| 778 |
msgstr "이 예제는 여러 요구사항을 결합합니다:" |
| 779 |
|
| 780 |
#: ../../recipes-text.rst:646 e70a8667e3944fd9b0816777acb87234 |
| 781 |
msgid "Rotate the text by 90 degrees anti-clockwise." |
| 782 |
msgstr "텍스트를 90도 반시계 방향으로 회전합니다." |
| 783 |
|
| 784 |
#: ../../recipes-text.rst:647 d9cf7d46a2d346b2a4f74a171faa1447 |
| 785 |
msgid "" |
| 786 |
"Use a font from package `pymupdf-fonts <https://pypi.org/project/pymupdf-" |
| 787 |
"fonts/>`_. You will see that the respective CSS definitions are a lot " |
| 788 |
"easier in this case." |
| 789 |
msgstr "" |
| 790 |
"`pymupdf-fonts <https://pypi.org/project/pymupdf-fonts/>`_ 패키지의 폰트를 사용합니다. 이 " |
| 791 |
"경우 해당 CSS 정의가 훨씬 더 쉬운 것을 볼 수 있습니다." |
| 792 |
|
| 793 |
#: ../../recipes-text.rst:648 bd33916fceb54e72962046e30a682445 |
| 794 |
msgid "Align the text with the \"justify\" option." |
| 795 |
msgstr "\"justify\" 옵션으로 텍스트를 정렬합니다." |
| 796 |
|
| 797 |
#: ../../recipes-text.rst:698 77fa2772ac8f4569be51c8e5f85dfc85 |
| 798 |
msgid "How to Extract Text with Color" |
| 799 |
msgstr "색상이 있는 텍스트 추출 방법" |
| 800 |
|
| 801 |
#: ../../recipes-text.rst:700 9b6a414568c14a82b047478e4a84f66a |
| 802 |
msgid "" |
| 803 |
"Iterate through your text blocks and find the spans of text you need for " |
| 804 |
"this information." |
| 805 |
msgstr "텍스트 블록을 반복하고 이 정보에 필요한 텍스트 스팬을 찾으세요." |
| 806 |
|
| 807 |
#: ../../footer.rst:46 bdb1928a7ce24b5a9d8c30e00a139e48 |
| 808 |
msgid "This documentation covers all versions up to |version|." |
| 809 |
msgstr "이 문서는 |version| 까지의 모든 버전을 다룹니다." |
| 810 |
|