Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect definition of the beginning of blocks #81

Closed
bimkassir opened this issue Jun 10, 2022 · 1 comment
Closed

Incorrect definition of the beginning of blocks #81

bimkassir opened this issue Jun 10, 2022 · 1 comment

Comments

@bimkassir
Copy link

Today I turned on the extension and faced with the fact that the blocks do not start where they should.
I use:
"editor.fontFamily": "Verdana",
"editor.fontSize": 12,
file: .vue (it works the same way in .js).
![Screenshot_1](https://user-images.githubusercontent.com/24460845/173006267
Screenshot_3
Screenshot_2
-2a2c4669-e99c-4af1-ba24-043255e5f063.png)

Screen attached. I'll be happy to add any additional information you need.

@leodevbro
Copy link
Owner

Hello, "Verdana" font is not a monospace font. In general, it's not a good idea to use non-monospace font in a code editor.

In Blockman page, I have written this instruction:

Please don't use non-monospace font. Use only monospace font like 'Oxygen Mono', 'BPG 2017 DejaVu Sans Mono' or other. Block-rendering is based on equal character-frame-widths, because pixel locations of characters is not accessible through VS Code API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants