[Pkg-fonts-devel] Bug#426125: Bug#426125: ttf-dejavu: Can't select condensed font

Ming Hua minghua at ubuntu.com
Sun May 27 03:06:30 UTC 2007


Hi Alex,

On Sat, May 26, 2007 at 02:44:31PM +0200, Alejandro Exojo Piqueras wrote:
> 
> Since versions newer than 2.8-1, I can't select DejaVu Condensed.
> 
> I had configured this font in KDE's control center to show in some
> places, and it still works where it's configured, but if I change it,
> it's impossible to select it back (it's also impossible to choose it for
> a new place). I tried to choose it also in OpenOffice.org, but I couldn't.

Have you tried any GTK apps?  On my unstable system, I see the same
thing in OpenOffice, but in GTK apps (tested in gedit and leafpad) I can
choose the condensed font.  In the GTK font selection window, there is
no "DejaVu Sans Condensed" family, only "DejaVu Sans" family, but in
this family you can choose styles from "Book", "Condensed", "Bold",
"Condensed Bold", etc.  Choosing "Condensed" style gives the correct
font.

I don't use KDE so can't test the Qt/KDE part.

> I tried selecting it directly in 'font' and selecting DejaVu Sans and
> condensed under 'typeface', 'style', or whatever it's called in that
> program.
> 
> Thanks in advance, and sorry if I missed something, but I tried very
> hard to configure any application, and my only result is manually
> editing configuration files, because "fc-match 'dejavu sans condensed'"
> gives an apparently valid result.

Looking at the result of "fc-list 'DejaVu Sans Condensed'", I have

DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique
DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique
DejaVu Sans,DejaVu Sans Condensed:style=Condensed,Book
DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold,Bold

Note that each font has two names, "DajaVu Sans" and "DejaVu Sans
Condensed".  Maybe KDE and OO.o got confused and only used the first
name?

Ming
2007.05.26




More information about the Pkg-fonts-devel mailing list