[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fonts with 3.0
From: |
Matthias Brennwald |
Subject: |
Re: fonts with 3.0 |
Date: |
Mon, 14 Jan 2008 16:52:32 +0100 |
dear all
I think I've fixed the below issue (at least fonts work much better for
me now). However, I do not understand how to provide bug fixes to
Octave. I just don't understand this geeky stuff about using diff and
context diff etc. I therefore attached the original file I had from my
Octave 3.0.0 installation and my modified file (I hope that someone can
use them to propagate the to the next release of Octave).
Matthias
On Fri, 2008-01-11 at 06:20 -0600, address@hidden wrote:
> Message: 9
> Date: Fri, 11 Jan 2008 21:19:52 +0900
> From: Tetsuro KURITA <address@hidden>
> Subject: Re: fonts with 3.0
> To: address@hidden
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=US-ASCII
>
> I think octave 3.0 have a problem to specify fonts of xlabel, ylabel,
> title.
> In some gunuplot terminal, font setting does not work.
>
> I the case the gnuplot terminal is x11, no problems seems to appear.
> But we can not control label's font in the postscript terminal.
>
> Because octave send lowercase font names to gnuplot always.
> It looks font name is converted into lowercase in
> plot/__go_draw_axes__.m
>
> I think font names should be dealt with in case sensitive.
>
> If you modify plot/__go_draw_axes__.m as follows, we can obtain font
> control in postscript output.
>
> *** 1604,1610 ****
> if (isempty (t.fontname))
> fnt = "helvetica";
> else
> ! fnt = tolower (t.fontname);
> endif
> f = fnt;
> it = false;
> --- 1604,1610 ----
> if (isempty (t.fontname))
> fnt = "helvetica";
> else
> ! fnt = t.fontname;
> endif
> f = fnt;
> it = false;
>
> I think this problem is addressed as a bug.
>
>
>
> On 2008/01/11, at 17:22, David Bateman wrote:
>
> > Dmitri A. Sergatskov wrote:
> >> With the older graphics engine, print("-depsc2", "-F:18",
> "fname.ps") would set
> >> the same fonts for axes and for labels/titles. Now, with 3.0, it
> sets
> >> only axis fonts.
> >> I am not sure if this is a bug or the feature. If it is a feature,
> how
> >> one does set the
> >> fonts for th xlabel, ylabel, and the title?
> >>
> >> Sincerely,
> >>
> >> Dmitri.
> >> --
> >> _______________________________________________
> >> Help-octave mailing list
> >> address@hidden
> >> https://www.cae.wisc.edu/mailman/listinfo/help-octave
> >>
> >>
> > Sometime like
> >
> > octave:1> plot(1:10)
> > octave:2> xlabel("X","fontname","Times")
> > octave:3> ylabel("Y","fontname","Helvetica")
> >
> > should work.
> >
> > D.
> >
> > --
> > David Bateman
> address@hidden
> > Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
> > Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33
> (Mob)
> > 91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01
> (Fax)
> >
> > The information contained in this communication has been classified
> as:
> >
> > [x] General Business Information
> > [ ] Motorola Internal Use Only
> > [ ] Motorola Confidential Proprietary
> >
> > _______________________________________________
> > Help-octave mailing list
> > address@hidden
> > https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
> =======================================================
> Tetsuro KURITA
> E-mail: address@hidden
> http://homepage.mac.com/tkurita/scriptfactory/en/
> =======================================================
>
--
Matthias Brennwald
Project Manager Safety Analysis
Nagra, 5430 Wettingen, Switzerland
+41 56 437 13 32
__go_draw_axes__.m.MODIFIED
Description: Text document
__go_draw_axes__.m.ORIGINAL
Description: Text document
- fonts with 3.0, Dmitri A. Sergatskov, 2008/01/10
- Re: fonts with 3.0,
Matthias Brennwald <=