Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!etlnews.etl.go.jp!etlinn.etl.go.jp!etl.go.jp!trc.rwcp!rwc-tyo!news.iij.ad.jp!iijnet!fukudagw.hongo.fukuda.co.jp!sekimizu
From: sekimizu@hongo.fukuda.co.jp (Sekimizu Hidemasa)
Newsgroups: fj.comp.texhax
Subject: Re: trouble (xdvi + vflib)
Date: 19 Dec 1995 03:18:18 GMT
Organization: Fukuda Denshi Co.,LTD.
Lines: 36
Distribution: fj
Message-ID: <4b5b34$bke@fukudagw.hongo.fukuda.co.jp>
References: <TAKEUCHI.95Dec18153811@skyline.hc.t.u-tokyo.ac.jp>
NNTP-Posting-Host: soramimi.hongo.fukuda.co.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
In-reply-to: takeuchi@hc.t.u-tokyo.ac.jp's message of 18 Dec 1995 15:38:11
 JST
X-Newsreader: gnspool [Version 1.33 Nov.1,1995 (Unix)]
Xref: galaxy.trc.rwcp.or.jp fj.comp.texhax:7161
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.comp.texhax&nb=7161&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 <TAKEUCHI.95Dec18153811@skyline.hc.t.u-tokyo.ac.jp>, takeuchi@hc.t.u-tokyo.ac.jp (Keisuke Takeuchi) writes:

 >xdvi-pl17 + miyu-patch + vflib2.20.1 $B$G!"F|K\8l%U%)%s%H$K(B TrueType $B%U%)(B
 >$B%s%H$r;HMQ$7$F$$$^$9$,!"A43Q!&%4%7%C%/BN$N!V!)!W$rI=<($5$;$k$H!"(B

 >  Cannot trim side blanks; ll=7, rr=29, width=20

 >$B$N$h$&$J%(%i!<$r=P$7!"(B

 >$B$H$$$&46$8$N%Q%?!<%s$,%3%^%s%I%i%$%s>e$KI=<($5$l$^$9!#(Bxdvi $B$N%W%l%S%e!<(B
 >$B2hLL$K$O!"!V!)!W$N1&C<$,@Z$l$FI=<($5$l$^$9!#A43Q!&L@D+BN$N!V!)!W$dH>3Q(B
 >$B$N!V(B?$B!W$N>l9g$K$O$3$N$h$&$JLdBj$O5/$3$j$^$;$s!#(B

$BKM$O(Bzeit.c$B$r6/0z$K(B:-)$B<!$N$h$&$K=q$-49$($F$7$^$$$^$7$?!#(B
$B$A$g$C$H@53N$J%Q%C%A$+$I$&$+$O$o$+$j$^$;$s$,!";29M$^$G!#(B

--- zeit.c-distThu Aug 31 18:46:35 1995
+++ zeit.cTue Dec 19 12:14:52 1995
@@ -198,10 +198,10 @@
 if (!found) return;
 
 if (rr - ll + 1 > width) {
-    Fprintf(stderr, "Cannot trim side blanks; ll=%d, rr=%d, width=%d\n",
-    ll, rr, width);
-    dispfont(bm);
-    return;
+    int d;
+    d = (rr - ll + 1 - width)/2;
+    rr -= d;
+    ll += d;
 }
 
 delta = (ll + rr) / 2 - (width / 2);

--
$B$;$-$_$:(B
