Issue 78501 - uneven charwidth in non-proportional fonts
Summary: uneven charwidth in non-proportional fonts
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 2.2
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: ms_interoperability, oooqa
Depends on:
Blocks:
 
Reported: 2007-06-14 21:07 UTC by andreschnabel
Modified: 2013-08-07 14:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
testcase (8.08 KB, application/vnd.oasis.opendocument.text)
2007-06-14 21:08 UTC, andreschnabel
no flags Details
screenshot taken on windows, condensed by 2pt (134.11 KB, image/png)
2007-06-15 16:31 UTC, andreschnabel
no flags Details

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

- 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]
testcase
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 hdu@apache.org 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 hdu@apache.org 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
.