Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core functions outdated #159

Open
RossComputerGuy opened this issue Nov 4, 2017 · 3 comments
Open

Core functions outdated #159

RossComputerGuy opened this issue Nov 4, 2017 · 3 comments

Comments

@RossComputerGuy
Copy link
Contributor

node-x11 needs to be updated, it's missing things like XOpenFont and XBell.

@sidorares
Copy link
Owner

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)

@sidorares
Copy link
Owner

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

@RossComputerGuy
Copy link
Contributor Author

I added XBell in #181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants