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

Change font because 1 and l are similar. #168

Open
rgaiacs opened this issue Aug 31, 2017 · 13 comments
Open

Change font because 1 and l are similar. #168

rgaiacs opened this issue Aug 31, 2017 · 13 comments
Labels
type:enhancement Propose enhancement to the lesson
Milestone

Comments

@rgaiacs
Copy link
Contributor

rgaiacs commented Aug 31, 2017

@dakane1 opened swcarpentry/shell-novice#612 saying that

I had a number of issues distinguishing 1 (ones) from the letter l. When I mentioned it to a few people they said they were having the same problem.

Screenshot

screenshot from 2017-08-31 19-29-21

Technical details

If you are using a high resolution display (HIDPI) like the retina display in some MacBooks, the QHD+ in some laptops or (you are the luck one with) the 4k monitor you may have some issues due many factors that some fonts doesn't scale properly and the text looks super small making hard to read and distinguish some symbols that are similar. If this is your case, sorry but we can't do much for you.

The CSS related information about the font that we are using in the main body of the lesson is

font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: #333;

Because of my completely lack of design skills, I'm open to suggestions about what we should use as font-family. As long as you suggest a open source font, I will not oppose to make the change.

@dakane1
Copy link

dakane1 commented Aug 31, 2017

I had actually printed the lessons and was not reading them on a screen, not sure if that information helps or not. http://swcarpentry.github.io/shell-novice/aio/. I can ask a web designer I know to see if they have any font recommendations.

@rgaiacs
Copy link
Contributor Author

rgaiacs commented Aug 31, 2017

@dakane1 Thanks for the information. It is very useful.

For the main text, the only difference of the CSS used for print is

color: #000 !important;

which enforce a darker colour.

I can ask a web designer I know to see if they have any font recommendations.

Thanks in advance.

@rgaiacs
Copy link
Contributor Author

rgaiacs commented Oct 20, 2017

@dakane1 did you have the opportunity to ask for suggestion from your web designer friend?

@dakane1
Copy link

dakane1 commented Oct 20, 2017

Sorry, not yet. Start of the quarter has been crazy busy but I will ask after OA Week, which is next week.

@fmichonneau
Copy link
Contributor

Here are some options:

Cabin

License: Open Font License

1Il0O:
screenshot from 2018-06-15 09-50-34

Preview:
screenshot from 2018-06-15 09-49-37

Open Sans

License: Apache License 2.0

1Il0O:
screenshot from 2018-06-15 09-53-09

Preview:
screenshot from 2018-06-15 09-51-58

Source Sans Pro

License: Open Font License

1Il0O:
screenshot from 2018-06-15 09-55-28

Preview:
screenshot from 2018-06-15 09-56-27

Ubuntu

License: Ubuntu Font License

1Il0O:
screenshot from 2018-06-15 09-57-45

Preview:
screenshot from 2018-06-15 09-58-30

@maxim-belkin
Copy link
Contributor

I like the last two (Source Sans Pro and Ubuntu) the most:

  • In Cabin: zero and capital "o" look similar
  • In Open Sans: "el" looks similar to capital i

What font do code blocks in the "Ubuntu" example use? I see that number one in the wc -l *.pdb | sort -n | head -n 1 looks different from how it looks in the title

@fmichonneau fmichonneau added this to the v9.6.0 milestone Jun 15, 2018
@fmichonneau
Copy link
Contributor

Another option

Abeezee

1lI0O:
screenshot from 2018-06-15 10-35-27

Preview:

screenshot from 2018-06-15 10-37-29

@fmichonneau
Copy link
Contributor

@maxim-belkin I don't think the font for the code was changed across these examples. It looks like on my laptop, it's rendered as Consolas.

@maxim-belkin
Copy link
Contributor

That's a nice one too.

@fmichonneau fmichonneau added type:enhancement Propose enhancement to the lesson and removed enhancement labels Jun 15, 2018
@dakane1
Copy link

dakane1 commented Jun 15, 2018 via email

@brownsarahm
Copy link
Contributor

I think even Ubuntu and Abeeze are slightly better on the zero versus O than the source sans pro. and Abeeze is slightly more distinct on the letters l vs I

@hoytpr
Copy link

hoytpr commented Jun 20, 2018

Ubuntu or Abeezee look good. I agree with @brownsarahm 's comments.

@maxim-belkin
Copy link
Contributor

A friend of mine with dyslexia says Ubuntu is the most readable one for him.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Propose enhancement to the lesson
Projects
None yet
Development

No branches or pull requests

6 participants