Apache OpenOffice (AOO) Bugzilla – Issue 68318
Character spacing is not correct at very large point size
Last modified: 2017-05-20 11:31:19 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.
Created attachment 38388 [details] Sample document demonstrating issue
Created attachment 38389 [details] Screenshot of attached document
MRU->HDU: on the last page of the document the problem is visible the best. There you can see that large characters sligtly overlap.
accepted
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.
Created attachment 42693 [details] Another demonstration of wrong spacing for large font - font:Courier Size:400,200,100 and 50
hdu->hdu reminder: this happens when the height of the selected font exceeds 64k pixels on the reference device
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)
set target 3.x
Reset assigne to the default "issues@openoffice.apache.org".