I am experiencing this too but I have some further insight into the
problem:

As mentioned, gnome-font-viewer fails to install a font if it is already
installed. But it ONLY fails if the filename is the same.

In fact, the application fails to install if you try to install ANY font
having the same filename as a previously-installed font!

It makes no attempt to determine whether the same font is actually
installed. It just blindly copies the file to the ~/.fonts directory
when you click "Install".

Steps to reproduce:
1. Clean out your ~/.fonts directory (or not, but might as well)
2. Use gnome-font-viewer to Install a font from a file, perhaps 'webfont.ttf'
3. Try to repeat step 2

Expected behavior:
It should check the (internal) font name, say "Arial". If "Arial" is already 
installed (from any filename), it should say so. If not, it should allow a user 
to install the font.

If the font really isn't installed yet, it should automatically rename
conflicting files via a standard "append counter" sort of conflict
resolution algorithm. That is, if a file called 'webfont.ttf' is already
installed (but the enclosed font is not), the newly-installed font
should be stored in 'webfont1.ttf', or 'webfont-2.ttf', or something
along those lines.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/418633

Title:
  font viewer returns "failed" on installing of already existing font
  instead of "already installed" or something

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-font-viewer/+bug/418633/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to