[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44668] "fontname" is ignored for OpenGL print
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #44668] "fontname" is ignored for OpenGL printing |
Date: |
Mon, 30 Mar 2015 14:43:34 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 |
Update of bug #44668 (project octave):
Status: None => Confirmed
Assigned to: None => pantxo
_______________________________________________________
Follow-up Comment #1:
Hi Ben,
The gl2ps utility only supports a few fonts [1], i.e. those that are
"guaranteed to be available to the viewer application". Our implementation
substitutes any unsupported font by Helvetica.
In this case, the problem is that Octave expects lowercase and thus doesn't
recognize "Courier" as it expects you to write it "courier". I'll fix this by
lowercasing the fontname before comparison with supported fonts.
If I replace "Courier" by "courier" in your example the eps actually uses
courier font. The workaround is thus to use lowercase fontnames among
"courier", "times-roman" (or "times"),"zapfdingbats" or "symbol".
[1] http://geuz.org/gl2ps/#tthFtNtAAC
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44668>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/