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

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

Create-fontset-from-fontset-spec in Gnu Emacs 23.0.0


From: Peter Dyballa
Subject: Create-fontset-from-fontset-spec in Gnu Emacs 23.0.0
Date: Thu, 3 May 2007 13:24:53 +0200

Hello!

There is a slight difference in the documentation of create-fontset- from-fontset-spec between GNU Emacs 22.x and GNU Emacs 23, the latter has an additional:

        When a frame uses the fontset as the `font' parameter, the frame's
        default font name is derived from FONTSET-NAME by substituting
        "iso8859-1" for the tail part "fontset-XXX".  But, if SCRIPT-NAMEn
        is "ascii", use the corresponding FONT-NAMEn as the default font
        name.

Such a fontset definition can be:

        (create-fontset-from-fontset-spec
"-*-courier new-medium-r-*-*-10-*-*-*-*-*- fontset-10pt_courier_new,
             latin-iso8859-1:-*-courier new-medium-r-*-mac-*,
             latin-iso8859-2:-*-courier new-medium-r-*-mac-*,
             latin-iso8859-3:-*-courier new-medium-r-*-mac-*,
             latin-iso8859-4:-*-courier new-medium-r-*-mac-*,
          cyrillic-iso8859-5:-*-courier new-medium-r-*-mac-*,
            arabic-iso8859-6:-*-courier new-medium-r-*-mac-*,
             greek-iso8859-7:-*-courier new-medium-r-*-mac-*,
            hebrew-iso8859-8:-*-courier new-medium-r-*-mac-*,
             latin-iso8859-9:-*-courier new-medium-r-*-mac-*,
            latin-iso8859-10:-*-courier new-medium-r-*-mac-*,
            latin-iso8859-13:-*-courier new-medium-r-*-mac-*,
            latin-iso8859-14:-*-courier new-medium-r-*-mac-*,
            latin-iso8859-15:-*-courier new-medium-r-*-mac-*,
            latin-iso8859-16:-*-courier new-medium-r-*-mac-*,
             mac-roman-lower:-*-courier new-medium-r-*-mac-*,
             mac-roman-upper:-*-courier new-medium-r-*-mac-*,
      mule-unicode-0100-24ff:-*-courier new-medium-r-*-mac-*,
      mule-unicode-2500-33ff:-*-courier new-medium-r-*-mac-*,
      mule-unicode-e000-ffff:-*-courier new-medium-r-*-mac-*,
                  iso10646-1:-*-courier new-medium-r-*-mac-*,
                       ascii:-*-courier new-medium-r-*-mac-*")

My question is: what is the visible difference when I omit the ``ascii:´´ part? What will make GNU Emacs use more Courier than other glyphs? Will omitting the ``ascii:´´ part improve the display of Unicode characters as the last cited sentence of the documentation suggests? Or is it the other way 'round by enabling the use of the whole font and not only the ISO 8859-1 subset?

--
Greetings

  Pete

The light at the end of the tunnel has been turned off due to budget cuts.






reply via email to

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