Penguin
2014-01-16, 17:20
I have tried to find out how a new font can be installed into SailfishOS so that Qt/Qml app can use it without need to reboot device after font installation.
In my desktop linux (Ubuntu) I only have to copy font files to ~/.fonts or to system font directories and it it automatically recognized. E.g. font substitution works automatically. Sailfish does not recognize fonts from users .fonts directory but only from under /usr/share/fonts and only after reboot I have been able to get new font into use. Removal is immediate and visible in application using the font without any delay.
Is there some command that needs to be executed before new fonts are recognized?
In my desktop linux (Ubuntu) I only have to copy font files to ~/.fonts or to system font directories and it it automatically recognized. E.g. font substitution works automatically. Sailfish does not recognize fonts from users .fonts directory but only from under /usr/share/fonts and only after reboot I have been able to get new font into use. Removal is immediate and visible in application using the font without any delay.
Is there some command that needs to be executed before new fonts are recognized?