Skip to content

Commit 3ce5119

Browse files
committed
Merge branch 'master' of https://github.com/rk700/PyMuPDF
2 parents 21e1809 + 74c8ac5 commit 3ce5119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/font.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ A Font object also contains useful general information, like the font bbox, the
4747

4848
If you have installed `pymupdf-fonts <https://pypi.org/project/pymupdf-fonts/>`_, there are also new "reserved" fontnames available, which are listed in :attr:`fitz_fonts` and in the table further down.
4949

50-
:arg str filename: the filename of a fontfile somewhere on your system [#f1]_.
50+
:arg str fontfile: the filename of a fontfile somewhere on your system [#f1]_.
5151
:arg bytes,bytearray,io.BytesIO fontbuffer: a fontfile loaded in memory [#f1]_.
5252
:arg in script: the number of a UCDN script. Currently supported in PyMuPDF are numbers 24, and 32 through 35.
5353
:arg str language: one of the values "zh-Hant" (traditional Chinese), "zh-Hans" (simplified Chinese), "ja" (Japanese) and "ko" (Korean). Otherwise, all ISO 639 codes from the subsets 1, 2, 3 and 5 are also possible, but are currently documentary only.

0 commit comments

Comments
 (0)