mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
Tue Dec 19 22:47:16 2000 Owen Taylor <otaylor@redhat.com> * configure.in pango-config.in pangoxft.pc.in modules/basic/Makefile.am: Since Xft may only be available statically without shlib deps, check for FreeType libs explicitly and include them when linking, otherwise things won't work. Also, define FREETYPE_CFLAGS from freetype-config --cflags. * modules/basic/basic-xft.c pango/pangoxft-font{,map}.c: Fool Xft into not converting glyph indices by loading the face unencoded then calling FT_Set_Charmap ourselves. * pango/Makefile.am pango/pango-ot.h pango/opentype/* :Add start of opentype handling - most of the actually meat of the code here is the OpenType layout code from FreeType 1 ported to freetype2 and adapted slighlty for our purposes. Also, includes a incomplete OpenType-table-dumping code useful for figuring out what is going on. * pango/pangoxft.h pango/pangoxft-font.h: Add calls for getting FT_Face and PangoOTInfo from PangoXftFont. * modules/arabic/{Makefile.am,arabic-ot.[ch],arabic-xft.c}: Initial support for rendering Arabic with OpenType fonts.
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
This directory includes code for using OpenType Layout tables from
|
|
OpenType fonts with FreeType and
|
|
|
|
The table reading code in:
|
|
|
|
ftxopen.[ch]
|
|
ftxopenf.h
|
|
ftxgdef.[ch]
|
|
ftxgpos.[ch]
|
|
ftxgdef.[ch]
|
|
|
|
Is derived from the OpenType code in FreeType-1.x, ported to FreeType2.
|
|
(This code has been abandoned for FreeType2, but until something better
|
|
comes along, should serve our purposes.)
|
|
|
|
This code should be left following the FreeType indentation style and
|
|
coding conventions.
|
|
|
|
In addition to porting to FreeType-2, it has been modified to
|
|
add support for PangoGlyphString's log_clusters, and in various
|
|
other ways. Bug reports on these files should be sent to
|
|
gtk-i18n-list@gtk.org, NOT to the freetype maintainers.
|
|
|
|
The license for these files is in the file freetype-license.txt.
|
|
|
|
|
|
Most of the additional files in this directory implement a high-level
|
|
interface to this that follows Pango conventions and integrates with
|
|
Pango.
|
|
|
|
disasm.[ch] is a partial dumper for OpenType layout tables useful
|
|
in figuring out what is going on. Please extend to cover additional
|
|
parts of the tables as you encounter fonts using them.
|
|
|
|
Owen Taylor
|
|
17 December 2000 |