Bug 11575 - Spaces between glyphs
Summary: Spaces between glyphs
Status: RESOLVED NOTOURBUG
Alias: None
Product: DejaVu
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Werner Lemberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-12 14:10 UTC by Ben Laenen
Modified: 2008-12-06 11:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Screenshot of spaces between characters (29.01 KB, image/png)
2007-07-12 14:11 UTC, Ben Laenen
Details

Description Ben Laenen 2007-07-12 14:10:02 UTC
[Imported here from our mailing list for future reference]

Reported by John Boncek:

I installed DejaVu Sans under MontaVista Linux / X Windows and got display
with way too much space between characters, like this, 

        c  h  a  r  a  c  t  e  r  s    s  p  a  c  e  d    o  u  t

in all text strings using both English (Latin) and Arabic characters.
Other fonts already on the system still look OK.  This font looks this way
in the xfontsel utility as well as in application programs.  I am new to
font installation so I suspect I neglected to run some configuration
utility or modify some configuration file that's needed.  I used 

        ttmkfdir -o fonts.scale
        mkfontdir

as instructed in this system.  Does the above appearance suggest what I am
missing?  Thanks for your attention.
Comment 1 Ben Laenen 2007-07-12 14:11:56 UTC
Created attachment 10704 [details]
Screenshot of spaces between characters

Screenshot
Comment 2 Ben Laenen 2007-07-12 14:17:26 UTC
Cause of this bug:

ttmkfdir puts wrong data in the fonts.scale file. It makes the DejaVu fonts "character cell" fonts instead of normal "proportional" ones. This happens because of a dumb test in ttmkfdir.



How to solve this:

You have to manually override this in your fonts.scale file. The lines

DejaVuSans.ttf -misc-DejaVu Sans-medium-r-normal--0-0-0-0-c-0-iso8859-1
                            c here means character cell: ^^^

should become

DejaVuSans.ttf -misc-DejaVu Sans-medium-r-normal--0-0-0-0-p-0-iso8859-1

with the p from proportional.

After this you have to run the
  mkfontdir
command.
Comment 3 Nicolas Mailhot 2008-12-06 11:25:22 UTC
Mass move of freetype bugs to the new freetype product
Comment 4 Nicolas Mailhot 2008-12-06 11:27:49 UTC
Reopen the NOTOURBUG reports now they're correctly affected
Comment 5 Ben Laenen 2008-12-06 11:33:39 UTC
Nicolas, this has nothing to do with freetype...


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.