Bug 173742
Summary: | Latest plt-scheme build lost Xft/fontconfig support | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Anders Kaseorg <andersk> |
Component: | plt-scheme | Assignee: | Gérard Milmeister <gemi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | extras-qa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | plt-scheme-300-3.fc5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-01-04 02:08:48 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Anders Kaseorg
2005-11-20 10:14:19 UTC
I noticed this. It is probably due to the new modular xorg. The configure script reports the following: checking X11/Xft/Xft.h usability... no checking X11/Xft/Xft.h presence... no checking for X11/Xft/Xft.h... no no Xft headers; Xft support disabled I cannot investigate this on devel, maybe you could try and locate the problem. Found the problem, and submitted a bug report upstream: <http://bugs.plt-scheme.org/query/?cmd=view&pr=7691> Basically, the configure script tries xft-config but not pkg-config xft, so it can't find the freetype headers that Xft.h needs. Thanks for the help. I made a patch for configure to use pkg-config instead of xft-config. A build is in the making, and as far as I can see this should be working now. Yes, Xft works in 299.200-17.fc5. Also, the upstream bug has been fixed on the trunk. By the way, why does the spec file increase the default font size? # increase default font size sed -i -e "s|fsize = 10|fsize = 12|" wxxt/src/Application/AppMain.cc The 12 point font is really huge compared to other applications. (In reply to comment #4) > The 12 point font is really huge compared to other applications. What dpi setting are you using? I have currently 90x89 on one machine and 75x75 on another one. Font size 10 is quite small and 12 is just right. The font size of Tk apps for example is 12 per default, so this seems to be adequate. By default, Fedora forces Xft to 96 dpi (/etc/X11/Xresources) and uses 10-point fonts in GTK2 and Qt apps. (Tk does not use Xft, so it has an entirely different idea of what a "12-point font" is.) I see no reason to go against both upstream and Fedora defaults just to suit one particular customized system. Ok, you are right. I removed the patch and made a build for the new version 299.400. Xft is gone again from 300-2.fc5. However, it returns if I build the SRPM on my system. I haven't seen the extras build logs, but I have a wild guess--BuildRequires: pkgconfig? BTW, can cairo support be enabled on FC5? It gets enabled by default if cairo-devel is installed. Here is the extract from the build log: checking X11/extensions/Xrender.h usability... yes checking X11/extensions/Xrender.h presence... yes checking for X11/extensions/Xrender.h... yes checking for XRenderQueryExtension in -lXrender... yes checking X11/Xft/Xft.h usability... no checking X11/Xft/Xft.h presence... no checking for X11/Xft/Xft.h... no no Xft headers; Xft support disabled no information from pkg-config; Cairo support disabled I have no fc5 to try the builds on. I would be glad if you helped with this. BuildRequires: pkgconfig cairo-devel Just made a new build. Please check when released. Works. Thanks. |