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

Rotation Causes Blinking and Memory Spike #204

Open
yuanhongyu123 opened this issue Apr 5, 2024 · 0 comments
Open

Rotation Causes Blinking and Memory Spike #204

yuanhongyu123 opened this issue Apr 5, 2024 · 0 comments

Comments

@yuanhongyu123
Copy link

yuanhongyu123 commented Apr 5, 2024

When using the first method
<VuePdfEmbed :source="props.pdfSource" :rotation="rotation" />
the rotation works fine.

However, when I switch to the second method
<VuePdfEmbed :source="{ cMapUrl: 'cmaps/', url: props.pdfSource }" :rotation="rotation" />
to display Chinese characters, the PDF flashes twice during rotation. Additionally, there is a significant increase in memory usage, and consecutive rotation clicks lead to a memory surge. Eventually, the PDF area turns white or the page crashes.

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

1 participant