BBC BASIC
« ERROR: No Such Font »

Welcome Guest. Please Login or Register.
Jan 23rd, 2018, 7:10pm


Cross-platform BBC BASIC (Win32, Linux x86, Android, Mac OS-X, Raspberry Pi)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: ERROR: No Such Font  (Read 462 times)
mschmalenbach
New Member
Image


member is offline

Avatar




PM


Posts: 3
xx ERROR: No Such Font
« Thread started on: Dec 27th, 2016, 6:29pm »

Hi

Merry Christmas all, and a Happy New Year!

I downloaded the OSX version of BBC Basic yesterday (26 Dec 2016) - it runs fine from the .DMG, but when I unmount that disk image and run it as-is from within the APPLICATIONS folder, it starts, asks me to select an IDE, I choose Richard Russell's SDLIDE, and get a "No such font" message and a ">" prompt on a blank screen - no IDE at all...

The ANDY PARKS IDE seems to work fine - but I'm not sure I want to use that one!

Is this a bug, or an error on my part?

Cheers

Martin
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 692
xx Re: ERROR: No Such Font
« Reply #1 on: Dec 27th, 2016, 8:07pm »

on Dec 27th, 2016, 6:29pm, mschmalenbach wrote:
Is this a bug, or an error on my part?

No idea. I know that it works OK on three different varieties of Mac (an old Mac Mini running OS-X 10.6 Snow Leopard, an old MacBook Pro running 10.7 Lion and a newer MacBook), but I have had little opportunity to test it myself.

Edit: I've just had a thought. If you ran it first "from the .DMG" it will have created a sdlide.ini file, and that file will contain within it the path and name of the selected font. If you later run it from somewhere else it will expect to find the font file in that original place, but if the .DMG is no longer mounted it won't exist!

To see if this is the cause of the problem, which seems highly likely, delete the sdlide.ini file before running it.

Richard.
« Last Edit: Dec 27th, 2016, 11:08pm by Richard Russell » User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 692
xx Re: ERROR: No Such Font
« Reply #2 on: Dec 29th, 2016, 09:25am »

on Dec 27th, 2016, 8:07pm, Richard Russell wrote:
If you later run it from somewhere else it will expect to find the font file in that original place, but if the .DMG is no longer mounted it won't exist!

The OP hasn't responded, but I'm 95% certain this is the explanation because it fits the reported symptoms and circumstances perfectly. The question is: does it matter? So long as you first run BBC BASIC in its 'final' location there won't be a problem; only if you try it initially from the disc image and later unmount that will the issue arise.

There's no very straightforward fix that doesn't at least spoil the 'elegance' of the code, so I'm not enthusiastic about changing it. Manually deleting the sdlide.ini file, which needs to be done just once, should be an effective workaround.

Richard.
« Last Edit: Dec 29th, 2016, 10:25am by Richard Russell » User IP Logged

jbk
New Member
Image


member is offline

Avatar




PM


Posts: 12
xx Re: ERROR: No Such Font
« Reply #3 on: Dec 29th, 2016, 8:06pm »

tanks Richard for the tip, in case someone does not know where to look for slide.ini look for it in ~/Library/Application\ Support/BBCBasic
User IP Logged

mavison
New Member
Image


member is offline

Avatar




PM


Posts: 27
xx Re: ERROR: No Such Font
« Reply #4 on: Feb 20th, 2017, 2:55pm »

Deleting the sdlide.ini file fixed the same problem for me ... without the location tip I would never have found it!

I did not knowingly execute it from the dmg file, but the symptoms matched.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls