• Detecting XBin Capabiliti

    From deepthaw@VERT/CORTEX to All on Sun Nov 15 04:22:00 2020
    Now that I'm digging into making/displaying Xbin image files, is there a mechanism for detecting if the remote user can view them, and what font size to use?

    I presume this'll all be in JavaScript.

    ---
    þ Synchronet þ c.o.r.t.e.x 2.0.2.0 | telnet://deepthaw.net
  • From Digital Man@VERT to deepthaw on Sun Nov 15 10:39:00 2020
    Re: Detecting XBin Capabilities
    By: deepthaw to All on Sun Nov 15 2020 09:22 am

    Now that I'm digging into making/displaying Xbin image files, is there a mechanism for detecting if the remote user can view them, and what font size to use?

    I presume this'll all be in JavaScript.

    Yup, all in JS. load/cterm_lib.js contain the methods: charheight() and supports_fonts().
    --
    digital man

    Rush quote #64:
    He's cleaning up his systems to keep his nature pure .. New World Man
    Norco, CA WX: 84.6øF, 12.0% humidity, 0 mph ESE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net