gen2brain / go-fitz

Golang wrapper for the MuPDF Fitz library
GNU Affero General Public License v3.0
412 stars 96 forks source link

error: cannot find builtin CJK font #83

Closed Garfield-yin closed 1 year ago

Garfield-yin commented 1 year ago

doc.ImageDPI error:doc.ImageDPI version: github.com/gen2brain/go-fitz v1.22.2 go version:GO_VERSION=1.18.3 system: ubuntu:16.04

gen2brain commented 1 year ago

CJK fonts are not included ind bundled libraries, use external library.

Garfield-yin commented 1 year ago

Thank you for your prompt response and for providing clarification on this matter. I understand now that CJK fonts are not included in the bundled libraries, and that it's recommended to use an external library instead.

As I am not familiar with this process, could you possibly provide some guidance or documentation on how to incorporate an external library for CJK fonts? Any example of usage or step-by-step instructions would be greatly appreciated.

Thank you in advance for your time and help. I look forward to your response.