Changing font size via the API does not work
BUG Concise problem statement: When running a javascript to change the fontsize on my PCB, the change does not take affect. When afterwards I change some text, the font size gets updated though. Also the height attribute shows the correct font size when I click on a text label in the editor. So for some reason the displayed text is not updated, while all attributes are changed correctly. Steps to reproduce bug: Run the following script while editing a PCB: var json = api('getSource', {type: "json"}) for (var part in json.FOOTPRINT) { for (var text in json.FOOTPRINT[part].TEXT) { json.FOOTPRINT[part].TEXT[text].fontSize=10.0; json.FOOTPRINT[part].TEXT[text].strokeWidth=0.6; } } api('applySource', {source: json, createNew: false}); Results: Attributes fontSize (height) and strokeWidth (Line Width) change, but fonts on the PCB are not updated. Expected results: Font size and stroke width on the PCB should change. Browser: Firefox Quantum 57.0 and Chromium 62.0.3202.94 #BugReports#