Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Gnuplot interactive function plotter > Re: use openoff...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 3544 of 3637
Post > Topic >>

Re: use openoffice ttf font in gnuplot

by sfeam <sfeam@[EMAIL PROTECTED] > Oct 14, 2008 at 10:30 AM

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.
 




 6 Posts in Topic:
use openoffice ttf font in gnuplot
worldeb@[EMAIL PROTECTED]  2008-10-13 06:57:45 
Re: use openoffice ttf font in gnuplot
sfeam <sfeam@[EMAIL PR  2008-10-13 17:49:58 
Re: use openoffice ttf font in gnuplot
worldeb@[EMAIL PROTECTED]  2008-10-14 02:16:05 
Re: use openoffice ttf font in gnuplot
sfeam <sfeam@[EMAIL PR  2008-10-14 10:30:28 
Re: use openoffice ttf font in gnuplot
worldeb@[EMAIL PROTECTED]  2008-10-14 02:39:33 
Re: use openoffice ttf font in gnuplot
sfeam <sfeam@[EMAIL PR  2008-10-15 12:07:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 4:54:45 CST 2008.