Issue 78501

Summary: uneven charwidth in non-proportional fonts
Product: Writer Reporter: andreschnabel <andre.schnabel>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P4 CC: hdu, issues
Version: OOo 2.2Keywords: ms_interoperability, oooqa
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
screenshot taken on windows, condensed by 2pt none

Description andreschnabel 2007-06-14 21:07:21 UTC
under given circumstances OOo will not keep the uniform charwidth of
non-proportional fonts.

The problem is shown in the attached document and can be reproduced with those

- create a new writer doc
- set default style to
  - non-proportional font (e.g. Bitstream Vera Sans mono)
  - spacing Condenced 0.5pt (or more)
- type some lines of text
- apply italic, bold or underlined formatting to some words
-> those words will get a slighlig larger width
Comment 1 andreschnabel 2007-06-14 21:08:58 UTC
Created attachment 45944 [details]
Comment 2 andreschnabel 2007-06-14 21:11:54 UTC
setting ms-interop keyword, as this has been initially been reported as a layout
problem in RTF-Documents(that displays well on MSO)
Comment 3 philipp.lohmann 2007-06-14 21:13:01 UTC
pl->hdu: you or writer ?
Comment 4 2007-06-15 13:16:24 UTC
I can only reproduce it on
- non-Window systems
- where freetype libraries with "autohinting" are active
- the problem is only visible if the font size is relatively small

This seems to be a problem with the freetype autohinter. The autohinter guesses the fixed advance widths 
of  the different faces of a monospaced font differently.
Comment 5 andreschnabel 2007-06-15 16:27:08 UTC
reopened, as I had the problem on Win XP, so this is not freetype related.

as in my initial description you need to set spacing to condensed in OOo
(without that setting all is ok). There is only a very small offset to
italic/underlined characters (therefore P4) - but the problem exists.

The offset becomes larger, the larger the value for "condensed by" ist. 
I'll attach a screenshot.
Comment 6 andreschnabel 2007-06-15 16:31:00 UTC
Created attachment 45963 [details]
screenshot taken on windows, condensed by 2pt
Comment 7 2007-06-18 09:33:49 UTC
@fme: since the problem only affects condensed text the most probable culprit is sw...
Comment 8 frank.meies 2007-06-18 10:12:48 UTC