Comments (10)
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.
The issue seems to persist with the patch.
http://runlinux.net/snis/snis-fonts.png
from space-nerds-in-space.
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.
from space-nerds-in-space.
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.
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.
Ok, cool. Hope you can take some pics and/or videos. Would be cool to see.
from space-nerds-in-space.
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.
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.
That did seem to help in the help screen, but it's still problematic most other places.
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.
Couple of incremental improvements here:
from space-nerds-in-space.
Related Issues (20)
- snis_client --monitor option has been broken since the SDL2 conversion
- Bug in show_demon_3d() HOT 1
- {request} web interface single computer host HOT 8
- sudo make install - failing with specified parameters HOT 14
- inconsistencies in help function on comms screen HOT 5
- keyboard mappings and interface design for communications station HOT 9
- scan contact velocity is a single number, should be three HOT 6
- keymap & UI/UX: Science! HOT 3
- UX & keymapping wishlist for engineering HOT 5
- missile launch failure HOT 4
- wishlist item for weapon screen: autofire phaser mode HOT 2
- weapons screen wishlist item: zoom HOT 1
- weapons screen wishlist: target specific systems HOT 2
- weapons screen controls request: phaser wavelength hotkeys HOT 1
- helm controls requests HOT 7
- Allow return to lobby from ESC menu HOT 1
- Allow and display keyboard shortcuts in the quit dialogue
- implement conservation of momentum HOT 9
- Fix libglew1.5-dev installation failure; update related documentation HOT 1
- Compile issue - mathutils.c HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from space-nerds-in-space.