Broken Font in Browsers
Tofloor
poster avatar
granwille
deepin
2020-05-08 03:25
Author
Hello

Previously I had WPS-Office 2019 installed to my Deepin 15.11 and was working fine. However, yesterday I uninstalled it and tried out LibreOffice instead. But I did not like it so I removed it and ran the following code:

- sudo apt remove --purge libre-office*

And thereafter I installed WPS Office 2019 again. However, ever since I did that, it now seems on ALL browsers (Chrome, Firefox, Brave and Opera) that my font is broken in certain text areas, here is a screenshot.

I have already tried making changes within the browser font settings and that does not work at all. I also played around on the Deepin font size settings too, and that did not help either. I believe during the uninstall of Libre Office I may have uninstalled system fonts needed. Because this makes no sense to why it is affecting ALL my browsers.

I really hope someone can assist me here, please?
Reply Favorite View the author
All Replies
2 / 2
To page
Feng Yu
deepin
2020-05-10 18:20
#21
本帖最后由 abcfy2 于 2020-5-10 10:22 编辑

Hi @granwille.

You can debug your font rendering like this, and  pasted the result.

Show all fonts avaliable:
  1. fc-list
Copy the Code


Show fonts order matching sans-serif:
  1. fc-match -s sans-serif
Copy the Code


Show fonts order matching serif:
  1. fc-match -s serif
Copy the Code


Show fonts order matching monospace:
  1. fc-match -s monospace
Copy the Code


After all, show your browser font config.

Then, check which font is used by browser for rendering. Press F12


Reply View the author
granwille
deepin
2020-05-12 00:02
#22
https://bbs.deepin.org/post/193795
本帖最后由 abcfy2 于 2020-5-10 10:22 编辑

Hi @granwille.

Thank you for getting back to me, I decided to do a complete re-install of Deepin.
Reply View the author
2 / 2
To page