Alaska Font on xbpCrt

This forum is for general support of Xbase++
Post Reply
Message
Author
User avatar
TWolfe
Posts: 60
Joined: Thu Jan 28, 2010 7:34 am

Alaska Font on xbpCrt

#1 Post 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

User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Re: Alaska Font on xbpCrt

#2 Post by RDalzell »

Hi Terry,

Is the Alaska Font installed on those computers?

Possibly the substituted font causes the display problem.

User avatar
TWolfe
Posts: 60
Joined: Thu Jan 28, 2010 7:34 am

Re: Alaska Font on xbpCrt

#3 Post 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

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Alaska Font on xbpCrt

#4 Post 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
The eXpress train is coming - and it has more cars.

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Alaska Font on xbpCrt

#5 Post 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
greetings by OHR
Jimmy

User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Re: Alaska Font on xbpCrt

#6 Post by RDalzell »

Alaska has posted a workaround in PDR 6358 if you were calling the font via XbpCrt:SetFontCompoundName() rather than XbpCrt:SetFont()

Post Reply