|· Hosting provided by Anduin.net / Øverby Consulting ·|
|Anonymous | Login | Signup for a new account||2015-05-29 10:08 CEST|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0012475||Scribus||Fonts||public||2014-07-04 21:05||2015-02-23 19:04|
|Platform||amd64||OS||Debian GNU/Linux||OS Version||unstable|
|Target Version||1.5.0||Fixed in Version||1.5.0svn|
|Summary||0012475: font spacing/kerning is wrong|
|Description||At least for some fonts, the spacing between certain letters is wrong. I'm using the well known "Crimson Text" font as an example, but I believe the problem is more general.|
The problem is very prominent with the letter combination "ch", where the "c" is so close to "h" that the top of the "c" touches the ascender of the "h". I suspect other letters are affected.
|Steps To Reproduce||Download the Crimson Text font:|
Install the TTF files. In Debian systems, this is achieved by copying the ttf files into the ~/.fonts directory.
Create an empty document
Create a text frame
Open the Story Editor for this text frame
Type in the test word "church" (all lower case)
Select the text, still in Story Edit, and alter the font to be "Crimson Text Italics". Enlarging the font helps show the problem; I used 50 pt.
The text is shown in the main window, typeset incorrectly. Both "ch" pairs are too close together.
Use Ctrl+P to print the document as PostScript.
Use PostScript viewing software (I used Okular) to verify that the document contains the word "church" identically laid out as Scribus shows it.
|Additional Information||I noticed the problem with the Scribus currently distributed with Debian Unstable (1.4.2.dfsg.2+r18267-0.1). I compiled v1.4.4 and 1.4.x (svn://scribus.net/branches/Version14x/Scribus [^]). The problem is present with both these versions.|
I tried compiling v1.4.4 with both QTARTHUR and CAIRO rendering back-ends, both gave the same result when viewed on screen. I didn't try printing for CAIRO backend.
I tried typesetting the same word ("church") using Inkscape, Calligra's Author, and Libreoffice Writer using Crimson Text Italics. These other programs gave (to the eye) identical output. The output seemed reasonable, with correct spacing between "c" and "h".
For comparison, I've uploaded a PNG file created with GIMP that is a composition of typesetting "church" using these different programs.
|Tags||No tags attached.|
|Attached Files|| combined.png [^] (32,787 bytes) 2014-07-04 21:05
|Reproduced on OSX 10.8.5 1.5svn r19322|
edited on: 2014-07-07 19:49
This font has broken OpenType kerning table. The kerning value for the pair of character ('c', 'h') is duplicated, which is wrong according to OpenType specs for GPOS table. So either other tested applications do not use OpenType kerning table, or they mitigate the issue in some way. So better not use that font if that involves any prepress work.
|I've applied a mitigation patch for this issue. In the long term if that patch is not sufficient we may have to fall back to non OpenType kerning for such font however.|
Thanks for the quick response and fix.
I back-ported the patch to 1.4.x branch and can confirm it fixes the problem with 'c' 'h' character-pairs for my document.
Incidentally, did you use a validator to discover the broken kerning table? If so, which one (Microsoft, Adobe, fontforge, ...)? I'd like to give the font author some feedback so hopefully he can fix the problem upstream.
|I found the broken kerning table by using our GPOS table parser. The Microsoft font validator shows however also an array order error in GPOS table. It shows quite a few errors in other tables too btw...|
|2014-07-04 21:05||paulmillar||New Issue|
|2014-07-04 21:05||paulmillar||File Added: combined.png|
|2014-07-07 16:08||Kunda||Note Added: 0032544|
|2014-07-07 16:08||Kunda||Status||new => confirmed|
|2014-07-07 16:08||Kunda||Target Version||=> 1.5.1|
|2014-07-07 19:47||jghali||Note Added: 0032553|
|2014-07-07 19:48||jghali||Note Edited: 0032553||View Revisions|
|2014-07-07 19:49||jghali||Note Edited: 0032553||View Revisions|
|2014-07-07 19:58||jghali||Note Added: 0032554|
|2014-07-07 19:58||jghali||Status||confirmed => resolved|
|2014-07-07 19:58||jghali||Fixed in Version||=> 1.5.0svn|
|2014-07-07 19:58||jghali||Resolution||open => fixed|
|2014-07-07 19:58||jghali||Assigned To||=> jghali|
|2014-07-07 22:14||paulmillar||Note Added: 0032556|
|2014-07-09 23:50||jghali||Note Added: 0032633|
|2014-07-20 00:03||christoph_s||Status||resolved => closed|
|2015-02-23 19:04||cbradney||Target Version||1.5.1 => 1.5.0|
|My View | View Issues | Change Log | Roadmap|
|Copyright © 2000 - 2015 MantisBT Team|