Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!titech.ac.jp!cs.titech.ac.jp!news-admin
From: hagiwara@cs.titech.ac.jp (Takeshi Hagiwara)
Newsgroups: fj.comp.texhax
Subject: Re: [Q] xdvik18f-j1.0 on Solaris2.5
Date: 18 Apr 1996 02:16:22 +0900
Organization: Tokyo Institute of Tech., Dept. of Computer Science, Japan
Lines: 87
Sender: hagiwara@nirvana.cs.titech.ac.jp
Message-ID: <t02ybnuwz2x.fsf@nirvana.cs.titech.ac.jp>
References: <YOSHINO.96Apr18012318@janus.is.tokushima-u.ac.jp>
NNTP-Posting-Host: nirvana.cs.titech.ac.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
In-reply-to: yoshino@is.tokushima-u.ac.jp's message of 17 Apr 1996 16:23:18 GMT
Xref: galaxy.trc.rwcp.or.jp fj.comp.texhax:7786
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.comp.texhax&nb=7786&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

In article <YOSHINO.96Apr18012318@janus.is.tokushima-u.ac.jp> yoshino@is.tokushima-u.ac.jp (Toshiki YOSHINO) writes:

> $B!VLdBjE@#1!W(B
> xdvi$B$r5/F0$9$k$H!"F|K\8l$OLdBj$J$/I=<($5$l$k$N$G$9$,!"(B
> Shrink$B%\%?%s$r2!$9$H(BBus error$B$H$J$j$^$9!#(B
> $B$?$@$7!"(B"Shrink1"$B$H(B"$B5/F0;~$K;XDj$7$?HV9f$N%\%?%s(B"$B$OF0:n$7$^$9!#(B
> $B$^$?!"F|K\8l$r;HMQ$7$F$$$J$$(Bdvi$B%U%!%$%k$K$O@5>o$KF0:n$7$^$9!#(B
> $BJL$N(Bdvi$B%U%!%$%k$rFI$_9~$`$H$-$K$b(BBus error$B$H$J$k$3$H$,$"$j$^$9!#(B
> 
> $B!VLdBjE@#2!W(B
> dvips$B$G;HMQ$9$k(BVF$B%U%!%$%k$N%G%#%l%/%H%j$,(B($texmf)/fonts
> $B$N2<$K$"$k$H!"(Bxdvi$B5/F0;~$K(B
>   Virtual character ????? in font min10 ignored.
> $B$H$$$&9T$,1d!9$H=PNO$5$l$^$9!#(B(?????$B$O?t;z!K(B
> $B%G%#%l%/%H%jL>(B"vf"$B$rJQ99$9$k$H!"(Bdvips$B$G%(%i!<$,=P$^$9!#(B
> 
> $B0J>e$N#2E@$K$D$-$^$7$F!"BP=hK!$r$4B8CN$NJ}!"$h$m$7$/$*4j$$CW$7$^$9!#(B

$B0J2<$N%Q%C%A$r$"$F$k$HD>$k$H;W$$$^$9!#(B

$BGk86!wEl9)Bg(B


--- font-open.c.orgTue Apr 16 15:10:30 1996
+++ font-open.cThu Apr 18 00:37:26 1996
@@ -20,17 +20,10 @@
     char **filename_ret;
 {
   FILE *ret;
-  char *name = kpse_find_vf (font);
+  char *name;
   
-  if (name)
-    {
-      /* VF fonts don't have a resolution, but loadfont will complain if
-         we don't return what it asked for.  */
-      *dpi_ret = dpi;
-      *font_ret = NULL;
-    }
 #ifdef USE_ZEIT
-  else if (iskanjifont(font))
+  if (iskanjifont(font))
     {
       name = kpse_find_tfm (font);
       if (name)
@@ -38,8 +31,16 @@
   *dpi_ret = dpi;
   *font_ret = NULL;
 }
-    }
+    } else {
 #endif /* USE_ZEIT */
+  name = kpse_find_vf (font);
+  if (name)
+    {
+      /* VF fonts don't have a resolution, but loadfont will complain if
+         we don't return what it asked for.  */
+      *dpi_ret = dpi;
+      *font_ret = NULL;
+    }
   else
     {
       kpse_glyph_file_type file_ret;
@@ -57,6 +58,9 @@
         }
       /* If no VF and no PK, FONT_RET is irrelevant? */
     }
+#ifdef USE_ZEIT
+  }
+#endif
   
   /* If we found a name, return the stream.  */
   ret = name ? xfopen (name, FOPEN_R_MODE) : NULL;
--- util.c.orgSat Oct  8 04:25:41 1994
+++ util.cThu Apr 18 01:17:48 1996
@@ -109,7 +109,11 @@
 {
 /* Avoid malloc(0), though it's not clear if it ever actually
    happens any more.  */
+#if 0
 char *mem = malloc(size ? size : 1);
+#else
+char *mem = calloc(size ? size : 1, 1);
+#endif
 
 if (mem == NULL)
     oops("! Cannot allocate %u bytes for %s.\n", size, why);
