FiraCode icon indicating copy to clipboard operation
FiraCode copied to clipboard

Ligatures involving double colon ("::") and an angle bracket are misaligned

Open trbabb opened this issue 2 years ago • 2 comments

See this image:

image

In C++, this form of qualified identifier is commonly used with templated classes:

TemplatedClass<TemplateParam>::SomeMemberIdentifier

It looks like ligatures and/or kerning adjust the second colon up to align with the first letter of the following word, and adjust the first colon down to align with the closing > character.

Consecutive ::s should probably stay aligned with each other when possible!

trbabb avatar Nov 11 '23 20:11 trbabb

Thanks!

tonsky avatar Nov 13 '23 11:11 tonsky