• Detecting XBin Capabilities

    From deepthaw@1:229/2 to All on Sunday, November 15, 2020 09:22:16
    From: deepthaw@CORTEX.remove-su2-this

    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
    --- Synchronet 3.18c-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Digital Man@1:229/2 to All on Sunday, November 15, 2020 15:39:58
    From: digital.man@vert.synchro.net.remove-ik9-this

    To: deepthaw
    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 3.18c-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)