all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xue Fuqiao <xfq.free@gmail.com>
To: 14993@debbugs.gnu.org
Subject: bug#14993: [PATCH] Update information about fonts
Date: Wed, 31 Jul 2013 17:16:31 +0800	[thread overview]
Message-ID: <CAAF+z6GEdC-4m3ZExpCO18U0YcC7N31t4EPZzEjy8UC=3aNf5g@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

tags patch

GNU Intlfonts are pretty old bitmapped fonts.  They cannot be used with
GNU Emacs's font shaping capabilities.  The GNU FreeFont exist and offer
support for many scripts and languages, so I made a patch.  (For
downloading fonts and installing them, there’s nothing Emacs-specific,
so I removed them from the Emacs FAQ.)


-- 
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/

[-- Attachment #2: fonts.patch --]
[-- Type: application/octet-stream, Size: 6703 bytes --]

=== modified file 'INSTALL'
--- INSTALL	2013-07-29 11:35:16 +0000
+++ INSTALL	2013-07-31 09:03:44 +0000
@@ -134,23 +134,15 @@
 Note that Emacs cannot support complex scripts on a TTY, unless the
 terminal includes such a support.
 
-* intlfonts-VERSION.tar.gz
-
-The intlfonts distribution contains X11 fonts in various encodings
-that Emacs can use to display international characters.  If you see a
-non-ASCII character appear as a hollow box, that means you don't have
-a font for it.  You might find one in the intlfonts distribution.  If
-you do have a font for a non-ASCII character, but some characters
-don't look right, or appear improperly aligned, a font from the
-intlfonts distribution might look better.
-
-The fonts in the intlfonts distribution are also used by the ps-print
-package for printing international characters.  The file
-lisp/ps-mule.el defines the *.bdf font files required for printing
-each character set.
-
-The intlfonts distribution contains its own installation instructions,
-in the intlfonts/README file.
+* GNU FreeFont
+
+The GNU FreeFont distribution is a free family of scalable outline
+fonts, suitable for general use on computers and for desktop
+publishing.  It is Unicode-encoded for compatibility with all modern
+operating systems.  If you see a non-ASCII character appear as a
+hollow box, that means you don't have a font for it.
+
+The fonts are ready to use, avalable in TrueType and OpenType formats.
 
 * Image support libraries
 

=== modified file 'doc/misc/faq.texi'
--- doc/misc/faq.texi	2013-07-25 07:10:56 +0000
+++ doc/misc/faq.texi	2013-07-31 09:03:44 +0000
@@ -4018,7 +4018,6 @@
 * Emacs does not display 8-bit characters::
 * Inputting eight-bit characters::
 * Right-to-left alphabets::
-* How to add fonts::
 @end menu
 
 @node Emacs does not display 8-bit characters
@@ -4060,126 +4059,6 @@
 Arabic, Farsi, and Hebrew, since version 24.1.
 @xref{New in Emacs 24, bidirectional display}.
 
-
-@node How to add fonts
-@section How do I add fonts for use with Emacs?
-@cindex add fonts for use with Emacs
-@cindex intlfonts
-
-First, download and install the BDF font files and any auxiliary
-packages they need.  The GNU Intlfonts distribution can be found on
-@uref{http://directory.fsf.org/localization/intlfonts.html, the GNU
-Software Directory Web site}.
-
-Next, if you are on X Window system, issue the following two commands
-from the shell's prompt:
-
-@example
-  xset +fp /usr/local/share/emacs/fonts
-  xset fp rehash
-@end example
-
-@noindent
-(Modify the first command if you installed the fonts in a directory
-that is not @file{/usr/local/share/emacs/fonts}.)  You also need to
-arrange for these two commands to run whenever you log in, e.g., by
-adding them to your window-system startup file, such as
-@file{~/.xsessionrc} or @file{~/.gnomerc}.
-
-Now, add the following line to your @file{~/.emacs} init file:
-
-@lisp
-  (add-to-list 'bdf-directory-list "/usr/share/emacs/fonts/bdf")
-@end lisp
-
-@noindent
-(Again, modify the file name if you installed the fonts elsewhere.)
-
-Finally, if you wish to use the installed fonts with @code{ps-print},
-add the following line to your @file{~/.emacs}:
-
-@lisp
-  (setq ps-multibyte-buffer 'bdf-font-except-latin)
-@end lisp
-
-A few additional steps are necessary for MS-Windows; they are listed
-below.
-
-First, make sure @emph{all} the directories with BDF font files are
-mentioned in @code{bdf-directory-list}.  On Unix and GNU/Linux
-systems, one normally runs @kbd{make install} to install the BDF fonts
-in the same directory.  By contrast, Windows users typically don't run
-the Intlfonts installation command, but unpack the distribution in
-some directory, which leaves the BDF fonts in its subdirectories.  For
-example, assume that you unpacked Intlfonts in @file{C:/Intlfonts};
-then you should set @code{bdf-directory-list} as follows:
-
-@lisp
-  (setq bdf-directory-list
-    '("C:/Intlfonts/Asian"
-      "C:/Intlfonts/Chinese" "C:/Intlfonts/Chinese.X"
-      "C:/Intlfonts/Chinese.BIG" "C:/Intlfonts/Ethiopic"
-      "C:/Intlfonts/European" "C:/Intlfonts/European.BIG"
-      "C:/Intlfonts/Japanese" "C:/Intlfonts/Japanese.X"
-      "C:/Intlfonts/Japanese.BIG" "C:/Intlfonts/Korean.X"
-      "C:/Intlfonts/Misc"))
-@end lisp
-
-@cindex @code{w32-bdf-filename-alist}
-@cindex @code{w32-find-bdf-fonts}
-Next, you need to set up the variable @code{w32-bdf-filename-alist} to
-an alist of the BDF fonts and their corresponding file names.
-Assuming you have set @code{bdf-directory-list} to name all the
-directories with the BDF font files, the following Lisp snippet will
-set up @code{w32-bdf-filename-alist}:
-
-@lisp
-  (setq w32-bdf-filename-alist
-     (w32-find-bdf-fonts bdf-directory-list))
-@end lisp
-
-Now, create fontsets for the BDF fonts:
-
-@smallexample
-  (create-fontset-from-fontset-spec
-   "-*-fixed-medium-r-normal-*-16-*-*-*-c-*-fontset-bdf,
-   japanese-jisx0208:-*-*-medium-r-normal-*-16-*-*-*-c-*-jisx0208.1983-*,
-   katakana-jisx0201:-*-*-medium-r-normal-*-16-*-*-*-c-*-jisx0201*-*,
-   latin-jisx0201:-*-*-medium-r-normal-*-16-*-*-*-c-*-jisx0201*-*,
-   japanese-jisx0208-1978:-*-*-medium-r-normal-*-16-*-*-*-c-*-jisx0208.1978-*,
-   thai-tis620:-misc-fixed-medium-r-normal--16-160-72-72-m-80-tis620.2529-1,
-   lao:-misc-fixed-medium-r-normal--16-160-72-72-m-80-MuleLao-1,
-   tibetan-1-column:-TibMdXA-fixed-medium-r-normal--16-160-72-72-m-80-MuleTibetan-1,
-   ethiopic:-Admas-Ethiomx16f-Medium-R-Normal--16-150-100-100-M-160-Ethiopic-Unicode,
-   tibetan:-TibMdXA-fixed-medium-r-normal--16-160-72-72-m-160-MuleTibetan-0")
-@end smallexample
-
-Many of the international bdf fonts from Intlfonts are type 0, and
-therefore need to be added to font-encoding-alist:
-
-@lisp
-  (setq font-encoding-alist
-        (append '(("MuleTibetan-0" (tibetan . 0))
-                  ("GB2312"        (chinese-gb2312 . 0))
-                  ("JISX0208"      (japanese-jisx0208 . 0))
-                  ("JISX0212"      (japanese-jisx0212 . 0))
-                  ("VISCII"        (vietnamese-viscii-lower . 0))
-                  ("KSC5601"       (korean-ksc5601 . 0))
-                  ("MuleArabic-0"  (arabic-digit . 0))
-                  ("MuleArabic-1"  (arabic-1-column . 0))
-                  ("MuleArabic-2"  (arabic-2-column . 0)))
-                font-encoding-alist))
-@end lisp
-
-You can now use the Emacs font menu to select the @samp{bdf: 16-dot medium}
-fontset, or you can select it by setting the default font in your
-@file{~/.emacs}:
-
-@lisp
-  (set-default-font "fontset-bdf")
-@end lisp
-
-
 @c ------------------------------------------------------------
 @node Mail and news
 @chapter Mail and news

             reply	other threads:[~2013-07-31  9:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-31  9:16 Xue Fuqiao [this message]
2013-07-31 13:54 ` bug#14993: [PATCH] Update information about fonts Xue Fuqiao
2013-07-31 14:13   ` Wolfgang Jenkner
2013-07-31 15:46 ` Eli Zaretskii
2013-08-02 13:10   ` Kenichi Handa
2013-08-02 13:51     ` Eli Zaretskii
2016-02-24  4:32       ` Lars Ingebrigtsen
2016-02-24 17:17         ` Eli Zaretskii
2020-08-13 11:20           ` Lars Ingebrigtsen
2020-08-13 12:48             ` Robert Pluim
2020-08-14 11:42               ` Lars Ingebrigtsen
2020-08-14 14:08                 ` Robert Pluim
2020-08-15 10:25                   ` Lars Ingebrigtsen
2020-08-15 11:06                     ` Robert Pluim
2020-08-15 11:17                       ` Lars Ingebrigtsen
2020-10-13  1:46                         ` Lars Ingebrigtsen
2020-08-13 13:25             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAF+z6GEdC-4m3ZExpCO18U0YcC7N31t4EPZzEjy8UC=3aNf5g@mail.gmail.com' \
    --to=xfq.free@gmail.com \
    --cc=14993@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.