I have a .NET Framework WinForms application that uses the standard RichTextBox to view/edit some RTF files. I've ported the application to .NET Core.
As you can see in the images, the displayed text have different line space heights. I've found that this is due to the hyperlink in the RTF file. If I remove it then their display is same.

Can anyone explain why the display is different in the two applications and is there anything I can do to make their display same?
A sample application demonstrating this can be found here, along with a sample RTF file.