public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Xemacs: Adding a font
@ 2012-08-06  4:30 Tom Szczesny
  2012-08-06  8:16 ` Mark Geisert
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Szczesny @ 2012-08-06  4:30 UTC (permalink / raw)
  To: cygwin

Writing program scripts for A+ with Xemacs requires using a special font.

I have added the required fonts to  /usr/share/fonts/misc
and updated /usr/share/fonts/misc/fonts.alias

I have rerun "mkfontdir" successfully

When I execute the command
      xset fp rehash
I get the message:
      xset:   unable to open display ""

If I execute the command
      xset fp default
I get the same message:
      xset:   unable to open display ""

Any suggestions?

--
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] 4+ messages in thread

* Re: Xemacs: Adding a font
  2012-08-06  4:30 Xemacs: Adding a font Tom Szczesny
@ 2012-08-06  8:16 ` Mark Geisert
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Geisert @ 2012-08-06  8:16 UTC (permalink / raw)
  To: cygwin

Tom Szczesny writes:
> When I execute the command
>       xset fp rehash
> I get the message:
>       xset:   unable to open display ""
[...]
> Any suggestions?

Questions about X Window on Cygwin belong on the cygwin-xfree list.  But the
short answer is that 'xset' dynamically (re-)configures the X server.  For this,
the server has to be running already.

Please refer to the Cygwin/X FAQ for how to start the server, but it may be as
simple as running 'startxwin' assuming you've got the necessaries installed
already.  Then set the DISPLAY environment variable to the network address of
the server you started.  Kindly follow up on the other list :).
HTH,

..mark


--
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] 4+ messages in thread

* Re: Xemacs: Adding a Font
  2012-08-07  0:15 Xemacs: Adding a Font Tom Szczesny
@ 2012-08-07  2:22 ` Tom Szczesny
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Szczesny @ 2012-08-07  2:22 UTC (permalink / raw)
  To: cygwin

Never mind.  I figured it out.
The fonts are installed in Windows.

On Mon, Aug 6, 2012 at 7:27 PM, Tom Szczesny <tavmem@gmail.com> wrote:
> Thanks Mark (for the Cygwin/X suggestions).
>
> I went the X-route in Cygwin only because that is what I did in Gentoo.
> But Xemacs works perfectly well in Cygwin w/o starting an X-server.
> So, the X-server appears to be a needless step.
>
> However, the fonts displayed by Xemacs (when not using X-server)
> are quite different than the fonts (with X-server).
>
> I suspect that the fonts (when not using X-server) are stored in a
> completely different place.
> (not in   /usr/share/fonts/misc)
>
> Where does Xemacs get its fonts (when not using X-server)?

--
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] 4+ messages in thread

* Xemacs: Adding a Font
@ 2012-08-07  0:15 Tom Szczesny
  2012-08-07  2:22 ` Tom Szczesny
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Szczesny @ 2012-08-07  0:15 UTC (permalink / raw)
  To: cygwin

Thanks Mark (for the Cygwin/X suggestions).

I went the X-route in Cygwin only because that is what I did in Gentoo.
But Xemacs works perfectly well in Cygwin w/o starting an X-server.
So, the X-server appears to be a needless step.

However, the fonts displayed by Xemacs (when not using X-server)
are quite different than the fonts (with X-server).

I suspect that the fonts (when not using X-server) are stored in a
completely different place.
(not in   /usr/share/fonts/misc)

Where does Xemacs get its fonts (when not using X-server)?

--
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] 4+ messages in thread

end of thread, other threads:[~2012-08-07  2:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-06  4:30 Xemacs: Adding a font Tom Szczesny
2012-08-06  8:16 ` Mark Geisert
2012-08-07  0:15 Xemacs: Adding a Font Tom Szczesny
2012-08-07  2:22 ` Tom Szczesny

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).