mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2025-12-25 00:40:04 +01:00
* include/freetype/internal/ftobjs.h, src/base/ftobjs.c, src/bdf/bdfdrivr.c,
src/pcf/pcfdriver.c, src/pfr/pfrsbit.c, src/sfnt/ttsbit.c,
src/type42/t42objs.c, src/winfonts/winfnt.c: introduced three new functions
to deal with glyph bitmaps within FT_GlyphSlot objects. these are:
ft_glyphslot_free_bitmap
ft_glyphslot_alloc_bitmap
ft_glyphslot_set_bitmap
these are much more convenient to use than managing the FT_GLYPH_OWN_BITMAP
flag manually. the font drivers have been modified to use them as well.
* src/cache/ftlru.c: fixed an invalid assertion check
23 lines
860 B
Text
23 lines
860 B
Text
How to enable the TrueType native hinter if you need it
|
|
--------------------------------------------------------
|
|
|
|
The TrueType bytecode interpreter is disabled in all public
|
|
releases of the FreeType packages for patents reasons (see
|
|
http://www.freetype.org/patents.html for more details).
|
|
|
|
However, many Linux distributions do enable the interpreter in the
|
|
FreeType packages (DEB/RPM/etc.) they produce for their platforms.
|
|
If you are using TrueType fonts on your system, you most probably
|
|
want to enable it manually by doing the following:
|
|
|
|
- open the file "include/freetype/config/ftoption.h"
|
|
|
|
- locate a line that says:
|
|
|
|
#undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
|
|
|
|
- change it to:
|
|
|
|
#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
|
|
|
|
of course, this must be done _before_ compiling the library
|