summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-28catalogue.c: prevent a one character overflowMatthieu Herrb
this occurs if readlink writes a result that's exactly the size of the buffer that's passed to it. Reported by Joerg Sonnenberger. Re
2007-09-27fix build with gcc 2.95.Jens Granseuer
In addition to fixing the C89 issue, the patch also flags a few functions as static to avoid "no previous prototype" warnings.
2007-09-13Replaced one instance of bcopy() with memcpy().Tilman Sauerbeck
f->buffer cannot overlap with io->file->bits, so it's safe to use memcpy() rather than memmove(). Compile-tested only.
2007-09-05Bump version to 1.3.1.libXfont-1.3.1Eric Anholt
2007-08-25Kill unused macro definition.Matthieu Herrb
2007-08-11Merge branch 'master' of ssh://dodji@git.freedesktop.org/git/xorg/lib/libXfontDodji Seketeli
2007-08-11Fix dirfd leak on CatalogueRescan().Ademar de Souza Reis Jr
2007-08-11Support relative paths in catalogue:<dir> symlinks.Ademar de Souza Reis Jr
Relative symlinks are common inside the catalogue directory and should be supported as well.
2007-07-30Fix dirfd leak on CatalogueRescan().Ademar de Souza Reis Jr
2007-07-30Support relative paths in catalogue:<dir> symlinks.Ademar de Souza Reis Jr
Relative symlinks are common inside the catalogue directory and should be supported as well.
2007-07-16Remove side effects from BuiltinReadDirectory()Dodji Seketeli
The first time BuiltinReadDirectory() is called, save the content of builtin_dir and builtin_alias, before calling FontFileAddFontFile(), because that fonction will modify those. Then, in subsequent calls to BuiltinReadDirectory(), restore builtin_dir and builtin_alias so that the side effect incurred by the first call disappears.
2007-07-02Bump version to 1.3.0.libXfont-1.3.0Kristian Høgsberg
2007-07-02Fix crash when no attributes are present for symlink.Kristian Høgsberg
2007-06-21Bump version to 1.2.9.libXfont-1.2.9Kristian Høgsberg
2007-06-21Add a new 'catalogue' FPE, which takes font paths from symlinks in a dir.Kristian Høgsberg
This patch adds a new FPE type, which will match font path elements of the form catalogue:<dir> The dir specified after the catalogue: prefix will be scanned for symlinks and each symlink destination will be added as a local fontfile FPE. The symlink can be suffixed by attributes, such as 'unscaled', which will be passed through to the underlying fontfile FPE. Except the new attribute 'pri' which will be used for ordering the fontfile FPEs. An example configuration: 75dpi:unscaled:pri=20 -> /usr/share/X11/fonts/75dpi ghostscript:pri=60 -> /usr/share/fonts/default/ghostscript misc:unscaled:pri=10 -> /usr/share/X11/fonts/misc type1:pri=40 -> /usr/share/X11/fonts/Type1 type1:pri=50 -> /usr/share/fonts/default/Type1 will add /usr/share/X11/fonts/misc as the first FPE with the attribute 'unscaled', second FPE will be /usr/share/X11/fonts/75dpi, also with the attribute unscaled etc. This is functionally equivalent to setting the following font path: /usr/share/X11/fonts/misc:unscaled, /usr/share/X11/fonts/75dpi:unscaled, /usr/share/X11/fonts/Type1, /usr/share/fonts/default/Type1, /usr/share/fonts/default/ghostscript The motivation is to let font packages add a symlink to the new font directory they provide instead of rewriting either the Xorg config file or the xfs config file.
2007-06-07Minor fontfile cleanup.Adam Jackson
2007-06-07Dead code cull from fontserver code.Adam Jackson
2007-06-07Static markup over bitmap and builtins.Adam Jackson
2007-06-07Dead code cull from FreeType.Adam Jackson
2007-06-07Death to open-coded strcasecmp.Adam Jackson
Seriously, if you don't already have this, you've already lost.
2007-06-07Dead code cull from Speedo.Adam Jackson
2007-06-07One more missed static in Type1Adam Jackson
2007-06-07Dead code removal and static markup for Type1.Adam Jackson
2007-06-07Warning cleanup.Adam Jackson
2007-04-04Version bump: 1.2.8libXfont-1.2.8Alan Coopersmith
2007-04-03Merge branch 'master' of ↵Matthieu Herrb
git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libXfont
2007-04-03Integer overflow vulnerabilitiesMatthieu Herrb
CVE-2007-1351: BDFFont Parsing Integer Overflow CVE-2007-1352: fonts.dir File Parsing Integer Overflow
2007-04-02Add #pragma weak for Sun cc where neededAlan Coopersmith
2007-03-23Actually use loadable font modulesAlan Coopersmith
Loadable font modules were not being initialized, and all font renderers known at build time were always being initialized, regardless of Xorg module configuration.
2007-02-20added -flat_namespace to CFLAGS for DarwinBen Byer
2007-01-22Bump to 1.2.7.libXfont-1.2.7Kristian Høgsberg
2007-01-19fontfile: accept empty (but valid) font paths (bug #3091)Simon Law
If a path has a valid fonts.dir or fonts.alias, but does not contain any fonts (either fonts.dir specifies zero fonts, or fonts could not be loaded), load it as a valid font path anyway.
2007-01-17Add stubs for the scalable renderer callbacks.Kristian Høgsberg
Trying to scale a bitmap font provided by the built-in backend will crash the X server as it calls into a NULL pointer. This patch adds "return BadFont;" stubs to prevent the crash.
2006-12-16bump to 1.2.6libXfont-1.2.6Daniel Stone
2006-12-16build Type1 by defaultDaniel Stone
Build Type1 by default, instead of needing to explicitly enable it.
2006-12-16don't distribute fontconf.hDaniel Stone
Since fontconf.h is a generated file, don't distribute it.
2006-12-06Makefile.am: make ChangeLog hook saferDaniel Stone
Make ChangeLog hook as safe as possible.
2006-12-01bump to 1.2.5libXfont-1.2.5Daniel Stone
2006-12-01post-CID fixesDaniel Stone
Curiously, make distcheck succeeded ... go figure.
2006-12-01bump to 1.2.4libXfont-1.2.4Daniel Stone
2006-12-01remove CID font support (bug #5553)Daniel Stone
Remove non-free CID font support, which was unused anyway.
2006-10-13Bump to 1.2.3libXfont-1.2.3Adam Jackson
2006-10-05--disable-builtins should not force off all bitmap supportAlan Coopersmith
2006-09-22Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libXfontAlan Coopersmith
2006-09-12Fix distcheck.Adam Jackson
2006-09-12Bump to 1.2.2.Adam Jackson
2006-09-12Fixes for integer overflows in CID encoded fonts parsing reported by iDefenseMatthieu Herrb
CVE-ID 2006-3739, 2006-3740, bugzilla #8000, #8001.
2006-08-30Fix typo in comment (alreadt -> already)Alan Coopersmith
2006-08-25Add *~ to .gitignore to skip emacs droppingsAlan Coopersmith
2006-08-25Replace static ChangeLog with dist-hook to generate from git logAlan Coopersmith