1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

XFA - Improve text layout

- support paragraph margins, line height, letter spacing, ...
  - compute missing dimensions from fields based almost on the dimensions of caption contents.
This commit is contained in:
Calixte Denizet 2021-07-02 17:53:27 +02:00
parent d80651e572
commit f7d3b22480
5 changed files with 359 additions and 99 deletions

View file

@ -190,6 +190,8 @@
.xfaRich {
white-space: pre-wrap;
width: auto;
height: auto;
}
.xfaImage {
@ -199,11 +201,6 @@
height: 100%;
}
.xfaRich {
width: 100%;
height: auto;
}
.xfaLrTb,
.xfaRlTb,
.xfaTb {