DarwinNE / FidoCadJ

FidoCadJ is a free user-friendly vector graphic editor for MacOSX, Linux, Windows and Android with a library of electronic symbols.
http://darwinne.github.io/FidoCadJ/
GNU General Public License v3.0
109 stars 38 forks source link

Inaccurate text selection #197

Open Max2433BO opened 4 years ago

Max2433BO commented 4 years ago

Hi @DarwinNE

I found a problem with FidoCadJ 0.24.8.

From this code

[FIDOCAD]
FJC C 3.0
FJC B 0.5
TY 111 25 4 3 0 0 0 * b_A2^
TY 133 25 4 3 0 0 0 * b_A1^
TY 154 25 4 3 0 0 0 * b_A0^
TY 112 37 4 3 0 0 0 * b_B2^
TY 134 37 4 3 0 0 0 * b_B1^
TY 155 37 4 3 0 0 0 * b_B0^
TY 150 49 4 3 0 0 0 * b_B0^
TY 159 49 4 3 0 0 0 * b_A0^
TY 129 49 4 3 0 0 0 * b_B0^
TY 138 49 4 3 0 0 0 * b_A1^
TY 108 49 4 3 0 0 0 * b_B0^
TY 117 49 4 3 0 0 0 * b_A2^
TY 129 60 4 3 0 0 0 * b_B1^
TY 138 60 4 3 0 0 0 * b_A0^
TY 108 60 4 3 0 0 0 * b_B1^
TY 117 60 4 3 0 0 0 * b_A1^
TY 87 60 4 3 0 0 0 * b_B1^
TY 96 60 4 3 0 0 0 * b_A2^
TY 108 72 4 3 0 0 0 * b_B2^
TY 117 72 4 3 0 0 0 * b_A0^
TY 87 72 4 3 0 0 0 * b_B2^
TY 96 72 4 3 0 0 0 * b_A1^
TY 66 72 4 3 0 0 0 * b_B2^
TY 75 72 4 3 0 0 0 * b_A2^
LI 64 47 175 47 0
TY 171 26 4 3 0 0 0 * ×
TY 171 38 4 3 0 0 0 * =
TY 171 49 4 3 0 0 0 * +
TY 171 60 4 3 0 0 0 * +
TY 171 72 4 3 0 0 0 * =
LI 64 82 175 82 0
TY 71 86 4 3 0 3 0 * b_P4^
TY 92 86 4 3 0 3 0 * b_P3^
TY 114 86 4 3 0 3 0 * b_P2^
TY 135 86 4 3 0 3 0 * b_P1^
TY 156 86 4 3 0 3 0 * b_P0^
TY 10 87 3 2 0 3 2 * Prodotto finale
TY 30 59 3 2 0 3 11 * Matrice prodotti
TY 38 63 3 2 0 3 11 * parziali
TY 50 86 4 3 0 3 13 * b_P5^

you get this picture:

Matrice_prodotti_parziali

Now, if you try to select the text , pointing to the red dot (image below), in reality you select the text . To select the text , you must point the cursor on the green point.

Matrice_prodotti_parziali_2

I hope I have been sufficiently clear ;)

Bye, Max

JoopN commented 2 years ago

This can have to do with "snap to grid" switched on. In this setting FidoCadJ can only make a selection from grid point to grid point. This also includes that objects close to each other are chosen because one of their grid points are within the selection. Solution is to switch of "snap to grid". Now you can make selections close to other objects. Remind that on the background there is always a grid point system with a grid of 1mm.