aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2008-05-08 03:43:39 +0000
committerJuanma Barranquero2008-05-08 03:43:39 +0000
commitbc10bb37f461abc9f8666fd56086e1cc5fe76714 (patch)
tree9ec4ff98b20e20e24dc65ba1c90f2ea4100257f2
parentf67b40b3d890918f1e856a5052f86c3c724f0658 (diff)
downloademacs-bc10bb37f461abc9f8666fd56086e1cc5fe76714.tar.gz
emacs-bc10bb37f461abc9f8666fd56086e1cc5fe76714.zip
(ps-mule-external-libraries): Don't use `iff' in docstring.
-rw-r--r--lisp/ps-mule.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/ps-mule.el b/lisp/ps-mule.el
index dc47cb8e50c..1a97f2dd7b8 100644
--- a/lisp/ps-mule.el
+++ b/lisp/ps-mule.el
@@ -439,8 +439,8 @@ PostScript procedures that will be called by FONT-FUNC and GLYPHS-FUNC. It is
439called with no argument, and should return a list of strings. 439called with no argument, and should return a list of strings.
440 440
441CHECK-FUNC is a function to check if a font is available or not. 441CHECK-FUNC is a function to check if a font is available or not.
442It is called with one argument FONT-SPEC, and should return non-nil iff the 442It is called with one argument FONT-SPEC, and should return non-nil if and
443font specified in FONT-SPEC is available. 443only if the font specified in FONT-SPEC is available.
444 444
445FONT-FUNC is a function to generate PostScript code which define a new font. 445FONT-FUNC is a function to generate PostScript code which define a new font.
446It is called with one argument FONT-SPEC, and should return a list of strings. 446It is called with one argument FONT-SPEC, and should return a list of strings.
@@ -736,7 +736,7 @@ the sequence."
736 } ifelse def 736 } ifelse def
737 dup 0 get stringwidth pop dup /WIDTH exch def bmp 0 get div 737 dup 0 get stringwidth pop dup /WIDTH exch def bmp 0 get div
738 dup LLY mul /LLY exch def 738 dup LLY mul /LLY exch def
739 URY mul /URY exch def 739 URY mul /URY exch def
740 } { 740 } {
741 pop 741 pop
742 dup 0 get stringwidth pop /WIDTH exch def 742 dup 0 get stringwidth pop /WIDTH exch def
@@ -791,7 +791,7 @@ the sequence."
791 /RIGHT WIDTH def 791 /RIGHT WIDTH def
792 /TOP URY def 792 /TOP URY def
793 /BOTTOM LLY def 793 /BOTTOM LLY def
794 794
795 1 1 components length 1 sub { 795 1 1 components length 1 sub {
796 components exch get 796 components exch get
797 [ exch 797 [ exch
@@ -971,7 +971,7 @@ the sequence."
971 971
972(defun ps-mule-generate-bitmap-glyph (font-spec char code bitmap) 972(defun ps-mule-generate-bitmap-glyph (font-spec char code bitmap)
973 (let* ((id (ps-mule-font-spec-id font-spec)) 973 (let* ((id (ps-mule-font-spec-id font-spec))
974 ;; FONT-RECORD ::= ([(SUBFONT-OUTPUT-LIST ...) | t] 974 ;; FONT-RECORD ::= ([(SUBFONT-OUTPUT-LIST ...) | t]
975 ;; BASEFONT-OUTPUT-LIST SIZE REL-COMP B-OFFSET BBX) 975 ;; BASEFONT-OUTPUT-LIST SIZE REL-COMP B-OFFSET BBX)
976 (font-record (aref ps-mule-bitmap-font-record id)) 976 (font-record (aref ps-mule-bitmap-font-record id))
977 enc-name 977 enc-name
@@ -1149,7 +1149,7 @@ It checks if all multi-byte characters in the region are printable or not."
1149 1149
1150(defun ps-mule-redefine-font (font-number fonttag size ps-font) 1150(defun ps-mule-redefine-font (font-number fonttag size ps-font)
1151 (let* ((font-type (aref ps-mule-font-number-to-type font-number)) 1151 (let* ((font-type (aref ps-mule-font-number-to-type font-number))
1152 (font-spec-alist (char-table-extra-slot 1152 (font-spec-alist (char-table-extra-slot
1153 (aref ps-mule-font-spec-tables font-type) 0))) 1153 (aref ps-mule-font-spec-tables font-type) 0)))
1154 (ps-output-prologue 1154 (ps-output-prologue
1155 (list (if (ps-mule-font-spec-src (cdr (car font-spec-alist))) 1155 (list (if (ps-mule-font-spec-src (cdr (car font-spec-alist)))
@@ -1170,7 +1170,7 @@ V%s 0 /%s-latin1 /%s Latin1Encoding put\n"
1170 (let ((output-head (list t)) 1170 (let ((output-head (list t))
1171 (ps-mule-output-list (list t))) 1171 (ps-mule-output-list (list t)))
1172 (dotimes (i 4) 1172 (dotimes (i 4)
1173 (map-char-table 'ps-mule-prepare-glyph 1173 (map-char-table 'ps-mule-prepare-glyph
1174 (aref ps-mule-font-spec-tables i))) 1174 (aref ps-mule-font-spec-tables i)))
1175 (ps-mule-restruct-output-list (cdr ps-mule-output-list) output-head) 1175 (ps-mule-restruct-output-list (cdr ps-mule-output-list) output-head)
1176 (ps-output-prologue (cdr output-head))) 1176 (ps-output-prologue (cdr output-head)))
@@ -1198,7 +1198,7 @@ V%s 0 /%s-latin1 /%s Latin1Encoding put\n"
1198 (mapconcat #'(lambda (x) 1198 (mapconcat #'(lambda (x)
1199 (format "F%02X" (cdr x))) 1199 (format "F%02X" (cdr x)))
1200 font-list " "))))) 1200 font-list " ")))))
1201 1201
1202 ;; Redefine fonts f0, f1, f2, f3, h0, h1, H0. 1202 ;; Redefine fonts f0, f1, f2, f3, h0, h1, H0.
1203 (ps-mule-redefine-font 4 "h0" ps-header-title-font-size-internal 1203 (ps-mule-redefine-font 4 "h0" ps-header-title-font-size-internal
1204 (ps-font 'ps-font-for-header 'bold)) 1204 (ps-font 'ps-font-for-header 'bold))