Official mirror of https://gitlab.freedesktop.org/freetype/freetype
* src/cff/cf2font.c (cf2_font_setup): before rendering a glyph, check blend vector and reparse private DICT if it has changed. * src/cff/cf2intrp.c (cf2_interpT2CharString): check blend vector and build blend vector if needed at cf2_doBlend. * src/cff/cffload.c (cff_vstore_load): fix bug parsing vstore with > 1 data item. (cff_load_private_dict): factor out private dict parsing so we can reparse when vector changes. Add functions for handling CFF_Blend object. (cff_blend_clear): clear blend stack (cff_blend_check_vector): test if inputs have changed and blend vector needs rebuilding. (cff_blend_build_vector): construct blend vector from design vector using algorithm in OpenType Font Variations Overview. (cff_blend_doBlend): compute blended array, same as in cf2_intrp.c but with parser blend_stack instead of charstring operand stack. * src/cff/cffparse.c Add blend_stack alongside parser stack, so we have a place to write blend results. (cff_parse_num): add internal number type, opcode 255, for use with blend_stack. Change limit check on several number parsing functions, since stack is no longer contiguous. (cff_parse_blend): check blend vector and re-build it if needed. (cff_parser_run): ignore opcode 255 if it occurs in a font. * src/cff/cfftypes.h (CFF_Blend): add object data for cff_blend_* functions. (CFF_SubFont): add CFF_Blend and blend_stack. |
||
---|---|---|
builds | ||
devel | ||
docs | ||
include | ||
objs | ||
src | ||
.gitignore | ||
.mailmap | ||
autogen.sh | ||
ChangeLog | ||
ChangeLog.20 | ||
ChangeLog.21 | ||
ChangeLog.22 | ||
ChangeLog.23 | ||
ChangeLog.24 | ||
ChangeLog.25 | ||
CMakeLists.txt | ||
configure | ||
Jamfile | ||
Jamrules | ||
Makefile | ||
modules.cfg | ||
README | ||
README.git | ||
version.sed | ||
vms_make.com |
Branch of FreeType to support OpenType 1.8 ========================================== This branch contains changes for supporting OpenType 1.8. The changes will be merged back upstream in September 2016, when the specification for OpenType 1.8 is final and has been published. FreeType 2.6.5 ============== Homepage: http://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'; use the file `ft2-toc.html' as the top entry point. Additional documentation is available as a separate package from our sites. Go to http://download.savannah.gnu.org/releases/freetype/ and download one of the following files. freetype-doc-2.6.5.tar.bz2 freetype-doc-2.6.5.tar.gz ftdoc265.zip To view the documentation online, go to http://www.freetype.org/freetype2/documentation.html 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 http://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 2006-2016 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 ---