Re: set term png font bug?

View: New views
6 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: set term png font bug?

by Tatsuro MATSUOKA-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Jie Wu

cc. gnuplot-beta@... (cc. to there as a reference)

Thank you for your report.
This might be an error around fontconfig file and its path.
I do not have enough time to fully fix it.

However, please try temporary treatment in the following


***********************
Please use  

http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin
Please download
gp45-winbin_2009_1106.zip

Please copy all files and folders in gp45-winbin\gnuplot\bin to "C:\Program Files\Gnuplot4.5"

and execute gnuplot.exe, wgnuplot.exe wgnuplot_pipes.exe there.

"C:\Program Files\Gnuplot4.5" is the install folder at building of gnuplot.
***********
Hope the above helps.


Perhaps etc/fonts/font.conf should be placed on "C:\Program Files\Gnuplot4.5" and
gnuplot binaries should be placed there.

Perhaps there are other solutions but I cannot find at present.

Regards

Tatsuro


--- Jie Wu  wrote:



> Hello Dr. Tatsuro MATSUOKA,
>
> I am using MinGW version of gnuplot built by you. I installed the file
> unzipped from the package
> gp45-winbin.zip<http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/gp45-winbin.zip>.
> Fonts setting works well while terminal set to windows. when i set it to
> png, wgnuplot returns warning message below:
>
> gnuplot> set term png
> Terminal type set to 'png'
> fontconfig: Couldn't retrieve font file name. when opening font "arial",
> using i
> nternal non-scalable font
> Options are 'nocrop medium size 640,480 '
>
> fontpath is:
> gnuplot> show fontpath
>
>         fontpath is
>         system fontpath is "C:\WINDOWS\fonts"
>
> I tried to set user-wide environment variable 'GDFONTPATH' to
> 'C:\windows\fonts', but that didn't work also.
>
> Windows XP SP3 is running on my box. What configurations did i miss or how
> can i solve the problem? Any help will be appreciated, and many thanks for
> your contributions about gnuplot!
>
>
> sincerely
> a gnuplot user
>


--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

Re: set term png font bug?

by Tatsuro MATSUOKA-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

I have find a solution.
I googled and found
http://lists.freedesktop.org/archives/fontconfig/2007-October/002685.html

and I looked into libfontconfig-1.dll and found a string 'FONTCONFIG_PATH'

cmd prompt> set
FONTCONFIG_PATH=D:\usr\Tatsu\mingwhome\gnuplotcvs\test\gp45-winbin\gnuplot\bin\etc\fonts
cmd prompt> gnuplot

*******************
Terminal type set to 'windows'
gnuplot> set term png
Terminal type set to 'png'
Options are 'nocrop font arial 12 size 640,480 '
******************
Error message:

fontconfig: Couldn't retrieve font file name. when opening font "arial", using internal non-scalable
font

is disappeared.

BTW
It is useful set the environmental variable 'FONTCONFIG_PATH' at the Control Panel.

Please google by keyword ' environmental variable windows XP' to set it on the Control Panel.

Anyway thanks to your report.

Regards

Tatsuro
--- Tatsuro MATSUOKA  wrote:

> Hello Jie Wu
>
> cc. gnuplot-beta@... (cc. to there as a reference)
>
> Thank you for your report.
> This might be an error around fontconfig file and its path.
> I do not have enough time to fully fix it.
>
> However, please try temporary treatment in the following
>
>
> ***********************
> Please use  
>
> http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin
> Please download
> gp45-winbin_2009_1106.zip
>
> Please copy all files and folders in gp45-winbin\gnuplot\bin to "C:\Program Files\Gnuplot4.5"
>
> and execute gnuplot.exe, wgnuplot.exe wgnuplot_pipes.exe there.
>
> "C:\Program Files\Gnuplot4.5" is the install folder at building of gnuplot.
> ***********
> Hope the above helps.
>
>
> Perhaps etc/fonts/font.conf should be placed on "C:\Program Files\Gnuplot4.5" and
> gnuplot binaries should be placed there.
>
> Perhaps there are other solutions but I cannot find at present.
>
> Regards
>
> Tatsuro
>
>
> --- Jie Wu  wrote:
>
>
>
> > Hello Dr. Tatsuro MATSUOKA,
> >
> > I am using MinGW version of gnuplot built by you. I installed the file
> > unzipped from the package
> > gp45-winbin.zip<http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/gp45-winbin.zip>.
> > Fonts setting works well while terminal set to windows. when i set it to
> > png, wgnuplot returns warning message below:
> >
> > gnuplot> set term png
> > Terminal type set to 'png'
> > fontconfig: Couldn't retrieve font file name. when opening font "arial",
> > using i
> > nternal non-scalable font
> > Options are 'nocrop medium size 640,480 '
> >
> > fontpath is:
> > gnuplot> show fontpath
> >
> >         fontpath is
> >         system fontpath is "C:\WINDOWS\fonts"
> >
> > I tried to set user-wide environment variable 'GDFONTPATH' to
> > 'C:\windows\fonts', but that didn't work also.
> >
> > Windows XP SP3 is running on my box. What configurations did i miss or how
> > can i solve the problem? Any help will be appreciated, and many thanks for
> > your contributions about gnuplot!
> >
> >
> > sincerely
> > a gnuplot user
> >
>
>
> --------------------------------------
> GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
> http://pr.mail.yahoo.co.jp/gyao/
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> gnuplot-beta mailing list
> gnuplot-beta@...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
>


--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

Parent Message unknown Re: set term png font bug?

by Tatsuro MATSUOKA-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

--- Jie Wu  wrote:

> Hi Tatsuro,
>
> The solution makes that warning disappear, setting terminal to png spands a
> bit of time of CPU at first launch. Thank you.:)

OK. I am glad my reply being help for you.

In addition, set the GDFONTPATH environmental variable. please see 'help gd'.

I set it to C:\WINDOWS\Fonts.

> PS: do you have time to write down main steps of your building gnuplot under
> MinGW and send it to me? I want to learn the building skills.

Instruction is now under construction. It will upload it to my web if it is finished.
However I have been occupied by university work, I cannot say when it will be finished at present.

Regards

Tatsuro

> Regards
> Jie
>
> 2009/11/10 Tatsuro MATSUOKA <tmacchant3@...>
>
> > Hello
> >
> > I have find a solution.
> > I googled and found
> > http://lists.freedesktop.org/archives/fontconfig/2007-October/002685.html
> >
> > and I looked into libfontconfig-1.dll and found a string 'FONTCONFIG_PATH'
> >
> > cmd prompt> set
> >
> > FONTCONFIG_PATH=D:\usr\Tatsu\mingwhome\gnuplotcvs\test\gp45-winbin\gnuplot\bin\etc\fonts
> > cmd prompt> gnuplot
> >
> > *******************
> > Terminal type set to 'windows'
> > gnuplot> set term png
> > Terminal type set to 'png'
> > Options are 'nocrop font arial 12 size 640,480 '
> > ******************
> > Error message:
> >
> > fontconfig: Couldn't retrieve font file name. when opening font "arial",
> > using internal non-scalable
> > font
> >
> > is disappeared.
> >
> > BTW
> > It is useful set the environmental variable 'FONTCONFIG_PATH' at the
> > Control Panel.
> >
> > Please google by keyword ' environmental variable windows XP' to set it on
> > the Control Panel.
> >
> > Anyway thanks to your report.
> >
> > Regards
> >
> > Tatsuro
> > --- Tatsuro MATSUOKA  wrote:
> >
> > > Hello Jie Wu
> > >
> > > cc. gnuplot-beta@... (cc. to there as a reference)
> > >
> > > Thank you for your report.
> > > This might be an error around fontconfig file and its path.
> > > I do not have enough time to fully fix it.
> > >
> > > However, please try temporary treatment in the following
> > >
> > >
> > > ***********************
> > > Please use
> > >
> > > http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin
> > > Please download
> > > gp45-winbin_2009_1106.zip
> > >
> > > Please copy all files and folders in gp45-winbin\gnuplot\bin to
> > "C:\Program Files\Gnuplot4.5"
> > >
> > > and execute gnuplot.exe, wgnuplot.exe wgnuplot_pipes.exe there.
> > >
> > > "C:\Program Files\Gnuplot4.5" is the install folder at building of
> > gnuplot.
> > > ***********
> > > Hope the above helps.
> > >
> > >
> > > Perhaps etc/fonts/font.conf should be placed on "C:\Program
> > Files\Gnuplot4.5" and
> > > gnuplot binaries should be placed there.
> > >
> > > Perhaps there are other solutions but I cannot find at present.
> > >
> > > Regards
> > >
> > > Tatsuro
> > >
> > >
> > > --- Jie Wu  wrote:
> > >
> > >
> > >
> > > > Hello Dr. Tatsuro MATSUOKA,
> > > >
> > > > I am using MinGW version of gnuplot built by you. I installed the file
> > > > unzipped from the package
> > > > gp45-winbin.zip<
> > http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/gp45-winbin.zip>.
> > > > Fonts setting works well while terminal set to windows. when i set it
> > to
> > > > png, wgnuplot returns warning message below:
> > > >
> > > > gnuplot> set term png
> > > > Terminal type set to 'png'
> > > > fontconfig: Couldn't retrieve font file name. when opening font
> > "arial",
> > > > using i
> > > > nternal non-scalable font
> > > > Options are 'nocrop medium size 640,480 '
> > > >
> > > > fontpath is:
> > > > gnuplot> show fontpath
> > > >
> > > >         fontpath is
> > > >         system fontpath is "C:\WINDOWS\fonts"
> > > >
> > > > I tried to set user-wide environment variable 'GDFONTPATH' to
> > > > 'C:\windows\fonts', but that didn't work also.
> > > >
> > > > Windows XP SP3 is running on my box. What configurations did i miss or
> > how
> > > > can i solve the problem? Any help will be appreciated, and many thanks
> > for
> > > > your contributions about gnuplot!
> > > >
> > > >
> > > > sincerely
> > > > a gnuplot user
> > > >
> > >
> > >
> > > --------------------------------------
> > > GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
> > > http://pr.mail.yahoo.co.jp/gyao/
> > >
> > >
> > ------------------------------------------------------------------------------
> > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> > 30-Day
> > > trial. Simplify your report design, integration and deployment - and
> > focus on
> > > what you do best, core application coding. Discover what's new with
> > > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > > _______________________________________________
> > > gnuplot-beta mailing list
> > > gnuplot-beta@...
> > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
> > >
> >
> >
> > --------------------------------------
> > GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
> > http://pr.mail.yahoo.co.jp/gyao/
> >
>


--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

Parent Message unknown Re: set term png font bug?

by Tatsuro MATSUOKA-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

In the make files of windows version (MSVC and MinGW), readline is not implemented by the defaults.
(There is not any flag on them.)

Therefore it is not implemented in my distribution.
It's not a bug.

At present I would not like to implement the readline because it is also not implemented official
distributions of gnuplot for windows

For further questions, I ask you subscribe to gnuplot mailing list and discuss it in public public
style.

Discussions on the ML site will be benefit to other users.

Regards

Tatsuro



--- Jie Wu  wrote:

> Hi,
>
> I found auto-completion of TAB key in wgnuplot didn't work. Did you enable
> --with-readline=gnu option of ./configure? I also cann't find the readline
> library in wgnuplot installation directory.
>
> Best regards
> Jie
>
>
> 2009/11/12 Jie Wu <cn.fyodor@...>
>
> > Hello,
> >
> > Thank you for your information. Ok, i expect to have the honor to read the
> > instruction from the web.
> >
> >
> > Regards
> > Jie
> >
> > 2009/11/10 Tatsuro MATSUOKA <tmacchant3@...>
> >
> >> Hello
> >>
> >> --- Jie Wu  wrote:
> >>
> >> > Hi Tatsuro,
> >> >
> >> > The solution makes that warning disappear, setting terminal to png
> >> spands a
> >> > bit of time of CPU at first launch. Thank you.:)
> >>
> >> OK. I am glad my reply being help for you.
> >>
> >> In addition, set the GDFONTPATH environmental variable. please see 'help
> >> gd'.
> >>
> >> I set it to C:\WINDOWS\Fonts.
> >>
> >> > PS: do you have time to write down main steps of your building gnuplot
> >> under
> >> > MinGW and send it to me? I want to learn the building skills.
> >>
> >> Instruction is now under construction. It will upload it to my web if it
> >> is finished.
> >> However I have been occupied by university work, I cannot say when it will
> >> be finished at present.
> >>
> >> Regards
> >>
> >> Tatsuro
> >>
> >> > Regards
> >> > Jie
> >> >
> >> > 2009/11/10 Tatsuro MATSUOKA <tmacchant3@...>
> >> >
> >> > > Hello
> >> > >
> >> > > I have find a solution.
> >> > > I googled and found
> >> > >
> >> http://lists.freedesktop.org/archives/fontconfig/2007-October/002685.html
> >> > >
> >> > > and I looked into libfontconfig-1.dll and found a string
> >> 'FONTCONFIG_PATH'
> >> > >
> >> > > cmd prompt> set
> >> > >
> >> > >
> >> FONTCONFIG_PATH=D:\usr\Tatsu\mingwhome\gnuplotcvs\test\gp45-winbin\gnuplot\bin\etc\fonts
> >> > > cmd prompt> gnuplot
> >> > >
> >> > > *******************
> >> > > Terminal type set to 'windows'
> >> > > gnuplot> set term png
> >> > > Terminal type set to 'png'
> >> > > Options are 'nocrop font arial 12 size 640,480 '
> >> > > ******************
> >> > > Error message:
> >> > >
> >> > > fontconfig: Couldn't retrieve font file name. when opening font
> >> "arial",
> >> > > using internal non-scalable
> >> > > font
> >> > >
> >> > > is disappeared.
> >> > >
> >> > > BTW
> >> > > It is useful set the environmental variable 'FONTCONFIG_PATH' at the
> >> > > Control Panel.
> >> > >
> >> > > Please google by keyword ' environmental variable windows XP' to set
> >> it on
> >> > > the Control Panel.
> >> > >
> >> > > Anyway thanks to your report.
> >> > >
> >> > > Regards
> >> > >
> >> > > Tatsuro
> >> > > --- Tatsuro MATSUOKA  wrote:
> >> > >
> >> > > > Hello Jie Wu
> >> > > >
> >> > > > cc. gnuplot-beta@... (cc. to there as a
> >> reference)
> >> > > >
> >> > > > Thank you for your report.
> >> > > > This might be an error around fontconfig file and its path.
> >> > > > I do not have enough time to fully fix it.
> >> > > >
> >> > > > However, please try temporary treatment in the following
> >> > > >
> >> > > >
> >> > > > ***********************
> >> > > > Please use
> >> > > >
> >> > > > http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin
> >> > > > Please download
> >> > > > gp45-winbin_2009_1106.zip
> >> > > >
> >> > > > Please copy all files and folders in gp45-winbin\gnuplot\bin to
> >> > > "C:\Program Files\Gnuplot4.5"
> >> > > >
> >> > > > and execute gnuplot.exe, wgnuplot.exe wgnuplot_pipes.exe there.
> >> > > >
> >> > > > "C:\Program Files\Gnuplot4.5" is the install folder at building of
> >> > > gnuplot.
> >> > > > ***********
> >> > > > Hope the above helps.
> >> > > >
> >> > > >
> >> > > > Perhaps etc/fonts/font.conf should be placed on "C:\Program
> >> > > Files\Gnuplot4.5" and
> >> > > > gnuplot binaries should be placed there.
> >> > > >
> >> > > > Perhaps there are other solutions but I cannot find at present.
> >> > > >
> >> > > > Regards
> >> > > >
> >> > > > Tatsuro
> >> > > >
> >> > > >
> >> > > > --- Jie Wu  wrote:
> >> > > >
> >> > > >
> >> > > >
> >> > > > > Hello Dr. Tatsuro MATSUOKA,
> >> > > > >
> >> > > > > I am using MinGW version of gnuplot built by you. I installed the
> >> file
> >> > > > > unzipped from the package
> >> > > > > gp45-winbin.zip<
> >> > > http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/gp45-winbin.zip>.
> >> > > > > Fonts setting works well while terminal set to windows. when i set
> >> it
> >> > > to
> >> > > > > png, wgnuplot returns warning message below:
> >> > > > >
> >> > > > > gnuplot> set term png
> >> > > > > Terminal type set to 'png'
> >> > > > > fontconfig: Couldn't retrieve font file name. when opening font
> >> > > "arial",
> >> > > > > using i
> >> > > > > nternal non-scalable font
> >> > > > > Options are 'nocrop medium size 640,480 '
> >> > > > >
> >> > > > > fontpath is:
> >> > > > > gnuplot> show fontpath
> >> > > > >
> >> > > > >         fontpath is
> >> > > > >         system fontpath is "C:\WINDOWS\fonts"
> >> > > > >
> >> > > > > I tried to set user-wide environment variable 'GDFONTPATH' to
> >> > > > > 'C:\windows\fonts', but that didn't work also.
> >> > > > >
> >> > > > > Windows XP SP3 is running on my box. What configurations did i
> >> miss or
> >> > > how
> >> > > > > can i solve the problem? Any help will be appreciated, and many
> >> thanks
> >> > > for
> >> > > > > your contributions about gnuplot!
> >> > > > >
> >> > > > >
> >> > > > > sincerely
> >> > > > > a gnuplot user
> >> > > > >
> >> > > >
> >> > > >
> >> > > > --------------------------------------
> >> > > > GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
> >> > > > http://pr.mail.yahoo.co.jp/gyao/
> >> > > >
> >> > > >
> >> > >
> >> ------------------------------------------------------------------------------
> >> > > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> >> > > 30-Day
>
=== 以下のメッセージは省略されました ===


--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

Re: set term png font bug?

by Hans-Bernhard Bröker-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tatsuro MATSUOKA wrote:

> In the make files of windows version (MSVC and MinGW), readline is not implemented by the defaults.
> (There is not any flag on them.)

More to the point, libreadline can't work with wgnuplot.  There's no
terminal for it to work with, only our own rather limited emulation of
one.  So there would really be no point trying to activate it.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

Re: set term png font bug?

by Tatsuro MATSUOKA-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

--- Hans-Bernhard Bro"ker wrote:


> More to the point, libreadline can't work with wgnuplot.  There's no
> terminal for it to work with, only our own rather limited emulation of
> one.  So there would really be no point trying to activate it.
>

Thanks for your information.

Regards

Tatsuro

--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta