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

Add Domain Map for use cases #87

Closed
jandrieu opened this issue Jun 17, 2020 · 6 comments
Closed

Add Domain Map for use cases #87

jandrieu opened this issue Jun 17, 2020 · 6 comments

Comments

@jandrieu
Copy link
Collaborator

Something like the one in the VC doc: https://w3c.github.io/vc-use-cases/#user-needs

@jandrieu jandrieu self-assigned this Jun 17, 2020
@philarcher
Copy link
Collaborator

I'm leaving this to you @jandrieu ;-)

@jandrieu
Copy link
Collaborator Author

This is still on me. I've started this, including conversations with @philarcher. It still needs more work.

@philarcher
Copy link
Collaborator

@TallTed
Copy link
Member

TallTed commented Jan 19, 2021

tl:dr; There ain't no easy fix for the tiny label text. :-/

SVG doesn't set a font-size for the text class which covers the box labels; this is inherited from the Respec stylesheet (and it's OK when the SVG is "raw"). But then the SVG gets scaled down roughly 61% from "original" size, and so does the effective font-size.

Changing the SVG source to use 24px for the text class therein would, I believe, make the labels legible for all ... but then many of the labels overflow the boxes.

Wider boxes would make the Respec "scaledown" more severe, and require a larger font-size, which would force even wider boxes... wash, rinse, repeat.

Taller boxes would allow for line-breaks in the labels, but SVG 1.1 can't wrap text(!), even with manually inserted <br /> elements. (This might change in SVG 2, but that appears to have stalled; though some pages indicate they're (re?)chartered into this year, the latest editor's draft I could locate is dated Oct 2018.)

That's all I've got...

@iherman
Copy link
Member

iherman commented Jan 20, 2021

Well, it seems that I will have to put on my glasses when looking at the diagram :-(

@philarcher
Copy link
Collaborator

Needs final update but this is basically done. If I can improve the legibility, I will.

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

4 participants