Skip to content

What happened to fonts? #1152

Closed
Closed

Description

@9mm

I see in the latest release with the new icon that it has a new renderer, that's awesome! It appears though my entire editor feels uncomfortably different. The line-height is now super large...

I remember this exact thing happened before and a fixed was merged in, heres the issue: #949

Based on how my editor looks, it appears its the exact same problem to a T (at least visually, anyway), and a fix was merged in before.

Activity

  1. eirnym commented on Dec 24, 2020

    @eirnym
    Contributor

    @9mm, thank you for an issue

    Yes, it's a completely new renderer and the decision was give it a go. The patch for this renderer wouldn't be the same, but could be similar.

    As far as I remember you were using modified Anonymous Pro

    Could you please share exact version of your font and a source where to find new versions of your modified font to play with. I have no issues for myself with Fira Code, but font has different properties than yours.

    Anonymous Pro I'd also try a new version of unmodified Anonymous Pro. Any font modifications could change any font property because of it's recompilation.

  2. 9mm commented on Dec 24, 2020

    @9mm
    Author

    Sure, here it is modified from my harddrive:

    Anonymice Powerline.ttf.zip

    Here's the original font which does the same thing for me, so you could just pretend for the sake of this issue that I'm not using a modified version at all (I just tested it with this original font straight from the source). I also freshly downloaded the latest version here for my test at this link (1.002)

    https://www.marksimonson.com/assets/content/fonts/AnonymousPro-1_002.zip

  3. ychin commented on Dec 24, 2020

    @ychin
    Member

    Huh I remember seeing this issue getting raised when the stateful renderer was under review in @s4y's pull request (#858), but I think that was fixed. I will need to take a look. So just to be clear, the only issue you see is the line height problem, and not other issues or rendering artifacts, right?

    The old renderer code actually explicitly ignored the line height of the font, and I think we may have missed that in the new code, so we should probably re-introduce that behavior, and potentially give an option to respect line height if we want to.

  4. added this to the snapshot-170 milestone on Dec 24, 2020
  5. added
    RendererText rendering issues, including CoreText renderer
    on Dec 24, 2020
  6. 9mm commented on Dec 24, 2020

    @9mm
    Author

    Awesome! Thanks 👍🏼 And yes thats correct, that's the only issue I see so far.

  7. added a commit that references this issue on Dec 26, 2020
    5f95572
  8. ychin commented on Dec 26, 2020

    @ychin
    Member

    Ok this is "fixed". I put quotes around them because the new behavior is going to be the default as I think it's actually the correct behavior (the line spacing is there because the font specified it). There is now an option though (use the preference pane, under "Appearance") to tell MacVim to not to preserve font line spacing, which is what you want. @9mm

  9. 9mm commented on Dec 27, 2020

    @9mm
    Author

    Awesome! dumb question but how do i download this new release? (on releases page it looks like most recent is 8 days)

    Thanks! also, if i disable that option its still leaving the new (very fast) renderer, right?

  10. ychin commented on Dec 28, 2020

    @ychin
    Member

    The new release is not out yet. Will probably be 1-2 weeks out as I try to get some other in-progress stuff in first. Probably early Jan. If you are on r166, and set your auto-updater to ignore the current release (select MacVim → "Check for Updates…", then "Skip This Version"), it should just prompt you the next time a new one comes out.

    Yes the fast renderer is going to be in still. This just changes how we initializes the font.

  11. added a commit that references this issue on Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    RendererText rendering issues, including CoreText renderer

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions