forked from minhngoc25a/freetype2
865bba38d2
For rendering OT-SVG glyphs, a new renderer module `ot-svg' is created. The module holds hooks to an external library which are used for rendering. The hooks can be set via module properties. Also enabled bitmap presetting of OT-SVG glyphs at loading stage. * include/freetype/fterrdef.h: Adds two errors, namely, `Missing_SVG_Hooks' and `Invalid_SVG_Document'. * include/freetype/internal/ftobjs.h: Adds `svg_renderer_state' to `FT_LibraryRec' to let external libraries store state. * include/freetype/internal/fttrace.h: Adds entry for `ot-svg'. * modules.cfg: Ditto. * include/freetype/internal/internal.h: Adds `FT_INTERNAL_SVG_INTERFACE_H' for `svginterface.h'. * include/freetype/internal/svginterface.h: Internal header file to contain the interface of `ot-svg' module. Just exposes the preset function. * include/freetype/otsvg.h: Adds functypes for the four hooks and a structure to hold them. * src/base/ftobjs.c: (ft_glyphslot_preset_bitmap) Enable proper presetting of OT-SVG glyphs by using `ot-svg' renderer. (ft_add_renderer) Set `renderer->render' for `ot-svg' module. * src/svg/ftsvg.h: Declaration for `ot-svg' module. * src/svg/ftsvg.c: Module definition of `ot-svg' and its functions. * src/svg/svg.c: Single source file of `ot-svg' module. * src/svg/svgtypes.c: Defines `SVG_Renderer'. * src/svg/rules.mk: Compilation rules for `ot-svg' module. * src/svg/module.mk: Module definition of `ot-svg'. |
||
---|---|---|
builds | ||
devel | ||
docs | ||
include | ||
objs | ||
src | ||
.gitignore | ||
.mailmap | ||
CMakeLists.txt | ||
ChangeLog | ||
ChangeLog.20 | ||
ChangeLog.21 | ||
ChangeLog.22 | ||
ChangeLog.23 | ||
ChangeLog.24 | ||
ChangeLog.25 | ||
ChangeLog.26 | ||
ChangeLog.27 | ||
ChangeLog.28 | ||
ChangeLog.29 | ||
Jamfile | ||
Jamrules | ||
Makefile | ||
README | ||
README.git | ||
autogen.sh | ||
configure | ||
modules.cfg | ||
version.sed | ||
vms_make.com |
README
FreeType 2.10.1 =============== Homepage: https://www.freetype.org FreeType is a freely available software library to render fonts. It is written in C, designed to be small, efficient, highly customizable, and portable while capable of producing high-quality output (glyph images) of most vector and bitmap font formats. Please read the docs/CHANGES file, it contains IMPORTANT INFORMATION. Read the files `docs/INSTALL*' for installation instructions; see the file `docs/LICENSE.TXT' for the available licenses. The FreeType 2 API reference is located in `docs/reference/site'; use the file `index.html' as the top entry point. Additional documentation is available as a separate package from our sites. Go to https://download.savannah.gnu.org/releases/freetype/ and download one of the following files. freetype-doc-2.10.1.tar.xz freetype-doc-2.10.1.tar.gz ftdoc2101.zip To view the documentation online, go to https://www.freetype.org/freetype2/docs/ Mailing Lists ============= The preferred way of communication with the FreeType team is using e-mail lists. general use and discussion: freetype@nongnu.org engine internals, porting, etc.: freetype-devel@nongnu.org announcements: freetype-announce@nongnu.org git repository tracker: freetype-commit@nongnu.org The lists are moderated; see https://www.freetype.org/contact.html how to subscribe. Bugs ==== Please submit bug reports at https://savannah.nongnu.org/bugs/?group=freetype Alternatively, you might report bugs by e-mail to `freetype-devel@nongnu.org'. Don't forget to send a detailed explanation of the problem -- there is nothing worse than receiving a terse message that only says `it doesn't work'. Enjoy! The FreeType Team ---------------------------------------------------------------------- Copyright (C) 2006-2019 by David Turner, Robert Wilhelm, and Werner Lemberg. This file is part of the FreeType project, and may only be used, modified, and distributed under the terms of the FreeType project license, LICENSE.TXT. By continuing to use, modify, or distribute this file you indicate that you have read the license and understand and accept it fully. --- end of README ---