Page 1 of 1

Alaska Font on xbpCrt

Posted: Wed Mar 16, 2011 6:04 am
by TWolfe
I use one screen in my application that is an xbpCrt screen with the "Alaska Crt" font. I have had two customers recently that have had problems displaying that font. Both customers are running XP machines on networks with about 4 workstations. Only one workstation at each of the customers has the problem.

The font displayed on the affected work stations is a small font with serifs, not the Alaska sanserif font.

I think I saw this problem several years ago, but do not remember what we did to cure it??
Any Ideas?

Terry

Re: Alaska Font on xbpCrt

Posted: Wed Mar 16, 2011 12:43 pm
by RDalzell
Hi Terry,

Is the Alaska Font installed on those computers?

Possibly the substituted font causes the display problem.

Re: Alaska Font on xbpCrt

Posted: Wed Mar 16, 2011 1:38 pm
by TWolfe
Hi Rick,

The "Alaska Crt" font is part of one of the Alaska DLLs, I think. Anyway the program worked fine on these machines for several years and then went bad after I sent a new .EXE file out. I tried going back to the old .EXE with no success. I think it may not have been the new .EXE, but some other change. This has happened 5 or 6 times to various customers over the years and it seems to go away after a few weeks. I would like to find a cause/cure rather than just tell the customers to 'wait it out'.

Thanks for the reply,
Terry

Re: Alaska Font on xbpCrt

Posted: Wed Mar 16, 2011 2:48 pm
by rdonnay
Terry -

I have been having strange problems when installing fonts on Win 7.
They don't work until I reboot.

Have either of those computers been rebooted lately?

Roger

Re: Alaska Font on xbpCrt

Posted: Wed Mar 16, 2011 7:39 pm
by Auge_Ohr
TWolfe wrote:The font displayed on the affected work stations is a small font with serifs, not the Alaska sanserif font.
so Windows does not found "right" Font and try to "Substitute" it with some System Font.
try "Terminal" or "Courier" Font

Question :
how did your Code with XbpCrt look like ?

What Font "Size" did you use ?
did you use 43 or 50 Row ?

Code: Select all

         CASE nZeile = 50
            oCrt:FontName := "Courier"
            oCrt:FontHeight := 10
            oCrt:FontWidth  := 8

Re: Alaska Font on xbpCrt

Posted: Wed Mar 16, 2011 7:49 pm
by RDalzell
Alaska has posted a workaround in PDR 6358 if you were calling the font via XbpCrt:SetFontCompoundName() rather than XbpCrt:SetFont()