Bug 691778 - Text is horizontally offset from correct position
Summary: Text is horizontally offset from correct position
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Regression (show other bugs)
Version: 9.00
Hardware: Macintosh MacOS X
: P4 normal
Assignee: Chris Liddell (chrisl)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-17 00:05 UTC by Eric
Modified: 2010-12-09 15:40 UTC (History)
2 users (show)

See Also:
Customer:
Word Size: ---


Attachments
Two BMP renderings and their PS source (101.81 KB, application/zip)
2010-11-17 00:05 UTC, Eric
Details

Note You need to log in before you can comment on or make changes to this bug.
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.