unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4178: 23.1; doc bug, Elisp manual: notion of font family is not explained
@ 2009-08-17 17:08 Drew Adams
  0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2009-08-17 17:08 UTC (permalink / raw)
  To: bug-gnu-emacs

Various parts of the Elisp manual refer to font families, but this
concept is nowhere explained (defined).
 
Using `i' in Info shows, for example, when checking for both `font'
and `family', these index entries:
 
`face-font-family-alternatives' `font-family-list' `x-family-fonts'
 
Look at the indexed doc and you will see that it talks about font
families, without ever saying what a font family is. This makes the
doc incomprehensible. Try to understand the `x-family-fonts'
description, for instance, without knowing what a font family is
(which is my case, FWIW).
 
Substitute `zophlog' for `family', then see if you understand:
 
  Function: x-zophlog-fonts &optional zophlog frame
     This function returns a list describing the available fonts for
     zophlog ZOPHLOG on FRAME.  If ZOPHLOG is omitted or `nil', this list
     applies to all zophlogs, and therefore, it contains all available
     fonts.  Otherwise, ZOPHLOG must be a string; it may contain the
     wildcards `?' and `*'.
 
     The list describes the display that FRAME is on; if FRAME is
     omitted or `nil', it applies to the selected frame's display
     (*note Input Focus::).
 
     Each element in the list is a vector of the following form:
 
          [ZOPHLOG WIDTH POINT-SIZE WEIGHT SLANT
           FIXED-P FULL REGISTRY-AND-ENCODING]
 
     The first five elements correspond to face attributes; if you
     specify these attributes for a face, it will use this font.
 
     The last three elements give additional information about the font.
     FIXED-P is non-`nil' if the font is fixed-pitch.  FULL is the full
     name of the font, and REGISTRY-AND-ENCODING is a string giving the
     registry and encoding of the font.
 
That's as much as I understand - essentially nothing. Please define
and explain the notion `font family'.
 
Elisp manual nodes that use the unexplained notion `font family':
 
Faces
Face Attributes
Font Selection
Font Lookup
Fontsets
 
 
 
In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
 







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

* bug#4178: 23.1; doc bug, Elisp manual: notion of font family is not explained
@ 2009-09-12  0:20 Chong Yidong
  2011-07-12 21:00 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2009-09-12  0:20 UTC (permalink / raw)
  To: Drew Adams; +Cc: 4178

> Various parts of the Elisp manual refer to font families, but this
> concept is nowhere explained (defined).

I don't think it's the place of the Emacs manual to define every single
operating system concept, especially one as self-explanatory as "font
family".  But if it makes you happy, I can add it to the glossary.





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

* bug#4178: 23.1; doc bug, Elisp manual: notion of font family is not explained
  2009-09-12  0:20 Chong Yidong
@ 2011-07-12 21:00 ` Lars Magne Ingebrigtsen
  2011-07-12 22:13   ` Chong Yidong
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-12 21:00 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 4178

Chong Yidong <cyd@stupidchicken.com> writes:

>> Various parts of the Elisp manual refer to font families, but this
>> concept is nowhere explained (defined).
>
> I don't think it's the place of the Emacs manual to define every single
> operating system concept, especially one as self-explanatory as "font
> family".  But if it makes you happy, I can add it to the glossary.

I can't seem to find it in the glossary.  On the other hand, I think
this is something that doesn't really belong in the manual.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





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

* bug#4178: 23.1; doc bug, Elisp manual: notion of font family is not explained
  2011-07-12 21:00 ` Lars Magne Ingebrigtsen
@ 2011-07-12 22:13   ` Chong Yidong
  0 siblings, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2011-07-12 22:13 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 4178

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Chong Yidong <cyd@stupidchicken.com> writes:
>
>>> Various parts of the Elisp manual refer to font families, but this
>>> concept is nowhere explained (defined).
>>
>> I don't think it's the place of the Emacs manual to define every single
>> operating system concept, especially one as self-explanatory as "font
>> family".  But if it makes you happy, I can add it to the glossary.
>
> I can't seem to find it in the glossary.  On the other hand, I think
> this is something that doesn't really belong in the manual.

I added a couple of xrefs to the Fonts node in the Emacs manual, from
which the meaning of "font families" should be obvious.  Closing the
bug.





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

end of thread, other threads:[~2011-07-12 22:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-17 17:08 bug#4178: 23.1; doc bug, Elisp manual: notion of font family is not explained Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2009-09-12  0:20 Chong Yidong
2011-07-12 21:00 ` Lars Magne Ingebrigtsen
2011-07-12 22:13   ` Chong Yidong

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).