summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-19Use XORG_CWARNFLAGS & XORG_CHANGELOG macros from xorg-macros 1.2Alan Coopersmith
2008-12-18Always scan catalogue dirs at startup, even if their mtime < 0Alan Coopersmith
Works around bug in VMWare that caused the Solaris kernel to fail to read the time-of-day chip on boot, and start with a time < 0 (i.e. back to the 1960's) - when the system was then installed from this mode, Xorg wouldn't start after reboot, since the mtime would be < 0 and the catalogue dir was then skipped as not changed since reading at the 0 initially set in the cat->mtime. Fixes OpenSolaris bug #4780 <http://defect.opensolaris.org/bz/show_bug.cgi?id=4780>
2008-12-11Make sure font names/font alias names are null terminatedBenjamin Close
This fixes a crash upon server restart where the saved fonts were being restored however strlen(font_name) was incorrect hence memory was being clobbered.
2008-12-04Pad CreateAC packets with 0 auths to workaround xfs bugAlan Coopersmith
Versions of xfs before commit 3fe28a31a2974287acc182c7c9bfd68d94ea6292 will reject CreateAC packets with 0 auths unless they claim to have at least 4 bytes of authentication data that isn't actually read.
2008-11-04Don't clobber CFLAGS in configureJulien Cristau
This lets the user set CFLAGS when running make.
2008-10-20X.Org Bug 17945: avoid gcc warnings for libXfontPeter Breitenlohner
<http://bugs.freedesktop.org/show_bug.cgi?id=17945> Avoid two gcc warnings src/fontfile/ffcheck.c:150: warning: initialization discards qualifiers from pointer target type src/fontfile/register.c:98: warning: initialization discards qualifiers from pointer target type
2008-08-28Retry font server connections faster.Adam Jackson
2008-08-28Nuke fontcache.Adam Jackson
Hasn't been relevant since the X-TT merge ages ago.
2008-08-21Add support for bzip2 bitmap font compressionAlan Coopersmith
Code originally written for Solaris Xsun in 2003, ported now to current Xorg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4819077>
2008-08-21Sun bug 4510977: dtremote fails to start sessionDerek Wang
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4510977>
2008-07-02libXfont 1.3.3libXfont-1.3.3Adam Jackson
2008-06-28Do not call FT_Get_BDF_Charset_ID() if configured with --disable-bdfformatMaarten ter Huurne
When I configure libXfont-1.3.2 with --disable-bdfformat and link it against FreeType that is built without BDF support, I get the following link error: libXfont.so: undefined reference to ‘FT_Get_BDF_Charset_ID’ I fixed it by checking XFONT_BDFFORMAT and if BDF support is disabled, the call to FT_Get_BDF_Charset_ID() is omitted and the result code is set as if the call had failed. Signed-off-by: James Cloos <cloos@jhcloos.com>
2008-05-13FontFileDirectoryChanged: check length of "fonts.alias" as well as "fonts.dir"Alan Coopersmith
2008-05-09Don't allow a font alias to point to itself and create a loopAlan Coopersmith
Part of fix for Sun bug 4258475 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258475>
2008-05-05Fix build for WIN32Colin Harrison
2008-03-09nuke RCS IdsMatthieu Herrb
2008-03-07Add missing include in src/FreeType/ftfuncs.cJulien Cristau
Fixes compiler warning: ../../../src/FreeType/ftfuncs.c: In function 'restrict_code_range_by_str': ../../../src/FreeType/ftfuncs.c:2081: warning: implicit declaration of function 'isspace'
2008-03-05libXfont 1.3.2libXfont-1.3.2Adam Jackson
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-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