Skip to content

Instantly share code, notes, and snippets.

@TechplexEngineer
Created March 5, 2014 18:16
Show Gist options
  • Select an option

  • Save TechplexEngineer/9373124 to your computer and use it in GitHub Desktop.

Select an option

Save TechplexEngineer/9373124 to your computer and use it in GitHub Desktop.
Fixing Pango-WARNING error after installing wine/mscorettfonts

If you are getting an error similar to this:

Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Arial Bold 19.53125' at /usr/lib64/perl5/vendor_perl/dpm/canvas_module.pm line 253.
Pango-WARNING **: font_face status is: out of memory at /usr/lib64/perl5/vendor_perl/dpm/canvas_module.pm line 253.
Pango-WARNING **: scaled_font status is: out of memory at /usr/lib64/perl5/vendor_perl/dpm/canvas_module.pm line 253.
Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Arial Bold 19.53125', text=' 3R ' at /usr/lib64/perl5/vendor_perl/dpm/canvas_module.pm line 253.

The fix:
$ cd /usr/share
$ sudo chmod -R +rw fonts

It seems mscorettfonts are installed with incorrect permissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment