Flexpaper 实现在 XP 上表现奇怪
我有一个网站,我已经在其上实现了 Flexpaper,并且它工作得很好,至少我是这么认为的。昨天有一位用户给我发了电子邮件,因为她试图查看文档但无法查看,因为文档太小了。
事实证明,当柔性纸加载文档时,它将缩放设置为-3%,我不知道她是否意识到这一点,只是抱怨它以这种方式加载的事实,或者真的认为它被破坏了。更改缩放比例很容易,但每次加载文档时都必须这样做,这相当烦人。
我不知道在IE中是否有同样的行为,但她在firefox中遇到了这个问题。在我的机器、同事的机器和她同事的机器上,它都工作正常,但我们都运行 vista 和 7。一旦我们加载 XP 机器,缩放问题就出现了。
我知道 API 中有一个缩放功能,所以我可以硬设置缩放,但我很想知道是否有其他人遇到过这个问题,以及是否有人知道原因是什么。如果可以修复的话我想修复它。
I have a site that I've implemented flexpaper on and it's working beautifully, or so i thought. I had a user email me yesterday because she was trying to view a document and couldn't because it was so small.
Turns out when flexpaper loaded the document in, it set the zoom to -3%, I don;t know if she realized it and was just complaining about the fact that it loaded that way, or genuinely thought it was broken. Changing the zoom is easy enough, but rather annoying to have to do it every time you load a document.
I don't know if it had the same behavior in IE, but she had this problem in firefox. On both my machine, co-workers machines, and her co-workers machines, it works fine, but we are all running vista and 7. Once we loaded up an XP machine, the zoom problem showed itself.
I know there's a zoom function in the API so I can hard set the zoom, but I'm interested to know if anyone else has come across this and if anyone knows what the cause is. I would like to fix it if it's something that can be fixed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从来没有弄清楚它为什么这样做,但是更改缩放设置,将 fitwidthonload 设置为 false 并将缩放设置为 1 使其工作得很好。
Never figured out why it did this, but changing the zoom settings, setting fitwidthonload to false and scale to 1 made it work just fine.