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

Xt/Xaw compatibility issues (with xdivk) #15

Open
jmairboeck opened this issue Aug 28, 2024 · 1 comment
Open

Xt/Xaw compatibility issues (with xdivk) #15

jmairboeck opened this issue Aug 28, 2024 · 1 comment

Comments

@jmairboeck
Copy link

I was trying to build xdvik (part of Tex Live, excluded till now), but it fails to link because Xlibe is missing the XGetIconSizes function. The XSetIconSizes function is implemented empty in stubs.c. Maybe it would be sufficient to add the Get variant there too.

It probably isn't a big deal if it doesn't work as we didn't have it until now, I just was curious if I could get it to work.

If it works, I would make a separate recipe for it, as I am currently splitting up texlive_core anyway (see haikuports/haikuports#10913)

@waddlesplash
Copy link
Owner

I've added the function in b1841ee, and also fixed some other issues I found testing with it. However, there are still some problems that prevent Xaw and thus xdvik from working properly:

  • Xt/Xaw seems to really want ISO8859-1 font encodings, not Unicode. It gives a warning and then tries to fall back to using Unicode anyway, but then errors out later that it couldn't find some font. You can add a hack in Xlibe to report Unicode fonts as ISO8859-1 and then it at least starts up further, for the moment.
  • XCreatePixmapFromBitmapData isn't implemented (currently calls debugger.) This can also be commented out to get a bit further.
  • Font drawing seems broken; the horizontal sizing of characters looks miscomputed, so typing in textboxes looks very wrong. This is probably a bug in Xlibe somewhere, but I haven't poked around as to where.

@waddlesplash waddlesplash changed the title Missing function XGetIconSizes Xt/Xaw compatibility issues (with xdivk) Aug 29, 2024
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