-
根据api开启背景图模式,但是背景图只在pdf未完成渲染前才展示,pdf渲染完成后,canvasImg图片的层级比背景图层级高,不能形成需要的pdf水印效果。pdf内容会将背景图完全覆盖,导致背景图无效。
-
之前使用vue-pdf发现签章会有promise的崩溃,就尝试使用这个组件
然后按照demo的使用加载流文件直接报错如下:
pdfh5.js?23f7:649 Uncaught (in promise) TypeError: Cannot read property 'pdfLoaded' of undefined
at Pdfh5.init (pdfh5.js?23f7:649)
…
-
请教一下lazy是指什么?与pdf.js的disabeRange有何差异?
另外请教一下:看pdf.js的官网示例,disabeRange默认false,第一次请求的时候返回200,大小为0,
但pdfh5默认返回200,仍然下载了整个文件,后续又分块下载了一些文件,这是什么原因?
以及如果java sevlet如何实现一个download接口支持disableRange=false…
-
1、svg渲染模式的情况下签名、数字证书都无法显示。
2、小程序显示的时候因为我不是全屏显示,header+main,出现了只显示单页的纸张长度,不能占满,尤其是FDA表格。
-
`###` 描述问题
在线预览pdf只能显示第一页
### 重现步骤
请描述如何重现这个问题:
pdf获取总页数为6,但是渲染第一页过后就停止渲染,没有触发complete事件
### 期待的结果
能正常显示6页数据
### 截屏或录像
我的js配置如下:
var pdfh5 = new Pdfh5('#handout_wrap_inner', {…
-
### 描述问题
creat-react-app项目中引入pdfh5时会有警告
```
./node_modules/pdfh5/js/pdf.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
```
…
lxinr updated
4 years ago
-
### pdf文档,使用Acrobat设置表单域,使用iText5填充表单内容后,中文无法预览
pdf文档,有些地方需要动态填充,在需要动态填充的地方使用Acrobat设置表单域后,使用java的iText5进行填充,填充后使用pdfh5预览,英文和数字显示,中文不显示,其他地方预览,都显示
### 期待的结果
中文也可以正常预览
### 截屏或录像
![1](https…
-
比如带的公网访问的地址是 https://www.xxx.com?aaa=aaa&bbb=bbb&ccc=ccc
这种情况只能识别到 https://www.xxx.com?aaa=aaa,后面的 &bbb=bbb&ccc=ccc 没有请求,导致无法解析pdf
-
` pdfh5.on("start",function(str){
console.log("onStart");
});
pdfh5.on("complete",function(str){
console.log("onComplete");
});
pdfh5.on("error",function(str){
console…
-
我的pdf文件中有个二维码,文字都能正常显示,二维码显示模糊,代码我仅使用了初始化代码
` var pdfh5 = new Pdfh5('.pdfjs', {
pdfurl: 'http://cheetah.nat300.top/pdf/123.pdf'
});`