Giter VIP home page Giter VIP logo

Comments (10)

smcameron avatar smcameron commented on May 11, 2024

I have added a --aspect-ratio option to snis_client which will allow specifying an aspect ratio that differs from the display's aspect ratio as reported by the window manager. So you can specify "--aspect-ratio 16:9" and that will match the aspect ratio of the machine the game was designed on. See commit dab38d5

This doesn't really solve the issue, in that now arbitrary aspect ratios may be specified, and for some possible aspect ratios a sane UI is impossible. For example, the game will run with a 25:1 aspect ratio, but it is not possible to actually do very much with such a setup. So in that respect, I have made the problem worse by adding an infinite variety of unfixable UI issues. However, at least now if your display is significantly different than 16:9, you can try some other aspect ratios to get something more likely to work.

I will probably continue to work on the UI to make it more tolerant of various aspect ratios.

from space-nerds-in-space.

psymin avatar psymin commented on May 11, 2024

The issue seems to persist with the patch.

http://runlinux.net/snis/snis-fonts.png

from space-nerds-in-space.

smcameron avatar smcameron commented on May 11, 2024

Thanks for reporting this. Probably a silly question, but, you are trying from top of tree? Can you try:

git pull
make mostly-clean
make

Your screenshot does not look like mine at 16:9 on any computers I have tried, so I suspect you're not running the same code I am, and although it's possible something else is going on, I'm not sure what that something else would be.
snis-16x9

from space-nerds-in-space.

smcameron avatar smcameron commented on May 11, 2024

You mention a patch... perhaps I sent you a patch to try? I don't remember, as that was at least a month ago if I did.

from space-nerds-in-space.

psymin avatar psymin commented on May 11, 2024

You're right. I was't working with the newest code. I should have done "make mostly-clean" beforehand. My apologies.

Thanks for fixing this and I hope this goes over well this weekend at the convention :)

from space-nerds-in-space.

smcameron avatar smcameron commented on May 11, 2024

Ok, cool. Hope you can take some pics and/or videos. Would be cool to see.

from space-nerds-in-space.

BurnZeZ avatar BurnZeZ commented on May 11, 2024

1512-o
Similar problem when using a 3840x2160 display.
With a 1920x1080 window, the problem persists.
Only when changing the display's resolution to something like 1920x1080 do the fonts display correctly.

from space-nerds-in-space.

smcameron avatar smcameron commented on May 11, 2024

Is it just the help text?

I just now made commit dcce491 which might help. It seemed to work for me at various aspect ratios and it seemed ok to me with that commit, (but setting aspect ratios via the ASPECT_RATIO variable that quickstart and snis_launcher understand isn't exactly the same thing as running on that native resolution -- I did not duplicate your screen shot when I tried export ASPECT_RATIO=16:9 for instance.

Also, if you're running full screen at a non-native aspect ratio, you'll get weird behavior with buttons and sliders and other UI elements -- the clicking doesn't land where you expect. But if you take it out of full screen, so that the window is the right size for the aspect ratio, then that particular problem disappears.

I'm also sure that at that high resolution of 3840x2160 it probably looks kind of crappy since all the single pixel wide lines will render rather faintly. The software world isn't quite ready for that resolution. Hardware world probably mostly isn't either -- you need a hellacious fill rate.

from space-nerds-in-space.

BurnZeZ avatar BurnZeZ commented on May 11, 2024

That did seem to help in the help screen, but it's still problematic most other places.
1513-o
1514-o

I expected current tech to not handle 3840x2160 very well either, but that turned out to not be the case.
GTX 970 here.

from space-nerds-in-space.

smcameron avatar smcameron commented on May 11, 2024

Couple of incremental improvements here:

commit 100c154
commit 33d6df8

from space-nerds-in-space.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.