Skip to content

How to get Japanese text from Office files using PyMuPDF Pro #4133

Discussion options

You must be logged in to vote

I think unlock()'s undocumented fontpath and fontpath_auto args should work even without a key; fontpath should be a list of strings or a string containing os.pathsep-separated strings. Similarly for setting os.environ['PYMUPDFPRO_FONT_PATH'] before calling unlock(), as mentioned by @JorjMcKie; this should be an os.pathsep-separated lists of strings.

If you set (undocumented) os.environ['PYMUPDFPRO_FONT_PATH_VERBOSE']='1', unlock() will output diagnostics showing what font directories it is adding. This might show some useful information.

Replies: 3 comments 13 replies

Comment options

You must be logged in to vote
12 replies
@JorjMcKie
Comment options

@jamie-lemon
Comment options

@waonpad
Comment options

@jamie-lemon
Comment options

@waonpad
Comment options

Comment options

You must be logged in to vote
1 reply
@waonpad
Comment options

Answer selected by waonpad
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants