KWord font metrics

    boemann's picture
    2010
    16
    Jul

    So it's no secret many people are not liking the font rendering in KOffice (they often say KWord, but it applies to all of KOffice). As it has been suggested a couple of times you need to turn the global font hinting down to slight to improve the rendering. I know this is unacceptable to some as they feel the system fonts look worse. Now, hinting or not is a religion and personally I like no hinting, but I respect that other people feel differently. So what we need is a way to make font rendering in KOffice only slightly hinted while respecting the users wishes for every other thing. This is however not possible in Qt as we speak, but it might be in the future.

    Right now what we can do is improve the font metrics, meaning the text on screen will look like what you see when printed and like it looks in various other word processors. This is is not about how the letters look, but about how they are spaced. But for your information, in the below screenshots, the hinting is set to slight (and obviously the subpixel rendering is off as all people should do when creating screenshots)

    First a shot of how KOffice currently looks:

    And then a shot of how KOffice will look with improved font metrics. Notice, how the letters are more evenly space in the word "look", and how the line length scale proportionally with the font size. To me this a big win. On the downside the distance between the IIIs are a bit more uneven (but really who writes a lot of IIIs)

    So what do you think. Is this an improvement or not. It for sure is an improvement of WYSIWYG (interoperability with other word processors, printing and export to pdf). Now the question is if it has a downside to the editing user. So what do you think?

    Comments

    Comment viewing options

    Select your preferred way to display the comments and click "Save settings" to activate your changes.
    boemann's picture

    It's commited

    It's commited

    mattr's picture

    Awesome!

    The second screenshot looks much improved. I'm looking forward to seeing this in a future KOffice release.

    dotancohen's picture

    Do it.

    For these two reasons:
    1) That's how the text will look when printed
    2) That's how other users will see your documents.

    In my experience (anecdotal) many word processor documents are shared, either by printing or by electronic transfer. Interoperability is a must. The fact that it just looks nicer is only a side benefit.

    fri13's picture

    Improvement or not?

    I think the new metric is definetly improvement. The font size is growing incredimental size and not in steps like in first screenshot.

    What I want to know is how does the text render by the same text in different office applications (mainly OpenOffice.org vs KWord).

    Like select same page size, page margins, font and font size. Then write normally as many sentences until you come to in the end of the row so adding one letter would move the whole word to new row. Delete the last letter so the text in one row and copy it to other office application.

    Is the text lenght the same or did there come more space / less space?

    That is one very very important feature in office applications that when having same typesettings, the letter space is same so when you write something specifically so it ends just in the end of the line, it does not wrap to other row or be short in the other application.

    Just keep the new version (second) as it really is showing the font size. (unless it brakes even more the font size what I explained above).

    boemann's picture

    Yeah I've written a full page

    Yeah I've written a full page worth of text in a single paragraph, and all the way down KWord, MS Word and OOo now break the lines in the same place.

    That is what I meant by interoperability.

    saschpe's picture

    The l's

    This may be an optical illusion but the l's seem to be vertically misalligned in both screenshots.

    boemann's picture

    oh they are, but I just think

    oh they are, but I just think it looks worse in the second screenshot

    Comment viewing options

    Select your preferred way to display the comments and click "Save settings" to activate your changes.