Issue 68318

Summary: Character spacing is not correct at very large point size
Product: gsl Reporter: Joe Smith <jes>
Component: codeAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 2.0.3   
Target Milestone: OOo 3.x   
Hardware: PC   
OS: Unix, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 111744    
Attachments:
Description Flags
Sample document demonstrating issue
none
Screenshot of attached document
none
Another demonstration of wrong spacing for large font - font:Courier Size:400,200,100 and 50 none

Description Joe Smith 2006-08-10 08:13:28 UTC
Character spacing errors become more pronounced with larger point-size text. Up
to about 400 points, there is no apparent error in the spacing between
characters. At 800 points, the letters clearly overlap.

Also, if I insert vertical graphic lines, anchored "As Character", to show the
boundaries between characters, the character spacing is changed (even narrower)
compared to having no graphics inserted.

This is shown in the attached document and screenshot.

The problem is apparent in 2.0.2 and 2.0.3 on Linux, but NOT in 2.0.2 on Windows98.

The same problem appears in the document and screenshot attached to Issue 68317.
Comment 1 Joe Smith 2006-08-10 08:14:38 UTC
Created attachment 38388 [details]
Sample document demonstrating issue
Comment 2 Joe Smith 2006-08-10 08:15:20 UTC
Created attachment 38389 [details]
Screenshot of attached document
Comment 3 michael.ruess 2006-08-23 14:03:00 UTC
MRU->HDU: on the last page of the document the problem is visible the best.
There you can see that large characters sligtly overlap.
Comment 4 hdu@apache.org 2006-11-15 14:12:15 UTC
accepted
Comment 5 seyedjafari 2007-02-02 17:03:40 UTC
In following attached file I have demonstrated the same problem with Courier
font.  I use OO v.2.0.4 under Ubuntu Edgy 6.10 - kernel version 2.6.17-10-generic. 
If you set the cursor between each pair of N you see as the font size increases
the right N edge is porportionaly getting closer to the cursor. Changing the
view zoom did not have any affect on these results.
Comment 6 seyedjafari 2007-02-02 17:09:19 UTC
Created attachment 42693 [details]
Another demonstration of wrong spacing for large font - font:Courier Size:400,200,100 and 50
Comment 7 hdu@apache.org 2007-02-05 12:52:02 UTC
hdu->hdu reminder: this happens when the height of the selected font exceeds 64k
pixels on the reference device
Comment 8 hdu@apache.org 2007-02-05 13:18:02 UTC
For the >64k case mentionioned above the resulting logical width is clipped to
the corresponding width at the pixel height for 0xFFFF by freetype:
http://cvs.savannah.gnu.org/viewcvs/freetype/freetype2/src/base/ftobjs.c?r1=1.245&r2=1.246
(=> this problem can be reproduced for freetype versions >=2.2.0rc4 or <=2.1.10)
Comment 9 Martin Hollmichel 2008-01-28 02:31:36 UTC
set target 3.x
Comment 10 Marcus 2017-05-20 11:31:19 UTC
Reset assigne to the default "issues@openoffice.apache.org".