src/sfnt


Log

Author Commit Date CI Message
Werner Lemberg 7a4fda88 2000-06-13T23:21:00 The next round of formatting, checking documentation, etc.
Werner Lemberg 78575dc0 2000-06-12T19:36:41 A lot of formatting. Added more tracing levels. More Makefile fixes. Minor other changes.
Werner Lemberg e35cac66 2000-06-11T03:46:57 A complete revision of FreeType 2's GNU makefiles (of the library): Tons of unnecessary stuff have been removed; only the essential rules have been retained. The source files now depend on all header files in include/freetype, include/freetype/config, and include/freetype/internal. This is not optimal, I know, and I'll try to improve this, but it is better than before (namely no dependencies on `internal'). FTDEBUG_SRC has been added (similar to FTSYS_SRC) -- I don't know exactly whether this is really useful, but it doesn't harm. There is now more documentation in the makefiles itself. io-frames.html: Use of <th>, <code>, and <var> for better tagging. Reactivating of FT_DEBUG_LEVEL_xxx macros. Added a lot of #include directives to make `multi' builds possible -- note that currently the modules cid, t1, and t1z have clashing structures and functions which means that you can only use one of these three modules for a multi build. Added some missing function declarations to (local) header files. Renamed some T1_Open_Face() to CID_Open_Face() in the cid module -- a lot of other functions should be renamed also... Replaced many FT_xxx stuff with T1_xxx in t1z driver -- this isn't finished yet... Fixed FT_Free() to allow a NULL pointer without an assertion (this has always been a valid assumption in FreeType, at least in FT 1.x). A lot of other, minor fixes (mostly documentation).
David Turner b770a4ab 2000-06-07T20:06:18 bug fix, suggested by Tor Lillqvist
Werner Lemberg e1d5dd78 2000-06-07T04:48:12 Moved all *errors.h header files to include/freetype/internal for consistency. Removed unused error message.
Werner Lemberg 61bd4b9d 2000-06-07T00:00:08 Added FT_FRAME_SKIP_xxx to skip fields. More use of READ_Fields() in ttsbit.c Other minor fixes.
Werner Lemberg 1c0d4acb 2000-06-06T20:41:48 Fine-tuned a lot of tracing levels to make them more functional with ftview. Added a lot of \n to tracing messages. Fixed a serious bug in loading SBit offsets (missing parentheses around a xxx ? yyy : zzz construct). Replaced most GET_xxx() functions with calls to READ_Frame() in ttsbit.c
Werner Lemberg 920d41e0 2000-06-05T14:32:32 Removing trailing whitespace.
Werner Lemberg 4e6dd858 2000-06-05T05:26:15 freetype.h: Adding ft_encoding_xxx values for some CJK encodings. Fixing copyright notice on many files. Changed some tracing levels. A lot of formatting, fixing documentation etc. as usual.
Werner Lemberg 56177261 2000-06-03T21:59:44 ftview now has two new options: -d activates debugging, and -l sets the trace level. Since FT2 is still beta, I've activated the FT_DEBUG_xxx macros by default. To make reasonable output, I've changed some TRACEx macros to other levels.
David Turner 3581d064 2000-06-01T03:26:58 changed the SFNT format check to make it less strict. A certain number of TrueType fonts have invalid values in the SFNT header..
David Turner b1677a87 2000-05-29T20:37:41 changed the SFNT driver slightly to add more robust checking based on the "search_rang", etc.., fields of the sfnt header.. This avoids problems (like certain Type 1 multiple masters incorrectly recognized as trueType files)..
David Turner 241e151e 2000-05-28T17:15:37 oops, forgot to commit these files
David Turner 2e421319 2000-05-26T22:13:17 moved a lot of things from the TrueType driver to the SFNT module (whose interface has changed, by the way) This allows even more code re-use between TrueType and OpenType formats..
David Turner 11187206 2000-05-26T17:13:23 finalised the multiple masters support fixed some nasty little bugs too
David Turner 1fb6eea7 2000-05-24T00:31:14 EXPORT_DEF renamed to FT_EXPORT_DEF + reformating/spacing
David Turner 5e4c2cb3 2000-05-22T16:25:14 fixed some header files inclusions added C++ stubs to public header files
David Turner 51179f0a 2000-05-18T16:18:05 some fixes for 64-bit systems. Mainly changed some FT_TRACE calls to use %p instead of %lx when dumping a pointer address
David Turner 109fcf60 2000-05-17T23:35:37 fixed the sbit loader (src/base/sfnt/ttsbit.c) introduced a new load flag (FT_LOAD_CROP_BITMAP) used to indicate that we want embedded bitmaps to be cropped.. Thanks a lot to Yamano-uchi, Hidetoshi
David Turner e49ab25c 2000-05-16T23:44:38 formatting - removed trailing spaces
David Turner c60c61c6 2000-05-12T15:26:58 fixed a potential memory leak when loading embedded bitmaps
David Turner c30aea98 2000-05-12T15:01:18 another massive changes in order to completely avoid compiler warnings with GCC + "-ansi -pedantic -Wall -W" and LCC. Also fixed the compilation of "type1z" with Win32-LCC (its pre-processor is broken !!) Updated the BUILD document too
David Turner bfe2f98f 2000-05-12T12:17:15 a new massive grunt work. Redefined the EXPORT_DEF, EXPORT_FUNC, BASE_DEF and BASE_FUNC macros to let them take an argument.. This is needed to compile the library as a DLL on some platforms that have different compiler conventions..
David Turner 2561b245 2000-05-11T18:47:39 I knew the first CVS commit wouldn't be good :o) Here, the build system seems to be cured now.. (I'll need to try it on Unix too though..)
David Turner efce08d6 2000-05-11T18:23:52 major re-organisation of the FreeType 2 directory hierarchy
David Turner d186a361 2000-05-02T17:41:41 various updates to reduce the compilation warnings
David Turner 1119baee 2000-05-02T11:01:49 added support for version 2 of the OS/2 table five additional fields (see OT Spec 1.2)
David Turner 14d340ce 2000-03-17T23:33:07 fixed a _really_ stupid bugs in the TrueType Collection loading !!
David Turner 7f7aadf4 2000-03-13T12:57:27 finished moving all configuration macros to "config/ftoption.h"
David Turner 3246efed 2000-03-13T12:12:46 first step towards moving all configuration options to the single "config/ftoption.h"
David Turner e98e4af7 2000-03-06T17:01:07 fixed a nasty bug that occured with CMAP format 4..
Werner Lemberg febe3fbe 2000-03-05T01:14:19 A first check of FT2's Make system. Many smaller and larger bugs have been fixed: . Removing unused variables. . detect.mk files now must provide $(CONFIG_FILE) and not $(CONFIG_RULE). . ansi.mk will now be really used as a fallback if the detect mechanism fails. . ANSIFLAGS will now be really used (fixing a typo). . `make clean' now works (again two typos). . Detection of gcc on Unix has been fixed (using the `-v' option instead of `--version'). . `make devel' now works (on Unix). . Fixing *again* a bug in demos/graph/x11/rules.mk to allow multiple use of `-L' compiler options. . $(BASE_H) now contains a few more header files. As usual, a lot of formatting (not finished yet).
David Turner ca13392d 2000-03-01T13:24:38 a few changes to really compile font drivers in independent single objects..
David Turner 63cb46dd 2000-02-22T13:34:26 simple fixes
David Turner a56489e0 2000-02-13T13:41:56 The code has been updated to use the finite-state table loader in "ftstream" (when the macro READ_FIELDS) is defined. This is experimental..
David Turner 33263421 2000-02-13T13:38:45 formatting
David Turner 7433655c 2000-02-10T19:14:48 Some changes. The SFNT driver is able to return Postscript glyph names even when the "psnames" module is not used..
David Turner c3122c98 2000-02-10T19:11:30 added some comments
David Turner d42c68e8 2000-01-27T13:56:02 many new small, but important, changes there: - modified the interface of the "sfnt" module. There is now a function called "load_format_tag", and another called "load_directory". The first one is in charge of returning the 4-byte tag located at the beginning of a given font file. It understand TrueType collections and parses them automatically The second loads the table directory that is located just after the format tag. This is useful, because the "SFNT" storage scheme can be used by several distinct formats, each with its own format tag. The TrueType driver now checks the format tag in "src/truetype/ttobjs.c" - made some changes to "src/shared/t1types.h" to clearly separate the Type 1 font content from the rest of the T1_Face structure. This will be useful when adding the CFF/Type2 driver that will be able to reuse the "T1_Font" structure within a "TT_Font" one (which really describes a SFNT-based font file). Some changes in "src/type1" were thus performed to reflect this. Note that the current type1 driver will be discontinued in a distant future. More on this later..
David Turner 3ba47068 2000-01-17T11:25:57 some updates to the "rules.mk" files. Basically, we now use "$(FT_COMPILE)" instead of "$(FT_CC)" in order to compile the library. $(FT_COMPILE) uses the $(ANSI_FLAGS) variable used to define ANSI-compliance flags for the current compiler. It is used to compile the library exclusively (some demo programs will _not_ compile properly with these flags set).
Werner Lemberg 40b4ef1e 2000-01-12T22:44:03 Remove double increment of charmap.
David Turner 10effdf6 1999-12-29T00:22:24 Added the rules files `module.mk' to "sfnt", "truetype" and "type1" to reflect the new modules/drivers list management performed through the file `freetype2/config/modules.mk' Changed the driver header files to reflect the new modules/drivers list management. We get rid, at last, of the infamous pre-processor tricks used to build the list at compile time. `src/base/ftinit.c' is also modified to reflect the changes..
David Turner d2b1f357 1999-12-16T23:11:37 Initial revision