@imgly/pdf-importer 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/browser.js +11 -11
- package/dist/node.cjs +11 -11
- package/dist/node.js +11 -11
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @imgly/pdf-importer
|
|
2
2
|
|
|
3
|
+
## 0.2.1
|
|
4
|
+
|
|
5
|
+
### Fidelity fixes
|
|
6
|
+
|
|
7
|
+
- Fixed later fragments of a colored text run being imported as default black. A producer can draw one styled run (e.g. white "FOR DUTY") that pdf.js splits into several kerned text items; the walker records one color snapshot per `showText`, so an earlier fragment consumed the run's only snapshot and a later fragment fell through to a `null` fill (painted as default RGB black). A later fragment now inherits the fill from a consumed same-line sibling when the donors are fill-painting (render modes 0/2/4/6), sit within a width-scaled horizontal window, and unanimously agree on one color; it falls back to the safe `null` path otherwise.
|
|
8
|
+
|
|
3
9
|
## 0.2.0
|
|
4
10
|
|
|
5
11
|
### Text
|