BBC BASIC
« ERROR: No Such Font »

Welcome Guest. Please Login or Register.
Mar 31st, 2018, 10:41pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Cross-platform BBC BASIC (Windows, Linux x86, Mac OS-X, Android, iOS, Raspberry Pi)
BBC BASIC Resources
BBC BASIC Help Documentation
BBC BASIC for Windows Home Page
BBC BASIC Programmers' Reference
BBC BASIC Beginners' Tutorial
BBC BASIC for SDL 2.0 Home Page
BBC BASIC Discussion Group

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: ERROR: No Such Font  (Read 602 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: 803
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: 803
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 »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls