Update to version 2.2.2
Make subdir build work Use new freetype include scheme
This commit is contained in:
parent
6ed12fe8f8
commit
34ead331b9
15
ChangeLog
15
ChangeLog
|
@ -1,3 +1,18 @@
|
||||||
|
2004-03-10 Keith Packard <keithp@keithp.com>
|
||||||
|
|
||||||
|
* README:
|
||||||
|
* fontconfig/fontconfig.h:
|
||||||
|
* configure.in:
|
||||||
|
Update to version 2.2.2
|
||||||
|
|
||||||
|
* doc/Makefile.am:
|
||||||
|
* fc-lang/Makefile.am:
|
||||||
|
Make subdir build work
|
||||||
|
|
||||||
|
* fontconfig/fcfreetype.h:
|
||||||
|
* src/fcfreetype.c:
|
||||||
|
Use new freetype include scheme
|
||||||
|
|
||||||
2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
|
2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
|
||||||
|
|
||||||
* src/fcxml.c:
|
* src/fcxml.c:
|
||||||
|
|
24
README
24
README
|
@ -1,7 +1,7 @@
|
||||||
Fontconfig
|
Fontconfig
|
||||||
Font configuration and customization library
|
Font configuration and customization library
|
||||||
Version 2.2
|
Version 2.2.2
|
||||||
2003-3-1
|
2004-3-10
|
||||||
|
|
||||||
This is the third public release of fontconfig, a font configuration and
|
This is the third public release of fontconfig, a font configuration and
|
||||||
customization library. Fontconfig is designed to locate fonts within the
|
customization library. Fontconfig is designed to locate fonts within the
|
||||||
|
@ -11,5 +11,25 @@ Fontconfig is not a rasterization library, nor does it impose a particular
|
||||||
rasterization library on the application. The X-specific library
|
rasterization library on the application. The X-specific library
|
||||||
'Xft' uses fontconfig along with freetype to specify and rasterize fonts.
|
'Xft' uses fontconfig along with freetype to specify and rasterize fonts.
|
||||||
|
|
||||||
|
Version 2.2.2
|
||||||
|
|
||||||
|
Update #includes for newer versions of FreeType
|
||||||
|
|
||||||
|
Version 2.2.1
|
||||||
|
|
||||||
|
Allows executable names for autotools to be specified in environment
|
||||||
|
variables.
|
||||||
|
|
||||||
|
Close some SGML tags in the documentation.
|
||||||
|
|
||||||
|
Fix a catastrophic bug in pattern editing code
|
||||||
|
|
||||||
|
Fix a typo "bitsteam" -> "bitstream"
|
||||||
|
|
||||||
|
Let FreeType compute slant for type1 fonts instead of poking at the
|
||||||
|
italic_angle value.
|
||||||
|
|
||||||
|
Fix language comparison function.
|
||||||
|
|
||||||
Keith Packard
|
Keith Packard
|
||||||
keithp@keithp.com
|
keithp@keithp.com
|
||||||
|
|
|
@ -33,7 +33,7 @@ dnl This is the package version number, not the shared library
|
||||||
dnl version. This same version number must appear in fontconfig/fontconfig.h
|
dnl version. This same version number must appear in fontconfig/fontconfig.h
|
||||||
dnl Yes, it is a pain to synchronize version numbers. Unfortunately, it's
|
dnl Yes, it is a pain to synchronize version numbers. Unfortunately, it's
|
||||||
dnl not possible to extract the version number here from fontconfig.h
|
dnl not possible to extract the version number here from fontconfig.h
|
||||||
AM_INIT_AUTOMAKE(fontconfig, 2.2.1)
|
AM_INIT_AUTOMAKE(fontconfig, 2.2.2)
|
||||||
|
|
||||||
dnl libtool versioning
|
dnl libtool versioning
|
||||||
|
|
||||||
|
@ -320,7 +320,7 @@ AC_SUBST(CONFDIR)
|
||||||
# Find out what language orthographies are included
|
# Find out what language orthographies are included
|
||||||
#
|
#
|
||||||
|
|
||||||
ORTH_FILES=`cd fc-lang && echo *.orth`
|
ORTH_FILES=`cd ${srcdir}/fc-lang && echo *.orth`
|
||||||
AC_SUBST(ORTH_FILES)
|
AC_SUBST(ORTH_FILES)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
DOC_SRC = $(srcdir)
|
||||||
DOC_MODULE = fontconfig
|
DOC_MODULE = fontconfig
|
||||||
DOC2HTML = docbook2html
|
DOC2HTML = docbook2html
|
||||||
DOC2TXT = docbook2txt
|
DOC2TXT = docbook2txt
|
||||||
|
@ -7,7 +8,7 @@ TXT = fontconfig-user.txt fontconfig-devel.txt
|
||||||
HTML_FILES = fontconfig-user.html
|
HTML_FILES = fontconfig-user.html
|
||||||
HTML_DIRS = fontconfig-devel
|
HTML_DIRS = fontconfig-devel
|
||||||
SGML = fontconfig-user.sgml fontconfig-devel.sgml
|
SGML = fontconfig-user.sgml fontconfig-devel.sgml
|
||||||
FNCS_TMPL = func.sgml
|
FNCS_TMPL = ${DOC_SRC}/func.sgml
|
||||||
|
|
||||||
DOC_FUNCS_FNCS=\
|
DOC_FUNCS_FNCS=\
|
||||||
fcatomic.fncs \
|
fcatomic.fncs \
|
||||||
|
@ -97,43 +98,62 @@ if ENABLE_DOCS
|
||||||
|
|
||||||
.fncs.sgml:
|
.fncs.sgml:
|
||||||
$(RM) $@
|
$(RM) $@
|
||||||
./edit-sgml $(FNCS_TMPL) < $*.fncs > $*.sgml
|
./edit-sgml $(FNCS_TMPL) < '$<' > $*.sgml
|
||||||
|
|
||||||
.sgml.txt:
|
.sgml.txt:
|
||||||
$(RM) $@
|
$(RM) $@
|
||||||
$(DOC2TXT) $*.sgml
|
$(DOC2TXT) $<
|
||||||
|
|
||||||
$(man_MANS): func.refs
|
$(man_MANS): func.refs
|
||||||
|
|
||||||
func.refs: fontconfig-devel.sgml $(DOC_FUNCS_SGML) version.sgml
|
func.refs: local-fontconfig-devel.sgml $(DOC_FUNCS_SGML) version.sgml
|
||||||
$(RM) func.refs
|
$(RM) func.refs
|
||||||
$(DOC2MAN) fontconfig-devel.sgml
|
$(DOC2MAN) local-fontconfig-devel.sgml
|
||||||
mv manpage.refs func.refs
|
mv manpage.refs func.refs
|
||||||
$(RM) manpage.links
|
$(RM) manpage.links
|
||||||
|
|
||||||
$(DOC_FUNCS_SGML): edit-sgml $(FNCS_TMPL)
|
$(DOC_FUNCS_SGML): edit-sgml $(FNCS_TMPL)
|
||||||
|
|
||||||
fonts-conf.5: fontconfig-user.sgml version.sgml
|
fonts-conf.5: local-fontconfig-user.sgml version.sgml
|
||||||
$(RM) file.refs
|
$(RM) file.refs
|
||||||
$(DOC2MAN) fontconfig-user.sgml
|
$(DOC2MAN) local-fontconfig-user.sgml
|
||||||
$(RM) manpage.refs manpage.links
|
$(RM) manpage.refs manpage.links
|
||||||
|
|
||||||
|
local-fontconfig-user.sgml: fontconfig-user.sgml
|
||||||
|
$(LN_S) $< $@
|
||||||
|
|
||||||
all-local: $(LOCAL_DOCS)
|
all-local: $(LOCAL_DOCS)
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
$(RM) $(man_MANS) $(DOC_FILES) $(DOC_FUNCS_SGML) func.refs
|
$(RM) $(man_MANS) $(DOC_FILES) $(DOC_FUNCS_SGML) func.refs
|
||||||
$(RM) -r $(DOC_DIRS)
|
$(RM) -r $(DOC_DIRS)
|
||||||
|
|
||||||
fontconfig-devel: fontconfig-devel.sgml $(DOCS_FUNCS_SGML) version.sgml
|
fontconfig-devel: local-fontconfig-devel.sgml $(DOCS_FUNCS_SGML) version.sgml
|
||||||
$(RM) -r fontconfig-devel
|
$(RM) -r fontconfig-devel
|
||||||
$(DOC2HTML) -o fontconfig-devel fontconfig-devel.sgml
|
$(DOC2HTML) -o fontconfig-devel local-fontconfig-devel.sgml
|
||||||
|
|
||||||
fontconfig-devel.txt: fontconfig-devel.sgml version.sgml
|
local-fontconfig-devel.sgml: fontconfig-devel.sgml
|
||||||
|
$(LN_S) $< $@
|
||||||
|
|
||||||
fontconfig-user.html: fontconfig-user.sgml version.sgml
|
fontconfig-devel.txt: local-fontconfig-devel.sgml version.sgml
|
||||||
$(DOC2HTML) -u fontconfig-user.sgml
|
$(RM) $@
|
||||||
|
$(DOC2TXT) local-fontconfig-devel.sgml
|
||||||
|
mv local-fontconfig-devel.txt $@
|
||||||
|
|
||||||
|
fontconfig-user.html: local-fontconfig-user.sgml version.sgml
|
||||||
|
$(RM) $@ local-$@ $@.tmp
|
||||||
|
$(DOC2HTML) -u local-fontconfig-user.sgml > $@.tmp
|
||||||
|
-test -f local-$@ && mv local-$@ $@
|
||||||
|
-test -f $@ || mv $@.tmp $@
|
||||||
|
-test -f $@.tmp && $(RM) $@.tmp
|
||||||
|
|
||||||
|
fontconfig-user.txt: local-fontconfig-user.sgml version.sgml
|
||||||
|
$(RM) $@
|
||||||
|
$(DOC2TXT) local-fontconfig-user.sgml
|
||||||
|
mv local-fontconfig-user.txt $@
|
||||||
|
|
||||||
|
CLEANFILES=confdir.sgml local-fontconfig-user.sgml local-fontconfig-devel.sgml
|
||||||
|
|
||||||
fontconfig-user.txt: fontconfig-user.sgml version.sgml
|
|
||||||
else
|
else
|
||||||
all-local:
|
all-local:
|
||||||
clean-local:
|
clean-local:
|
||||||
|
|
|
@ -22,9 +22,10 @@
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
#
|
#
|
||||||
|
|
||||||
INCLUDES=-I../src $(FREETYPE_CFLAGS)
|
INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(FREETYPE_CFLAGS)
|
||||||
|
|
||||||
TMPL=fclang.tmpl.h
|
TMPL=fclang.tmpl.h
|
||||||
|
STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
|
||||||
TARG=fclang.h
|
TARG=fclang.h
|
||||||
|
|
||||||
noinst_PROGRAMS=fc-lang
|
noinst_PROGRAMS=fc-lang
|
||||||
|
@ -37,6 +38,8 @@ ORTH=@ORTH_FILES@
|
||||||
|
|
||||||
EXTRA_DIST=$(TMPL) $(ORTH)
|
EXTRA_DIST=$(TMPL) $(ORTH)
|
||||||
|
|
||||||
$(TARG): $(TMPL) fc-lang $(ORTH)
|
$(TARG): $(STMPL) fc-lang $(ORTH)
|
||||||
rm -f $(TARG)
|
rm -f $(TARG)
|
||||||
./fc-lang $(ORTH) < $(TMPL) > $(TARG)
|
dir=`pwd`; (cd ${srcdir} && $${dir}/fc-lang $(ORTH)) < $(STMPL) > $(TARG)
|
||||||
|
|
||||||
|
CLEANFILES=$(TARG)
|
||||||
|
|
|
@ -24,7 +24,8 @@
|
||||||
|
|
||||||
#ifndef _FCFREETYPE_H_
|
#ifndef _FCFREETYPE_H_
|
||||||
#define _FCFREETYPE_H_
|
#define _FCFREETYPE_H_
|
||||||
#include <freetype/freetype.h>
|
#include <ft2build.h>
|
||||||
|
#include FT_FREETYPE_H
|
||||||
|
|
||||||
FT_UInt
|
FT_UInt
|
||||||
FcFreeTypeCharIndex (FT_Face face, FcChar32 ucs4);
|
FcFreeTypeCharIndex (FT_Face face, FcChar32 ucs4);
|
||||||
|
|
|
@ -40,7 +40,7 @@ typedef int FcBool;
|
||||||
|
|
||||||
#define FC_MAJOR 2
|
#define FC_MAJOR 2
|
||||||
#define FC_MINOR 2
|
#define FC_MINOR 2
|
||||||
#define FC_REVISION 1
|
#define FC_REVISION 2
|
||||||
|
|
||||||
#define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
|
#define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
|
||||||
|
|
||||||
|
|
|
@ -48,16 +48,17 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "fcint.h"
|
#include "fcint.h"
|
||||||
#include <freetype/freetype.h>
|
#include <ft2build.h>
|
||||||
#include <freetype/internal/ftobjs.h>
|
#include FT_FREETYPE_H
|
||||||
#include <freetype/tttables.h>
|
#include FT_INTERNAL_OBJECTS_H
|
||||||
#include <freetype/ftsnames.h>
|
#include FT_TRUETYPE_TABLES_H
|
||||||
#include <freetype/ttnameid.h>
|
#include FT_SFNT_NAMES_H
|
||||||
#include <freetype/t1tables.h>
|
#include FT_TRUETYPE_IDS_H
|
||||||
|
#include FT_TYPE1_TABLES_H
|
||||||
|
|
||||||
#if (FREETYPE_MINOR > 1 || (FREETYPE_MINOR == 1 && FREETYPE_PATCH >= 4))
|
#if (FREETYPE_MINOR > 1 || (FREETYPE_MINOR == 1 && FREETYPE_PATCH >= 4))
|
||||||
#include <freetype/ftbdf.h>
|
#include FT_BDF_H
|
||||||
#include <freetype/ftmodule.h>
|
#include FT_MODULE_H
|
||||||
#define USE_FTBDF
|
#define USE_FTBDF
|
||||||
#define HAS_BDF_PROPERTY(f) ((f) && (f)->driver && \
|
#define HAS_BDF_PROPERTY(f) ((f) && (f)->driver && \
|
||||||
(f)->driver->root.clazz->get_interface)
|
(f)->driver->root.clazz->get_interface)
|
||||||
|
|
Loading…
Reference in New Issue