emacs-devel
[Top][All Lists]
Advanced

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

Re: another font-selection inconsistency


From: Miles Bader
Subject: Re: another font-selection inconsistency
Date: Tue, 10 Jun 2008 20:48:34 +0900

It seems to be the "foundry" info that makes the difference -- using
(set-face-attribute 'default nil :family "unknown-Dejavu Sans Mono"
:height 100) works "properly" even the first time.

A bit confusing, as I don't think most users think about the foundry much,
especially when there's only one font by that family name.

Here's what fc-list says btw:

   $ env - HOME=/tmp fc-list 'Dejavu Sans Mono' file family foundry
   /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf: DejaVu Sans 
Mono:foundry=unknown
   /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf: DejaVu 
Sans Mono:foundry=unknown
   /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf: DejaVu Sans 
Mono:foundry=unknown
   /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf: DejaVu Sans 
Mono:foundry=unknown

   $ env - HOME=/tmp fc-list 'Dejavu Sans Mono:foundry=unknown' file family 
foundry
   /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf: DejaVu Sans 
Mono:foundry=unknown
   /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf: DejaVu 
Sans Mono:foundry=unknown
   /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf: DejaVu Sans 
Mono:foundry=unknown
   /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf: DejaVu Sans 
Mono:foundry=unknown

   $ env - HOME=/tmp fc-list 'Dejavu Sans Mono:foundry=dejavu' file family 
foundry

-Miles


-- 
Philosophy, n. A route of many roads leading from nowhere to nothing.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]