Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that the
Widths
array is parsed correctly in `PartialEvaluat…
…or.preEvaluateFont` *Please note:* While I don't have a document that this patches fixes, the current code is however not entirely correct as far as I can tell. Looking at how the `Widths` array is parsed in `PartialEvaluator.extractWidths`, it's clear that the implementation in `PartialEvaluator.preEvaluateFont` is a bit too simplistic. In particular, by only wrapping the data into a TypedArray, there's no attempt to handle *indirect* objects which could potentially lead to colliding `hash`es being computed.
- Loading branch information