patchGNU TeXmacs - Patches: patch #10138, Search for fonts in fontconfig...


You are not allowed to post comments on this tracker with your current authentication level.

patch #10138: Search for fonts in fontconfig files

Submitter:  Jeroen Wouters <jeronim>
Submitted:  Fri 19 Nov 2021 10:42:59 PM UTC
Category:  None Action:  None
Privacy:  Public Assigned to:  vdhoeven
Open/Closed:  Open Release: 
Fixed Release:  Stable: 

Thu 09 Dec 2021 02:18:16 PM UTC, comment #1: 

The current patch seems to work only with cmake.  Since TeXmacs is a GNU project, we depend on the autotools.  Would it be easy to add support for the autotools?

It is true that our static binary Linux versions suffer from lots of warnings and errors from fontconfig.  This might be related.

Joris van der Hoeven <vdhoeven>
Group administrator
Fri 19 Nov 2021 10:42:59 PM UTC, original submission:  

On Linux, fontconfig is widely used to specify the locations of fonts on the system. These locations may change among systems and over time (e.g. the $HOME/.fonts directory is being deprecated in favour of $HOME/.local/share/fonts).

The attached patch uses fontconfig to get a list of font directories and search them for fonts.

Jeroen Wouters <jeronim>
Group Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #52301:  fontconfig.diff added by jeronim (4KiB - text/x-patch - Removed debugging cout statements)
file #52299:  fontconfig.diff added by jeronim (4KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Posted a comment)
  • -email is unavailable- added by jeronim (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-12-09 vdhoeven Assigned toNone vdhoeven
    2021-11-19 jeronim Attached File- Added fontconfig.diff, #52301
    2021-11-19 jeronim Attached File- Added fontconfig.diff, #52299

    Back to the top

    Powered by Savane 3.13-58d6.
    Corresponding source code