• Detecting XBin Capabilities

    From deepthaw@1:103/705 to All on Sun Nov 15 09:22:16 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
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to deepthaw on Sun Nov 15 15:39:58 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 --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)