Extra pixel between characters in monospace font

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Around 15 o'clock on Jan 10, "Gilles Boccon-Gibod" wrote:

> The problem is that when I use the font in a gnome-based application, such
> as gnome-terminal, or KDE application like konsole, the glyphs have an
> extra single pixel inserted between them, so the spacing is too wide. For
> instance, two underscore characters (__), will be displayed with a
> one-pixel gap between them.

It's likely that some glyph in the font is wider than expected and pushes 
all of the other glyphs out a bit; Xft enforces the monospace attribute by 
setting all of the glyph advance values to the maximum advertised in the 
font when directed to use monospaced fonts by an application.  Firefox 
doesn't request monospacing, so the font isn't adjusted in that 
environment.

Note that the .pcf.gz fonts which work fine for me do not exhibit this 
problem; it may be an issue with the OpenType transformation application.

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20050110/ff9d4d3f/attachment.pgp

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux