X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/6cc41fb06c37234822d5aedf7ce0f77b88bb450a..ea6c930a8dd83a4e7d7a640c02e8a791458178c0:/lisp/ps-bdf.el diff --git a/lisp/ps-bdf.el b/lisp/ps-bdf.el index 3ab884c34d..c5b394a721 100644 --- a/lisp/ps-bdf.el +++ b/lisp/ps-bdf.el @@ -16,10 +16,10 @@ ;; This file is part of GNU Emacs. -;; GNU Emacs is free software; you can redistribute it and/or modify +;; 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 3, or (at your option) -;; any later version. +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -27,9 +27,7 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -;; Boston, MA 02110-1301, USA. +;; along with GNU Emacs. If not, see . ;;; Commentary: @@ -240,10 +238,10 @@ CODE, where N and CODE are in the following relation: (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)) @@ -446,5 +444,5 @@ BITMAP-STRING is a string representing bits by hexadecimal digits." (provide 'ps-bdf) -;;; arch-tag: 9b875ba8-565a-4ecf-acaa-30cee732c898 +;; arch-tag: 9b875ba8-565a-4ecf-acaa-30cee732c898 ;;; ps-bdf.el ends here