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

(Missing LTTextBox / LTTextLine process) 一些pdf会裁剪过度 #6

Closed
chenxiaofei-cxf opened this issue May 4, 2021 · 3 comments
Closed

Comments

@chenxiaofei-cxf
Copy link

chenxiaofei-cxf commented May 4, 2021

image

裁剪后:
image
把很多字裁没了
exp7_drop.pdf

@FFengIll
Copy link
Owner

sorry,之前遗漏了这个issue。
我近期会看一看。

@FFengIll
Copy link
Owner

FFengIll commented Sep 2, 2021

最终定位原因是 没有处理Literal Box这种情况(即文本框)。
最初实现时没有这样的遭遇,所以忽视了。

@FFengIll
Copy link
Owner

FFengIll commented Sep 6, 2021

Literal 需要 在box的基础上,额外处理 y1 (left lower),即对应需要扣除literal 的height值。
目前已对应修正 e4522d3#r56006481

@FFengIll FFengIll closed this as completed Sep 6, 2021
@FFengIll FFengIll changed the title 一些pdf会裁剪过度 (Missing LTTextBox / LTTextLine process) 一些pdf会裁剪过度 May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants