>>>>> "AC" == Andres Cimmarusti <acimmarusti@...> writes:
AC> Yes I do have [Arial] installed (I have installed the package
D'oh. I entirely forgot about the mscorefonts-installer package....
>> Can you provide an example pdf from each terminal?
They both come from the pdfcairo terminal. Gnuplot will autocomplete
terminal names, so if one asks for pdf but only pdfcairo is compiled in,
one gets pdfcairo.
AC> Correct me if I'm wrong,
No. You reasoned correctly.
AC> but I feel the problem here maybe slightly different.
Having now seen the pdfs, your hypothesis is exacly correct.
AC> I'm using some greek symbols (for tau and mu in the y and x
AC> labels respectively) and I think gnuplot doesn't find these special
AC> letters in Arial so it chooses the other fonts to compensate.
I looked at the embedded fonts; the μ is from Vera and the τ from Deja.
AC> I see. So even now that I know Arial is included, it keeps failing. Is
AC> is because it says ArialMT? why would it say ArialMT in any case? (my
AC> script calls for plain Arial...unfortunately this is font of choice of
AC> my collaborators).
The MT is for Monotype, the foundry from which MS licensed Arial.
Illustrator shouldn't have a problem with that. If you have
lcd-typetools installed, I'd bet that
otfinfo -p arial.ttf
will show that the font's PostScript Name is ArialMT. otfinfo's -i
option should give additional info.
If Debian's mscorefonts-installer uses the fonts from:
then it should have mu and tau glyphs. If you have it installed,
xfd -fa Arial
should show the glyphs supported by your version of Arial; you can use
lsof(8) or look in /proc/$(pidof xfd)/maps to confirm that is has loaded
the right font file. If you [Next] to the 0x0300 page it should have
Hellenic glyphs. I don't know why pango ignores those in favour of ones
from the Sans alias.
Do you run gnuplot in a utf-8 locale? If not, that may be why.
If so, it could be a bug in the pdfcairo terminal.
I just tried (with cairo and gnuplot from their git repos) in en_US.UTF-8.
A simple plot:
set term pdf enh font 'Arial,16'
set out "myt.pdf"
set label "Ελλενικα"
resulted in Arial for the mu and tau:
:; pdffonts myt.pdf
name type encoding emb sub uni object ID
--------------- ------------- ----------- --- --- --- ---------
OLTWPV+ArialMT TrueType WinAnsi yes yes yes 5 0
NUXGAE+ArialMT CID TrueType Identity-H yes yes yes 6 0
It looks like you either need to switch to a utf-8 locale or newer
version(s) of gnuplot and/or cairo.
James Cloos <cloos@...> OpenPGP: 1024D/ED7DAEA6