summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-01-20Delete some dead ifdefsAdam Jackson
2009-01-20Move the copy of CopyISOLatin1Lowered near its user, and un-weak it.Adam Jackson
2009-01-20Drop OS/2 supportAdam Jackson
2009-01-20xalloc -> malloc, etc.Adam Jackson
2009-01-20Remove PMF support.Adam Jackson
.pmf files are printer font metrics; they have no glyphs, just boxes for layout. They can't possibly be useful in a post-Xprint world.
2009-01-20Remove printer font support.Adam Jackson
Xprint is just insidious, isn't it.
2009-01-20Remove loadable renderer support.Adam Jackson
2009-01-20Remove useless #defineAdam Jackson
2009-01-20Get rid of a useless arrayAdam Jackson
2009-01-20const cleanupAdam Jackson
2009-01-20Delete Type1Adam Jackson
Yes, these are still real fonts, but freetype can handle them just fine.
2009-01-20Delete speedoAdam Jackson
OUT OUT OUT
2008-12-28Added missing AM_CFLAGS for -Wl,-flat_namespaceJeremy Huddleston
Fixes commit f859a76b0f325b07952ad1c5c818318307c589b0
2008-12-19Disable some fun stdio wrapping.Paulo Cesar Pereira de Andrade
The code is still there but no magic with macros is attempted anymore to handle files. This should really be changed to just use stdio, and properly adapt functions like T1Decript, T1eexec, etc.
2008-12-19Restore comment deleted by b6f793d7d5Alan Coopersmith
2008-12-19libXfont ansification and removal of xf86_ansic.h dependencyPaulo Cesar Pereira de Andrade
Basically the code is now compiled as if FONTMODULE was never defined, but also removed some "magic" defining _XOPEN_SOURCE before including math.h. Also removed some #if 0'ed code instead of fixing prototypes inside the "dead code". Changes to spdo_prv.h were due to defines like: <hash>define foo() sp_foo() that would not compile with the ansification in the format: type foo(void) due to the macro receiving "void" as an argument.
2008-12-19miscutil.c:108: warning: old-style parameter declarationAlan 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-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-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