Age | Commit message (Collapse) | Author |
|
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
|
|
In addition to fixing the C89 issue, the patch also flags a few functions as
static to avoid "no previous prototype" warnings.
|
|
f->buffer cannot overlap with io->file->bits, so it's safe to
use memcpy() rather than memmove().
Compile-tested only.
|
|
|
|
|
|
|
|
|
|
Relative symlinks are common inside the catalogue directory and
should be supported as well.
|
|
|
|
Relative symlinks are common inside the catalogue directory and
should be supported as well.
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
Seriously, if you don't already have this, you've already lost.
|
|
|
|
|
|
|
|
|
|
|
|
git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libXfont
|
|
CVE-2007-1351: BDFFont Parsing Integer Overflow
CVE-2007-1352: fonts.dir File Parsing Integer Overflow
|
|
|
|
Loadable font modules were not being initialized, and all font renderers
known at build time were always being initialized, regardless of Xorg
module configuration.
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
Build Type1 by default, instead of needing to explicitly enable it.
|
|
Since fontconf.h is a generated file, don't distribute it.
|
|
Make ChangeLog hook as safe as possible.
|
|
|
|
Curiously, make distcheck succeeded ... go figure.
|
|
|
|
Remove non-free CID font support, which was unused anyway.
|
|
|
|
|
|
|
|
|
|
|
|
CVE-ID 2006-3739, 2006-3740, bugzilla #8000, #8001.
|
|
|
|
|
|
|