Skip to content

Paint CJK characters with fat latin shapes in minimap #64477

Closed

Description

@dupspirit

the minimap seems not the same with the file content in the detial. is it correct?

detail
full

  • VSCode Version: 1.29.1
  • OS Version: windows 10

Steps to Reproduce:

  1. open a json file
  2. the minimap seeming wrong

Does this issue occur when all extensions are disabled?: yes

Activity

  1. vscodebot commented on Dec 6, 2018

    @vscodebot
  2. added
    editor-minimap
    on Dec 6, 2018
  3. alexdima commented on Dec 6, 2018

    @alexdima
    Member

    @clumsykun The geometry looks correct. I think you are referring to the way the CJK characters are painted. Our tiny font does not include those so we use a random character from a-z to paint those in the minimap. Unfortunately, that means there is no correlation between their shapes. Since we know CJK characters usually have a higher density, perhaps we could alternate between latin characters with higher density, like m, g, e, w...

  4. dupspirit commented on Dec 6, 2018

    @dupspirit
    Author

    @clumsykun The geometry looks correct. I think you are referring to the way the CJK characters are painted. Our tiny font does not include those so we use a random character from a-z to paint those in the minimap. Unfortunately, that means there is no correlation between their shapes. Since we know CJK characters usually have a higher density, perhaps we could alternate between latin characters with higher density, like m, g, e, w...

    understand. thank you for reply at this time :)

  5. added
    bug
    on Jul 2, 2019
  6. changed the title [-]something wrong with the minimap?[/-] [+]Paint CJK characters with fat latin shapes in minimap[/+] on Jul 2, 2019
  7. connor4312 commented on Oct 14, 2019

    @connor4312
    Member

    As of #82265, we'll display the unicode replacement character � on unrenderable symbols.

  8. locked and limited conversation to collaborators on Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugeditor-minimap

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions