Closed shiblon closed 8 years ago
Oh, crap.
I think this has to do with a change I made to the gnuplot output to ensure that fonts
are embedded. We just need to make sure that that doesn't get called when the default
graphic output is ps. Shouldn't be too hard, but I'm traveling home from Switzerland
tomorrow, so I can't look at it immediately.
I'm sorry - what a nightmare. Of course, if you're interested in digging a little
and finding the exact problem, that's also fine :)
Reported by shiblon@google.com
on 2011-09-29 20:36:38
What I don't get is how the following rule can get run with $@ set to a filename with
a .eps suffix:
%.pdf: %.ps %.embed.make
In my naive brain, the value of $@ would have to have a .pdf suffix for this rule to
apply. And this rule is the only place in the whole file where I see make-pdf being
used.
Reported by amcnabb8
on 2011-09-29 21:59:44
Oh, I see that gs is _also_ getting called in gpi-embed-pdf-fonts, not just in make-pdf.
I must be getting closer. :)
Reported by amcnabb8
on 2011-09-29 22:17:13
Okay, I think the attached patch fixes it. I've tested in both eps mode and pdf mode,
and I've confirmed that it only runs gs in the case of pdf mode. It's only one line,
but it's always possible I didn't solve it in the way you would. I think I have commit
access, but I won't use it unless you tell me to.
Reported by amcnabb8
on 2011-09-29 22:41:33
You do have commit access. For kicks and grins, go ahead and submit, then we can try
out the code review facilities in codesite. It's easy to back it out or change it
later, and I won't cut a tarball until it's ready. Fair enough?
Reported by shiblon
on 2011-09-30 08:20:06
While you're at it, can you fix the "success = 0" bug waiting to happen a couple of
lines below? In shell, there shouldn't be spaces around the "=". My bad, and we might
as well fix it in this patch.
Reported by shiblon
on 2011-09-30 08:27:50
The instructions only talk about how to do code reviews with Subversion, and in a short
search, I wasn't able to find any information about whether there's support for Mercurial.
I guess I'll just push for now, and we'll see what happens.
Reported by amcnabb8
on 2011-09-30 15:28:08
Reported by shiblon
on 2011-10-04 20:18:47
Fixed
Originally reported on Google Code with ID 141
Reported by
amcnabb8
on 2011-09-29 20:25:16