[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with dvips and Acrobat



I had a very curious problem. Some of you may know my yhmath
package and the font with the very large math accents. I recently
did a PostScript version of it. It printed and previewed (gs)
without the slightest problem. When I tried to distill such a
PostScript file, Acrobat refused it. After a long search it came
out that the problem was in the metrics of the font:

TeXDict begin 39158280 55380996 1000 1270 1270 () @start
/Fa 135[92 49[92 92 92 92 92 92 7[92 92 92 92 92 92 92
92 92 92 48[{}17 175.73 /cmtt10 rf /Fb 1209 1097 984
872 759 647 534 422 366 309 253 197 141 1209 1097 984
872 759 647 534 422 366 309 253 197 141 1209 1097 984
872 759 647 534 422 309 197 1209 1097 984 872 759 647
534 422 309 197 253 253 253 253 253 253 253 253 253 253
323 294 235 176 323 294 235 176 404 373 341 309 278 246
214 199 167 135 404 373 341 309 278 246 214 199 167 135
192 174 156 192 174 156 155 141 127 155 141 127 155 141
127 155 141 127 141 127 112 141 127 112 432 397 362 327
292 257 221 204 169 134 432 397 362 327 292 257 221 204
169 134 128[{}128 253.051 /Yhcmex rf /Fc 128[197 197
114 114 114 114 169 169 197 267 267 267 253 253 253 253
169 169 134 134 134 134 119 119 366 253 141 366 253 141
323 239 281 281 281 281 281 141 323 366 211 211 211 211
211 119 239 267 382 281 382 281 382 281 141 119 281 211
155 155 221 221 221 221 169 225 225 225 225 225 225 225
169 169 169 169 169 169 221 221 205 205 323 323 204 204
204 204 162 162 162 162 148 148 200 200 264 264 190 190
190 190 148 148 148 148 134 134 186 186 151 151 146 146
141 84 119 119 148 148 119 119 119 119 105 105 116 116{}128
253.051 /cmex10 rf /Fd 135[82 64[90 90 90 90 90 90 90
90 48[{}9 175.73 /cmti10 rf /Fe 130[88 73[88 88 88 29[88
19[{}5 175.73 /cmr10 rf /Ff 134[74 74 1[74 1[55 56 55
2[70 78 115 4[78 1[44 62 1[62 78 70 12[100 5[104 20[70
70 70 2[70 1[70 70 70 3[40 44[{}25 123.011 /cmr7 rf end

As you can see, the widths of Yhcmex characters start at
1209. Well, all characters with width greater or equal to 720
make Acrobat Distiller abort!

I suppose that these are PostScript units, and hence 720 means
one inch. Can it be possible that Distiller cannot treat
characters wider than one inch, in 10 points fontsize?

Have you ever heard of this problem?
Any solution? The only solutions I found up to now are
(a) either to postprocess the PostScript files so that
widths greater than 720 be replaced with 719 [as two large
accents never follow each other, this doesn't seem to affect
the output]
(b) make a PostScript with all characters less than 720 wide...
Both solution are not entirely satisfactory.

Anyone has a real solution?

Cheers

Yannis
+--------------------------------------------------------------------+
| Yannis Haralambous, Ph.D.                  yannis@fluxus-virus.com |
|                                 http://www.fluxus-virus.com/yannis |
+--------------------------------------------------------------------+
| 187, rue Nationale                     fax :  +33 (0)3.20.40.28.64 |
| 59800 Lille, France                    tél. : +33 (0)6.07.98.16.26 |
+--------------------------------------------------------------------+
| Visit the Omega home page!!                http://www.ens.fr/omega |
+--------------------------------------------------------------------+
                         ...pour distinguer l'extérieur d'un aquarium,
                                        mieux vaut n'être pas poisson

                        ...the ball I threw while playing in the park
                                         has never reached the ground