Bug 691778

Summary: Text is horizontally offset from correct position
Product: Ghostscript Reporter: Eric <ericw>
Component: RegressionAssignee: Chris Liddell (chrisl) <chris.liddell>
Status: RESOLVED FIXED    
Severity: normal CC: alex, chris.liddell
Priority: P4    
Version: 9.00   
Hardware: Macintosh   
OS: MacOS X   
Customer: Word Size: ---
Attachments: Two BMP renderings and their PS source

Description Eric 2010-11-17 00:05:04 UTC
Created attachment 6914 [details]
Two BMP renderings and their PS source

This is a regression in 9.00 relative to 8.71.

To center some text around a point, the length of the text is calculated and the current point moved to the left one half of the calculated length. The text is then shown.

In 8.71, the text is rendered in the correct position.

In 9.00, the text is offset to the right by a significant distance.

The attached archive contains cropped 600dpi renderings of the included PS source created using GS 8.71 and GS 9.00.

Notably, this issue was not present in one of the Release Candidates of 9.00.

This bug may be related to bug 691777, which also involves horizontal offset of shown text.
Comment 1 Alex Cherepanov 2010-11-18 18:17:51 UTC
This problem first appears in the rev. 11071 on Linux.
The problem goes away when gs is configured with --disable-freetype
Comment 2 Chris Liddell (chrisl) 2010-12-09 15:40:19 UTC
resolved in r11943.