emacs-devel
[Top][All Lists]
Advanced

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

Re: Problem with narrow vs condensed fonts


From: Kenichi Handa
Subject: Re: Problem with narrow vs condensed fonts
Date: Tue, 26 Feb 2008 12:10:13 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, Stefan Monnier <address@hidden> writes:

> > But, as you changed the numeric value of of `normal' weight
> > from 100 to 101, ftfont_list doesn't include regular weight
> > font (most of ttf has regular weight).

> Why does it only accept an exact-match?

Because that's the spec I desided for that API of (struct
font_driver *)->list.  I wanted to distinguish required
(i.e. mandatory) font-spec and preferred font-spec.  `list'
returns fonts matching with a required spec, and
font-selection routine find a font besting matching with
preferred spec from them.

So, we should not give FONT-SPEC containing just preferred
specs to `list'.

---
Kenichi Handa
address@hidden




reply via email to

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