-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Images in PDF are scaled to a unit square. In PS we set the ImageMatrix to do the same. When the image is painted we scale the graphics state to paint the image at the right size. In the case of Type 3 fonts consisting of bitmap images we want to paint the images at their original size so we scale the graphics state by the image width and height. The bug was that we were scaling by the width/height in the glyph metrics. For non rotated fonts this worked. However for rotated fonts the width/height of the glyph images may be larger than the width/height in the glyph metrics. This resulted in a Type 3 font where the glyph images were scaled slightly smaller than they should have been.
- Loading branch information
Adrian Johnson
committed
Sep 26, 2008
1 parent
f8542dc
commit 907f550
Showing
3 changed files
with
3 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.