Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is fail to extract text from pptx #128

Open
helios741 opened this issue Dec 20, 2024 · 4 comments
Open

It is fail to extract text from pptx #128

helios741 opened this issue Dec 20, 2024 · 4 comments

Comments

@helios741
Copy link

I have a requirement that extract text from pptx and i need CJK font. I use extlib tag to build, but I got "cannot open document" error when i use go-fitz.

p, err := fitz.New(filePath)

Every PPT get same error, please how can i handle it?

@gen2brain
Copy link
Owner

The support is added in 1.24.0, so check your external library version.

@helios741
Copy link
Author

@gen2brain yes, I use 1.24.14, the musl tag is ok but extlib is not work

@gen2brain
Copy link
Owner

I'm sorry. Can you provide some examples with output? I'm not sure I can follow. What do you do, and what is the output?

@gen2brain
Copy link
Owner

And make sure you are trying with .pptx, i.e. XML format, and not with old .ppt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants