Comments (8)
Sent
from vue-pdf.
Updated to v1.5.1 and can confirm it works as expected now. Thank you very much!
from vue-pdf.
Currently rotation
prop is for set an absolute rotation and it overwrite the default page rotation, so if you have a 90° rotated page and set 0 to rotation prop, you will get at 0° rotated page not 90°, you can check this by getting the rendered viewport through loaded
event.
from vue-pdf.
I see... i removed the rotation prop all together and still get 0 degree rotation. See screenshot of acrobate showing the correct rotation but my application (Using VuePDF) in the incorrect rotation and the loaded Viewport data.
VuePDF
<VuePDF
v-if="!!fileData?.[selectedTab]?.data?.pages"
text-layer
:page="fileParams?.[selectedTab]?.page"
:pdf="fileData?.[selectedTab]?.data?.pdf"
@loaded="onLoaded"
/>
onLoaded function with removed rotation prop data
onLoaded(x) {
// :rotation="
// fileParams?.[selectedTab]?.rotations?.[
// fileParams?.[selectedTab]?.page
// ]
// "
console.log("onLoaded", x);
}
from vue-pdf.
That is not working as it should. Can you provide me a rotated pdf using that QPDF? also, what version are you using?
from vue-pdf.
VuePDF v1.4.8
I certainly can send you the file, whats the best method? Email?
from vue-pdf.
Email is ok, [email protected]
from vue-pdf.
Already fixed in the latest version
from vue-pdf.
Related Issues (20)
- Save rotation angle HOT 1
- Style.css not exported for Text Layer Implementation HOT 2
- Switching between multiple PDFs causes crash HOT 1
- Allow VuePDF component to also handle data loading state HOT 1
- Dependecy issues HOT 1
- Resizing with reload method not working
- Resizing with reload method not working HOT 3
- Errors when reloading PDF HOT 9
- How can I use this library without upgrading my Vue version? HOT 1
- Can it support on-demand loading and virtual scrolling to solve the loading and memory consumption issues of large PDF files? HOT 1
- Support for `pdfjs` v4
- Viewer options HOT 1
- Highlight a piece of text HOT 2
- Chinese Text Not Displaying in vue-pdf HOT 3
- There is a "fit-parent" example, but not in menu HOT 1
- require() of ES Module HOT 1
- 输出警告后导致vue3页面空白 HOT 3
- Add a demo site to this project HOT 2
- How to highlight multiple lines of text HOT 8
- div "container" overflow:hidden prevents horizontal scroll HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-pdf.