We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cacf7f8 commit a84be87Copy full SHA for a84be87
1 file changed
src/ArrowSyntaxRendering/ASRSubstitutionFont.class.st
@@ -246,10 +246,9 @@ ASRSubstitutionFont >> installOn: aDisplayContext foregroundColor: foregroundCol
246
{ #category : 'measuring' }
247
ASRSubstitutionFont >> kerningLeft: leftCharacter right: rightCharacter [
248
249
- ((self hides: leftCharacter) or: [
250
- rightCharacter notNil and: [ self hides: rightCharacter ] ])
251
- ifTrue: [ ^ 0 ].
+ (self hides: leftCharacter) ifTrue: [ ^ 0 ].
252
rightCharacter ifNil: [ ^ 0 ].
+ (self hides: rightCharacter) ifTrue: [ ^ 0 ].
253
^ self baseFont
254
kerningLeft: (self displayCharacterFor: leftCharacter)
255
right: (self displayCharacterFor: rightCharacter)
0 commit comments