https://bugzilla.redhat.com/show_bug.cgi?id=1195652



--- Comment #2 from Stephen Tweedie <[email protected]> ---
ftview helped narrow things down, thanks.  Curious.

So it turns out I did have a copy of 6x13.pcf in ~/.fonts/.  With downgraded
freetype, I can ftview it fine.  With the latest freetype, I cannot:

$ ftview 13 6x13.pcf 
could not find/open any font file
  error = 0x0002
$ strace ftview 13 6x13.pcf 
...
open("6x13.pcf", O_RDONLY)              = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=470612, ...}) = 0
mmap(NULL, 470612, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d0d772000
close(3)                                = 0
mmap(NULL, 282624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f0d0d72d000
munmap(0x7f0d0d72d000, 282624)          = 0
open("._6x13.pcf", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("%6x13.pcf", O_RDONLY)             = -1 ENOENT (No such file or directory)
open(".AppleDouble/6x13.pcf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("6x13.pcf/..namedfork/rsrc", O_RDONLY) = -1 ENOTDIR (Not a directory)
open("6x13.pcf/rsrc", O_RDONLY)         = -1 ENOTDIR (Not a directory)
open("resource.frk/6x13.pcf", O_RDONLY) = -1 ENOENT (No such file or directory)
open(".resource/6x13.pcf", O_RDONLY)    = -1 ENOENT (No such file or directory)
munmap(0x7f0d0d772000, 470612)          = 0
write(2, "could not find/open any font fil"..., 51could not find/open any font
file

I tried symlinking the /usr/share/X11/fonts/misc/6x13.pcf.gz file into my
~/.fonts (removing the old 6x13.pcf)... it works fine.

Could the .gz be the difference?

And yes ---

$ ftview 13 6x13.pcf 
could not find/open any font file
  error = 0x0002
$ gzip -v9 6x13.pcf 
6x13.pcf:     85.5% -- replaced with 6x13.pcf.gz
[sct@herobrine tmp]$ ftview 13 6x13.pcf.gz 

works fine.  The exact same font file works compressed, but fails to open
uncompressed.  With downgraded freetype, both work fine.

Anyway, this workaround gets me back up and running now; but I'll leave the BZ
open as there's clearly still an issue here.  Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=4BoIwbQvQe&a=cc_unsubscribe
_______________________________________________
fonts-bugs mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs
http://fonts.fedoraproject.org/

Reply via email to