Here what I have As this seems to be environment specific, I'll stop cluttering this topic and eventually open another dedicated one when I find time to investigate.
[Merged] Refactoring ViewProviderSketch
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Refactoring ViewProviderSketch
Re: Refactoring ViewProviderSketch
This could indeed be a graphics card issue. Does the issue persist if you use FitAll?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
- adrianinsaval
- Veteran
- Posts: 5552
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Refactoring ViewProviderSketch
no issue in any of these:
Does changing the sketcher text size has any effect?
Code: Select all
OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.26414 (Git)
Build type: Release
Branch: master
Hash: f0646d8b51fe7e8ae667c08c7a40017a4d83359b
Python version: 3.9.7
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United Kingdom (en_GB)
OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.26306 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 6701788)
Hash: 670178869ecdca52f7dcd332c513cb0c82b25cce
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: English/United Kingdom (en_GB)
OS: KDE Flatpak runtime (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.14555 (Git shallow)
Build type: Release
Branch: (HEAD detached at 0.19.2)
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.8
Qt version: 5.15.3
Coin version: 4.0.0
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)
Re: Refactoring ViewProviderSketch
OK, I get it right at the first try. I removed from code the prepending "diameter sign" (which is an UTF-8 only character) and everything is fine.
What you guys would think of an option to use "D" instead of "diameter sign" -- disabled by default -- ?
Re: Refactoring ViewProviderSketch
Not at my computer at the moment, but isn‘t there a diameter symbol in the ascii table as well?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Refactoring ViewProviderSketch
How about ASCII 248 ?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
- adrianinsaval
- Veteran
- Posts: 5552
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Refactoring ViewProviderSketch
can we bundle the character with FreeCAD so it falls back to that if it's not in the system font? Still, why does the absence of a character cuts out the others? software is a strange realm
Re: Refactoring ViewProviderSketch
My guess is that Qt switches to another font which breaks the alignment.adrianinsaval wrote: ↑Thu Nov 18, 2021 11:28 am Still, why does the absence of a character cuts out the others?
Re: Refactoring ViewProviderSketch
Think I got it. Actually you were talking about Unicode 248, not ASCII 248.
I tested and works. I even chosen Unicode 216 (capital letter) which I find looks better as it has same size as digits. I'll prepare the PR. Feel free to tell me here what you think about this (everybody, not just @chrisb ).
@abdullah : sorry for cluttering, feel free to split.