bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#2994: Recent change to font.c:font_load_for_lface affects variable-p


From: Juanma Barranquero
Subject: bug#2994: Recent change to font.c:font_load_for_lface affects variable-pitch face in the modeline
Date: Tue, 14 Apr 2009 18:40:14 +0200

> On Tue, Apr 14, 2009 at 16:21, Miles Bader <miles@gnu.org> wrote:
>
>> Are you sure that's wrong?

All in all, it seems a bug.

After emacs -Q, I set the face for variable-pitch to DejaVu Sans:

  M-: (set-face-font 'variable-pitch "-outline-DejaVu
Sans-normal-normal-normal-sans-13-*-*-*-p-*-iso10646-1") <RET>

and describe-face agrees:

  M-x describe-face <RET> variable-pitch <RET>

Face: variable-pitch (sample) (customize this face)
Documentation: The basic variable-pitch face.
Defined in `faces.el'.

        Family: DejaVu Sans
       Foundry: outline
         Width: normal
        Height: 98
        Weight: normal
         Slant: normal
    Foreground: unspecified
    Background: unspecified
     Underline: unspecified
      Overline: unspecified
Strike-through: unspecified
           Box: unspecified
       Inverse: unspecified
       Stipple: unspecified
          Font: #<font-object -outline-DejaVu
Sans-normal-normal-normal-sans-13-*-*-*-p-*-iso10646-1>
       Fontset: unspecified
       Inherit: unspecified

However, I start a buffer in fundamental-mode, insert a variable-pitch space:

  C-x b test <RET>
  M-: (insert (propertize " " 'face 'variable-pitch)) <RET>

and it is in FreeIdgSerif, according to `describe-char':

        character: SPC (32, #o40, #x20)
preferred charset: ascii (ASCII (ISO646 IRV))
       code point: 0x20
           syntax:      which means: whitespace
         category: .:Base, a:ASCII, l:Latin
      buffer code: #x20
        file code: #x20 (encoded by coding system iso-latin-1-dos)
          display: by this font (glyph code)
    
uniscribe:-outline-FreeIdgSerif-normal-normal-normal-serif-13-*-*-*-p-*-iso10646-1
(#x02)

Character code properties: customize what to show
  name: SPACE
  general-category: Zs (Separator, Space)

There are text properties here:
  face                 variable-pitch


    Juanma






reply via email to

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