diff options
| author | Eli Zaretskii | 2008-02-09 14:06:47 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2008-02-09 14:06:47 +0000 |
| commit | 87e391bb24d57ce8c27226542ba11ea5f924689d (patch) | |
| tree | de9812216c16619b2c44ec2875cd77a73467c954 | |
| parent | 1d5b2149021585fb5d44cd2b587f95c723ea25a0 (diff) | |
| download | emacs-87e391bb24d57ce8c27226542ba11ea5f924689d.tar.gz emacs-87e391bb24d57ce8c27226542ba11ea5f924689d.zip | |
(Windows Fonts): Use a @table for describing font properties.
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/msdog.texi | 71 |
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 @@ | |||
| 1 | 2008-02-09 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * msdog.texi (Windows Fonts): Use a @table for describing font | ||
| 4 | properties. | ||
| 5 | |||
| 1 | 2008-02-07 Jason Rumney <jasonr@gnu.org> | 6 | 2008-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 |
| 730 | and optional properties. The format for specifying fonts comes from the | 730 | and optional properties. The format for specifying fonts comes from the |
| 731 | fontconfig library used in modern Free desktops. | 731 | fontconfig 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} |
| 740 | font backend is supported. | 740 | font backend is supported on Windows. |
| 741 | 741 | ||
| 742 | @cindex font properties (MS Windows) | 742 | @cindex font properties (MS Windows) |
| 743 | @noindent | 743 | @noindent |
| 744 | Optional properties common to all font backends on MS-Windows are: | 744 | Optional 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 | 750 | Specifies the weight of the font. Special values @code{light}, |
| 749 | without the @code{weight=} (eg @samp{Courier New-12:bold}). Otherwise | 751 | @code{medium}, @code{demibold}, @code{bold}, and @code{black} can be specified |
| 752 | without @code{weight=} (e.g., @kbd{Courier New-12:bold}). Otherwise, | ||
| 750 | the weight should be a numeric value between 100 and 900, or one of the | 753 | the weight should be a numeric value between 100 and 900, or one of the |
| 751 | named weights in @code{font-weight-table}. If unspecified, a regular font | 754 | named weights in @code{font-weight-table}. If unspecified, a regular font |
| 752 | is assumed. | 755 | is 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 |
| 759 | Specifies 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 |
| 757 | without the @code{slant=} (eg @samp{Courier New-12:italic}). | 761 | without @code{slant=} (e.g., @kbd{Courier New-12:italic}). |
| 758 | Otherwise the slant should be a numeric value, or one of the named | 762 | Otherwise, the slant should be a numeric value, or one of the named |
| 759 | slants in @code{font-slant-table}. On Windows, any slant above 150 is | 763 | slants in @code{font-slant-table}. On Windows, any slant above 150 is |
| 760 | treated as italic, and anything below as roman. | 764 | treated 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 |
| 767 | Specifies the font family, but normally this will be specified | ||
| 763 | at the start of the font name. | 768 | at 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 |
| 771 | Specifies the font size in pixels. This can be used instead | ||
| 766 | of the point size specified after the family name. | 772 | of the point size specified after the family name. |
| 767 | 773 | ||
| 768 | @code{adstyle} specifies additional style information for the font. | 774 | @item adstyle |
| 775 | Specifies additional style information for the font. | ||
| 769 | On MS-Windows, the values @code{mono}, @code{sans}, @code{serif}, | 776 | On 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 |
| 771 | as a fallback with the font family left unspecified. | 778 | as 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 |
| 775 | expected to cover. Most Truetype and Opentype fonts will be unicode fonts | 782 | Specifies the character set registry that the font is |
| 783 | expected to cover. Most Truetype and Opentype fonts will be unicode fonts | ||
| 776 | that cover several national character sets, but you can narrow down the | 784 | that cover several national character sets, but you can narrow down the |
| 777 | selection of fonts to those that support a particular character set by | 785 | selection of fonts to those that support a particular character set by |
| 778 | using a specific registry from @code{w32-charset-info-alist} here. | 786 | using 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 |
| 789 | Specifies how the font is spaced. The @code{p} spacing specifies | ||
| 781 | a proportional font, and @code{m} or @code{c} specify a monospaced font. | 790 | a 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 |
| 793 | Not used on Windows, but for informational purposes and to | ||
| 784 | prevent problems with code that expects it to be set, is set internally to | 794 | prevent 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, |
| 786 | or @code{unknown} if the type cannot be determined as one of those. | 796 | or @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) |
| 789 | Options specific to @code{GDI} fonts | 800 | Options 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 |
| 794 | Scripts recognized on Windows are @code{latin}, @code{greek}, @code{coptic}, | 807 | Specifies a unicode subrange the font should support. |
| 795 | @code{cyrillic}, @code{armenian}, @code{hebrew}, @code{arabic}, | 808 | |
| 809 | The 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 |
| 823 | Specifies the antialiasing to use for the font. The value @code{none} | ||
| 808 | means no antialiasing, @code{standard} means use standard antialiasing, | 824 | means 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 | 826 | and @code{natural} means use subpixel antialiasing with adjusted spacing between |
| 811 | letters. If unspecified, the font will use the system default antialiasing. | 827 | letters. 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 |