Re: [Plplot-general] Another way to change the plotting font

2017-10-21 Thread Frédéric
> The first thing you should do is to ask on the > wxwidgets list how users can specify the specific fonts corresponding > to the wxwidgets generic fonts on both Linux and Windows. I found the following in wxPdfDocument (pdffontmanager.cpp): #if defined(__WXMSW__) #include #elif defined(__WXGTK__

Re: [Plplot-general] Another way to change the plotting font

2017-10-19 Thread Alan W. Irwin
On 2017-10-19 15:55+0100 p.d.rosenb...@gmail.com wrote: From: Alan W. Irwin Sent: 19 October 2017 09:40 To: p.d.rosenb...@gmail.com Cc: Frédéric; plplot-general@lists.sourceforge.net Subject: RE: [Plplot-general] Another way to change the plotting font On 2017-10-19 08:33+0100 p.d.rosenb

Re: [Plplot-general] Another way to change the plotting font

2017-10-19 Thread p.d.rosenberg
From: Alan W. Irwin Sent: 19 October 2017 09:40 To: p.d.rosenb...@gmail.com Cc: Frédéric; plplot-general@lists.sourceforge.net Subject: RE: [Plplot-general] Another way to change the plotting font On 2017-10-19 08:33+0100 p.d.rosenb...@gmail.com wrote: > > > Sent from my Windows

Re: [Plplot-general] Another way to change the plotting font

2017-10-19 Thread Alan W. Irwin
On 2017-10-19 08:33+0100 p.d.rosenb...@gmail.com wrote: Sent from my Windows 10 phone From: Alan W. Irwin Sent: 19 October 2017 03:01 To: Frédéric Cc: plplot-general@lists.sourceforge.net what do you mean by "set up fontconf"? isn't fontconfig just for POSIX? No. For example, the Windows

Re: [Plplot-general] Another way to change the plotting font

2017-10-19 Thread p.d.rosenberg
Sent from my Windows 10 phone From: Alan W. Irwin Sent: 19 October 2017 03:01 To: Frédéric Cc: plplot-general@lists.sourceforge.net > what do you mean by "set up fontconf"? isn't fontconfig just for > POSIX? No. For example, the Windows version of GTK+ depends on fontconfig. We have had thi

Re: [Plplot-general] Another way to change the plotting font

2017-10-18 Thread Alan W. Irwin
On 2017-10-17 13:27+0200 Frédéric wrote: So getting back to your original request, if you are not satisfied with how generic fonts look on your platform for -dev wxwidgets then you might want to try to set up fontconfig a different way to favor your preferred fonts. what do you mean by "set up

Re: [Plplot-general] Another way to change the plotting font

2017-10-18 Thread Alan W. Irwin
On 2017-10-17 15:48+0100 p.d.rosenb...@gmail.com wrote: Sorry, thought I sent the message below, but I just found it in my drafts. wxWidgets accepts a font name, then uses the style for fallback if that named font doesn't exist. In the plplot wxWidgets backend we don't use the name because p

Re: [Plplot-general] Another way to change the plotting font

2017-10-17 Thread Frédéric
> However, I relatively easily add this to the wxWidgets API only, as a method > of the wxPLplotstream class. do you mean that you are able to use the wxWidgets fonts with plplot? That's interesting. I would like to use plplot to print the plots on the screen but also in a pdf document with wxPdf

Re: [Plplot-general] Another way to change the plotting font

2017-10-17 Thread p.d.rosenberg
ll itself could accept a pointer to a wxFont object as a wxWidgets native way to set the font. Phil From: Alan W. Irwin Sent: 13 October 2017 23:59 To: Alaric Senat Cc: plplot-general@lists.sourceforge.net Subject: Re: [Plplot-general] Another way to change the plotting font On 2017-10-13 15:26-070

Re: [Plplot-general] Another way to change the plotting font

2017-10-17 Thread Frédéric
> So getting back to your original request, if you are not satisfied > with how generic fonts look on your platform for -dev wxwidgets then > you might want to try to set up fontconfig a different way to favor > your preferred fonts. what do you mean by "set up fontconf"? isn't fontconfig just for

Re: [Plplot-general] Another way to change the plotting font

2017-10-13 Thread Alan W. Irwin
On 2017-10-13 15:26-0700 Alan W. Irwin wrote: On 2017-10-13 16:11+0200 Alaric Senat wrote: Hi, I'm trying to simply change the font of the texts in plplot by another one, I found a lot of things in the doc' to change the font in the way to make it Italic or Serif etc. But I'm wondering if t

Re: [Plplot-general] Another way to change the plotting font

2017-10-13 Thread Alan W. Irwin
On 2017-10-13 16:11+0200 Alaric Senat wrote: Hi, I'm trying to simply change the font of the texts in plplot by another one, I found a lot of things in the doc' to change the font in the way to make it Italic or Serif etc. But I'm wondering if there is no way to specify a font file like a .ttf,

[Plplot-general] Another way to change the plotting font

2017-10-13 Thread Alaric Senat
Hi, I'm trying to simply change the font of the texts in plplot by another one, I found a lot of things in the doc' to change the font in the way to make it Italic or Serif etc. But I'm wondering if there is no way to specify a font file like a .ttf, for example. It's good to know that I'm using P