5.4.2 and 5.3.6 top menu line shows only dashes. Content invisible

I installed 5.4.2 on my Windows 7 system. In Calc, the top menu line showed only dashes and the content of the cells was greyed out. I uninstalled and installed 5.3.6. Same result. I notice someone reporting a similar error in an earlier release but there is a claim that it is fixed. I have installed Open Office in order to be able to continue working, but I would prefer to stick with Libre Office. Any suggestions?

Take a look at https://wiki.documentfoundation.org/UserProfile#Resolving_corruption_in_the_user_profile


Add Answer is reserved for solutions.

Press edit below your question if you want to add more information; also can comment an answer.