triplus wrote: ↑Sat Mar 28, 2020 5:00 pm
Such parameters are now consolidated under NaviCube group. If you want to change the navigation cube text, that is not the correct parameter. Look below, for parameters such as TextFront.
P.S. If you don't want to mess with parameters directly, you can set all this parameters from the cube menu module.
Thanks. I am familiar with Parameter Editor already, and I like your CubeMenu addon.
But I cannot find howto replace the default "Helvetica" font (font file, font family, font shape) setting yet.
I mentioned in previous comment, "Helvetica" is not a good choice for NaviCube and FreeCAD.
"Helvetica" is commercial font, and not included in all Windows versions and Linux distros.
So, on Win/Linux, font fallback (auto replaced by other font) is inevitable, and the fallback font is unpredicatible/uncontrollable by end user.
Even on MacOS, where Helvetica is preinstalled, font fallback is still unpredicatible/uncontrollable for non-European locale users. For Helvetica only contains European languages glyphs/scripts.
The font fallback caused 2 bad results:
1, letter space varies in different machines, for different fonts has different width and kerning.
2, font strokes look more vague when falling-back to a Serif-style font, before font hinting implemented on NaviCube. (Serif-style fonts have decorative tiny stoke ends.)
Examples of this 2 results can be easily found in posts by different users.
We have many beautiful open-source fonts already. Why we specify a commercial font in UI design, without providing the font file? Where and how should users get such a commercial font? Below is answer from Adobe Inc.
https://community.adobe.com/t5/indesig ... -p/6887530
Correct Answer by Dov Isaacs | Adobe Employee
To directly respond to your question, there is no “free” version of Helvetica bundled with Windows and the version of Helvetica bundled with MacOS is a .dfont variant of TrueType Helvetica that may problematic for publishing use.
Otherwise, Helvetica is a trademarked, commercial font. It is not “free” and anyone offering you a “free” copy or version of Helvetica is doing so outside the law.
Adobe does not bundle any version of Helvetica with any applications. Nor is it available via TypeKit.
You can license Helvetica, Helvetica Neue, etc. from commercial font vendors including Adobe, Monotype, etc.
If your needs are not exact and you are on a strict budget, Arial may do. Arial is bundled with both Windows and MacOS.
A more fundamental solution to Helvetica fallback problem is to bundle a open-source Sans-style font withint FreeCAD, just like "osifont" in TechDraw.
With i18n/l10n in consideration, Noto Sans (also call "Adobe Source Sans") is the only choice. We only need bundle and specify the English version Noto, users download needed language version Noto to their machine if in need. When FreeCAD locale changed, font fallback will happen from "Noto Sans"(default font family name is English version) to "Noto Sans CJK" (for example) automatically and definitely.
http://www.google.cn/get/noto/
If without i18n/l10n consideration, more opensource Sans-style fonts worth a try, Dejavu Sans, Vera Sans, etc.
Both Noto Sans and Dejavu Sans are pre-installed by lots Linux Distros.
This is not quite a difficult solution.
But for now, I think a font selector parameter is more easy to implement. Is that right?