Iosevka icon indicating copy to clipboard operation
Iosevka copied to clipboard

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

Open Zenvie opened this issue 1 year ago • 9 comments

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

Zenvie avatar Feb 22 '24 05:02 Zenvie

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

be5invis avatar Feb 22 '24 05:02 be5invis

Yes.

Zenvie avatar Feb 22 '24 05:02 Zenvie

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 avatar Feb 22 '24 05:02 Zenvie

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

Zenvie avatar Mar 14 '24 13:03 Zenvie

@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.

be5invis avatar Mar 14 '24 14:03 be5invis

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

Zenvie avatar Mar 14 '24 14:03 Zenvie

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

be5invis avatar Mar 14 '24 15:03 be5invis

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.

jmcwilliams403 avatar Mar 14 '24 15:03 jmcwilliams403

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.

github-actions[bot] avatar May 14 '24 00:05 github-actions[bot]