[Top][All Lists]
[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: |
Mon, 25 Feb 2008 20:24:42 +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>, Jason Rumney <address@hidden> writes:
> Kenichi Handa wrote:
> > 2008-02-01 Jason Rumney <address@hidden>
> >
> > * font.c (font_parse_fcname): Default weight and slant to normal.
> >
> > Jason, could you explain why we should set the default
> > values for weight and slant in font_parse_fcname?
> >
> Without that, the weight and slant were uninitialised, and Emacs was
> randomly opening italic and bold fonts, at least on Windows.
On X also, if we start Emacs with, for instance, "-fn
-*-fixed-*--16-*-iso8859-1", Emacs may use an italic font
(even without font-backend), which is the same as xterm.
It's upto the behaviour of font backend. For instance, with
Xft font-backend, as it uses fontconfig library for font
selection and fontconfig has system wide default preference,
"-fn monospace-12" will results in non-italic, non-bold
font.
If we are going to implement the feature "prefer normal
style font if a user doesn't specify anything", I think it
should be done in the different place, not in
font_parse_fcname.
---
Kenichi Handa
address@hidden
- Problem with narrow vs condensed fonts, Stefan Monnier, 2008/02/18
- Re: Problem with narrow vs condensed fonts, Lennart Borgman (gmail), 2008/02/18
- Re: Problem with narrow vs condensed fonts, Andreas Schwab, 2008/02/24
- Re: Problem with narrow vs condensed fonts, Andreas Schwab, 2008/02/25
- Re: Problem with narrow vs condensed fonts, Stefan Monnier, 2008/02/25
- Re: Problem with narrow vs condensed fonts, Kenichi Handa, 2008/02/25
- Re: Problem with narrow vs condensed fonts, Stefan Monnier, 2008/02/25
- Re: Problem with narrow vs condensed fonts, Kenichi Handa, 2008/02/25
- Re: Problem with narrow vs condensed fonts, Stefan Monnier, 2008/02/25
- Re: Problem with narrow vs condensed fonts, Stefan Monnier, 2008/02/25
- Re: Problem with narrow vs condensed fonts, Jason Rumney, 2008/02/26
- Re: Problem with narrow vs condensed fonts, Kenichi Handa, 2008/02/26