googlefonts / Inconsolata

Development repo of Inconsolata Fonts by Raph Levien
http://levien.com/type/myfonts/inconsolata.html
SIL Open Font License 1.1
1.32k stars 64 forks source link

Backtick rendering #68

Open samuelmtimbo opened 2 years ago

samuelmtimbo commented 2 years ago

Hi,

First of all, I would like to thank you for this amazing font; the continuity of its curves is unmatched IMHO.

I am building a code editor and judged Inconsolata to be the perfect pick for the default font, however, there's an asymmetry on how the backtick character (`), is rendered in a couple cases. Here are some screenshots from Google Fonts:

1.1) More than one backtick with no characters in between them:

Screen Shot 2021-07-29 at 11 04 08 PM

1.2) Two backticks surrounding one or more characters ending in an upper case letter:

Screen Shot 2021-07-29 at 11 03 40 PM Screen Shot 2021-07-29 at 11 09 44 PM

In this example, note how the two backticks look different (one's slope is higher than the other).

For comparison, here are some examples on which the backticks are rendered equally:

2.1) Single back tick:

Screen Shot 2021-07-29 at 11 22 01 PM

2.2) Two backticks surrounding one or more characters ending in an lower case letter:

Screen Shot 2021-07-29 at 11 04 51 PM Screen Shot 2021-07-29 at 11 23 34 PM

I'd prefer the backtick to be always rendered in the same manner, like in the examples in the 2nd section.

Being the backtick essential in a programming use case, I am going through a dilemma in which I don't want to replace Inconsolata nor having the user face this while writing code.

Is this the expected behavior?

Is there a way around it?

If not, could someone guide me on how modify the font rendering for this particular situation (for what it is worth, I have no experience with font development)?

Att.,

ganlvtech commented 1 year ago

49