;;; ps-bdf.el --- BDF font file handler for ps-print
-;; Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+;; Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
;; Free Software Foundation, Inc.
-;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+;; 2008
;; National Institute of Advanced Industrial Science and Technology (AIST)
;; Registration Number H14PRO021
;; GNU Emacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;;; Code:
(eval-and-compile
- (require 'ps-mule)
-
- ;; to avoid XEmacs compilation gripes
- (defvar installation-directory nil)
- (defvar coding-system-for-read nil))
+ (require 'ps-mule))
;;;###autoload
(defvar bdf-directory-list
(goto-char (point-min))
(search-forward "\nFONT ")
(if (looking-at "-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-\\([0-9]+\\)")
- (setq size (string-to-int (match-string 1)))
+ (setq size (string-to-number (match-string 1)))
(search-forward "\nSIZE ")
(setq size (read (current-buffer)))
- ;; The following kludgy code is t avoid bugs of several
+ ;; The following kludgy code is to avoid bugs of several
;; fonts which have wrong SIZE record.
(and (string-match "jiskan" bdfname)
(<= size (/ (aref font-bounding-box 1) 3))
(provide 'ps-bdf)
-;;; arch-tag: 9b875ba8-565a-4ecf-acaa-30cee732c898
+;; arch-tag: 9b875ba8-565a-4ecf-acaa-30cee732c898
;;; ps-bdf.el ends here