[MacPorts] #54367: ROOT 6.10 cannot find symbol.ttf
MacPorts
noreply at macports.org
Fri Jun 23 10:08:58 UTC 2017
#54367: ROOT 6.10 cannot find symbol.ttf
----------------------+----------------------------
Reporter: hansgans | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: root6 @6.10.00
----------------------+----------------------------
Since updating the root6 port some days ago (I think from @6.08) I
encountered the problem that the font symbol.ttf is not found. This is
necessary if you use for example greek math letters in a TCanvas. The
exact error message when opening an existing TCanvas with such symbols is:
{{{
Error in <FontCache::SelectSymbolFont>: symbol.ttf file not found
Error in <TSystem::ExpandFileName>: input: $ROOTSYS/fonts/symbol.ttf,
output: $ROOTSYS/fonts/symbol.ttf
}}}
I figured out that in {{{/opt/local/libexec/root6/etc/system.rootrc}}} the
following lines are commented out:
{{{
#*.*.Root.TTFontPath: /opt/local/libexec/root6/share/root/fonts
#Unix.*.Gui.IconPath:
.:$(HOME)/icons:/opt/local/libexec/root6/share/root/icons:
}}}
Commenting it those lines in or adding them ~/.rootrc, solves the issue
(the second line solves another issues when the ROOT tray icon is not
found). Now I'm not completely sure if this an issue for the ROOT Team or
an issue of the MacPort. But since ROOT is not shipped with a file
system.rootrc I guess it is an issue of the port.
--
Ticket URL: <https://trac.macports.org/ticket/54367>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list