summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2001-03-20 22:58:56 +0000
committerWerner Lemberg <wl@gnu.org>2001-03-20 22:58:56 +0000
commit7dc15dbbd87c336b03ce6891b9aa4abb4d15ca68 (patch)
tree3fd03afdb8bbf4012b42dc214b685f2e16492624 /docs
parentc5ec458602105d01f982f6999bf01a3798dfad64 (diff)
downloadfreetype2-7dc15dbbd87c336b03ce6891b9aa4abb4d15ca68.tar.gz
* builds/win32/detekt.mk: Fix .PHONY target for Intel compiler.
Renamed "ftnames.h" to "ftsnames.h", and FT_NAMES_H to FT_SFNT_NAMES_H. * docs/docmaker.py: Added generation of INDEX link in table of contents. * INSTALL, docs/BUILD: Updated documentation to indicate that the compilation process has changed slightly (no more `src' required in * builds/*/*-def.mk: Changed the objects directory from "obj" to "objs". * include/freetype/config/ftheader.h: Removed obsolete macros like FT_SOURCE_FILE, etc. and added cache-specific macro definitions that were previously defined in <freetype/ftcache.h>. Added comments to be included in a new API Reference section. * src/*/*: Removed the use of FT_SOURCE_FILE, etc. Now, each component needs to add its own directory to the include path at compile time. Modified all "rules.mk" and "descrip.mms" accordingly. * src/cid/cidobjs.c, src/cid/cidload.c, src/pcf/pcfread.c, src/type1/t1load.c, src/type1/t1objs.c: Added a few casts to remove compiler warnings in pedantic modes. * include/config/ft2build.h, include/config/ftheader.h: The file top-level <ft2build.h>. * include/config/ftheader.h: Added new section describing the #include macros. the Type 2 glyph charstring (used by conversion programs). * docs/docmaker.py: Added cross-references generation as well as seac emulation provided by the Type 2 endchar operator. * src/cid/cidafm.c, src/cid/cidafm.h: removed un-needed files, Added support for clipped direct rendering in the smooth renderer. * src/cff/t2objs.c (T2_Init_Face): For pure CFF fonts, set
Diffstat (limited to 'docs')
-rw-r--r--docs/BUILD28
-rw-r--r--docs/docmaker.py13
2 files changed, 21 insertions, 20 deletions
diff --git a/docs/BUILD b/docs/BUILD
index 422325224..7bf70bf1e 100644
--- a/docs/BUILD
+++ b/docs/BUILD
@@ -13,8 +13,8 @@ instructions on how to compile the library on your favorite platform.
I. QUICK COMMAND-LINE GUIDE
---------------------------
- THE FOLLOWING WILL ONLY WORK WITH GNU MAKE, IT WILL FAIL MISERABLY
- WITH OTHER MAKE TOOLS, FOR EXAMPLE "BSD MAKE"..
+ THE FOLLOWING WILL ONLY WORK WITH GNU MAKE, IT WILL FAIL MISERABLY
+ WITH OTHER MAKE TOOLS, FOR EXAMPLE "BSD MAKE".
Install GNU Make (version 3.78.1 or newer), then try the following
on Unix or any system with gcc:
@@ -62,8 +62,8 @@ II. COMMAND-LINE COMPILATION
Make -- trying to build the library with any other Make tool will
*fail*.
- NEARLY ALL OTHER MAKE TOOLS WILL FAIL, INCLUDING "BSD MAKE", SO REALLY
- INSTALL A RECENT VERSION OF GNU MAKE ON YOUR SYSTEM !!
+ NEARLY ALL OTHER MAKE TOOLS WILL FAIL, INCLUDING "BSD MAKE", SO
+ REALLY INSTALL A RECENT VERSION OF GNU MAKE ON YOUR SYSTEM!
Make sure that you are invoking GNU Make from the command line, by
typing something like:
@@ -72,7 +72,7 @@ II. COMMAND-LINE COMPILATION
to display its version number.
- VERSION 3.78.1 OR NEWER IS NEEDED !!.
+ VERSION 3.78.1 OR NEWER IS NEEDED!
b. Invoke `make'
@@ -208,7 +208,7 @@ III. DETAILED COMPILATION PROCEDURE
src/truetype/truetype.c - the TrueType font driver
src/type1/type1.c - the Type 1 font driver
- The last module of FreeType 2, "winfonts" (implementing support for
+ The last module of FreeType 2, `winfonts' (implementing support for
Windows FNT format), is a single file.
To compile one component, do the following:
@@ -216,18 +216,18 @@ III. DETAILED COMPILATION PROCEDURE
- Add the top-level `include' directory to your compilation
include path
- - Add the `src/<component>' directory to your compilation include path,
- or simply 'cd' to the component's source directory
+ - Add the `src/<component>' directory to your compilation include
+ path, or simply `cd' to the component's source directory.
- Compile the component `source' file (see list below); you don't
- need to be in the component's directory if you added `src/<component>'
- to your include path..
+ need to be in the component's directory if you added
+ `src/<component>' to your include path.
For example, the following line can be used to compile the truetype
driver on Unix:
cd freetype2/
- cc -c -Iinclude -Isrc/truetype src/truetype/truetype.c
+ cc -c -Iinclude -Isrc/truetype src/truetype/truetype.c
Alternatively:
@@ -252,7 +252,7 @@ III. DETAILED COMPILATION PROCEDURE
IV. Support for flat-directory compilation
------------------------------------------
- It is possible to put all FreeType 2 source files into a single
+ It is possible to put all FreeType 2 source files into a single
directory, with the exception of the `include' hierarchy.
1. Copy all files in current directory:
@@ -270,7 +270,7 @@ IV. Support for flat-directory compilation
cc -c -Ifreetype2/include ftbase.c
etc.
- You don't need to define the FT_FLAT_COMPILATION macro (as this was required
- in previous releases of FreeType 2)
+ You don't need to define the FT_FLAT_COMPILATION macro (as this was
+ required in previous releases of FreeType 2).
End of file
diff --git a/docs/docmaker.py b/docs/docmaker.py
index 43786e849..067e162b4 100644
--- a/docs/docmaker.py
+++ b/docs/docmaker.py
@@ -901,12 +901,13 @@ class DocSectionList:
# provide a new one.
#
if abstract:
- section.block.print_error( "duplicate section definition for " +
- "'" + name + "'\n" +
- "previous definition in " +
- "'" + section.block.location() + "'\n" +
- "second definition in " +
- "'" + block.location() + "'" )
+ section.block.print_error(
+ "duplicate section definition for " +
+ "'" + name + "'\n" +
+ "previous definition in " +
+ "'" + section.block.location() + "'\n" +
+ "second definition in " +
+ "'" + block.location() + "'" )
else:
# The old section didn't contain an abstract; we are
# now going to replace it.