403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.141
Web Server : Apache
System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64
User : sws1073854427 ( 1073854427)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/emacs/28.2/lisp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/emacs/28.2/lisp/ps-bdf.elc
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



(byte-code "\303\304!\210\305\302\306\307\310DD\311\312\313\314\315&\210\316>\203\317\320	\"C\303\207" [system-type installation-directory bdf-directory-list require ps-mule custom-declare-variable funcall function #[0 "\302>\203\f\303\304	\"C\207\305\207" [system-type installation-directory (ms-dos windows-nt) expand-file-name "fonts/bdf" ("/usr/local/share/emacs/fonts/bdf")] 3 ""] "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)
#@155 Return an absolute path name of a `BDF' font file BDFNAME.
It searches directories listed in the variable `bdf-directory-list'
for BDFNAME.

(fn BDFNAME)
(defalias 'bdf-expand-file-name #[257 "\301!\203
\302!\2052\207\30322\211\205/\211@\304\"\302!\203'\305\303\"\210\210A\266\202\202\2620\207" [bdf-directory-list file-name-absolute-p file-readable-p tag expand-file-name throw] 7 (#$ . 758)])
#@117 Return modification time of FILENAME.
The value is a timestamp in the same format as `current-time'.

(fn FILENAME)
(defalias 'bdf-file-mod-time #[257 "\300!\3018\207" [file-attributes 5] 4 (#$ . 1176)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put bdf-file-mod-time speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@158 Return non-nil if and only if FILENAME is newer than MOD-TIME.
MOD-TIME is a modification time in the same format as `current-time'.

(fn FILENAME MOD-TIME)
(defalias 'bdf-file-newer-than-time #[514 "\300!\3018\266\202\302\"\207" [file-attributes 5 time-less-p] 6 (#$ . 1532)])
#@137 Return a buffer visiting a bdf file BDFNAME.
BDFNAME must be an absolute file name.
If BDFNAME doesn't exist, return nil.

(fn BDFNAME)
(defalias 'bdf-find-file #[257 "\301!\205\302\303!\304r\211q\210\305!\210*\211\262\207" [coding-system-for-read file-readable-p generate-new-buffer " *bdf-work*" no-conversion insert-file-contents] 4 (#$ . 1822)])
#@68 Name of cache file which contains information of `BDF' font files.
(defvar bdf-cache-file (locate-user-emacs-file "bdfcache.el" ".bdfcache.el") (#$ . 2184))
#@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 (#$ . 2348))
#@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 #[0 "\302\3031\304	!\205\305	!\210<\203\202\302\2110\207\210\302\207" [bdf-cache bdf-cache-file nil (error) file-readable-p load-file] 2 (#$ . 2706)])
#@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 #[0 "\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 (#$ . 3081)])
#@323 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.

(fn FONT-INFO)
(defalias 'bdf-set-cache #[257 "\301@\"\211\203\211A\241\207B\211\207" [bdf-cache assoc] 4 (#$ . 3489)])
#@27 Initialize `bdf' library.
(defalias 'bdf-initialize #[0 "\300 \205	\301\302\303\"\207" [bdf-read-cache add-hook kill-emacs-hook bdf-write-cache] 3 (#$ . 3930)])
#@24 

(fn CODE CODE-RANGE)
(defalias 'bdf-compact-code #[514 "\300HW\204\301HV\203\211\302H\262\303\304\"\305HZ\306H\307HZT_\310\311\"\307HZ\\\207" [4 5 6 ash -8 0 3 2 logand 255] 6 (#$ . 4098)])
#@24 

(fn CODE CODE-RANGE)
(defalias 'bdf-expand-code #[514 "\211\300H\301HZT\245\302H\\\303_\246\301H\\\\\207" [3 2 0 256] 7 (#$ . 4311)])
#@20 

(fn MATCH LIMIT)
(defalias 'bdf-search-and-read #[514 "eb\210\300\301#\205\302\225b\210\303p!\207" [search-forward t 0 read] 6 (#$ . 4460)])
#@1414 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 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

(fn BDFNAME)
(defalias 'bdf-read-font-info #[257 "\300!\301\302\301\303\211\211\211\211\211	\203\304\305\f\"\210\202 \306\307\f\"\210\310\311\"\216r	q\210eb\210\312\313!\210\314\315p!\315p!\315p!\315p!$\262\316H\301V\203Z\317\320\f\"\203Z\316\316H[I\210eb\210\312\321!\210\322\323!\203q\324\325\326!!\262\202\251\312\327!\210\315p!\262\317\330\f\"\203\221\326H\316\245X\203\221\326H\262\315p!\262\301V\203\251\331U\204\251_\331\245\262\332\333\303\"\262\312\334!\210\335y\210`\332\336\"\206\277\302\262	\332\337\"\206\311\301\262\210\340\211\341\301\211\211\303\211\211\211\211\211\312\334\303\342#\203@\343 \262\312\344!\210\315p!\262\301W\203\372\312\345!\210\202\330\346\347\"\262\350\351\"\262	^\262\n]\262^\262\f]\262	\n^\262]\262\312\345!\210`Z]\262BB\262\202\330\314\f\n
\f\206T&\262\352\353\"T\303\"\262
\203\201@\262A\262\f\353@\"AI\210\202d\266\f*\304\354\f\"\210\n\211\355!\3568\266\202\257	\207" [bdf-find-file 0 false nil message "Reading %s..." error "BDF file %s doesn't exist" make-closure #[0 "\301\300!\207" [V0 kill-buffer] 2] search-forward "\nFONTBOUNDINGBOX" vector read 3 string-match "jiskan\\(16\\|24\\)" "\nFONT " looking-at "-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-\\([0-9]+\\)" string-to-number match-string 1 "\nSIZE " "jiskan" 72 bdf-search-and-read "\nDEFAULT_CHAR" "\nSTARTCHAR" -1 "\n_MULE_RELATIVE_COMPOSE" "\n_MULE_BASELINE_OFFSET" 256 65536 t line-beginning-position "\nENCODING" "ENDCHAR" ash -8 logand 255 make-vector bdf-compact-code "Reading %s...done" file-attributes 5] 31 (#$ . 4615)])
#@18 

(fn FONT-INFO)
(defalias 'bdf-info-absolute-path #[257 "\211@\207" [] 2 (#$ . 7678)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put bdf-info-absolute-path speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@18 

(fn FONT-INFO)
(defalias 'bdf-info-mod-time #[257 "\211A@\207" [] 2 (#$ . 7920)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put bdf-info-mod-time speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@18 

(fn FONT-INFO)
(defalias 'bdf-info-size #[257 "\3008\207" [2] 3 (#$ . 8153)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put bdf-info-size speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@18 

(fn FONT-INFO)
(defalias 'bdf-info-font-bounding-box #[257 "\3008\207" [3] 3 (#$ . 8379)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put bdf-info-font-bounding-box speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@18 

(fn FONT-INFO)
(defalias 'bdf-info-relative-compose #[257 "\3008\207" [4] 3 (#$ . 8631)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put bdf-info-relative-compose speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@18 

(fn FONT-INFO)
(defalias 'bdf-info-baseline-offset #[257 "\3008\207" [5] 3 (#$ . 8881)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put bdf-info-baseline-offset speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@18 

(fn FONT-INFO)
(defalias 'bdf-info-code-range #[257 "\3008\207" [6] 3 (#$ . 9129)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put bdf-info-code-range speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@18 

(fn FONT-INFO)
(defalias 'bdf-info-maxlen #[257 "\3008\207" [7] 3 (#$ . 9367)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put bdf-info-maxlen speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@18 

(fn FONT-INFO)
(defalias 'bdf-info-offset-vector #[257 "\3008\207" [8] 3 (#$ . 9597)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put bdf-info-offset-vector speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@351 Return information about `BDF' font file BDFNAME.
BDFNAME must be an absolute file name.
The value FONT-INFO is a list of the following format:
    (BDFNAME 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.

(fn BDFNAME)
(defalias 'bdf-get-font-info #[257 "\204\301 \210\302\"\211\203!\303!\203!\304\211A@\262\"\203*\305!\262\306!\210\207" [bdf-cache bdf-read-cache assoc file-readable-p bdf-file-newer-than-time bdf-read-font-info bdf-set-cache] 6 (#$ . 9842)])
#@421 Read `BDF' font file BDFNAME to get bitmap data at file position OFFSET.
BDFNAME is an absolute path name of the font file.
MAXLEN specifies how many bytes we should read at least.
The value is a list of DWIDTH, BBX, and BITMAP-STRING.
DWIDTH is a pixel width of a glyph.
BBX is a bounding box of the glyph.
BITMAP-STRING is a string representing bits by hexadecimal digits.

(fn BDFNAME OFFSET MAXLEN RELATIVE-COMPOSE)
(defalias 'bdf-read-bitmap #[1028 "\301\302!\3038\262\211\304\234\305\306\211\3071\324\310\311\312\"r\211q\210\313\314\"\216\315\n\306\211\f\\$\210eb\210\316\317!\210\320p!\262\304U\203B\321\262eb\210\316\322!\210\323\320p!\320p!\320p!\320p!$\262\324H\262\303H\262\316\325!\210\324y\210e`|\210\326\327!\203\202\330`\304\225\"Z\262`\304\225|\210\326\331!\204\250\316\331\306\332#\210\333y\210\326\334!\203\245T\262S\262\333y\210\202\221\324y\210\324I\210\303I\210`d|\210eb\210m\204\307\306\210\335\324!\210\202\271\336 \211\262*\2620\210\202\325\210\323\304H\324H\337H	\303H\340	\341Q\f\206\362\342&)\207" [coding-system-for-read no-conversion bdf-get-font-info 3 0 "" nil (error) generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205	\302\300!\207" [V0 buffer-name kill-buffer] 2] insert-file-contents search-forward "\nDWIDTH" read 0.1 "\nBBX" vector 1 "\nBITMAP" looking-at "\\(0+\n\\)+" count-lines "ENDCHAR" move -1 "0+$" delete-char buffer-string 2 "<" ">" false] 18 (#$ . 10456)])
#@327 Return bitmap information of glyph of CODE in `BDF' font file BDFNAME.
CODE is an encoding number of glyph in the file.
The value is a list (DWIDTH BBX BITMAP-STRING).
DWIDTH is a pixel width of a glyph.
BBX is a bounding box of the glyph.
BITMAP-STRING is a string representing bits by hexadecimal digits.

(fn BDFNAME CODE)
(defalias 'bdf-get-bitmap #[514 "\300!\211\3018\262\3028\262\3038\262\304\305\"H\3068\262$\207" [bdf-get-font-info 7 6 8 bdf-read-bitmap bdf-compact-code 4] 13 (#$ . 11932)])
(defalias 'bdf-generate-prologue #[0 "\204\301 \210\302 \207" [bdf-cache bdf-initialize ps-mule-generate-bitmap-prologue] 1])
#@18 

(fn FONT-SPEC)
(defalias 'bdf-check-font #[257 "\211\211\300H\262;\203\301!\2025\30225\211\2052\211@\301!\262\211\203+\303\302\"\210A\266\202\202\2620\300I\207" [4 bdf-expand-file-name tag throw] 8 (#$ . 12589)])
#@18 

(fn FONT-SPEC)
(defalias 'bdf-generate-font #[257 "\300\211\301H\262!\211@\262\302I\266\303\3048\262\3018\262\3058\262\3068\262%\207" [bdf-get-font-info 4 7 ps-mule-generate-bitmap-font 2 5 3] 10 (#$ . 12830)])
#@23 

(fn FONT-SPEC CHAR)
(defalias 'bdf-generate-glyph #[514 "\211\300H\262\301\"\302\303\"$\207" [7 ps-mule-encode-char ps-mule-generate-bitmap-glyph bdf-get-bitmap] 11 (#$ . 13070)])
(provide 'ps-bdf)

Youez - 2016 - github.com/yon3zu
LinuXploit