Public bug reported:

I recently upgraded from 16.10 to 17.04 Alpha. I noticed that
https://git.gnome.org/ was nearly unusuable with Firefox (although it
displayed ok in Epiphany and Chromium). Well that website use Cantarell
as its font.

I tried opening gnome-font-viewer but got no content. When I ran gnome-
font-viewer from the command line, I got this output:

** (gnome-font-viewer): WARNING **: Can't get font name: Error opening
file /usr/share/fonts/opentype/cantarell/Cantarell-Regular.otf.dpkg-tmp:
No such file or directory


** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/opentype/cantarell/Cantarell-Bold.otf.dpkg-tmp: No such file 
or directory


** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/truetype/freefont/FreeSans.ttf.dpkg-tmp: No such file or 
directory


** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/truetype/freefont/FreeSansBoldOblique.ttf.dpkg-tmp: No such 
file or directory


** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/truetype/freefont/FreeMono.ttf.dpkg-tmp: No such file or 
directory


** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/truetype/lao/Phetsarath_OT.ttf.dpkg-tmp: No such file or 
directory


** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/opentype/cantarell/Cantarell-Oblique.otf.dpkg-tmp: No such 
file or directory


** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf.dpkg-tmp: No such 
file or directory


So then I ran sudo fc-cache -f
Closed Firefox and re-opened it and git.gnome.org looks normal again. 
gnome-font-viewer is also working again.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: fontconfig 2.11.94-0ubuntu2
ProcVersionSignature: Ubuntu 4.9.0-11.12-generic 4.9.0
Uname: Linux 4.9.0-11-generic x86_64
ApportVersion: 2.20.4-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Dec 21 21:09:46 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-08-11 (132 days ago)
InstallationMedia: Ubuntu-GNOME 16.10 "Yakkety Yak" - Alpha amd64 (20160811)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: fontconfig
UpgradeStatus: Upgraded to zesty on 2016-12-20 (1 days ago)

** Affects: fontconfig (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages zesty

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to fontconfig in Ubuntu.
https://bugs.launchpad.net/bugs/1651922

Title:
  font cache broken after system upgrade (missing .dpkg-tmp files)

Status in fontconfig package in Ubuntu:
  New

Bug description:
  I recently upgraded from 16.10 to 17.04 Alpha. I noticed that
  https://git.gnome.org/ was nearly unusuable with Firefox (although it
  displayed ok in Epiphany and Chromium). Well that website use
  Cantarell as its font.

  I tried opening gnome-font-viewer but got no content. When I ran
  gnome-font-viewer from the command line, I got this output:

  ** (gnome-font-viewer): WARNING **: Can't get font name: Error opening
  file /usr/share/fonts/opentype/cantarell/Cantarell-Regular.otf.dpkg-
  tmp: No such file or directory

  
  ** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/opentype/cantarell/Cantarell-Bold.otf.dpkg-tmp: No such file 
or directory

  
  ** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/truetype/freefont/FreeSans.ttf.dpkg-tmp: No such file or 
directory

  
  ** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/truetype/freefont/FreeSansBoldOblique.ttf.dpkg-tmp: No such 
file or directory

  
  ** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/truetype/freefont/FreeMono.ttf.dpkg-tmp: No such file or 
directory

  
  ** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/truetype/lao/Phetsarath_OT.ttf.dpkg-tmp: No such file or 
directory

  
  ** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/opentype/cantarell/Cantarell-Oblique.otf.dpkg-tmp: No such 
file or directory

  
  ** (gnome-font-viewer): WARNING **: Can't get font name: Error opening file 
/usr/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf.dpkg-tmp: No such 
file or directory

  
  So then I ran sudo fc-cache -f
  Closed Firefox and re-opened it and git.gnome.org looks normal again. 
gnome-font-viewer is also working again.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: fontconfig 2.11.94-0ubuntu2
  ProcVersionSignature: Ubuntu 4.9.0-11.12-generic 4.9.0
  Uname: Linux 4.9.0-11-generic x86_64
  ApportVersion: 2.20.4-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Wed Dec 21 21:09:46 2016
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2016-08-11 (132 days ago)
  InstallationMedia: Ubuntu-GNOME 16.10 "Yakkety Yak" - Alpha amd64 (20160811)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: fontconfig
  UpgradeStatus: Upgraded to zesty on 2016-12-20 (1 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/1651922/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to