Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37706413
en ru br
ALT Linux repos
S:2.5.7-alt1
5.0: 2.5.4-alt2.0
4.1: 2.5.4-alt2.0
4.0: 2.5.4-alt2.0
3.0: 2.5.4-alt1

Group :: System/Configuration/Printing
RPM: mpage

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: mpage-2.5.4-alt-no-japanese.patch
Download


diff -Naur mpage-2.5.4/mpage.c mpage-2.5.4.new/mpage.c
--- mpage-2.5.4/mpage.c	2004-05-30 23:41:25 +0400
+++ mpage-2.5.4.new/mpage.c	2005-04-14 16:20:51 +0400
@@ -326,6 +326,7 @@
                    HSIZE - 2);
     fprintf(outfd, "textfont setfont\n");
     fprintf(outfd, "(a) stringwidth pop /mp_a_x exch def\n");
+#if 0
 #ifdef KANJI
 #ifdef GOTHIC
     fprintf(outfd, "/kanj /GothicBBB-Medium-H findfont %d scalefont def\n", fsize - 1);
@@ -343,6 +344,7 @@
     fprintf(outfd, "/uniks /Baekmuk-Batang-UniKS-UTF8-H findfont %d scalefont def\n", fsize - 1);
     fprintf(outfd, "/unigb /BousungEG-Light-GB-UniGB-UTF8-H findfont %d scalefont def\n", fsize - 1);
     fprintf(outfd, "/unicns /ShanHeiSun-Light-UniCNS-UTF8-H findfont %d scalefont def\n", fsize - 1);
+#endif    
 # ifdef DEBUG
     if (Debug_flag & DB_PSMPAGE)
         fprintf(outfd, "(\\t'a' length ) print mp_a_x ==\nflush\n");
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin