Summary: | =media-libs/fontconfig-2.12.4 or =media-libs/fontconfig-2.12.6 - broken bitmap font rendering | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Luke-Jr <luke-jr+gentoobugs> |
Component: | Current packages | Assignee: | Gentoo Fonts Team <fonts> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kalin, polynomial-c, proteuss, viklevin2 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Luke-Jr
2018-03-01 23:28:50 UTC
Same problem with fontconfig-2.13.0 polynomial-c@gentoo.org, could you please un-remove the last working version (2.11.1-r2)? Thanks... (In reply to Luke-Jr from comment #2) > polynomial-c@gentoo.org, could you please un-remove the last working version > (2.11.1-r2)? Thanks... https://gitweb.gentoo.org/repo/gentoo.git/commit/media-libs/fontconfig?id=01d8b1b08bcc63d3cfe209ab11b2942f8a32dd1f You can still put them in your local overlay and hope SRC_URI is accessible. I have been fighting (again, the usual) de-uglification war for a few days on my desktop, after most PDFs started rendering really badly... Today I dug a slightly out-of-date laptop and everything was fine there (same PDFs). Lots of diffing and I came to the conclusion that fontconfig is to blame. Reverting to fontconfig-2.11.1-r2 (and some fixups) fixed the problem. `rsync -HavP --delete that-laptop:/etc/fonts/ /etc/fonts` also fixes it. So I guess the issue is with the default configuration. I am not sure which is better, but given that I haven't played much with the files in /etc/fonts (i.e. they are in a default state), I decided to stay with the older fontconfig (haven't tried the keyworded 2.13 versions yet). I updated the fontconfig package on the laptop and put the desktop configuration (rsynced all /etc/fonts), so both laptop and desktop work and I have the two variants running. I my attempts to debug, I tried to use FC_DEBUG ( https://www.freedesktop.org/software/fontconfig/fontconfig-user.html#DEBUG436315 ), but it was too much info and also the following script to test various combinations: (export LC_ALL=C; for F in "serif " sans-serif monospace "fantasy " "cursive "; do echo -ne "$F\t-> "; fc-match $F; done); qpdfview /tmp/broken.pdf If someone decides to go the old fontconfig way, have a look at my pkalin overlay, but note that media-libs/fontconfig-2.11.1-r2.ebuild doesn't compile for me (due to sys-devel/automake-1.15.1-r2 ??). And read the commit comments: https://github.com/thinrope/pkalin/commit/6925858549847881276a910a393d6b8fc37c518f I no longer recall what the problem was, and my system seems to be using 2.13.1-r2 without any issues. Closing this assuming FIXED, and dropping 2.11.1-r2 from my overlay. I can reopen if others still have an issue. |