aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2008-02-09 14:06:47 +0000
committerEli Zaretskii2008-02-09 14:06:47 +0000
commit87e391bb24d57ce8c27226542ba11ea5f924689d (patch)
treede9812216c16619b2c44ec2875cd77a73467c954
parent1d5b2149021585fb5d44cd2b587f95c723ea25a0 (diff)
downloademacs-87e391bb24d57ce8c27226542ba11ea5f924689d.tar.gz
emacs-87e391bb24d57ce8c27226542ba11ea5f924689d.zip
(Windows Fonts): Use a @table for describing font properties.
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/msdog.texi71
2 files changed, 49 insertions, 27 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index d2856bc2185..a132359f61b 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
12008-02-09 Eli Zaretskii <eliz@gnu.org>
2
3 * msdog.texi (Windows Fonts): Use a @table for describing font
4 properties.
5
12008-02-07 Jason Rumney <jasonr@gnu.org> 62008-02-07 Jason Rumney <jasonr@gnu.org>
2 7
3 * msdog.texi (Windows Files): w32-get-true-file-attributes default 8 * msdog.texi (Windows Files): w32-get-true-file-attributes default
diff --git a/doc/emacs/msdog.texi b/doc/emacs/msdog.texi
index 983d161d8de..7fe3c9ca07d 100644
--- a/doc/emacs/msdog.texi
+++ b/doc/emacs/msdog.texi
@@ -727,8 +727,8 @@ printer, put this in your @file{.emacs} file:
727@cindex font specification (MS Windows) 727@cindex font specification (MS Windows)
728 728
729 Starting with Emacs 23, fonts are specified by their name, size 729 Starting with Emacs 23, fonts are specified by their name, size
730and optional properties. The format for specifying fonts comes from the 730and optional properties. The format for specifying fonts comes from the
731fontconfig library used in modern Free desktops. 731fontconfig library used in modern Free desktops:
732 732
733@example 733@example
734 [Family[-PointSize]][:Option1=Value1[:Option2=Value2[...]]] 734 [Family[-PointSize]][:Option1=Value1[:Option2=Value2[...]]]
@@ -736,63 +736,78 @@ fontconfig library used in modern Free desktops.
736 736
737 The old XLFD based format is also supported for backwards compatibility. 737 The old XLFD based format is also supported for backwards compatibility.
738 738
739 Emacs 23 supports a number of backends. Currently on Windows the @code{gdi} 739 Emacs 23 supports a number of backends. Currently, the @code{gdi}
740font backend is supported. 740font backend is supported on Windows.
741 741
742@cindex font properties (MS Windows) 742@cindex font properties (MS Windows)
743@noindent 743@noindent
744Optional properties common to all font backends on MS-Windows are: 744Optional properties common to all font backends on MS-Windows are:
745 745
746@table @code
747
746@vindex font-weight-table @r{(MS-Windows)} 748@vindex font-weight-table @r{(MS-Windows)}
747 @code{weight} specifies the weight of the font. Special values @code{light}, 749@item weight
748@code{medium}, @code{demibold}, @code{bold} and @code{black} can be specified 750Specifies the weight of the font. Special values @code{light},
749without the @code{weight=} (eg @samp{Courier New-12:bold}). Otherwise 751@code{medium}, @code{demibold}, @code{bold}, and @code{black} can be specified
752without @code{weight=} (e.g., @kbd{Courier New-12:bold}). Otherwise,
750the weight should be a numeric value between 100 and 900, or one of the 753the weight should be a numeric value between 100 and 900, or one of the
751named weights in @code{font-weight-table}. If unspecified, a regular font 754named weights in @code{font-weight-table}. If unspecified, a regular font
752is assumed. 755is assumed.
753 756
754@vindex font-slant-table @r{(MS-Windows)} 757@vindex font-slant-table @r{(MS-Windows)}
755 @code{slant} specifies whether the font is italic. Special values 758@item slant
759Specifies whether the font is italic. Special values
756@code{roman}, @code{italic} and @code{oblique} can be specified 760@code{roman}, @code{italic} and @code{oblique} can be specified
757without the @code{slant=} (eg @samp{Courier New-12:italic}). 761without @code{slant=} (e.g., @kbd{Courier New-12:italic}).
758Otherwise the slant should be a numeric value, or one of the named 762Otherwise, the slant should be a numeric value, or one of the named
759slants in @code{font-slant-table}. On Windows, any slant above 150 is 763slants in @code{font-slant-table}. On Windows, any slant above 150 is
760treated as italic, and anything below as roman. 764treated as italics, and anything below as roman.
761 765
762 @code{family} specifies the font family, but normally this will be specified 766@item family
767Specifies the font family, but normally this will be specified
763at the start of the font name. 768at the start of the font name.
764 769
765 @code{pixelsize} specifies the font size in pixels. This can be used instead 770@item pixelsize
771Specifies the font size in pixels. This can be used instead
766of the point size specified after the family name. 772of the point size specified after the family name.
767 773
768 @code{adstyle} specifies additional style information for the font. 774@item adstyle
775Specifies additional style information for the font.
769On MS-Windows, the values @code{mono}, @code{sans}, @code{serif}, 776On MS-Windows, the values @code{mono}, @code{sans}, @code{serif},
770@code{script} and @code{decorative} are recognized. These are most useful 777@code{script} and @code{decorative} are recognized. These are most useful
771as a fallback with the font family left unspecified. 778as a fallback with the font family left unspecified.
772 779
773@vindex w32-charset-info-alist 780@vindex w32-charset-info-alist
774 @code{registry} specifies the character set registry that the font is 781@item registry
775expected to cover. Most Truetype and Opentype fonts will be unicode fonts 782Specifies the character set registry that the font is
783expected to cover. Most Truetype and Opentype fonts will be unicode fonts
776that cover several national character sets, but you can narrow down the 784that cover several national character sets, but you can narrow down the
777selection of fonts to those that support a particular character set by 785selection of fonts to those that support a particular character set by
778using a specific registry from @code{w32-charset-info-alist} here. 786using a specific registry from @code{w32-charset-info-alist} here.
779 787
780 @code{spacing} specifies how the font is spaced. @code{p} specifies 788@item spacing
789Specifies how the font is spaced. The @code{p} spacing specifies
781a proportional font, and @code{m} or @code{c} specify a monospaced font. 790a proportional font, and @code{m} or @code{c} specify a monospaced font.
782 791
783 @code{foundry} is not used on Windows, but for informational purposes and to 792@item foundry
793Not used on Windows, but for informational purposes and to
784prevent problems with code that expects it to be set, is set internally to 794prevent problems with code that expects it to be set, is set internally to
785@code{raster} for bitmapped fonts, @code{outline} for scalable fonts, 795@code{raster} for bitmapped fonts, @code{outline} for scalable fonts,
786or @code{unknown} if the type cannot be determined as one of those. 796or @code{unknown} if the type cannot be determined as one of those.
797@end table
787 798
788@cindex font properties (MS Windows gdi backend) 799@cindex font properties (MS Windows gdi backend)
789Options specific to @code{GDI} fonts 800Options specific to @code{GDI} fonts:
801
802@table @code
790 803
791@cindex font scripts (MS Windows) 804@cindex font scripts (MS Windows)
792@cindex font unicode subranges (MS Windows) 805@cindex font unicode subranges (MS Windows)
793 @code{script} specifies a unicode subrange the font should support. 806@item script
794Scripts recognized on Windows are @code{latin}, @code{greek}, @code{coptic}, 807Specifies a unicode subrange the font should support.
795@code{cyrillic}, @code{armenian}, @code{hebrew}, @code{arabic}, 808
809The following scripts are recognized on Windows: @code{latin}, @code{greek},
810@code{coptic}, @code{cyrillic}, @code{armenian}, @code{hebrew}, @code{arabic},
796@code{syriac}, @code{nko}, @code{thaana}, @code{devanagari}, @code{bengali}, 811@code{syriac}, @code{nko}, @code{thaana}, @code{devanagari}, @code{bengali},
797@code{gurmukhi}, @code{gujarati}, @code{oriya}, @code{tamil}, @code{telugu}, 812@code{gurmukhi}, @code{gujarati}, @code{oriya}, @code{tamil}, @code{telugu},
798@code{kannada}, @code{malayam}, @code{sinhala}, @code{thai}, @code{lao}, 813@code{kannada}, @code{malayam}, @code{sinhala}, @code{thai}, @code{lao},
@@ -804,11 +819,13 @@ Scripts recognized on Windows are @code{latin}, @code{greek}, @code{coptic},
804@code{musical-symbol}, and @code{mathematical}. 819@code{musical-symbol}, and @code{mathematical}.
805 820
806@cindex font antialiasing (MS Windows) 821@cindex font antialiasing (MS Windows)
807 @code{antialias} specifies the antialiasing to use for the font. @code{none} 822@item antialias
823Specifies the antialiasing to use for the font. The value @code{none}
808means no antialiasing, @code{standard} means use standard antialiasing, 824means no antialiasing, @code{standard} means use standard antialiasing,
809@code{subpixel} means use subpixel antialiasing (known as Cleartype on Windows), 825@code{subpixel} means use subpixel antialiasing (known as Cleartype on Windows),
810@code{natural} means use subpixel antialiasing with adjusted spacing between 826and @code{natural} means use subpixel antialiasing with adjusted spacing between
811letters. If unspecified, the font will use the system default antialiasing. 827letters. If unspecified, the font will use the system default antialiasing.
828@end table
812 829
813@node Windows Misc 830@node Windows Misc
814@section Miscellaneous Windows-specific features 831@section Miscellaneous Windows-specific features