-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add error handler for GNUstep apps missing their fonts #16
Comments
Hello @darkoverlordofdata. Try |
It just says"The most recent versions of packages are already installed". gnustep-back installs as a dependancy of gnustep. and I can see the fonts, it's just gnustep doesn't see them. I'm thinking that there is a missing config somewhere. |
I found this debian bug from 2010 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596159, it says workaround helloSystem/ISO#1 is to Install ttf-freefont sudo pkg install freefont-ttf fixed the issue. Now I can play GMines! |
We could add an error handler to the launch command for this, telling the user to install that package rather than quoting the raw "The font specified for NSFont, Helvetica, can't be found" error message. Something like this:
|
It seems like it is missing the dependency on
I think a bug should be opened at bugs.freebsd.org regarding the missing dependency. |
GNUstep gui programs failing
To Reproduce
Steps to reproduce the behavior:
2 examples
sudo pkg install gnustep systempreferences
openapp SystemPreferences
or
sudo pkg install gmines
open startvalume.
drill down to /usr/local/GNUstep/System//Applications
click on gmines
Expected behavior
![2021-07-06-231417_1368x768_scrot](https://user-images.githubusercontent.com/1262194/124698893-ca56ce00-deb7-11eb-8a58-cec515f6ea41.png)
I expect a gui to open displaying the gnustep sysm preferences
or
I expect to play gmines
__
Screenshots
Version (please complete the following information):
cat /.url
): https://github.com/helloSystem/ISO/releases/tag/r0.5.0Computer (please complete the following information):
Additional context
the compiler is working, and my programs that use command line or X11, or SDL2 are working.
But programs using the native AppKit for their gui all fail. Example:
sudo pkg install gnustep systempreferences
openapp SystemPreferences
fails with pages and pages of:
2021-07-06 23:49:37.960 SystemPreferences[14543:101571] The font specified for NSFont, Helvetica, can't be found.
Also, the Helvetica font seems to be installed:
darko@sudanna /usr/local/GNUstep/System/Library/Fonts/Helvetica.nfont $ ls
FontInfo.plist n019004l.pfb n019024l.afm n019043l.pfm n019063l.pfb
n019003l.afm n019004l.pfm n019024l.pfb n019044l.afm n019063l.pfm
n019003l.pfb n019023l.afm n019024l.pfm n019044l.pfb n019064l.afm
n019003l.pfm n019023l.pfb n019043l.afm n019044l.pfm n019064l.pfb
n019004l.afm n019023l.pfm n019043l.pfb n019063l.afm n019064l.pfm
The text was updated successfully, but these errors were encountered: