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

"Cannot detect the reference pattern" (VS 2017) #4

Open
isaksky opened this issue Dec 27, 2017 · 6 comments
Open

"Cannot detect the reference pattern" (VS 2017) #4

isaksky opened this issue Dec 27, 2017 · 6 comments

Comments

@isaksky
Copy link

@isaksky isaksky commented Dec 27, 2017

I get this error when trying to use it on Visual Studio 2017, Windows 10 after hitting benchmark and switching to a Visual Studio code file:

image

I tested with Notepad++ and that works.

@NAlexPear
Copy link

@NAlexPear NAlexPear commented Jan 4, 2018

I'm getting the same result in both VS Code, atom, and vim.

Edit: here are my environment specs for good measure, too

  • Distro: Arch Linux
  • Window Manager: i3wm
  • Compositor: compton (also attempted with compton disabled)
  • Java: jre9-openjdk

Also tried to run this test with and without a ligature font (Fira Code vs DejaVu Sans Mono), with the same result each time

@tmnvanderberg
Copy link

@tmnvanderberg tmnvanderberg commented Apr 27, 2018

I have the same problem in Vim.
Arch, i3, jre10-openjdk.

@siedentop
Copy link

@siedentop siedentop commented May 8, 2018

Same issue on macOS (also VIM).

Env: macOS HighSierra: 10.13.3 (17D102)
VIM:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jul 26 2017 19:10:24)
Included patches: 1-503, 505-642
Compiled by root@apple.com

@jamespharvey20
Copy link

@jamespharvey20 jamespharvey20 commented Apr 9, 2019

Same problem using vim and nano. Arch Linux, KDE plasma 5.15.3, jre10-openjdk, and Suckless Terminal set to solid underscore cursor. Hack font, pixelsize 13, xorg 1.20.4.

I see it type and remove the 5 dots.

Hoping these screenshots might help. These are empty, but I tried some also with data in editor. The first screenshot shows a block cursor, which st shows when it's not focused. Don't know if typometer grabs its before screenshot before or after it switches back to a solid bar cursor when I give it focus.

Tried all combinations of "Native API" and "Async"

Tried setting Hack font pixelsize 40. Tried using Oxygen Mono pixelsize 40.

Tried running through terminal Terminator. Tried xterm, with its default white background and black text.

EDIT: I am running 5 monitors, rotated 90 degrees counter-clockwise. I'm maximizing the terminal on one of those monitors.

typometerBefore
typometerAfter

@jamespharvey20
Copy link

@jamespharvey20 jamespharvey20 commented Apr 9, 2019

It would be nice if this happens for it to ask if the images should be saved to disk.

It would also be nice if more specific output could be given.

@frarees
Copy link

@frarees frarees commented Oct 8, 2020

There are different reasons for these to occur, and indeed the output is not helpful at all.

@jamespharvey20 in your case, the dot distance seems uniform, but the anti-aliasing is too noticeable. Can you try increasing the font size and/or disabling anti-alias?

Aside, I have a fork where I worked out color tolerance in the metric detection (see frarees@0bb2818). You could give it a try and see if it helps in your setup.

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

Successfully merging a pull request may close this issue.

None yet
6 participants