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

Adjust the dots of lowercase i and j in iosevka-ss04 font #2208

Closed
Zenvie opened this issue Feb 22, 2024 · 9 comments
Closed

Adjust the dots of lowercase i and j in iosevka-ss04 font #2208

Zenvie opened this issue Feb 22, 2024 · 9 comments
Labels

Comments

@Zenvie
Copy link
Contributor

Zenvie commented Feb 22, 2024

Is your feature request related to a problem? Please describe.
I would like to suggest a minor aesthetic improvement for the iosevka-ss04 font. I noticed that the dot of the lowercase letter i is tilted to the right, while the dot of the lowercase letter j is tilted to the left. It may not be obvious as a screen display font, but it is especially noticeable when the font is enlarged. I think it would look better if the dots were adjusted slightly.

Describe the solution you'd like
I have provided screenshots and drawn auxiliary lines to show how to adjust.

  1. Based on the left and right lines of the lower part of the lowercase letter i, draw the approximate left and right lines of the upper part of the dot of the lowercase letter i, but this will make the dot too small, and it needs to be corrected in step 2.
  2. Take the midpoint of the original right line of the upper part of the dot of the lowercase letter i and the theoretical right line of the upper part of the dot of the lowercase letter i, and get the position of the right line of the upper part of the dot of the lowercase letter i that should be designed. Then, based on the center line of the lower part of the lowercase letter i, determine the position of the left line of the upper part of the dot of the lowercase letter i that should be designed.
  3. Based on the size of the upper part of the dot of the lowercase letter i that has been designed in step 2, determine the size of the upper part of the dot of the lowercase letter j that should be designed. Then, based on the center line of the lower part of the lowercase letter j, determine the position of the upper part of the dot of the lowercase letter j.

Describe alternatives you've considered
I have not considered any alternative solutions or features, as this is a minor aesthetic improvement.

Additional context
Here is the screenshot with the guidelines:
original
modified

@be5invis
Copy link
Owner

I currently align the center of the dot to the center of the bottom stem.
Do you want them to have a small offset?

@Zenvie
Copy link
Contributor Author

Zenvie commented Feb 22, 2024

Yes.

@Zenvie
Copy link
Contributor Author

Zenvie commented Feb 22, 2024

Notice that the dots above these two lowercase letters in the Menlo font are rectangles rather than squares. Perhaps changing them to rectangles would be better?
menlo

@Zenvie
Copy link
Contributor Author

Zenvie commented Mar 14, 2024

@be5invis If there are any plans to implement this request?

@be5invis
Copy link
Owner

be5invis commented Mar 14, 2024

@Zenvie Dots' alignment is mostly "optical". In many cases, geometrically aligning them may make it PERCEPTUALLY unaligned.

The current logic of dot alignment in i and j (as in v29) is, if there's no top serif, then the dot is aligned to the center of the bar. Otherwise it will be slightly leaning leftward.

@Zenvie
Copy link
Contributor Author

Zenvie commented Mar 14, 2024

@be5invis Would it be possible to reduce the size of the dots or alter them to a rectangular shape?

@be5invis
Copy link
Owner

@Zenvie Such will become another variant of "dots in diacritics". I estimate this will introduce about 800 glyphs...

@jmcwilliams403
Copy link
Contributor

FWIW some fonts use square dots for i/j while using round dots for everything else (characters which decompose to letter+diacritic), like Envy Code R and Courier New.

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

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

No branches or pull requests

3 participants