diff options
| author | Kenichi Handa | 2003-09-26 13:00:44 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-09-26 13:00:44 +0000 |
| commit | 440756f067e26cf954f59bf3f639743641d109d0 (patch) | |
| tree | 0aa7b3866e96fcd9c62d6afb96c2a1109ee0fd15 | |
| parent | 0e78bb62807df9ca801aafc13ce22573fd1a28a5 (diff) | |
| download | emacs-440756f067e26cf954f59bf3f639743641d109d0.tar.gz emacs-440756f067e26cf954f59bf3f639743641d109d0.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/ps-mule.el | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/lisp/ps-mule.el b/lisp/ps-mule.el index 85416fe78e5..4a777ce792f 100644 --- a/lisp/ps-mule.el +++ b/lisp/ps-mule.el | |||
| @@ -662,6 +662,15 @@ The generated code is inserted on prologue part." | |||
| 662 | (defconst ps-mule-prologue | 662 | (defconst ps-mule-prologue |
| 663 | "%%%% Start of Mule Section | 663 | "%%%% Start of Mule Section |
| 664 | 664 | ||
| 665 | /Latin1Encoding { % newname fontname | font | ||
| 666 | findfont dup length dict begin | ||
| 667 | { 1 index /FID ne { def } { pop pop } ifelse } forall | ||
| 668 | /Encoding ISOLatin1Encoding def | ||
| 669 | currentdict | ||
| 670 | end | ||
| 671 | definefont | ||
| 672 | } bind def | ||
| 673 | |||
| 665 | %% Redefine fonts for multiple charsets. | 674 | %% Redefine fonts for multiple charsets. |
| 666 | /ReDefFont { % fontname encoding fdepvector size | - | 675 | /ReDefFont { % fontname encoding fdepvector size | - |
| 667 | 20 dict begin | 676 | 20 dict begin |
| @@ -678,7 +687,7 @@ The generated code is inserted on prologue part." | |||
| 678 | currentdict | 687 | currentdict |
| 679 | end % fontname dic | 688 | end % fontname dic |
| 680 | definefont pop | 689 | definefont pop |
| 681 | } def | 690 | } bind def |
| 682 | " | 691 | " |
| 683 | "PostScript code for printing multi-byte characters.") | 692 | "PostScript code for printing multi-byte characters.") |
| 684 | 693 | ||
| @@ -1293,8 +1302,9 @@ This checks if all multi-byte characters in the region are printable or not." | |||
| 1293 | (list (if (ps-mule-font-spec-src (cdr (car font-spec-alist))) | 1302 | (list (if (ps-mule-font-spec-src (cdr (car font-spec-alist))) |
| 1294 | ;; We ignore a font specfied in ps-font-info-database. | 1303 | ;; We ignore a font specfied in ps-font-info-database. |
| 1295 | (format "/V%s VTOP%d def\n" fonttag font-type) | 1304 | (format "/V%s VTOP%d def\n" fonttag font-type) |
| 1296 | (format "/V%s [ VTOP%d aload pop ] def V%s 0 /%s findfont put\n" | 1305 | (format "/V%s [ VTOP%d aload pop ] def\n |
| 1297 | fonttag font-type fonttag ps-font)) | 1306 | V%s 0 /%s-latin1 /%s Latin1Encoding put\n" |
| 1307 | fonttag font-type fonttag ps-font ps-font)) | ||
| 1298 | (format "/%s ETOP%d V%s %f ReDefFont\n" | 1308 | (format "/%s ETOP%d V%s %f ReDefFont\n" |
| 1299 | fonttag font-type fonttag size))))) | 1309 | fonttag font-type fonttag size))))) |
| 1300 | 1310 | ||