emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/doc/emacs/msdog.texi,v


From: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/doc/emacs/msdog.texi,v
Date: Thu, 07 Feb 2008 21:50:14 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Jason Rumney <jasonr>   08/02/07 21:50:14

Index: msdog.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/emacs/msdog.texi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- msdog.texi  22 Jan 2008 23:53:33 -0000      1.2
+++ msdog.texi  7 Feb 2008 21:50:14 -0000       1.3
@@ -35,6 +35,7 @@
 * Windows Mouse::       Windows-specific mouse features.
 * Windows Processes::   Running subprocesses on Windows.
 * Windows Printing::    How to specify the printer on MS-Windows.
+* Windows Fonts::       Specifying fonts on MS-Windows.
 * Windows Misc::        Miscellaneous Windows features.
 @ifnottex
 * MS-DOS::              Using Emacs on MS-DOS (otherwise known as 
@dfn{MS-DOG}).
@@ -174,8 +175,8 @@
   If the variable @code{w32-get-true-file-attributes} is
 address@hidden (the default), Emacs tries to determine the accurate
 link counts for files.  This option is only useful on NTFS volumes,
-and it considerably slows down Dired and other features, so use it
-only on fast machines.
+and it considerably slows down Dired and other features, so disable it
+on slow machines.
 
 @node ls in Lisp
 @section Emulation of @code{ls} on MS-Windows
@@ -332,12 +333,11 @@
 directory pointed by @env{HOME}.  If @env{HOME} is not defined, Emacs
 checks for an existing @file{.emacs} file in @file{C:\}, the root
 directory of drive @file{C:address@hidden
-The check in @file{C:\} is in preference to the application data
-directory for compatibility with older versions of Emacs, which didn't
-check the application data directory.
+The check in @file{C:\} is for compatibility with older versions of Emacs,
+which didn't check the application data directory.
 }.  If there's no such file in @file{C:\}, Emacs next uses the Windows
 system calls to find out the exact location of your application data
-directory.  If that fails as well, Emacs falls back to @file{C:\}.
+directory.  If that system call fails, Emacs falls back to @file{C:\}.
 
   Whatever the final place is, Emacs sets the value of the @env{HOME}
 environment variable to point to it, and it will use that location for
@@ -588,12 +588,12 @@
 different default values on MS-DOS and MS-Windows.
 
   Emacs on Windows automatically determines your default printer and
-sets the variable @var{printer-name} to that printer's name.  But in
+sets the variable @code{printer-name} to that printer's name.  But in
 some rare cases this can fail, or you may wish to use a different
 printer from within Emacs.  The rest of this section explains how to
 tell Emacs which printer to use.
 
address@hidden address@hidden, (MS-DOS/MW-Windows)}
address@hidden address@hidden, (MS-DOS/MS-Windows)}
   If you want to use your local printer, then set the Lisp variable
 @code{lpr-command} to @code{""} (its default value on Windows) and
 @code{printer-name} to the name of the printer port---for example,
@@ -722,6 +722,94 @@
 (This assumes that Ghostscript is installed in the
 @file{D:/gs6.01} directory.)
 
address@hidden Windows Fonts
address@hidden Specifying Fonts on MS-Windows
address@hidden font specification (MS Windows)
+
+  Starting with Emacs 23, fonts are specified by their name, size
+and optional properties. The format for specifying fonts comes from the
+fontconfig library used in modern Free desktops.
+
address@hidden
+  [Family[-PointSize]][:Option1=Value1[:Option2=Value2[...]]]
address@hidden example
+
+  The old XLFD based format is also supported for backwards compatibility.
+
+  Emacs 23 supports a number of backends. Currently on Windows the @code{gdi}
+  font backend is supported.
+
address@hidden font properties (MS Windows)
address@hidden
+Optional properties common to all font backends on MS-Windows are:
+
address@hidden font-weight-table @r{(MS-Windows)}
+   @code{weight} specifies the weight of the font. Special values @code{light},
address@hidden, @code{demibold}, @code{bold} and @code{black} can be specified
+without the @code{weight=} (eg @samp{Courier New-12:bold}).  Otherwise
+the weight should be a numeric value between 100 and 900, or one of the
+named weights in @code{font-weight-table}. If unspecified, a regular font
+is assumed.
+
address@hidden font-slant-table @r{(MS-Windows)}
+  @code{slant} specifies whether the font is italic. Special values
address@hidden, @code{italic} and @code{oblique} can be specified
+without the @code{slant=} (eg @samp{Courier New-12:italic}).
+Otherwise the weight should be a numeric value, or one of the named
+slants in @code{font-slant-table}.  On Windows, any slant above 150 is
+treated as italic, and anything below as roman.
+
+  @code{family} specifies the font family, but normally this will be specified
+at the start of the font name.
+
+  @code{pixelsize} specifies the font size in pixels. This can be used instead
+of the point size specified after the family name.
+
+  @code{adstyle} specifies additional style information for the font.
+On MS-Windows, the values @code{mono}, @code{sans}, @code{serif},
address@hidden and @code{decorative} are recognized. These are most useful
+as a fallback with the font family left unspecified.
+
address@hidden w32-charset-info-alist
+  @code{registry} specifies the character set registry that the font is
+expected to cover. Most Truetype and Opentype fonts will be unicode fonts
+that cover several national character sets, but you can narrow down the
+selection of fonts to those that support a particular character set by
+using a specific registry from @code{w32-charset-info-alist} here.
+
+  @code{spacing} specifies how the font is spaced. @code{p} specifies
+a proportional font, and @code{m} or @code{c} specify a monospaced font.
+
+  @code{foundry} is not used on Windows, but for informational purposes and to
+prevent problems with code that expects it to be set, is set internally to
address@hidden for bitmapped fonts, @code{outline} for scalable fonts,
+or @code{unknown} if the type cannot be determined as one of those.
+
address@hidden font properties (MS Windows gdi backend)
+Options specific to @code{GDI} fonts
+
address@hidden font scripts (MS Windows)
address@hidden font unicode subranges (MS Windows)
+  @code{script} specifies a unicode subrange the font should support.
+Scripts recognized on Windows are @code{latin}, @code{greek}, @code{coptic},
address@hidden, @code{armenian}, @code{hebrew}, @code{arabic},
address@hidden, @code{nko}, @code{thaana}, @code{devanagari}, @code{bengali},
address@hidden, @code{gujarati}, @code{oriya}, @code{tamil}, @code{telugu},
address@hidden, @code{malayam}, @code{sinhala}, @code{thai}, @code{lao},
address@hidden, @code{myanmar}, @code{georgian}, @code{hangul},
address@hidden, @code{cherokee}, @code{canadian-aboriginal}, @code{ogham},
address@hidden, @code{khmer}, @code{mongolian}, @code{symbol}, @code{braille},
address@hidden, @code{ideographic-description}, @code{cjk-misc}, @code{kana},
address@hidden, @code{kanbun}, @code{yi}, @code{byzantine-musical-symbol},
address@hidden, and @code{mathematical}.
+
address@hidden font antialiasing (MS Windows)
+  @code{antialias} specifies the antialiasing to use for the font. @code{none}
+means no antialiasing, @code{standard} means use standard antialiasing,
address@hidden means use subpixel antialiasing (known as Cleartype on Windows),
address@hidden means use subpixel antialiasing with adjusted spacing between
+letters. If unspecified, the font will use the system default antialiasing.
+
 @node Windows Misc
 @section Miscellaneous Windows-specific features
 




reply via email to

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