Re: Font initialization?

2005-12-08 Thread Igor Pechtchanski
Ugh, top-posting...  Reformatted.

On Wed, 7 Dec 2005, Kenneth Corbin wrote:

> On Wednesday 07 December 2005 07:54, Igor Pechtchanski wrote:
> > On Wed, 7 Dec 2005, Kenneth Corbin wrote:
> > > Hi folks,
> > >
> > > I have an application that needs some non-standard fonts.  It's easy
> > > enough to add a manually new directory to the font path.  What I haven't
> > > figured out is how to configure Cygwin/X to add the new font path
> > > directory when it starts up.
> >
> > Searching "man X" for "font.*path" shows that this could be accomplished
> > with "xset +fp DIR" (the manpage also gives an example of exactly how to
> > do this).  There's also a -fp option to X, but I'm not sure it does what
> > you want.
> > HTH,
> > Igor
>
> Thanks Igor,
>
> I figured that out from the man pages.  What I haven't figured out is
> where I can put that xset +fp where it will be automatically executed at
> cygwin/X startup.

This depends on how you start Cygwin/X.  If you use startxwin.sh, just
edit it and put the xset command right after the XWin invocation (though
beware that the file will get overwritten every time you update
X-startup-scripts).  If you use "startx", you should be able to put it in
your ~/.xinitrc or ~/.xserverrc...
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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



Mutex init failure trying to run Scribus

2005-12-08 Thread René Berber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I just installed Scribus from ftp://sunsite.dk/projects/cygwinports, no problem
with the install, but when I tried to run it I got the:

   "Mutex init failure: Invalid argument"

after the splash screen displays for a while and the application really starts.

Anyone seen this?  Any solutions?

Thanks.
- --
René Berber
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkOYnysACgkQL3NNweKTRgylFgCfa6w9cWUSSrd5rE2lfEMLvfYD
KHcAoP0FevNIkZPJV/VQe8nCc65GBXDa
=/+J9
-END PGP SIGNATURE-


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



Re: Mutex init failure trying to run Scribus

2005-12-08 Thread Yaakov S (Cygwin Ports)

René Berber wrote:

I just installed Scribus from ftp://sunsite.dk/projects/cygwinports, no problem
with the install, but when I tried to run it I got the:

   "Mutex init failure: Invalid argument"

after the splash screen displays for a while and the application really starts.

Anyone seen this?  Any solutions?


Yes, I have as well.  It seems to happen with all C++ Qt or KDE apps; 
PyQt apps (e.g. convertall, also available through Cygwin Ports) don't 
generate this message.  Despite the message, the programs seem to run 
correctly anyways.


Now that I know that this is not just a local issue, I'll try 
researching this further; this would appear to have something to do with 
the Qt threading code.


Thanks for your report.


Yaakov

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



Re: Mutex init failure trying to run Scribus

2005-12-08 Thread René Berber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yaakov S (Cygwin Ports) wrote:
[snip]
> Yes, I have as well.  It seems to happen with all C++ Qt or KDE apps;
> PyQt apps (e.g. convertall, also available through Cygwin Ports) don't
> generate this message.  Despite the message, the programs seem to run
> correctly anyways.

You mean Scribus runs anyway?  Perhaps I missed something, I didn't see any
window or anything else appear.

Anyway I'm recompiling Scribus from sources, let's see if the invalid argument
is catched on the source, probably not but I want to rule out that the version
of Cygwin I'm using (one of the snapshots) didn't change something that affected
this.

Thanks for your reply.
- --
René Berber
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkOYvNIACgkQL3NNweKTRgwPNQCeNlN9/SZQEDmPA7REYSjpLpN3
L+0AoLJkso1GNS/H3AkusvwPN70vKzUx
=0gCP
-END PGP SIGNATURE-


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



GV and ghostscript: problems?

2005-12-08 Thread Angelo Graziosi

With ghostscript-8.15-2 there is a stange behaviour of 'gv' in displaying
pdf files.

If one uses:

   $ gv foo.pdf &

that works fine.

But using:

   $ gv &

and then opening 'foo.pdf' with 'Open' menu item, there is an
"Unrecoverable error " of GPL Ghostscript 8.15


This 'gv' behaviour was absent with the 7. ... versions of ghostscript.


Best regards,
  
  angelo.


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



Re: Mutex init failure trying to run Scribus

2005-12-08 Thread René Berber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

René Berber wrote:
[snip]
> You mean Scribus runs anyway?  Perhaps I missed something, I didn't see any
> window or anything else appear.

Nope, the program just dies.

> Anyway I'm recompiling Scribus from sources, let's see if the invalid argument
> is catched on the source, probably not but I want to rule out that the version
> of Cygwin I'm using (one of the snapshots) didn't change something that 
> affected
> this.

Nothing changed after building from sources.

I'll see if I can debug this.
- --
René Berber
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkOYx7MACgkQL3NNweKTRgx3zACdH5A79DkQSAhr6N6qg8NFfdZN
2IMAn1g6HFbkuEBe8/mHWTAQV0gj0VOi
=WxM3
-END PGP SIGNATURE-


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



Re: Mutex init failure trying to run Scribus

2005-12-08 Thread Yaakov S (Cygwin Ports)

René Berber wrote:

You mean Scribus runs anyway?  Perhaps I missed something, I didn't see any
window or anything else appear.


WFM:
http://cygwinports.dotsrc.org/screenshots/scribus.jpg


Anyway I'm recompiling Scribus from sources, let's see if the invalid argument
is catched on the source, probably not but I want to rule out that the version
of Cygwin I'm using (one of the snapshots) didn't change something that affected
this.


FWIW, I built scribus with stock Cygwin 1.5.18-1.  I'm almost certain 
this has to do with Qt itself, not with any individual program.  If 
you're interested in helping look into this, I'd say to grab the 
qt3-3.3.4-2-src package and try to find the problem there.


Wrt what I said earlier about all C++ Qt programs being affected, that 
appears to be not 100% true: xxdiff (yes, also available at Cygwin 
Ports) does not show this message; perhaps it doesn't use Qt threads.


In any case, I can't do it this minute, but I hope that early next week 
I can look into this further.



Yaakov

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



Re: Mutex init failure trying to run Scribus

2005-12-08 Thread René Berber
Yaakov S (Cygwin Ports) wrote:
[snip]
> WFM:
> http://cygwinports.dotsrc.org/screenshots/scribus.jpg

Nice!  I don't get anything, but perhaps it has to do with my setting
CYGWIN=error_start:c:/cygwin/bin/dumper.exe (which is not catching anything).

[snip]

> FWIW, I built scribus with stock Cygwin 1.5.18-1.  I'm almost certain
> this has to do with Qt itself, not with any individual program.  If
> you're interested in helping look into this, I'd say to grab the
> qt3-3.3.4-2-src package and try to find the problem there.

OK, I'll do a debug version of that lib.

> Wrt what I said earlier about all C++ Qt programs being affected, that
> appears to be not 100% true: xxdiff (yes, also available at Cygwin
> Ports) does not show this message; perhaps it doesn't use Qt threads.

Yes the "Mutex init" should be used only in threaded apps.

> In any case, I can't do it this minute, but I hope that early next week
> I can look into this further.

Thanks.  I'll report later if I find something.
-- 
René Berber


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



Re: Mutex init failure trying to run Scribus

2005-12-08 Thread Yaakov S (Cygwin Ports)

René Berber wrote:

Nice!  I don't get anything, but perhaps it has to do with my setting
CYGWIN=error_start:c:/cygwin/bin/dumper.exe (which is not catching anything).


FWIW, I'm just running with CYGWIN=server.


Thanks.  I'll report later if I find something.


Please do, and thank you for your help.


Yaakov

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