parent
b023dbd384
commit
f2fb985c7a
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2006-02-21 Paul Cornett <paulcor1@bullseye.com>
|
||||
reviewed by: plam
|
||||
|
||||
* src/fccache.c (FcDirCacheWrite):
|
||||
* src/fcdir.c (FcFileScanConfig):
|
||||
* src/fcfreetype.c (FcStringInPatternElement):
|
||||
* src/fcxml.c (FcParseFamilies):
|
||||
* src/ftglue.c (ftglue_face_goto_table):
|
||||
|
||||
Eliminate redundancies.
|
||||
|
||||
2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
|
||||
reviewed by: plam
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#define ENDIAN_TEST 0x12345678
|
||||
#define MACHINE_SIGNATURE_SIZE 9 + 5*20 + 1
|
||||
#define MACHINE_SIGNATURE_SIZE (9 + 5*20 + 1)
|
||||
|
||||
#ifndef O_BINARY
|
||||
#define O_BINARY 0
|
||||
|
@ -1371,6 +1371,7 @@ FcDirCacheWrite (FcFontSet *set, FcStrSet *dirs, const FcChar8 *dir)
|
|||
metadata.count)
|
||||
perror("write current_dir_block");
|
||||
free (current_dir_block);
|
||||
current_dir_block = 0;
|
||||
}
|
||||
|
||||
/* this actually serves to pad out the cache file, if needed */
|
||||
|
|
|
@ -55,9 +55,6 @@ FcFileScanConfig (FcFontSet *set,
|
|||
if (FcFileIsDir (file))
|
||||
return FcStrSetAdd (dirs, file);
|
||||
|
||||
if (force)
|
||||
cache = 0;
|
||||
|
||||
id = 0;
|
||||
do
|
||||
{
|
||||
|
|
|
@ -976,7 +976,6 @@ FcStringInPatternElement (FcPattern *pat, const char *elt, FcChar8 *string)
|
|||
if (!FcStrCmpIgnoreBlanksAndCase (old, string))
|
||||
{
|
||||
return FcTrue;
|
||||
break;
|
||||
}
|
||||
return FcFalse;
|
||||
}
|
||||
|
|
|
@ -1320,7 +1320,6 @@ FcParseFamilies (FcConfigParse *parse, FcVStackTag tag)
|
|||
if (!FcVStackPushExpr (parse, tag, expr))
|
||||
{
|
||||
FcConfigMessage (parse, FcSevereError, "out of memory");
|
||||
if (expr)
|
||||
FcExprDestroy (expr);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -290,7 +290,6 @@ ftglue_face_goto_table( FT_Face face,
|
|||
if ( face->num_faces > 1 )
|
||||
{
|
||||
/* deal with TrueType collections */
|
||||
FT_ULong offset;
|
||||
|
||||
LOG(( ">> This is a TrueType Collection\n" ));
|
||||
|
||||
|
|
Loading…
Reference in New Issue