Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
72 user(s) are online (59 user(s) are browsing Forums)

Members: 0
Guests: 72

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: SSH client for AmigaOS with builtin terminal emulation

Subject: Re: SSH client for AmigaOS with builtin terminal emulation
by salass00 on 2019/4/11 10:05:35

@salass00

Quote:

The bullet API code is however not working at the moment because both of the two fonts I've tried ("Bitstream Vera Sans Mono.font" and "DejaVu Sans Mono.font") return FALSE for OT_IsFixed and zero values for OT_YSizeFactor and OT_SpaceWidth.


Turns out that I was doing this wrong.

Instead of doing:

ULONG isfixed;

IDiskfont->EObtainInfo(olf->olf_EEngine, OT_IsFixed, &isfixed, TAG_END);

I should be doing:

isfixed = IUtility->GetTagData(OT_IsFixed, FALSE, olf->olf_OTagList);
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project