summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-01-17Fix for CVE-2008-0006 - PCF Font parser buffer overflow.Matthieu Herrb
2007-10-18ftsystem.c is not needed anymore.Matthieu Herrb
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-08-25Kill unused macro definition.Matthieu Herrb
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-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-02Fix crash when no attributes are present for symlink.Kristian 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-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-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-01post-CID fixesDaniel Stone
Curiously, make distcheck succeeded ... go figure.
2006-12-01remove CID font support (bug #5553)Daniel Stone
Remove non-free CID font support, which was unused anyway.
2006-09-22Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libXfontAlan Coopersmith
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-07-23More check on PCF file reading. Bugzilla #7535Matthieu Herrb
2006-07-19use OpenBitmap when availableDaniel Stone
Don't just use OpenScalable unconditionally. Fixes builtin fonts.
2006-07-19move builtin fonts to gzipDaniel Stone
Use gzip, rather than compress, for builtin fonts.
2006-07-13renamed: .cvsignore -> .gitignoreAlan Coopersmith
2006-07-13Bug #7397: Fix a buffer overflow in Freetype font support.Matthieu Herrb
2006-07-06Bug #6918: remove dependencies on Freetype internal headers. As of 2.2Jie Luo
Freetype no longer installs them.
2006-06-03Coverity #1541: Double free of pointer "ranges" in call to "Xfree"Alan Coopersmith
2006-06-01For the 20-odd symbols defined both in libXfont and the X server, emit themAdam Jackson
as weak symbols so that the linker will prefer the server's definition when present.
2006-03-31Change BUILD_* to XFONT_* (Drew Parsons). Remove random #ifndef CRAY.Daniel Stone
2006-03-20Bug #6247: Fix build on Cygwin. (Yaakov Selkowitz)Adam Jackson
2006-02-21Don't crash when we receive an FS_Error from the font server (GuillemDaniel Stone
Jover).
2005-12-09Bug #5175: Make encodingsdir configurable.MODULAR_COPYKevin E Martin
2005-11-20Add/improve libs .cvsignores.Eric Anholt
2005-11-14Bug #5047: Make font directory attribs work in modular.XORG-6_8_99_903Adam Jackson
2005-11-08See ChangeLog entry 2005-11-07 for details.XORG-6_8_99_902Kean Johnson
2005-10-23Bug #4721: Fix crash when using Freetype 2.1.10. (Michael Gor)Adam Jackson
2005-10-05Include missing filesKevin E Martin
2005-10-04Bug #4677: Don't install libfontcache.soAdam Jackson
2005-07-30Clear compiler warnings. (Stefan Dirsch)XORG-6_99_99_900XORG-6_8_99_901XORG-6_8_99_900Alan Coopersmith