1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00
Commit Graph

33 Commits

Author SHA1 Message Date
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Vinicius Jose Latorre
edf0b0c5ec Avoid unnecessary calls to funs in header and footer variables 2003-05-15 02:32:03 +00:00
Juanma Barranquero
0cf0138e2d Fix typo. 2002-06-18 14:36:19 +00:00
Eli Zaretskii
d0d08a25c2 (eval-and-compile): Add a trivial replacement for a
possibly missing encode-char.
(ps-mule-font-info-database-bdf): Add associations for Unicode
fonts.  Doc fix.
(ps-mule-font-info-database-ps-bdf): Doc fix.
(ps-mule-encode-ucs2): New function for encoding Unicode characters.
2002-05-17 14:09:39 +00:00
Gerd Moellmann
7853aef6a4 Fix copyright years. 2001-09-19 14:54:19 +00:00
Gerd Moellmann
64ed6f7182 (find-composition): Check if (char-after POS)
returns a valid character.
2001-08-17 09:02:29 +00:00
Gerd Moellmann
8b31363957 Doc fix.
(ps-mule-encode-header-string): If STRING is not a string, replace
STRING by empty string.
2001-08-15 08:06:08 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Gerd Moellmann
dc2f8de441 Eliminate cl package dependence.
(char-valid-p, multibyte-string-p, string-make-multibyte): Define funs
if they aren't defined yet.
(ps-mule-encode-header-string, ps-mule-header-string-charsets):
Eliminate cl package dependence.
2001-04-05 09:46:15 +00:00
Gerd Moellmann
24c0fd398e (ps-mule-font-info-database-bdf): Change
`isci24-etl.bdf' to `isci24-mule.bdf'.  From: Kenichi Handa
<handa@etl.go.jp>.
2001-04-03 09:17:32 +00:00
Gerd Moellmann
934dd72637 Fix typo in comment. 2001-04-02 10:41:10 +00:00
Gerd Moellmann
922be0197d XEmacs compatibility. Doc fix.
(leading-code-private-22): Declare var if it's not declared yet.
(charset-bytes, charset-dimension, charset-id, charset-width)
(find-charset-region, split-char, char-width, chars-in-region)
(forward-point, decompose-composite-char, encode-coding-string)
(coding-system-p, ccl-execute-on-string, define-ccl-program):
Define funs if not defined yet.
(encode-composition-rule, find-composition): Define funs if not
loaded yet.
(ps-mule-prologue): PostScript code fix.

(ps-mule-generate-font): New arg HEADER-P.  If it is
non-nil, generate font for the header strings.
(ps-mule-prepare-font): Likewise.
(ps-mule-generate-glyphs): Likewise.
(ps-mule-string-encoding): Likewise.
(ps-mule-header-charsets): New variable.
(ps-mule-encode-header-string): New function.
(ps-mule-header-string-charsets): New function.
(ps-mule-begin-job): Check charsets in the header strings.  If there
are non-ASCII and non-Latin1 charsets, prepare fonts for them.
2001-04-02 10:36:32 +00:00
Gerd Moellmann
8fdd56afa4 Fix a customization problem on
ps-mule-font-info-database-default.
2000-08-02 20:20:55 +00:00
Kenichi Handa
8cf74617ad (ps-mule-font-info-database-bdf): Prefer the font "tib24p-mule.bdf"
for Tibetan.
2000-06-09 02:22:56 +00:00
Gerd Moellmann
9909b39584 Customization fix, doc fix.
(ps-multibyte-buffer): Customization fix.
2000-04-18 13:04:00 +00:00
Kenichi Handa
3ea591bda6 ps-vars eliminated, ps-multibyte-buffer now is
`;;;###autoload'.
2000-01-05 07:16:52 +00:00
Kenichi Handa
d0da93b3a1 Define encode-composition-rule and find-composition
for Emacs 20.4 and the earlier versions.
(ps-mule-init-external-library): Just require a feature for
external libraries.
(ps-mule-prologue): Postscript code modified for new composition.
(ps-mule-find-wrappoint): New arg COMPOSITION.
(ps-mule-plot-string): Delete code for composite characaters.
(ps-mule-plot-composition): New funcion.
(ps-mule-prepare-font-for-components): New function.
(ps-mule-plot-components): New function.
(ps-mule-composition-prologue-generated): Renamed from
ps-mule-cmpchar-prologue-generated.
(ps-mule-composition-prologue): New named from
ps-mule-cmpchar-prologue.  Modified for new composition.
(ps-mule-plot-rule-cmpchar, ps-mule-plot-cmpchar,
ps-mule-prepare-cmpchar-font): Deleted.
(ps-mule-string-encoding): New arg NO-SETFONT.
(ps-mule-bitmap-prologue): In Postscript code of BuildGlyphCommon,
check Composing, not Cmpchar
(ps-mule-initialize): Set ps-mule-composition-prologue-generated
to nil.
(ps-mule-begin-job): Check existence of new composition.
1999-12-15 00:34:01 +00:00
Kenichi Handa
2dedd03c49 (ps-mule-font-info-database-bdf): Default BDF font
for the charset chinese-sisheng is 7bit encoding, not 8bit.
1999-11-20 00:17:14 +00:00
Kenichi Handa
5daebd006e Require ps-vars instead of ps-print-def. 1999-11-18 10:42:44 +00:00
Kenichi Handa
c276ee0534 Doc fix, define functions properly if mule package is
loaded or not.
(ccl-encode-ethio-unicode, ps-mule-encode-ethiopic): Define properly if
mule package is loaded or not.

File dependence fix.
(ps-multibyte-buffer): Moved to ps-print-def.
1999-10-20 01:07:33 +00:00
Kenichi Handa
f58395f66d (ps-mule-font-info-database-ps): Typo fixed
(normat->normal).  Use correct font names for Korean
(Munhwa-Regular-KSC-EUC-H and Munhwa-Bold-KSC-EUC-H).
1999-09-29 11:48:36 +00:00
Kenichi Handa
16c1fb84b5 (ps-mule-begin-job): Fix malformed regexp. 1999-07-27 02:37:24 +00:00
Kenichi Handa
b77e0a82ca fix previous change 1999-05-13 06:50:04 +00:00
Kenichi Handa
bc4c1aae95 (ps-mule-prologue): Fix the definition of DefFontMule
to correctly reflect the value of BaseLineOffset in
RelativeCompose.  Now the value of RelativeCompose is an array of
low and high positions.
(ps-mule-cmpchar-prologue): Adjust the definition of BC, EC, and
RLC for the above change.
1999-05-13 06:40:05 +00:00
Kenichi Handa
d7d83b6e97 (ps-mule-begin-job): Redo this change "if
ps-multibyte-buffer is nil, use
ps-mule-font-info-database-default."
1999-05-10 01:40:49 +00:00
Kenichi Handa
d36275d2fd Change of ps-print font size variable name.
(ps-mule-generate-font): Fun fix.
(ps-mule-begin-job): Programming uniformization.
1999-02-27 01:38:11 +00:00
Kenichi Handa
2a772306ea (ps-mule-font-info-database-default): Set the initial
value to ps-mule-font-info-database-latin.
1999-02-13 01:47:07 +00:00
Kenichi Handa
00cbf82070 (ps-multibyte-buffer): Doc-string modified.
(ps-mule-font-info-database-default): New variable.
(ps-mule-begin-job): If ps-multibyte-buffer is nil, use
ps-mule-font-info-database-default.
1999-02-13 01:41:27 +00:00
Kenichi Handa
fb901f73c4 (ps-mule-font-info-database-bdf): Fix ENCODING field
for ASCII and Latin-1.
1999-02-12 11:14:46 +00:00
Eli Zaretskii
5d5bea977f (ps-mule-font-info-database-bdf): Add alternative
file names that avoid clashes in DOS 8+3 namespace.  FONT-NAME can
now be a list of alternative names.
(ps-mule-generate-font): If FONT-NAME is a cons cell, use its car.
(ps-mule-prepare-font): Likewise.
1999-01-17 16:32:50 +00:00
Kenichi Handa
f37bad8597 (ps-mule-begin-job): Programming uniformization. 1998-12-22 13:23:30 +00:00
Kenichi Handa
2cb842aeec New file. Mule related code extracted from
ps-print.el.  Require ps-print, provide ps-mule.
(ps-multibyte-buffer): Add autoload cookie.
(ps-mule-prepare-ascii-font): New fun.
(ps-mule-set-ascii-font): New fun.
(ps-mule-skip-same-charset): Fun deleted.
(ps-mule-plot-string): Set ps-mule-current-charset.
(ps-mule-initialize): Add autload cookie.  Don't set
ps-mule-font-info-database here.
(ps-mule-begin-job): Renamed from ps-mule-begin.  Update
ps-mule-font-info-database and ps-control-or-escape-regexp.
(ps-mule-begin-page): New fun.

Doc fix. Require ps-print only when compiled.
(ps-mule-prologue-generated): New fun.
(ps-mule-plot-string): Add autoload cookie.
(ps-mule-begin-job): Call ps-mule-prologue-generated.

Programming uniformization and little code improvement.
(ps-mule-prepare-font): Programming uniformization.
(ps-mule-find-wrappoint, ps-mule-plot-rule-cmpchar)
(ps-mule-string-encoding, ps-mule-begin-job): Little code improvement.

Always require ps-print.  Move some function
definitions for Emacs 20.2 and the earlier to ps-print.el.
(ps-mule-find-wrappoint): Make it work also with Emacs 20.2.

(ps-mule-begin-job): Delete nil and unknown from a
list of character sets found by find-charset-region.
1998-12-15 06:38:12 +00:00
Kenichi Handa
9c423e6b04 Initial revision 1998-12-15 06:37:14 +00:00