Let's see what is happening. When I launch BrailleBlaster from the console in Cygwin I get a message box with this message. When I press the OK button BrailleBlaster quits but doesn't return to the prompt. I have to press control+C to get the prompt. (The old BB launches properly under these conditions.) Finding the path to brailleblaster.jar works properly when building with ant, or at least it used to. Francois, who has now unsubscribed from the list, introduced the environment variable for use in Eclipse. the getBrailleBlasterPath method in BBIni also works for subcommands, and I think on the Mac. The method apparently needs some modivication. The paths in FontManager also need modification. They are specific for Windows, using backslashes. They should use the file separator from BBIni or from System.getProperty . John On Fri, Jan 25, 2013 at 11:42:46AM -0500, Brandon Roller wrote: > Let's make sure we are talking about the same occurence > I see the message in an alert box "Braille font cannot be found", when BB > launches. > It doesn't crash immediately crash though. I know this occurs because of > an incorrect path > in BBIni.java. I found this out because I didn't have an environment > variable in set in Eclipse. > > Before that the getBrailleblasterPath method would attempt to find a path > and the result similar to > path to > brailleblaster\brailleblaster.newdesign\classes\org\brailleblaster\Main.class > This points to the main class and not the dist folder so other items such > as librarys and fonts don't load. > > The call to the dialog occurs in Font Manager in the word processor package. > if (!SimBraille) { > String fontPath = BBIni.getBrailleblasterPath() + > "/programData/fonts/SimBraille.ttf"; > String platform = SWT.getPlatform(); > if (platform.equals("win32") || platform.equals("wpf")) { > fontPath = BBIni.getBrailleblasterPath() + > "\\programData\\fonts\\SimBraille.ttf"; > } > if (!shell.getDisplay().loadFont(fontPath)) { > new Notify(lh.localValue("fontNotLoadedBraille")); > } > } > > The Notify class in utils creates the message, so that's why you are not > seeing the exact same message in any of the code. > > -Brandon > > > > > On Fri, Jan 25, 2013 at 10:56 AM, John J. Boyer < > john.boyer@xxxxxxxxxxxxxxxxx> wrote: > > > Hi Brandon, > > What class is this dialog in? I'll have a look at BBIni . When I get > > this dialog BrailleBlaster terminates. > > > > Is there a way to make the program pop up a dialog box when an exception > > occurs instead of just quitting? > > > > Thanks, > > John > > > > On Fri, Jan 25, 2013 at 09:48:32AM -0500, Brandon Roller wrote: > > > John, > > > I have seen that dialog too. > > > I think there are bugs in the BBIni.java file and how it finds a path to > > > the BB directory. > > > So the braille fonts are there, it's just that the correct path was not > > > established on initialization. > > > > > > > > > -Brandon > > > > > > > > > On Fri, Jan 25, 2013 at 9:42 AM, Vic Beckley <vic.beckley3@xxxxxxxxx> > > wrote: > > > > > > > John, > > > > > > > > Strange. I'm not getting this. I am also running from the latest > > > > repository. > > > > > > > > > > > > -----Original Message----- > > > > From: brailleblaster-bounce@xxxxxxxxxxxxx > > > > [mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. > > Boyer > > > > Sent: Friday, January 25, 2013 8:59 AM > > > > To: brailleblaster@xxxxxxxxxxxxx > > > > Subject: [brailleblaster] Braille Fonts > > > > > > > > I have just updated to the latest newdesign repository. When I run > > > > BrailleBlaster to debug the crash I get a dialog saying that the > > Braille > > > > font cannot be found. Whatever font this is, it should be in the fonts > > > > directory in the repository, since it won't change. > > > > > > > > I see from the liblouis list that there is a font to display dot > > > > patterns for Unicode Braille. Do we have this? If not, it should also > > be > > > > in the fonts directory. > > > > > > > > Thanks, > > > > John > > > > > > > > -- > > > > John J. Boyer; President, Chief Software Developer > > > > Abilitiessoft, Inc. > > > > http://www.abilitiessoft.com > > > > Madison, Wisconsin USA > > > > Developing software for people with disabilities > > > > > > > > > > > > > > > > > > > > -- > > John J. Boyer; President, Chief Software Developer > > Abilitiessoft, Inc. > > http://www.abilitiessoft.com > > Madison, Wisconsin USA > > Developing software for people with disabilities > > > > > > -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities