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

Illegible text due to no drop shadow, or outline #4830

Open
fluffyfreak opened this issue Mar 7, 2020 · 1 comment
Open

Illegible text due to no drop shadow, or outline #4830

fluffyfreak opened this issue Mar 7, 2020 · 1 comment
Assignees

Comments

@fluffyfreak
Copy link
Contributor

@fluffyfreak fluffyfreak commented Mar 7, 2020

Observed behaviour

The white text is almost unreadable
1

Expected behaviour

The the text has a drop shadow or outline rendered to distinguish it from the background
HCjVKx4

There are a number of open issues and alternative options of Dear IMGUI that might help. Using a drop shadow or signed distance field font rendering to provide contrasting backgrounds for text.
ocornut/imgui#745
ocornut/imgui#2965
signed distance field builder https://gist.github.com/Flix01/254005101903fe1bc22fe0b9f3ed3931
SDF vs Freetype discussion etc https://community.khronos.org/t/font-rendering-freetype-vs-signed-distance-field/103929

Steps to reproduce

Fly your ship to the nearest star or planet with a bright enough surface and orient the ship so that the text on the HUD is over the star/bright surface.

My pioneer version (and OS):
Visible on all OSes and in latest release of Pioneer 2020-02-03

Assignees

I've pre-assigned it to people who might be most interested/involved in fixing it... 'cos I can 😝
Feel free to re-assign if not appropriate.

Previous issues and fixes

Also see very old PR #325 which was to fix issue #39
So we've actually regressed slightly in this area.

@fluffyfreak

This comment has been minimized.

Copy link
Contributor Author

@fluffyfreak fluffyfreak commented Mar 7, 2020

ping @pcercuei to track the issue you posted on IRC last night
ping @nozmajner 'cos I used your artwork to illustrate the potential fix ;)

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.