unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] emacs-25 bc0903d: C-u C-x = example doc fix
       [not found] ` <E1aOKTW-0008Fr-Te@vcs.savannah.gnu.org>
@ 2016-01-27 15:56   ` Ken Brown
  2016-01-27 16:04     ` Kaushal Modi
  0 siblings, 1 reply; 6+ messages in thread
From: Ken Brown @ 2016-01-27 15:56 UTC (permalink / raw)
  To: emacs-devel, Paul Eggert

On 1/27/2016 2:25 AM, Paul Eggert wrote:
> -    xft:-unknown-DejaVu Sans Mono-normal-normal-
> +    xft:-PfEd-DejaVu Sans Mono-normal-normal-

FWIW, "xft:-unknown-DejaVu Sans Mono-normal-normal-" is still what I see 
on my system.  But since this is just an example, I guess it doesn't matter.

Ken




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Emacs-diffs] emacs-25 bc0903d: C-u C-x = example doc fix
  2016-01-27 15:56   ` [Emacs-diffs] emacs-25 bc0903d: C-u C-x = example doc fix Ken Brown
@ 2016-01-27 16:04     ` Kaushal Modi
  2016-01-27 16:20       ` Paul Eggert
  0 siblings, 1 reply; 6+ messages in thread
From: Kaushal Modi @ 2016-01-27 16:04 UTC (permalink / raw)
  To: Ken Brown, emacs-devel, Paul Eggert

[-- Attachment #1: Type: text/plain, Size: 1577 bytes --]

That probably depends on the font you set in ~/.Xdefaults?

I get

             position: 146 of 146 (99%), column: 0
            character: ê (displayed as ê) (codepoint 234, #o352, #xea)
    preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0xEA
               script: latin
               syntax: w which means: word
             category: .:Base, L:Left-to-right (strong), c:Chinese,
j:Japanese, l:Latin, v:Viet
             to input: type "C-x 8 RET ea" or "C-x 8 RET LATIN SMALL LETTER
E WITH CIRCUMFLEX"
          buffer code: #xC3 #xAA
            file code: #xC3 #xAA (encoded by coding system utf-8-unix)
              display: by this font (glyph code)
    xft:-unknown-PragmataPro-normal-normal-normal-*-17-*-*-*-m-0-iso10646-1
(#xAC)

Character code properties: customize what to show
  name: LATIN SMALL LETTER E WITH CIRCUMFLEX
  old-name: LATIN SMALL LETTER E CIRCUMFLEX
  general-category: Ll (Letter, Lowercase)
  decomposition: (101 770) ('e' '̂')

There are text properties here:
  fontified            nil

and I have this in my ~/.Xdefaults

emacs*font: PragmataPro
emacs*geometry: 80x24


On Wed, Jan 27, 2016 at 10:56 AM Ken Brown <kbrown@cornell.edu> wrote:

> On 1/27/2016 2:25 AM, Paul Eggert wrote:
> > -    xft:-unknown-DejaVu Sans Mono-normal-normal-
> > +    xft:-PfEd-DejaVu Sans Mono-normal-normal-
>
> FWIW, "xft:-unknown-DejaVu Sans Mono-normal-normal-" is still what I see
> on my system.  But since this is just an example, I guess it doesn't
> matter.
>
> Ken
>
>
>

[-- Attachment #2: Type: text/html, Size: 2348 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Emacs-diffs] emacs-25 bc0903d: C-u C-x = example doc fix
  2016-01-27 16:04     ` Kaushal Modi
@ 2016-01-27 16:20       ` Paul Eggert
  2016-01-27 16:35         ` Kaushal Modi
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Eggert @ 2016-01-27 16:20 UTC (permalink / raw)
  To: Kaushal Modi, Ken Brown, emacs-devel

Kaushal Modi wrote:
> That probably depends on the font you set in ~/.Xdefaults?

I used emacs -Q on Fedora 23, displaying on Ubuntu 15.10. -Q should bypass 
.Xdefaults. I have no idea what "PfEd" means.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Emacs-diffs] emacs-25 bc0903d: C-u C-x = example doc fix
  2016-01-27 16:20       ` Paul Eggert
@ 2016-01-27 16:35         ` Kaushal Modi
  2016-01-27 17:45           ` Paul Eggert
  0 siblings, 1 reply; 6+ messages in thread
From: Kaushal Modi @ 2016-01-27 16:35 UTC (permalink / raw)
  To: Paul Eggert, Ken Brown, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 2259 bytes --]

> I used emacs -Q on Fedora 23, displaying on Ubuntu 15.10. -Q should
bypass .Xdefaults. I have no idea what "PfEd" means.

In that case, I also get

xft:-unknown-DejaVu Sans
Mono-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1 (#xAC)

no "PfEd".

        position: 146 of 146 (99%), column: 0
            character: ê (displayed as ê) (codepoint 234, #o352, #xea)
    preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0xEA
               script: latin
               syntax: w which means: word
             category: .:Base, L:Left-to-right (strong), c:Chinese,
j:Japanese, l:Latin, v:Viet
             to input: type "C-x 8 RET ea" or "C-x 8 RET LATIN SMALL LETTER
E WITH CIRCUMFLEX"
          buffer code: #xC3 #xAA
            file code: #xC3 #xAA (encoded by coding system utf-8-unix)
              display: by this font (glyph code)
    xft:-unknown-DejaVu Sans
Mono-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1 (#xAC)

Character code properties: customize what to show
  name: LATIN SMALL LETTER E WITH CIRCUMFLEX
  old-name: LATIN SMALL LETTER E CIRCUMFLEX
  general-category: Ll (Letter, Lowercase)
  decomposition: (101 770) ('e' '̂')

There are text properties here:
  fontified            nil



Here is my build info if that helps:

Emacs version: GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version
2.24.23)
 of 2016-01-27, built using commit b88e9cded7ae3756e3a2ec4a23e8df352a0239f9.

./configure options:
  --prefix=/home/kmodi/usr_local/apps/6/emacs/emacs-25
'CPPFLAGS=-fgnu89-inline -I/home/kmodi/usr_local/6/include
-I/usr/include/freetype2 -I/usr/include' 'CFLAGS=-ggdb3 -O0'
'CXXFLAGS=-ggdb3 -O0' 'LDFLAGS=-L/home/kmodi/usr_local/6/lib
-L/home/kmodi/usr_local/6/lib64 -ggdb3'

Features:
  XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK2 X11


On Wed, Jan 27, 2016 at 11:20 AM Paul Eggert <eggert@cs.ucla.edu> wrote:

> Kaushal Modi wrote:
> > That probably depends on the font you set in ~/.Xdefaults?
>
> I used emacs -Q on Fedora 23, displaying on Ubuntu 15.10. -Q should bypass
> .Xdefaults. I have no idea what "PfEd" means.
>

[-- Attachment #2: Type: text/html, Size: 3310 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Emacs-diffs] emacs-25 bc0903d: C-u C-x = example doc fix
  2016-01-27 16:35         ` Kaushal Modi
@ 2016-01-27 17:45           ` Paul Eggert
  2016-01-27 18:08             ` Kaushal Modi
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Eggert @ 2016-01-27 17:45 UTC (permalink / raw)
  To: Kaushal Modi, Ken Brown, emacs-devel

On 01/27/2016 08:35 AM, Kaushal Modi wrote:
> no "PfEd".

I looked into it a bit. PfEd is the foundry name. "PfEd" is short for 
"PfaEdit", the former name of FontForge. The string "PfEd" appears in 
the binary file /usr/share/fonts/dejavu/DejaVuSansMono.ttf and comes 
from the line "OS2Vendor: 'PfEd'" in 
dejavu-fonts-2.35/src/DejaVuSansMono.sfd. Perhaps other font generators, 
or older versions of FontForge, or older versions of this font, don't 
fill in the foundry field, which would explain why you're seeing 
"unknown" rather than "PfEd". See:

http://sourceforge.net/p/fontforge/git/ci/master/tree/fontforge/PfEd.h
https://raw.githubusercontent.com/dejavu-fonts/dejavu-fonts/master/src/DejaVuSansMono.sfd

I doubt whether this level of trivia needs to be in the manual, but 
figured that if other people were curious about that 'PfEd' they might 
appreciate the info.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Emacs-diffs] emacs-25 bc0903d: C-u C-x = example doc fix
  2016-01-27 17:45           ` Paul Eggert
@ 2016-01-27 18:08             ` Kaushal Modi
  0 siblings, 0 replies; 6+ messages in thread
From: Kaushal Modi @ 2016-01-27 18:08 UTC (permalink / raw)
  To: Paul Eggert, Ken Brown, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]

> if other people were curious about that 'PfEd' they might appreciate the
info.

I was certainly happy to learn about that. Thanks for digging up that info.

On Wed, Jan 27, 2016 at 12:45 PM Paul Eggert <eggert@cs.ucla.edu> wrote:

> On 01/27/2016 08:35 AM, Kaushal Modi wrote:
> > no "PfEd".
>
> I looked into it a bit. PfEd is the foundry name. "PfEd" is short for
> "PfaEdit", the former name of FontForge. The string "PfEd" appears in
> the binary file /usr/share/fonts/dejavu/DejaVuSansMono.ttf and comes
> from the line "OS2Vendor: 'PfEd'" in
> dejavu-fonts-2.35/src/DejaVuSansMono.sfd. Perhaps other font generators,
> or older versions of FontForge, or older versions of this font, don't
> fill in the foundry field, which would explain why you're seeing
> "unknown" rather than "PfEd". See:
>
> http://sourceforge.net/p/fontforge/git/ci/master/tree/fontforge/PfEd.h
>
> https://raw.githubusercontent.com/dejavu-fonts/dejavu-fonts/master/src/DejaVuSansMono.sfd
>
> I doubt whether this level of trivia needs to be in the manual, but
> figured that if other people were curious about that 'PfEd' they might
> appreciate the info.
>

[-- Attachment #2: Type: text/html, Size: 1822 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-27 18:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20160127072510.31598.13597@vcs.savannah.gnu.org>
     [not found] ` <E1aOKTW-0008Fr-Te@vcs.savannah.gnu.org>
2016-01-27 15:56   ` [Emacs-diffs] emacs-25 bc0903d: C-u C-x = example doc fix Ken Brown
2016-01-27 16:04     ` Kaushal Modi
2016-01-27 16:20       ` Paul Eggert
2016-01-27 16:35         ` Kaushal Modi
2016-01-27 17:45           ` Paul Eggert
2016-01-27 18:08             ` Kaushal Modi

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).