| Ticket UUID: | 971980 | |||
| Title: | Use pkgconfig database to detect Xft | |||
| Type: | Patch | Version: | None | |
| Submitter: | jenglish | Created on: | 2004-06-13 05:46:15 | |
| Subsystem: | 84. Unix Build | Assigned To: | andreas_kupries | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2004-10-08 23:17:03 | |
| Resolution: | Accepted | Closed By: | jenglish | |
| Closed on: | 2004-10-08 16:17:03 | |||
| Description: |
I need a way to detect at runtime whether or not Tk was built with --enable-xft. The TIP #59 pkgconfig database seems like the best way to do this. The attached patch sets the configuration key "fontsystem" to "xft" if Tk was built with --enable-xft, and leaves it undefined otherwise. Other suggestions for configuration key names welcome. (I notice that Tk doesn't currently use Tcl_RegisterConfig anywhere else.) | |||
| User Comments: |
jenglish added on 2004-10-08 23:17:03:
Logged In: YES
user_id=68433
#205 is Accepted 5/0 with two recorded deliberate abstentions
For: DKF, DGP, MDJ, JH, KBK
Abstained: JI, AK
Patch committed.
jenglish added on 2004-06-13 12:46:15: File Added - 90487: tk-xft-pkgconfig.patch | |||
Attachments:
- tk-xft-pkgconfig.patch [download] added by jenglish on 2004-06-13 12:46:15. [details]
