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

GSPS is not rendered correctly in 3.7.0 #187

Closed
Ch00k opened this issue Mar 24, 2021 · 4 comments
Closed

GSPS is not rendered correctly in 3.7.0 #187

Ch00k opened this issue Mar 24, 2021 · 4 comments

Comments

@Ch00k
Copy link

Ch00k commented Mar 24, 2021

Describe the bug
The GSPS is only partially rendered in Weasis 3.7.0.
The GSPS contains objects of different colors: white and blue. The white part shows fine, but the blue one does not. In Weasis 3.6.2 the entire GSPS is displayed correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Download weasis_gsps.zip, unpack and open the two DICOM files in Weasis.
  2. Select AIDENCE VEYE in GSPS dropdown menu.

Expected behavior
Both the white and the blue parts of the GSPS are displayed correctly.

Desktop (please complete the following information):

  • OS: macOS 11.2.1
  • Java Rutime: Java version = 16
  • Weasis Version 3.7.0, 3.7.1 (unreleased)

Additional context
This could be related to #181, however I also tried the 3.7.1 version that fixed the problem in #181, but it does not fix this problem.

Screenshots
Weasis 3.7.0
370

Weasis 3.6.2
362

@nroduit
Copy link
Owner

nroduit commented Mar 24, 2021

Yes, the new version supports Pattern On Opacity Attribute and in your case the opacity value is 0.0 => transparent

@Ch00k
Copy link
Author

Ch00k commented Mar 24, 2021

@nroduit sorry, I'm not sure I understand what you mean exactly. You mean it's a feature, not a bug? Should I fix my GSPS instead to make the blue text non-transparent?

@nroduit
Copy link
Owner

nroduit commented Mar 24, 2021

Yes, I was wondering if it would be safer not to allow the value 0.0 but at the same time it is a valid value.

@Ch00k
Copy link
Author

Ch00k commented Mar 25, 2021

I changed the PatternOnOpacity to 1.0 which made Weasis render the GSPS correctly. I guess this issue can be closed now. Thanks a lot for looking at it!

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

No branches or pull requests

2 participants