Lower-case font names break eps output

John W. Eaton jwe at bevo.che.wisc.edu
Tue Apr 8 20:55:10 CDT 2008


On  8-Apr-2008, Roy Stogner wrote:

| To: bug at octave.org
| Cc: roy at stogners.org
| Subject: Lower-case font names break eps output
| 
| Bug report for Octave 3.0.0 configured for i386-redhat-linux-gnu
| 
| Description:
| -----------
| 
| When creating embedded postscript output of a plot whose text objects
| have had font names changed, the font names in the resulting .eps file
| have been changed to lower case, which confuses postscript
| interpreters reading the output.
| 
| Repeat-By:
| ---------
| 
| In octave:
| 
| octave:1> plot(1, 1)
| octave:2> title('Testing', 'FontName', 'Helvetica')
| octave:3> print -depsc testing.eps
| 
| To see the results, from a shell:
| 
| $ grep Testing testing.eps
| [ [(helvetica) 100.0 0.0 true true 0 (Testing)]
| 
| Because my postscript interpreters know how to find "Helvetica" but
| not "helvetica", they fall back on some ugly default monospaced font
| instead.

This problem has already been reported and fixed:

  https://www.cae.wisc.edu/pipermail/bug-octave/2008-January/004676.html

jwe


More information about the Bug-octave mailing list