public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Fonts
@ 2015-05-08  9:54 Axel Heinrici
  2015-05-08 21:57 ` Fonts Ken Brown
  0 siblings, 1 reply; 10+ messages in thread
From: Axel Heinrici @ 2015-05-08  9:54 UTC (permalink / raw)
  To: cygwin

Hello,

.........1.........2.........3.........4.........5.........6.........7
I use gnuplot and some bash-skripts on a Cygwin x86_64-Installation to 
generate a number of plots. Filetype is png because plenty of colleagues 
will look into the plots. 
Usually gnuplot sends the message:
<======================
fontconfig: Couldn't find font. when opening font "arial", using internal
non-scalable font
======================>
That could be a solution if I could force gnuplot always to do so.
when exporting GDFONTPATH=/cygwin/x/Windows/Fonts
I can use Arial Font without error.

The Problem is that I do not understand which font is available or not. 
In c:\Windows\Fonts\ there is a scalable Font called "Terminal", but I 
get the error message:
<======================
fontconfig: Couldn't find font. when opening font Terminal, trying default
======================>
gnuplot then uses arial.

If I run fc-list I get exactly one empty line.

Since I use my skripts in productive environment I would like to have 
deterministic behaviour.

What is chain of command between gnuplot, GD-Terminal, fontconfig and what 
is involved there.

regards,
    Axel 


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Fonts
  2015-05-08  9:54 Fonts Axel Heinrici
@ 2015-05-08 21:57 ` Ken Brown
  2015-05-09  3:00   ` Fonts Eliot Moss
  0 siblings, 1 reply; 10+ messages in thread
From: Ken Brown @ 2015-05-08 21:57 UTC (permalink / raw)
  To: cygwin

On 5/8/2015 2:48 AM, Axel Heinrici wrote:
> Hello,
>
> .........1.........2.........3.........4.........5.........6.........7
> I use gnuplot and some bash-skripts on a Cygwin x86_64-Installation to
> generate a number of plots. Filetype is png because plenty of colleagues
> will look into the plots.
> Usually gnuplot sends the message:
> <======================
> fontconfig: Couldn't find font. when opening font "arial", using internal
> non-scalable font
> ======================>
> That could be a solution if I could force gnuplot always to do so.
> when exporting GDFONTPATH=/cygwin/x/Windows/Fonts
> I can use Arial Font without error.
>
> The Problem is that I do not understand which font is available or not.
> In c:\Windows\Fonts\ there is a scalable Font called "Terminal", but I
> get the error message:
> <======================
> fontconfig: Couldn't find font. when opening font Terminal, trying default
> ======================>
> gnuplot then uses arial.
>
> If I run fc-list I get exactly one empty line.
>
> Since I use my skripts in productive environment I would like to have
> deterministic behaviour.
>
> What is chain of command between gnuplot, GD-Terminal, fontconfig and what
> is involved there.

I can't answer your question, but the fontconfig issue is simply that 
fontconfig doesn't know about the Windows font directory.  See

   https://cygwin.com/ml/cygwin-xfree/2014-05/msg00009.html

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Fonts
  2015-05-08 21:57 ` Fonts Ken Brown
@ 2015-05-09  3:00   ` Eliot Moss
  2015-05-09 15:17     ` Fonts Marco Atzeri
  0 siblings, 1 reply; 10+ messages in thread
From: Eliot Moss @ 2015-05-09  3:00 UTC (permalink / raw)
  To: cygwin

On 5/8/2015 1:04 PM, Ken Brown wrote:
> On 5/8/2015 2:48 AM, Axel Heinrici wrote:

> I can't answer your question, but the fontconfig issue is simply that fontconfig doesn't know about
> the Windows font directory.  See
>
>    https://cygwin.com/ml/cygwin-xfree/2014-05/msg00009.html

Would this explain why lilypond stopped being able to find some of my PostScript
fonts, such as Times Roman?

Regards -- Eliot Moss

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Fonts
  2015-05-09  3:00   ` Fonts Eliot Moss
@ 2015-05-09 15:17     ` Marco Atzeri
       [not found]       ` <554E6525.7010703@cs.umass.edu>
  0 siblings, 1 reply; 10+ messages in thread
From: Marco Atzeri @ 2015-05-09 15:17 UTC (permalink / raw)
  To: cygwin

On 5/9/2015 4:04 AM, Eliot Moss wrote:
> On 5/8/2015 1:04 PM, Ken Brown wrote:
>> On 5/8/2015 2:48 AM, Axel Heinrici wrote:
>
>> I can't answer your question, but the fontconfig issue is simply that
>> fontconfig doesn't know about
>> the Windows font directory.  See
>>
>>    https://cygwin.com/ml/cygwin-xfree/2014-05/msg00009.html
>
> Would this explain why lilypond stopped being able to find some of my
> PostScript
> fonts, such as Times Roman?
>
> Regards -- Eliot Moss

May be.
Or something is changed in latest lilypond, or I missed something
when I rebuilt it.

For default lilypond looks on
   /usr/share/ghostscript/fonts
and it should also use fontconfig that is only looking in
   /usr/share/fonts/

Where are your fonts ?

Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Fonts
       [not found]       ` <554E6525.7010703@cs.umass.edu>
@ 2015-05-09 21:13         ` Marco Atzeri
  2015-05-10  9:52           ` Fonts Eliot Moss
  0 siblings, 1 reply; 10+ messages in thread
From: Marco Atzeri @ 2015-05-09 21:13 UTC (permalink / raw)
  To: cygwin

re-directing on the mailing list

On 5/9/2015 9:51 PM, Eliot Moss wrote:
> On 5/9/2015 1:46 AM, Marco Atzeri wrote:
>> On 5/9/2015 4:04 AM, Eliot Moss wrote:

>> Where are your fonts ?
>
> I try to set lyrics with:
>
> \override Score . LyricText #'font-name = "Times Roman"
>
> and I get this message (several times):
>
> warning: no PostScript font name for font
> `/usr/share/fonts/100dpi/timR24-ISO8859-1.pcf.gz'
> warning: FreeType face has no PostScript font name

$ fc-query.exe /usr/share/fonts/75dpi/timR24-ISO8859-1.pcf.gz

family: "Times"(s)

Try dropping the "Roman"

>
> Thanks!    Eliot

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Fonts
  2015-05-09 21:13         ` Fonts Marco Atzeri
@ 2015-05-10  9:52           ` Eliot Moss
  0 siblings, 0 replies; 10+ messages in thread
From: Eliot Moss @ 2015-05-10  9:52 UTC (permalink / raw)
  To: cygwin

On 5/9/2015 4:41 PM, Marco Atzeri wrote:

>> I try to set lyrics with:
>>
>> \override Score . LyricText #'font-name = "Times Roman"
>>
>> and I get this message (several times):
>>
>> warning: no PostScript font name for font
>> `/usr/share/fonts/100dpi/timR24-ISO8859-1.pcf.gz'
>> warning: FreeType face has no PostScript font name
>
> $ fc-query.exe /usr/share/fonts/75dpi/timR24-ISO8859-1.pcf.gz
>
> family: "Times"(s)
>
> Try dropping the "Roman"

Just putting "Times" does not work.  lilypond/guile seem to recognize
Times Roman at some level, since if I put anything else, including just
Times, I don't get warnings, but I do get a default sans serif font stuck
in by lilypond.

Here's the fc-query information for the font:

fc-query /usr/share/fonts/100dpi/timR24-ISO8859-1.pcf.gz
Pattern has 19 elts (size 32)
         family: "Times"(s)
         style: "Regular"(s)
         slant: 0(i)(s)
         weight: 80(i)(s)
         width: 100(i)(s)
         pixelsize: 34(f)(s)
         foundry: "Adobe"(s)
         antialias: False(s)
         file: "/usr/share/fonts/100dpi/timR24-ISO8859-1.pcf.gz"(s)
         index: 0(i)(s)
         outline: False(s)
         scalable: False(s)
         charset:
         0000: 00000001 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
(s)
         lang: 
aa|ay|bi|br|ch|da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nds|nl|nn|no|nr|oc|om|pt|rm|sma|smj|so|sq|ss|st|sv|sw|tl|ts|uz|vo|wa|xh|yap|zu|an|fil|ht|jv|kj|kwm|li|ms|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|za(s)
         fontversion: 0(i)(s)
         fontformat: "PCF"(s)
         decorative: False(s)
         hash: "sha256:5df8425881526fb177ab9b8e9fcd8a9243b63e220b46b25f69f195f82319c2ff"(s)
         postscriptname: "Times"(s)

Here's my suspicion: One part of the software is matching on Times Roman, another on Times, and
as a result the overall matching fails, no matter what I write.  It seems that some mapping table
is missing or incorrect ...

Eliot

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: fonts
  2003-05-09 22:24 ` fonts David Rothenberger
@ 2003-05-09 22:25   ` David Rothenberger
  0 siblings, 0 replies; 10+ messages in thread
From: David Rothenberger @ 2003-05-09 22:25 UTC (permalink / raw)
  To: cygwin

My apologies, everyone.  That should have gone to the cygwin-xfree
group.

David Rothenberger wrote:
> 
> Myriam Abramson wrote:
> >
> > How do you set the fonts for rxvts in Cygwin/XFree86?
> 
> There are many ways to do it, all of which are mentioned in the man page
> for rxvt.  I'll mention two.  You can specify the font on the rxvt
> command-line with the -fn switch, e.g.
> 
>   % rxvt -fn fixed
> 
> Alternatively, you can specify it in your $HOME/.Xdefaults file:
> 
>   XTerm*font: fixed
> 
> Beware of the latter if you sometimes use rxvt without X, since the same
> font name looks different when rxvt is displayed through an X server and
> when it is displayed through Windows.  The default "7x14" is larger
> under X; it seems that "fixed" under X yields approx. the same font as
> "7x14" under Windows.
> 
> Does anyone else notice the difference in font sizes between rxvt under
> X and rxvt under Windows?  Are there any solutions?  It would be nice to
> set an X resource for rxvt so that the font looked reasonable under
> Windows and X.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: fonts
  2003-05-09 19:43 fonts Myriam Abramson
  2003-05-09 20:20 ` fonts Igor Pechtchanski
@ 2003-05-09 22:24 ` David Rothenberger
  2003-05-09 22:25   ` fonts David Rothenberger
  1 sibling, 1 reply; 10+ messages in thread
From: David Rothenberger @ 2003-05-09 22:24 UTC (permalink / raw)
  To: cygwin

Myriam Abramson wrote:
> 
> How do you set the fonts for rxvts in Cygwin/XFree86?

There are many ways to do it, all of which are mentioned in the man page
for rxvt.  I'll mention two.  You can specify the font on the rxvt
command-line with the -fn switch, e.g.

  % rxvt -fn fixed

Alternatively, you can specify it in your $HOME/.Xdefaults file:

  XTerm*font: fixed

Beware of the latter if you sometimes use rxvt without X, since the same
font name looks different when rxvt is displayed through an X server and
when it is displayed through Windows.  The default "7x14" is larger
under X; it seems that "fixed" under X yields approx. the same font as
"7x14" under Windows.

Does anyone else notice the difference in font sizes between rxvt under
X and rxvt under Windows?  Are there any solutions?  It would be nice to
set an X resource for rxvt so that the font looked reasonable under
Windows and X.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: fonts
  2003-05-09 19:43 fonts Myriam Abramson
@ 2003-05-09 20:20 ` Igor Pechtchanski
  2003-05-09 22:24 ` fonts David Rothenberger
  1 sibling, 0 replies; 10+ messages in thread
From: Igor Pechtchanski @ 2003-05-09 20:20 UTC (permalink / raw)
  To: Myriam Abramson; +Cc: cygwin-xfree, cygwin

On 9 May 2003, Myriam Abramson wrote:

> Hi!
> I'm a new user of Cygwin. I can't say how grateful I am
> for such a nice product.
>
> How do you set the fonts for rxvts in Cygwin/XFree86?
> I couldn't find any info in the manual on how to do that.
> That would be very helpful since the resolution of
> this laptop I use sucks.
>                                   myriam

Myriam,

Questions on Cygwin/XFree86 should be addressed to the <cygwin-xfree at
cygwin dot com> list.  I'm redirecting this message there.  For your
conveninece, I've also set the Reply-To: field to point to the appropriate
list.  Please remove <cygwin at cygwin dot com> from further discussion.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* fonts
@ 2003-05-09 19:43 Myriam Abramson
  2003-05-09 20:20 ` fonts Igor Pechtchanski
  2003-05-09 22:24 ` fonts David Rothenberger
  0 siblings, 2 replies; 10+ messages in thread
From: Myriam Abramson @ 2003-05-09 19:43 UTC (permalink / raw)
  To: cygwin


Hi!

I'm a new user of Cygwin. I can't say how grateful I am 
for such a nice product. 

How do you set the fonts for rxvts in Cygwin/XFree86? 
I couldn't find any info in the manual on how to do that.  
That would be very helpful since the resolution of 
this laptop I use sucks. 

                                  myriam






--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-05-09 21:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-08  9:54 Fonts Axel Heinrici
2015-05-08 21:57 ` Fonts Ken Brown
2015-05-09  3:00   ` Fonts Eliot Moss
2015-05-09 15:17     ` Fonts Marco Atzeri
     [not found]       ` <554E6525.7010703@cs.umass.edu>
2015-05-09 21:13         ` Fonts Marco Atzeri
2015-05-10  9:52           ` Fonts Eliot Moss
  -- strict thread matches above, loose matches on Subject: below --
2003-05-09 19:43 fonts Myriam Abramson
2003-05-09 20:20 ` fonts Igor Pechtchanski
2003-05-09 22:24 ` fonts David Rothenberger
2003-05-09 22:25   ` fonts David Rothenberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).