mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
XFA - Fix font scale factors (bug 1720888)
- All the scale factors in for the substitution font were wrong because of different glyph positions between Liberation and the other ones: - regenerate all the factors - Text may have polish chars for example and in this case the glyph widths were wrong: - treat substitution font as a composite one - add a map glyphIndex to unicode for Liberation in order to generate width array for cid font
This commit is contained in:
parent
ac5c4b7fd0
commit
4a4591bd2c
17 changed files with 1614 additions and 1248 deletions
|
@ -53,6 +53,7 @@
|
|||
padding: 0;
|
||||
margin: 0;
|
||||
pointer-events: auto;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.xfaLayer div {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue