View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002280 | FreeCAD | Bug | public | 2015-09-25 18:38 | 2018-08-26 15:22 |
| Reporter | pkoning2 | Assigned To | yorik | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | not fixable | ||
| Platform | Mac | OS | Mac OS | OS Version | 10.10 |
| Product Version | 0.15 | ||||
| Target Version | 0.17 | ||||
| Summary | 0002280: Annotation object Font Name property does not work | ||||
| Description | I created an object (App::Annotation?) with Draft.makeText. That object has a Font Name property, which on my setup defaults to Arial. But the property has no effect. I can change it to a valid font name (like Times) or an invalid one, but the actual display remains unchanged. The font it actually uses certainly is not Arial; it appears to be Times New Roman. | ||||
| Tags | Coin3d, font, upstream | ||||
| FreeCAD Information | |||||
|
|
Apparently own your system the coin stuff doesn't pick the fonts (The "Times New Roman"-like font is coin's default builtin font). Can you try if this works? FreeCAD.newDocument() from pivy import coin sg = FreeCADGui.ActiveDocument.ActiveView.getSceneGraph() s = coin.SoSeparator() f = coin.SoFont() t = coin.SoAsciiText() t.string.setValue("Hello") s.addChild(f) s.addChild(t) sg.addChild(s) Gui.SendMsgToActiveView("ViewFit") f.name="Arial" When you type the last line, the font should change. |
|
|
That has no effect. I see the text, but setting f.name doesn't change the font. |
|
|
For some reason coin is not finding the Arial font. You might need to try with other names, make sure you pick a font name that exists on your system. In any case this is apparently a coin problem, not a FreeCAD problem... |
|
|
@pkoning2 can you reproduce this issue on 0.16 ? |
|
|
@pkoning2 If you can reproduce, would you please also provide the data from Help > About FreeCAD ? Thanks! |
|
|
Still there in this version OS: Mac OS X Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.17.10276 (Git) Build type: Unknown Branch: gl Hash: 10191e90861cf0c87d24c1980761fd1c7f3cdde4 Python version: 2.7.11 Qt version: 4.8.7 Coin version: 4.0.0a OCC version: 7.0.0 On MacOS El Capitan |
|
|
Changing from feedback to assigned since vejmarie confirmed it on the most up to date version of OSX possible at the moment :P |
|
|
@looo can you reproduce on latest master ? |
|
|
Not likely a FreeCAD bug anyway.. More probably some platform-specific Coin bug |
|
|
Opened a ticket at https://github.com/FreeCAD/pivy/issues/23 |
|
|
this works for me on ubuntu17.04 (daily-ppa) and centos6 with conda packages and nearly up-to-date master. But I am using a custom pivy on both machines. So it's quite difficult to say where the error comes from. |
|
|
@looo custom pivy AKA from https://github.com/FreeCAD/pivy or your own branch ? |
|
|
It seems to work well on Linux and Windows and apparently only macOS is affected. Anyway, it's definitely not a FreeCAD bug and not a pivy bug either because that's only a Python wrapper for Coin3d. So, it's either a Coin3d bug or maybe some font files are missing on the target system causing it to fail. At least we are not able to fix this. So, it's pointless to leave this ticket open any longer. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-09-25 18:38 | pkoning2 | New Issue | |
| 2015-09-25 20:26 | yorik | Note Added: 0006454 | |
| 2015-09-25 20:26 | yorik | Status | new => feedback |
| 2015-09-29 16:54 | pkoning2 | Note Added: 0006470 | |
| 2015-09-29 16:54 | pkoning2 | Status | feedback => new |
| 2016-01-31 19:16 | yorik | Note Added: 0006789 | |
| 2016-01-31 19:17 | yorik | Assigned To | => yorik |
| 2016-01-31 19:17 | yorik | Status | new => feedback |
| 2017-01-09 22:07 | Kunda1 | Note Added: 0007587 | |
| 2017-01-16 08:17 | Kunda1 | Tag Attached: Coin3d | |
| 2017-01-16 08:17 | Kunda1 | Tag Attached: upstream | |
| 2017-01-16 08:18 | Kunda1 | Note Added: 0007810 | |
| 2017-01-25 22:54 | Kunda1 | Tag Attached: #pending | |
| 2017-03-02 12:57 | vejmarie | Note Added: 0008511 | |
| 2017-03-02 13:01 | Kunda1 | Status | feedback => assigned |
| 2017-03-02 13:01 | Kunda1 | Note Added: 0008512 | |
| 2017-10-19 13:14 | Kunda1 | Target Version | => 0.17 |
| 2017-10-19 17:28 | wmayer | Target Version | 0.17 => |
| 2017-11-28 13:18 | Kunda1 | Tag Attached: font | |
| 2017-11-28 13:19 | Kunda1 | Note Added: 0010492 | |
| 2017-11-28 13:20 | Kunda1 | Target Version | => 0.17 |
| 2017-11-28 18:42 | yorik | Note Added: 0010494 | |
| 2017-11-28 19:01 | Kunda1 | Note Added: 0010495 | |
| 2017-11-30 12:07 | looo | Note Added: 0010501 | |
| 2017-11-30 12:34 | Kunda1 | Note Added: 0010502 | |
| 2017-12-02 17:06 | wmayer | Status | assigned => closed |
| 2017-12-02 17:06 | wmayer | Resolution | open => not fixable |
| 2017-12-02 17:06 | wmayer | Note Added: 0010510 | |
| 2018-08-26 15:22 | Kunda1 | Tag Detached: #pending |
FreeCAD