worldeb@[EMAIL PROTECTED]
wrote:
> Unfortunately my experiments with openoffice fonts (opens___.ttf) and
> gnuplot (v 4.2.3) had not good results.
> I try to use in label for example set label {//path/to/opens___.ttf
> something} or set label "somting" bla-bla font "/pat/to/opens___.ttf",
You don't need to do any of this path stuff for pdf.
Just say:
set label "something" font "wingdings"
gnuplot doesn't need to know where the wingdings font is.
In fact, you don't even need to have a wingdings font on the machine
where you are running gnuplot. It is up to the pdf viewer to find a
font with that name or an appropriate substitute.
Same for PostScript output.
[NB: Yes, you would need to have a local copy of the font if you want
to embed it in the gnuplot output, but that's a separate question].
If you are mixing fonts within a label, then you should use
gnuplot's enhanced text mode. But here also the font can be
referred to simply by its face name.
> I try to copy this font in local dir, try to set encoding and results
> was in many case: "Couldn't find font /path/to/opens___.ttf, falling
> back to Times-Roman". For pdf, png terminals.
> One positive results was when I put font in terminal section for png
> terminal: "set terminal png medium font "/path/to/opens___.ttf" size
> 640,480 enhanced". In this case I could see that font changed but it
> was not readable (for axes label & title, not only labels).
>
> Can you demonstrate how use this font. Not only for regular text, but
> also for OpenSymbol from this fonts and WingDings, as you said in your
> post.
>
> There is some explanation for OpenSymbol in gnuplot manual for wxt &
> pdf terminal, but it is not clear.
>
> Thanx.
>
>> > How can I select one or other symbol from this font?
>>
>> That is normally determined by the character encoding of the font.
>> If you have a custom encoded font (for example WingDings.ttf) then
>> there is no way to know other than looking a list of characters in
>> the font.


|