On Mon, 04 Jan 2010, Marco Boeri wrote:

Hi,

> some ct fuctions aren't recognized by Harbour. 
> These are
>          FontReset( )
>          FontLoad(  )
>          FontSelect( )
> I added in .hbp file the -lhbct option, but without success.
> Are they not yet implemented or there are new/other functions
> to use instead of ?

Such functionality like font reloading is available in practice only
in DOS. In all other sysystems it's impossible to load and activate
fonts using binary font definition so noone implemented above functions
It's possible that they will be added in the future for Harbour DOS builds
but you should not expect that they will work in Harbour compiled for
other platforms. They will always return -2 'Impossible in current video
mode'. Sorry but this part is out of our control and we cannot easy
emulate hardware (video adapter) behavior in modern systems where direct
access to hardware devices is blocked by OS for native application.
If such functionality is a must for you then it can be implemented in
DOS Harbour versions (just like SETFONT() is implemented in DJGPP builds)
and you can create DOS application and run it in full screen DOS mode
using windows if your windows still supports it or using DOSBOX or
similar emulator.
Other solution is converting your raw font definition to system native
font format and loading them using some system settings, i.e. by
chosing font for console window in MS-Windows for GTWIN or using
hb_gtInfo() with HB_GTI_* actions in grapic GTs like GTWVT or GTXWC.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to