PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Peter Maroudas on November 15, 2009, 03:00:36 AM

Title: Code Editor Font in 3.03
Post by: Peter Maroudas on November 15, 2009, 03:00:36 AM
Hi

Just a minor cosmetic issue, in this latest update of FF 3.03, when I go to Tools - Enviroment Options
and then Code Editor, when I click on the 'Change' button to change the Font I get
There are no fonts installed. Open the Fonts folder from the Control Panel to Install fonts.

I have heaps of Fonts installed, this happens to both my Desktop PC and Laptop running XP SP3.

Peter Maroudas
Title: Re: Code Editor Font in 3.03
Post by: Jean-pierre Leroy on November 15, 2009, 03:11:18 AM
Hi Peter,

I checked on my system this morning and yes I've the same behavior on my PC

Jean-Pierre
Title: Re: Code Editor Font in 3.03
Post by: David Warner on November 15, 2009, 05:42:20 AM
Same here on XP SP3.
Title: Re: Code Editor Font in 3.03
Post by: Paul Squires on November 15, 2009, 09:48:07 AM
One of the changes in 3.03 was to (supposedly) restrict the popup list of fonts to fixed pitch fonts because those are the only type of fonts that work in the editor itself. Before the chaneg, you could select fonts like Arial, Tahoma, Verdana and they would screw up the editor big time.

I changed the %CF_SCREENFONTS to %CF_FIXEDPITCHONLY flags before calling the ChooseFont function. I'll check to see where the screwup is.

   
Title: Re: Code Editor Font in 3.03
Post by: Paul Squires on November 15, 2009, 10:50:38 AM
I have 11 fonts that display including Courier and Courier New.
Title: Re: Code Editor Font in 3.03
Post by: Marc van Cauwenberghe on November 15, 2009, 10:56:32 AM
Happens to me too. No fonts installed it says.  ???

It shows courrier new.

Marc
Title: Re: Code Editor Font in 3.03
Post by: Jean-pierre Leroy on November 15, 2009, 01:03:29 PM
Paul,

I don't know if it could help; you will see below two screenshots :

- The first one from FF3 3.03 registered version
- The second one from FF3 3.02 trial version.

The message in french is "There are no fonts installed. Open the Fonts folder from the Control Panel to Install fonts".

Jean-Pierre
Title: Re: Code Editor Font in 3.03
Post by: Haakon Birkeland on November 15, 2009, 02:13:44 PM
None here either, so I can't change to my favorite bitmap-font; Dina.
Title: Re: Code Editor Font in 3.03
Post by: Paul Squires on November 15, 2009, 02:55:20 PM
Hi Guys,

Please try the attached little test program. It uses the current FF3 approach (both hooked and not hooked) and it also uses the PB command DISPLAY FONT.

Do you still not see any fonts from any of the options in this test program?
Title: Re: Code Editor Font in 3.03
Post by: Marc van Cauwenberghe on November 15, 2009, 02:59:17 PM
Hello Paul,

'Hooked' and 'Not hooked' give no fonts installed Last option is OK

Marc
Title: Re: Code Editor Font in 3.03
Post by: Paul Squires on November 15, 2009, 03:35:18 PM
Interesting. So my "ChooseFont" api call is failing but PB's DISPLAY FONT is working okay.
Title: Re: Code Editor Font in 3.03
Post by: Barry Marks on November 15, 2009, 04:08:31 PM
I'm getting the same results.  I can't change fonts in the editor, although I probably wouldn't have anyway.

I also get the same error message with the first 2 buttons in your test program and the third button seems to work fine.

Barry
Title: Re: Code Editor Font in 3.03
Post by: David Warner on November 15, 2009, 04:47:49 PM
FontTest.exe on XP SP3

Button...

1) Current FF3 Approach (Hooked)  - "There are No Fonts Installed" message.

2) Current FF3 Approach (Not Hooked) - "There are No Fonts Installed" message.

3) PB's Display Font - Displays Font Dialog & "Font selected:" message.

David
Title: Re: Code Editor Font in 3.03
Post by: Haakon Birkeland on November 15, 2009, 06:10:27 PM
As you would expect. Same result on my x64-system.
Title: Re: Code Editor Font in 3.03
Post by: Jean-pierre Leroy on November 15, 2009, 07:47:42 PM
Paul,

Same results as the other users on Win XP 32 bits SP3
Title: Re: Code Editor Font in 3.03
Post by: Paul Squires on November 15, 2009, 07:57:07 PM
Okay - looks like I need to make a change.  :)
Title: Re: Code Editor Font in 3.03
Post by: Paul Squires on November 15, 2009, 08:47:22 PM
Changes made.

Fix will be in v3.04.
Title: Re: Code Editor Font in 3.03
Post by: Martin Francom on November 16, 2009, 07:22:57 PM
Same problem in Vista SP2.