some font directories are ignored

Bug #1339257 reported by LCD 47
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Calibre 1.43, running on Linux.

If (1) you have two font directories, /usr/share/fonts/foo and /usr/share/fonts/foobar, and (2) foo is listed before foobar in /etc/fonts/fonts.conf, then Calibre will ignore all fonts in directory foobar. In particular, fonts in foobar can't be embedded when polishing books.

The reason is this test:

https://github.com/kovidgoyal/calibre/blob/master/src/calibre/utils/fonts/scanner.py#L85

Aside from the name conflict, the test is also wrong because it doesn't take into account symlinks.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.