Skip to content

Font rendering issue; characters appear at wrong size, position #4367

Closed

Description

Environment

Windows build number: 10.0.18363.0
Windows Terminal version (if applicable): 0.8.10091.0

Font: JetBrains Mono

Steps to reproduce

Sometimes font doesn't render properly: some characters are too tall or too short. Sometimes it's numbers, sometimes it's capital case letters. Regular conhost window or ConEmu don't have this problem.

Expected behavior

Font characters render properly.

ConEmu example. Everything seems to render properly.

conemu

conemu

Actual behavior

Some characters are too tall or too short. You can see it in capital case letters.

Аннотация 2020-01-27 154648

terminal

Activity

  1. ghost added
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Jan 27, 2020
  2. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Jan 27, 2020
  3. zadjii-msft commented on Jan 27, 2020

    @zadjii-msft
    Member

    This might be related to #610, but this seems subtle enough that it might not be. I'm going to leave this open to make sure we address this particular issue.

  4. added
    Area-RenderingText rendering, emoji, complex glyph & font-fallback issues
    Issue-BugIt either shouldn't be doing this or needs an investigation.
    on Jan 27, 2020
  5. ghost removed
    Needs-Tag-FixDoesn't match tag requirements
    on Jan 27, 2020
  6. added and removed
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Jan 28, 2020
  7. hnakamur commented on Feb 15, 2020

    @hnakamur

    I have the same issue for Japanese characters.
    I created a gist to reproduce the problem https://gist.github.com/hnakamur/2a123ce7bdc0d7e5070218c258f990a8
    I also added some screenshots there.

    You can run the following command in a Ubuntu (Windows Subsystem for Linux) shell.

    curl -sS https://gist.githubusercontent.com/hnakamur/2a123ce7bdc0d7e5070218c258f990a8/raw/b3cd604b6f8b0781cd51758afa3e1dd264e7c6d7/swap-myth.txt
    
  8. changed the title [-]Font rendering issue[/-] [+]Font rendering issue; characters appear at wrong size, position[/+] on Feb 18, 2020
  9. zadjii-msft commented on Apr 14, 2020

    @zadjii-msft
    Member

    I know Michael Niksa (@miniksa) was mucking with the baselines in #5345, maybe this is related?

  10. tuscen commented on Apr 14, 2020

    @tuscen
    Author

    Looks like it was fixed. I do use a 4K display with 150% scaling.

    1
    2

  11. zadjii-msft commented on Apr 14, 2020

    @zadjii-msft
    Member

    Aleksey Usatov (@tuscen) that's excellent to hear. I'd usually love to have an actual commit to link this to for future people that run into this issue, but we've changed so much about our rendering stack since 0.8 that it'd be hard to pin this down exactly.

    Thanks for following up though!

  12. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Apr 14, 2020
  13. added
    Resolution-No-ReproWe couldn't get this to happen, or it stopped happening entirely.
    and removed
    Needs-Tag-FixDoesn't match tag requirements
    on Apr 14, 2020
  14. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Apr 14, 2020
  15. hnakamur commented on Apr 21, 2020

    @hnakamur

    Sorry for late reporting, but my issue was also resolved since version: 0.10.781.0.
    Thanks for a great product!

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

    Area-FontsRelated to the fontArea-RenderingText rendering, emoji, complex glyph & font-fallback issuesIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsPriority-2A description (P2)Product-TerminalThe new Windows Terminal.Resolution-No-ReproWe couldn't get this to happen, or it stopped happening entirely.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions