./fonts/fontconfig, Library for configuring and customizing font access

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ] [ Image Add to tracker ]


Branch: CURRENT, Version: 2.17.1nb1, Package name: fontconfig-2.17.1nb1, Maintainer: pkgsrc-users

Fontconfig is a library for configuring and customizing font access.

Fontconfig can:
* discover new fonts when installed automatically, removing a common
source of configuration problems.
* perform font name substitution, so that appropriate alternative fonts
can be selected if fonts are missing.
* identify the set of fonts required to completely cover a set of
languages.
* have GUI configuration tools built as it uses an XML-based
configuration file (though with autodiscovery, we believe this need is
minimized).
* efficiently and quickly find the fonts you need among the set of fonts
you have installed, even if you have installed thousands of fonts,
while minimizing memory usage.
* be used in concert with the X Render Extension and FreeType to
implement high quality, anti-aliased and subpixel rendered text on a
display.

Fontconfig does not:
* render the fonts themselves (this is left to FreeType or other
rendering mechanisms).
* depend on the X Window System in any fashion, so that printer only
applications do not have such dependencies.

DEINSTALL [+/-]

Required to run:
[graphics/freetype2] [lang/python310]

Master sites:

Filesize: 1295.227 KB

Version history: (Expand)


CVS history: (Expand)


   2025-10-16 04:43:56 by Maya Rashish | Files touched by this commit (1)
Log message:
fontconfig: find X11_TYPE=native fonts too

fixes firefox segfault at startup for me.
PKGREVISION++
   2025-08-27 12:35:31 by Jonathan Perkin | Files touched by this commit (1)
Log message:
fontconfig: SunOS requires __EXTENSIONS__.
   2025-08-10 22:54:14 by Thomas Klausner | Files touched by this commit (1)
Log message:
fontconfig: ignore a gitlab ci file for portability checks
   2025-08-10 21:39:18 by Ryo ONODERA | Files touched by this commit (1)
Log message:
fonts/fontconfig: Fix pre-configure error in X11_TYPE=native case

* Fix my typo.
   2025-08-10 15:58:35 by Ryo ONODERA | Files touched by this commit (11)
Log message:
fonts/fontconfig: Update to 2.17.1

* Use meson as build tool to avoid build failure in fccase.h handling.
* Disable doc generation completely. It requires docbook2man and docbook2html tool.
  They are not packaged yet.

Changelog:
2.17.1:
added (1 change)

    meson: Add 'noinstall' to default-hinting, default-sub-pixel-rendering, \ 
bitmap-conf build options (merge request)

fixed (1 change)

    Fix a heap buffer overflow (merge request)

2.17.0:

fixed (13 changes)

    Avoid conflict between dgettext macro and declaration in fcint.h (merge request)
    fix: Skip empty entries in XDG_DATA_DIRS parsing by @ComixHe (merge request)
    Fix padding with "und" in pattern elements (merge request)
    Fix a crash with broken cache (merge request)
    meson: Fix additional-fonts-dirs build option that not taking effect (merge \ 
request)
    Add default font paths for Android in configure script (merge request)
    Fix use-after-free in FcConfigGetPrgname (merge request)
    conf.d: Add a conf to guess a generic-family for substitution (merge request)
    Drop FcObjectFini() from FcFini() to fix memory leaks (merge request)
    conf.d/65-nonlatin.conf: Rename Lohit Oriya to Lohit Odia (merge request)
    Make sure that the debugging facilities are initialized at loading config \ 
phase (merge request)
    meson: don't force installation of a static library by @xry111 (merge request)
    meson: don't try to call run_command for gperf on --wrap-mode=forcefallback \ 
(merge request)

changed (10 changes)

    Do not fallback decoding with UTF-16BE if no iconv support (merge request)
    Trim trailing newline in string in cache (merge request)
    Parse foundry from OS/2 for table version 0 (merge request)
    Allow dotfiles to scan for caching (merge request)
    Increase a reference count for default FcConfig instance with FcInit() \ 
(merge request)
    Free the mutex object only when there are no references to the default \ 
FcConfig instance (merge request)
    Free the mutex object only when all cache objects isn't referenced (merge \ 
request)
    Drop the configuration path migration code (merge request)
    Drop FcDefaultFini() from FcFini() to fix memory leaks (merge request)
    [Fontations] Process and append font capabilities to Pattern (merge request)

added (6 changes)

    Add bitmap-conf build option to choose default bitmap conf (merge request)
    [Fontations] Enable fc-query indexing through Fontations (merge request)
    Add FcConfigPerferAppFont() to allow changing the order of application fonts \ 
(merge request)
    [Fontations] Pattern Bindings for CharSet and LangSet (merge request)
    Add FcPatternObjectGet* impl for CharSet and LangSet (merge request)
    [Fontations] Factor out fcpat.c - add Fontations dependencies (merge request)

performance (1 change)

    Improve performance of FcPtrListIterInitAtLast (merge request)

2.16.2:

changed (1 change)

    meson: Use Requires.private instead of Requires (merge request)

fixed (2 changes)

    meson: don't force build of a shared library by @kasper93 (merge request)
    meson: do not require libintl if nls feature is disabled (merge request)

added (1 change)

    [Fontations] Add internal PatternBuilder abstraction (merge request)

2.16.1:
Not available.
   2025-03-30 23:10:49 by Thomas Klausner | Files touched by this commit (100)
Log message:
*: remove MirBSD support
   2024-01-13 21:07:34 by Taylor R Campbell | Files touched by this commit (24)
Log message:
*/builtin.mk: Use ${_CROSS_DESTDIR:U} for build-time file checks.

These are questions about the target system, whose files at
build-time are all relative to ${_CROSS_DESTDIR} if it is defined,
i.e., if USE_CROSS_COMPILE is set to yes.

No change to native builds because ${_CROSS_DESTDIR:U} is empty in
them.  (Possible minor change by adding :Q to ${H_FOO} in command
lines, but if this makes a difference it likely fixes problems.)
   2023-12-30 11:21:52 by Thomas Klausner | Files touched by this commit (5) | Package updated
Log message:
fontconfig: update to 2.15.0.

2.15

Akira TAGOH (39):
      Do not change the order of orth files
      Convert tabs to spaces
      Convert more tabs to spaces in docs
      src/meson.build: Store correct paths to fontconfig.pc.
      Fix a typo in description for HAVE_STDATOMIC_PRIMITIVES
      Report more detailed logs instead of assertion.
      Add some missing constant names for weight.
      Adujst indentation between programlisting in fontconfig-user.sgml
      Bump version to 2.14.2
      Clean up unused code
      Add another test case for flatpak
      Update 65-nonlatin.conf for macOS
      Change the order of the properties to the order of fontconfig cache format
      Add missing property descriptions
      Add namedinstance property
      Remove the problematic language from code and doc
      Fix a typo
      Fix a typo for FcCharSetDelChar doc
      Fix a typo in scalable property
      Use 'outline' instead of 'scalable' for bitmaps
      Add more docs about selectfont
      Rework CI implementation
      Fix a typo
      Rework CI implementation v2
      Apply a fix of ci-templates
      Fix uninitialized memory access when failing memory allocation.
      Create a symlink with relative path
      Fix an error of "initializer element is not constant"
      Update CaseFolding.txt to Unicode 15.1
      Update the encoding table for Simplified Chinese
      Retry to decode strings in the name table as UTF-16BE in some cases.
      Work around decoding strings in Macintosh encoding for the name table.
      Add iconv detection for meson build
      .gitlab-ci: Update
      CI: Update
      CI: static build only for rawhide
      Use memmove instead of memcpy
      Rename README to NEWS and add README.md
      Update so version

Ben Wagner (1):
      Fix leak of `reason` in _FcConfigParse when not complaining

Jean Abou Samra (2):
      Ignore LC_CTYPE if set to "UTF-8"
      Some doc clarifications

Khaled Hosny (2):
      Add FC_FONT_WRAPPER
      Detect standalone CFF fonts for FC_FONT_WRAPPER

Mike FABIAN (3):
      Add anp.orth, bhb.orth, hif.orth, mag.orth, raj.orth, and the.orth
      Add \ 
{agr,ayc,bem,ckb,cmn,dsb,hak,lij,lzh,mfe,mhr,miq,mjw,mnw,nan,nhn,niu,rif,sgs,shn \ 
,szl,tcy,tpi,unm,wae,yue,yuw}.orth
      Change index type to 16 bit and bump cache version to 9

Ondrej Balaz (1):
      Expand ~ in glob

Sefa Eyeoglu (1):
      Add optional 11-lcdfilter-none configuration

Tom Anderson (2):
      Fix filepaths added when scanning with sysroot
      Fix false-positive CFI failure

Vitaly Lysenkov (1):
      In fcfreetype.c, `GetScriptTags`: fix `use_of_uninitialized_value` and \ 
return the correct number of parsed tags in case the font file contains less \ 
tags than indicated.

Xavier Claessens (1):
      meson: Support any compiler with gcc or msvc argument syntax

lilinjie (1):
      fix typo

msizanoen1 (1):
      Reload MM/VF metadata for each font face in font collection

pell (1):
      fixed typos in fc-conflist.sgml

xiota (1):
      Add aliases for Helvetica LT Std