source: trunk/dports/tex/pTeX/files/patch-8test.sh.diff @ 71968

Last change on this file since 71968 was 36009, checked in by takanori@…, 12 years ago

pTeX: Version bump to 20080411.

File size: 1.6 KB
RevLine 
[36009]1--- ./8test.sh.orig     2008-04-05 17:47:44.000000000 +0900
2+++ ./8test.sh  2008-04-13 06:53:32.000000000 +0900
3@@ -191,58 +191,6 @@
4 ex $PXDVI   babeltestJIS.dvi
5 fi
6 
7-# -dNOKANJI check for dvipdfmx
8-echo "-----------------------------"
9-echo "[-dNOKANJI] test"
10-cat <<EOF > dNOKANJI.tex
11-\documentclass[43pt]{jsarticle}
12-\setlength{\headsep}{-3em}
13-\usepackage{graphicx}
14-\begin{document}
15-\noindent {\tiny If char and EPS looks similar, OK.}
16-
17-\noindent
18-Char: {\Huge ¤Ñ¤Ô¤×} \newline
19-\raisebox{3em}{EPS:~}
20-\includegraphics[clip,width=0.7\linewidth]{`pwd`/dNOKANJI.eps}
21-\end{document}
22-EOF
23-
24-cat <<EOF > dNOKANJI.eps
25-%!PS-Adobe-2.0
26-%%BoundingBox: 20 100 330 308
27-%%BeginProlog
28-/OurCharSet findfont 12 scalefont setfont
29-(a) stringwidth pop /mp_a_x exch def
30-%%EndProlog
31-save
32-gsave
33-560 11 mp_a_x mul div 306 18 div scale
34-4 7 translate 552 560 div 16 36 div scale
35-/Ryumin-Light-H findfont 14 scalefont setfont
36-0 13 moveto <2451> show
37-2 mp_a_x mul 13 moveto <2454> show
38-4 mp_a_x mul 13 moveto <2457> show
39-0 0 moveto <245a> show
40-2 mp_a_x mul 0 moveto <245d> show
41-4 mp_a_x mul 0 moveto <396c> show
42-grestore
43-restore
44-showpage
45-EOF
46-
47-nkfjis dNOKANJI.tex > /dev/null
48-$BIN/platex dNOKANJI.tex < /dev/null > /dev/null || catexit dNOKANJI.log
49-ex $PDVIPS  dNOKANJI.dvi
50-ex $PDVIPDF dNOKANJI.dvi
51-if test `wc -c < dNOKANJI.pdf` -gt 10000; then
52-    cat <<EOF
53-Warning: 'gs' seem to embed Japanese fonts in spite of '-dNOKANJI' option.
54-Check gs options in $TEXMF/dvipdfm/config/dvipdfmx.cfg.
55-We may need some additional patches for ghostscript.
56-EOF
57-fi
58-
59 # CVE-2007-0104 check for pdflatex
60 echo "-----------------------------"
61 echo "[CVE-2007-0104] test"
Note: See TracBrowser for help on using the repository browser.