Age | Commit message (Collapse) | Author |
|
|
|
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>
|
|
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.
|
|
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.
|
|
This lets the user set CFLAGS when running make.
|
|
<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
|
|
|
|
Hasn't been relevant since the X-TT merge ages ago.
|
|
Code originally written for Solaris Xsun in 2003, ported now to current Xorg
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4819077>
|
|
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4510977>
|
|
|
|
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>
|
|
|
|
Part of fix for Sun bug 4258475
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258475>
|
|
|
|
|
|
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'
|
|
|
|
|
|
|
|
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.
|
|
|