node-x11
node-x11 copied to clipboard
Core functions outdated
node-x11 needs to be updated, it's missing things like XOpenFont and XBell.
hi, XOpenFont or XBell are not there probably because nobody needed them. Feel free to submit pr :)
Bell request:
1 104 opcode
1 INT8 percent
2 1 request length
OpenFont request:
1 45 opcode
1 unused
2 3+(n+p)/4 request length
4 FONT fid
2 n length of name
2 unused
n STRING8 name
p unused, p=pad(n)
note that core x fonts almost never used these days. Most modern toolkits render & composite text either fully locally ( word or paragraphs or whole pages ) or on the server using Render extension + CreateGlyphSet + CompositeGlyphs requests
I added XBell in https://github.com/sidorares/node-x11/pull/181