Skip to content

Instantly share code, notes, and snippets.

@u2mejc
Created February 25, 2022 17:24
Show Gist options
  • Save u2mejc/96d457db5fde023c3e051c2cb97206d5 to your computer and use it in GitHub Desktop.
Save u2mejc/96d457db5fde023c3e051c2cb97206d5 to your computer and use it in GitHub Desktop.
Fix Chromium White Space Bug

Issue

  • When running Kubuntu with Chromium installed via snap, I noticed that text
    white spacing was very wide.
  • This will cause website to render wrong, clipping text off page, moving other DOM objects, and generally being hard to read.

Observations:

  • Chrominum fonts settings show it's set to "Custom" fonts
  • TrueType fonts (Times New Roman, etc) appear to be missing

Resolution:

  • Reinstall the TrueType font, ensuring you accept the EULA.
  • After installation, restart Chromium and confirm that fonts are not longer set
    to custom.
sudo apt-get --reinstall install ttf-mscorefonts-installer  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment