Server IP : 111.118.215.189 / Your IP : 18.223.23.24 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:28 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/ps-bdf.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\303\304!\210\305\302\306\307\310\311\312\313&\210\314>\203 \315\316 \"C\303\207" [system-type installation-directory bdf-directory-list require ps-mule custom-declare-variable (if (memq system-type '(ms-dos windows-nt)) (list (expand-file-name "fonts/bdf" installation-directory)) '("/usr/local/share/emacs/fonts/bdf")) "List of directories to search for `BDF' font files.\nThe default value is '(\"/usr/local/share/emacs/fonts/bdf\")." :type (repeat :tag "BDF font directory list" (directory :tag "BDF font directory")) :group ps-print-miscellany (ms-dos windows-nt) expand-file-name "fonts/bdf"] 8) #@141 Return an absolute path name of a `BDF' font file BDFNAME. It searches directories listed in the variable `bdf-directory-list' for BDFNAME. (defalias 'bdf-expand-file-name #[(bdfname) "\301!\203 \302!\205 \207\303\304\215\207" [bdfname file-name-absolute-p file-readable-p tag (byte-code "\305\211\205$ \n@\306 \"\307\f!\203 \310\311\f\"\210)\nA\211\204 \305*\207" [bdf-directory-list dir --dolist-tail-- bdfname absolute-path nil expand-file-name file-readable-p throw tag] 4)] 2 (#$ . 1168)]) #@109 Return modification time of FILENAME. The value is a list of integers in the same format as `current-time'. (defalias 'bdf-file-mod-time #[(filename) "\301\302!8\207" [filename 5 file-attributes] 3 (#$ . 1684)]) (put 'bdf-file-mod-time 'byte-optimizer 'byte-compile-inline-expand) #@156 Return non-nil if and only if FILENAME is newer than MOD-TIME. MOD-TIME is a modification time as a list of integers in the same format as `current-time'. (defalias 'bdf-file-newer-than-time #[(filename mod-time) "\303\304!8)\305\n \")\207" [filename new-mod-time mod-time 5 file-attributes time-less-p] 3 (#$ . 1973)]) #@123 Return a buffer visiting a bdf file BDFNAME. BDFNAME must be an absolute file name. If BDFNAME doesn't exist, return nil. (defalias 'bdf-find-file #[(bdfname) "\303!\205 \304\305!\306r\nq\210\307!\210\n+\207" [bdfname coding-system-for-read buf file-readable-p generate-new-buffer " *bdf-work*" no-conversion insert-file-contents] 2 (#$ . 2304)]) #@68 Name of cache file which contains information of `BDF' font files. (defvar bdf-cache-file (byte-code "\301=\203 \302\207\303\304!\207" [system-type ms-dos "~/_bdfcache.el" convert-standard-filename "~/.bdfcache.el"] 2) (#$ . 2662)) #@317 Cached information of `BDF' font files. It is a list of FONT-INFO. FONT-INFO is a list of the following format: (ABSOLUTE-FILE-NAME MOD-TIME SIZE FONT-BOUNDING-BOX RELATIVE-COMPOSE BASELINE-OFFSET CODE-RANGE MAXLEN OFFSET-VECTOR) See the documentation of the function `bdf-read-font-info' for more detail. (defvar bdf-cache nil (#$ . 2903)) #@180 Return a cached information about `BDF' font files from a cache file. The variable `bdf-cache-file' holds the cache file name. If the cache file is not readable, this return nil. (defalias 'bdf-read-cache #[nil "\301\211\302\303\217\207" [bdf-cache nil (byte-code "\302!\205 \303!\210 <\203 \207\304\211\207" [bdf-cache-file bdf-cache file-readable-p load-file nil] 2) ((error))] 4 (#$ . 3261)]) #@190 Write out cached information of `BDF' font file to a file. The variable `bdf-cache-file' holds the cache file name. The file is written if and only if the file already exists and writable. (defalias 'bdf-write-cache #[nil "\205 \302 !\205 \303 !\205 \304\305\306\"\307 #\207" [bdf-cache bdf-cache-file file-exists-p file-writable-p write-region format "(setq bdf-cache '%S)\n" nil] 4 (#$ . 3671)]) #@307 Cache FONT-INFO as information about one `BDF' font file. FONT-INFO is a list of the following format: (ABSOLUTE-FILE-NAME MOD-TIME SIZE FONT-BOUNDING-BOX RELATIVE-COMPOSE BASELINE-OFFSET CODE-RANGE MAXLEN OFFSET-VECTOR) See the documentation of the function `bdf-read-font-info' for more detail. (defalias 'bdf-set-cache #[(font-info) "\303@ \"\211\203 \nA\241\202 B\211)\207" [font-info bdf-cache slot assoc] 4 (#$ . 4081)]) #@27 Initialize `bdf' library. (defalias 'bdf-initialize #[nil "\300 \205 \301\302\303\"\207" [bdf-read-cache add-hook kill-emacs-hook bdf-write-cache] 3 (#$ . 4531)]) (defalias 'bdf-compact-code #[(code code-range) " \302HW\204 \303HV\203 \304H\305\306\" \307HZ \310H \311HZT_\312\313\" \311HZ\\\207" [code code-range 4 5 6 lsh -8 0 3 2 logand 255] 4]) (defalias 'bdf-expand-code #[(code code-range) "\303H\304HZT\n \245\305H\\\306_\n \246\304H\\\\)\207" [code-range code0-range code 3 2 0 256] 4]) (defalias 'bdf-search-and-read #[(match limit) "eb\210\302 \303#\205 \304\225b\210\305p!\207" [match limit search-forward t 0 read] 4]) #@1422 Read `BDF' font file BDFNAME and return information (FONT-INFO) of the file. BDFNAME must be an absolute file name. FONT-INFO is a list of the following format: (BDFFILE MOD-TIME FONT-BOUNDING-BOX RELATIVE-COMPOSE BASELINE-OFFSET CODE-RANGE MAXLEN OFFSET-VECTOR) MOD-TIME is last modification time as a list of integers in the same format as `current-time'. SIZE is a size of the font on 72 dpi device. This value is got from SIZE record of the font. FONT-BOUNDING-BOX is the font bounding box as a list of four integers, BBX-WIDTH, BBX-HEIGHT, BBX-XOFF, and BBX-YOFF. RELATIVE-COMPOSE is an integer value of the font's property `_MULE_RELATIVE_COMPOSE'. If the font doesn't have this property, the value is 0. BASELINE-OFFSET is an integer value of the font's property `_MULE_BASELINE_OFFSET'. If the font doesn't have this property, the value is 0. CODE-RANGE is a vector of minimum 1st byte, maximum 1st byte, minimum 2nd byte, maximum 2nd byte, minimum code, maximum code, and default code. For 1-byte fonts, the first two elements are 0. MAXLEN is a maximum bytes of one glyph information in the font file. OFFSET-VECTOR is a vector of a file position which starts bitmap data of the glyph in the font file. Nth element of OFFSET-VECTOR is a file position for the glyph of code CODE, where N and CODE are in the following relation: (bdf-compact-code CODE) => N, (bdf-expand-code N) => CODE (defalias 'bdf-read-font-info #[(bdfname) "\306!\307\310\307\311\2114\311\21156\311\21178 \203'