From dee1377bd741712657d5dcb17b2c07f6c948fd7c Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Sun, 29 Jun 2008 15:05:50 +0000 Subject: updated freetype to 2.3.7 git-svn-id: svn://tug.org/texlive/trunk@9084 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/libs/README | 4 +- Build/source/libs/freetype2/ChangeLog | 160 +++++++ Build/source/libs/freetype2/Jamfile | 2 +- Build/source/libs/freetype2/README | 8 +- Build/source/libs/freetype2/autogen.sh | 4 +- Build/source/libs/freetype2/builds/unix/config.sub | 8 +- Build/source/libs/freetype2/builds/unix/configure | 155 +++++-- .../source/libs/freetype2/builds/unix/configure.ac | 61 ++- .../libs/freetype2/builds/unix/configure.raw | 59 ++- .../freetype2/builds/win32/visualc/freetype.dsp | 20 +- .../freetype2/builds/win32/visualc/freetype.vcproj | 12 +- .../libs/freetype2/builds/win32/visualc/index.html | 10 +- .../freetype2/builds/win32/visualce/freetype.dsp | 20 +- .../builds/win32/visualce/freetype.vcproj | 84 ++-- .../freetype2/builds/win32/visualce/index.html | 10 +- Build/source/libs/freetype2/docs/CHANGES | 37 ++ Build/source/libs/freetype2/docs/VERSION.DLL | 1 + .../docs/reference/ft2-base_interface.html | 149 ++++--- .../freetype2/docs/reference/ft2-basic_types.html | 42 +- .../freetype2/docs/reference/ft2-bdf_fonts.html | 26 +- .../docs/reference/ft2-bitmap_handling.html | 20 +- .../docs/reference/ft2-cache_subsystem.html | 76 ++-- .../freetype2/docs/reference/ft2-cid_fonts.html | 14 +- .../freetype2/docs/reference/ft2-computations.html | 16 +- .../freetype2/docs/reference/ft2-font_formats.html | 10 +- .../freetype2/docs/reference/ft2-gasp_table.html | 10 +- .../docs/reference/ft2-glyph_management.html | 28 +- .../docs/reference/ft2-glyph_stroker.html | 44 +- .../docs/reference/ft2-glyph_variants.html | 24 +- .../docs/reference/ft2-gx_validation.html | 16 +- .../libs/freetype2/docs/reference/ft2-gzip.html | 10 +- .../docs/reference/ft2-header_file_macros.html | 78 ++-- .../freetype2/docs/reference/ft2-incremental.html | 16 +- .../libs/freetype2/docs/reference/ft2-index.html | 479 +++++++++++---------- .../docs/reference/ft2-lcd_filtering.html | 12 +- .../docs/reference/ft2-list_processing.html | 22 +- .../libs/freetype2/docs/reference/ft2-lzw.html | 10 +- .../freetype2/docs/reference/ft2-mac_specific.html | 24 +- .../docs/reference/ft2-module_management.html | 40 +- .../docs/reference/ft2-multiple_masters.html | 30 +- .../docs/reference/ft2-ot_validation.html | 10 +- .../docs/reference/ft2-outline_processing.html | 97 +++-- .../freetype2/docs/reference/ft2-pfr_fonts.html | 14 +- .../libs/freetype2/docs/reference/ft2-raster.html | 34 +- .../freetype2/docs/reference/ft2-sfnt_names.html | 16 +- .../docs/reference/ft2-sizes_management.html | 14 +- .../docs/reference/ft2-system_interface.html | 16 +- .../libs/freetype2/docs/reference/ft2-toc.html | 28 +- .../docs/reference/ft2-truetype_engine.html | 8 +- .../docs/reference/ft2-truetype_tables.html | 40 +- .../freetype2/docs/reference/ft2-type1_tables.html | 30 +- .../docs/reference/ft2-user_allocation.html | 8 +- .../libs/freetype2/docs/reference/ft2-version.html | 12 +- .../freetype2/docs/reference/ft2-winfnt_fonts.html | 14 +- Build/source/libs/freetype2/docs/release | 16 +- .../freetype2/include/freetype/config/ftheader.h | 70 +-- .../libs/freetype2/include/freetype/freetype.h | 192 +++++---- .../libs/freetype2/include/freetype/ftbbox.h | 4 +- .../source/libs/freetype2/include/freetype/ftbdf.h | 79 ++-- .../libs/freetype2/include/freetype/ftbitmap.h | 12 +- .../libs/freetype2/include/freetype/ftcache.h | 70 +-- .../source/libs/freetype2/include/freetype/ftcid.h | 6 +- .../libs/freetype2/include/freetype/ftgasp.h | 4 +- .../libs/freetype2/include/freetype/ftglyph.h | 26 +- .../libs/freetype2/include/freetype/ftgxval.h | 10 +- .../libs/freetype2/include/freetype/ftgzip.h | 2 +- .../libs/freetype2/include/freetype/ftimage.h | 167 +++---- .../libs/freetype2/include/freetype/ftincrem.h | 8 +- .../libs/freetype2/include/freetype/ftlcdfil.h | 6 +- .../libs/freetype2/include/freetype/ftlist.h | 14 +- .../source/libs/freetype2/include/freetype/ftlzw.h | 2 +- .../source/libs/freetype2/include/freetype/ftmac.h | 16 +- .../source/libs/freetype2/include/freetype/ftmm.h | 24 +- .../libs/freetype2/include/freetype/ftmodapi.h | 24 +- .../libs/freetype2/include/freetype/ftotval.h | 2 +- .../libs/freetype2/include/freetype/ftoutln.h | 56 ++- .../source/libs/freetype2/include/freetype/ftpfr.h | 6 +- .../libs/freetype2/include/freetype/ftrender.h | 8 +- .../libs/freetype2/include/freetype/ftsizes.h | 6 +- .../libs/freetype2/include/freetype/ftsnames.h | 8 +- .../libs/freetype2/include/freetype/ftstroke.h | 36 +- .../libs/freetype2/include/freetype/ftsystem.h | 8 +- .../libs/freetype2/include/freetype/fttypes.h | 18 +- .../libs/freetype2/include/freetype/ftwinfnt.h | 6 +- .../libs/freetype2/include/freetype/ftxf86.h | 4 +- .../freetype2/include/freetype/internal/ftgloadr.h | 8 +- .../libs/freetype2/include/freetype/t1tables.h | 30 +- .../libs/freetype2/include/freetype/ttnameid.h | 4 +- .../libs/freetype2/include/freetype/tttables.h | 32 +- Build/source/libs/freetype2/src/base/ftcalc.c | 58 ++- Build/source/libs/freetype2/src/base/ftglyph.c | 64 +-- Build/source/libs/freetype2/src/base/ftmac.c | 10 +- Build/source/libs/freetype2/src/cff/cffobjs.c | 213 +++++---- Build/source/libs/freetype2/src/otvalid/otvgpos.c | 9 +- Build/source/libs/freetype2/src/psaux/psobjs.c | 29 +- Build/source/libs/freetype2/src/raster/ftraster.c | 286 +++++++----- Build/source/libs/freetype2/src/smooth/ftgrays.c | 11 +- .../libs/freetype2/src/tools/docmaker/tohtml.py | 106 ++++- Build/source/libs/freetype2/src/truetype/ttgload.c | 46 +- .../source/libs/freetype2/src/truetype/ttinterp.c | 22 +- Build/source/libs/freetype2/src/type1/t1objs.c | 39 +- 101 files changed, 2420 insertions(+), 1649 deletions(-) (limited to 'Build/source') diff --git a/Build/source/libs/README b/Build/source/libs/README index b9f0adf83ac..112a11ea63c 100644 --- a/Build/source/libs/README +++ b/Build/source/libs/README @@ -22,9 +22,9 @@ Modifications: add AM_DISABLE_SHARED ==> freetype2 <== -The freetype2 directory contains Freetype 2.3.6 sources from: +The freetype2 directory contains Freetype 2.3.7 sources from: - http://downloads.sourceforge.net/freetype/freetype-2.3.6.tar.bz2 + http://download.savannah.gnu.org/releases/freetype/freetype-2.3.7.tar.bz2 The following files have been added: diff --git a/Build/source/libs/freetype2/ChangeLog b/Build/source/libs/freetype2/ChangeLog index 80961362897..b507fa84aa7 100644 --- a/Build/source/libs/freetype2/ChangeLog +++ b/Build/source/libs/freetype2/ChangeLog @@ -1,3 +1,163 @@ +2008-06-29 Werner Lemberg + + * Version 2.3.7 released. + ========================= + + + Tag sources with `VER-2-3-7'. + + * docs/CHANGES, docs/VERSION.DLL: Update documentation and bump + version number to 2.3.7. + + * README, Jamfile (RefDoc), builds/win32/visualc/index.html, + builds/win32/visualc/freetype.dsp, + builds/win32/visualc/freetype.vcproj, + builds/win32/visualce/index.html, + builds/win32/visualce/freetype.dsp, + builds/win32/visualce/freetype.vcproj: s/2.3.6/2.3.7/, s/236/237/. + + * include/freetype/freetype.h (FREETYPE_PATCH): Set to 7. + + * builds/unix/configure.raw (version_info): Set to 9:18:3. + + * docs/release: Updated. + +2008-06-28 Werner Lemberg + + * src/ftglyph.c (FT_Matrix_Multiply, FT_Matrix_Invert): Move to... + * src/ftcalc.c: Here. This fixes Savannah bug #23729. + +2008-06-27 Werner Lemberg + + * src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop, + Horizontal_Gray_Sweep_Drop): Test for intersections which + degenerate to a single point can be ignored; this has been confirmed + by Greg Hitchcock from Microsoft. (This was commented out code.) + +2008-06-26 Werner Lemberg + + Improve navigation in API reference. + + * src/tools/docmaker/tohtml.py (html_header_3): Renamed to... + (html_header_6): This. + (html_header_3, html_header_3i, html_header_4, html_header_5, + html_header_5t): New strings. + (toc_footer_start, toc_footer_end): New strings. + (HtmlFormatter::html_header): Updated. + (HtmlFormatter::html_index_header, HtmlFormatter::html_toc_header): + New strings. + (HtmlFormatter::index_enter): Use `html_index_header'. + (HtmlFormatter::index_exit): Print `html_footer'. + (HtmlFormatter::toc_enter): Use `html_toc_header'. + (HtmlFormatter::toc_exit): Print proper footer. + + Convert ~ to non-breakable space. + + * src/tools/docmaker/tohtml.py (make_html_para): Implement it. + Update header files accordingly. + +2008-06-24 suzuki toshiya + + * builds/unix/configure.raw: Check type `ResourceIndex' explicitly + and define HAVE_TYPE_RESOURCE_INDEX if it is defined. Mac OS X 10.5 + bundles 10.4u SDK with MAC_OS_X_VERSION_10_5 macro but without + ResourceIndex type definition. The macro does not inform the type + availability. + * src/base/ftmac.c: More parentheses are inserted to clarify the + conditionals to disable legacy APIs in `10.5 and later' cases. If + HAVE_TYPE_RESOURCE_INDEX is not defined, ResourceIndex is defined. + +2008-06-24 Werner Lemberg + + * src/truetype/ttinterp. (Ins_SCANTYPE): Don't check rendering mode. + + * src/raster/ftraster.c (Render_Glyph, Render_Gray_Glyph, + Draw_Sweep): No-dropout mode is value 2, not value 0. + (Draw_Sweep): Really skip dropout handling for no-dropout mode. + +2008-06-24 Werner Lemberg + + * src/psaux/psobjs.c (t1_builder_close_contour): Don't add contour + if it consists of one point only. Based on a patch from Savannah + bug #23683 (from John Tytgat). + +2008-06-22 Werner Lemberg + + * src/truetype/ttgload.c (TT_Load_Glyph): Protect bytecode stuff + with IS_HINTED. + + * docs/CHANGES: Updated. + +2008-06-22 suzuki toshiya + + * builds/unix/configure.raw: If CFLAGS has `-isysroot XXX' option + but LDFLAGS does not, import it to LDFLAGS. The option is used to + specify non-default SDK on Mac OS X (e.g., universal binary SDK for + Mac OS X 10.4 on PowerPC platform). Although Apple TechNote 2137 + recommends to add the option only to CFLAGS, LDFLAGS should include + it because libfreetype.la is built with -no-undefined. This fixes a + bug reported by Ryan Schmidt in MacPorts, + http://trac.macports.org/ticket/15331. + +2008-06-21 Werner Lemberg + + Enable access to the various dropout rules of the B&W rasterizer. + Pass dropout rules from the TT bytecode interpreter to the + rasterizer. + + * include/freetype/ftimage.h (FT_OUTLINE_SMART_DROPOUTS, + FT_OUTLINE_EXCLUDE_STUBS): New flags for for FT_Outline. + + * src/raster/ftraster.c (Vertical_Sweep_Drop, Horizontal_Sweep_Drop, + Horizontal_Gray_Sweep_Drop): Use same mode numbers as given in the + OpenType specification. + Fix mode 4 computation. + (Render_Glyph, Render_Gray_Glyph): Handle new outline flags. + + * src/truetype/ttgload.c (TT_Load_Glyph) Convert scan conversion + mode to FT_OUTLINE_XXX flags. + + * src/truetype/ttinterp.c (Ins_SCANCTRL): Enable ppem check. + +2008-06-19 Werner Lemberg + + * src/cff/cffobjs.c (cff_face_init): Compute final + `dict->units_per_em' value before assigning it to + `cffface->units_per_EM'. Otherwise, CFFs without subfonts are + scaled incorrectly if the font matrix is non-standard. This fixes + Savannah bug #23630. + + * docs/CHANGES: Updated. + +2008-06-19 Werner Lemberg + + * src/type/t1objs.c (T1_Face_Init): Slightly improve algorithm fix + from 2008-06-19. + +2008-06-18 Werner Lemberg + + * src/type/t1objs.c (T1_Face_Init): Fix change from 2008-03-21. + Reported by Peter Weilbacher . + + * docs/CHANGES: Updated. + +2008-06-15 George Williams + + * src/otvalid/otvgpos.c (otv_MarkBasePos_validate): Set + `valid->extra2' to 1. This is undocumented in the OpenType 1.5 + specification. + +2008-06-15 Werner Lemberg + + * src/base/ftcalc.c (FT_MulFix) : Protect registers correctly + from clobbering. Patch from Savannah bug report #23556. + + * docs/CHANGES: Document it. + +2008-06-10 Werner Lemberg + + * autogen.sh: Add option `--install' to libtoolize. + 2008-06-10 Werner Lemberg * Version 2.3.6 released. diff --git a/Build/source/libs/freetype2/Jamfile b/Build/source/libs/freetype2/Jamfile index eeaad3f3644..a345d242ee4 100644 --- a/Build/source/libs/freetype2/Jamfile +++ b/Build/source/libs/freetype2/Jamfile @@ -194,7 +194,7 @@ rule RefDoc actions RefDoc { - python $(FT2_SRC)/tools/docmaker/docmaker.py --prefix=ft2 --title=FreeType-2.3.6 --output=$(DOC_DIR) $(FT2_INCLUDE)/freetype/*.h $(FT2_INCLUDE)/freetype/config/*.h + python $(FT2_SRC)/tools/docmaker/docmaker.py --prefix=ft2 --title=FreeType-2.3.7 --output=$(DOC_DIR) $(FT2_INCLUDE)/freetype/*.h $(FT2_INCLUDE)/freetype/config/*.h } RefDoc refdoc ; diff --git a/Build/source/libs/freetype2/README b/Build/source/libs/freetype2/README index a6ab092c4cf..5071f88b302 100644 --- a/Build/source/libs/freetype2/README +++ b/Build/source/libs/freetype2/README @@ -9,7 +9,7 @@ is called `libttf'. They are *not* compatible! - FreeType 2.3.6 + FreeType 2.3.7 ============== Please read the docs/CHANGES file, it contains IMPORTANT @@ -26,9 +26,9 @@ and download one of the following files. - freetype-doc-2.3.6.tar.bz2 - freetype-doc-2.3.6.tar.gz - ftdoc236.zip + freetype-doc-2.3.7.tar.bz2 + freetype-doc-2.3.7.tar.gz + ftdoc237.zip Bugs diff --git a/Build/source/libs/freetype2/autogen.sh b/Build/source/libs/freetype2/autogen.sh index d8fb5b2ec6d..87f30a1caa7 100755 --- a/Build/source/libs/freetype2/autogen.sh +++ b/Build/source/libs/freetype2/autogen.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2005, 2006, 2007 by +# Copyright 2005, 2006, 2007, 2008 by # David Turner, Robert Wilhelm, and Werner Lemberg. # # This file is part of the FreeType project, and may only be used, modified, @@ -48,7 +48,7 @@ if test "$HOSTOS"x = Darwinx; then fi run aclocal -I . --force -run $LIBTOOLIZE --force --copy +run $LIBTOOLIZE --force --copy --install run autoconf --force chmod +x mkinstalldirs diff --git a/Build/source/libs/freetype2/builds/unix/config.sub b/Build/source/libs/freetype2/builds/unix/config.sub index 63bfff03070..a649350a6ca 100644 --- a/Build/source/libs/freetype2/builds/unix/config.sub +++ b/Build/source/libs/freetype2/builds/unix/config.sub @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. -timestamp='2008-04-14' +timestamp='2008-06-16' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -463,6 +463,10 @@ case $basic_machine in basic_machine=c90-cray os=-unicos ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; convex-c1) basic_machine=c1-convex os=-bsd @@ -1256,7 +1260,7 @@ case $os in | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* \ + | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ diff --git a/Build/source/libs/freetype2/builds/unix/configure b/Build/source/libs/freetype2/builds/unix/configure index 22cfd509069..fdb639aae64 100755 --- a/Build/source/libs/freetype2/builds/unix/configure +++ b/Build/source/libs/freetype2/builds/unix/configure @@ -1,8 +1,8 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.62 for FreeType 2.3.6. +# Generated by GNU Autoconf 2.62 for FreeType 2.3.7. # -### MODIFIED (see below) for tex-live build, Jonathan Kew, 2008-06-26 +### MODIFIED (see below) for tex-live build, Jonathan Kew, 2008-06-29 # # Report bugs to . # @@ -747,8 +747,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='FreeType' PACKAGE_TARNAME='freetype' -PACKAGE_VERSION='2.3.6' -PACKAGE_STRING='FreeType 2.3.6' +PACKAGE_VERSION='2.3.7' +PACKAGE_STRING='FreeType 2.3.7' PACKAGE_BUGREPORT='freetype@nongnu.org' ac_unique_file="ftconfig.in" @@ -1470,7 +1470,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures FreeType 2.3.6 to adapt to many kinds of systems. +\`configure' configures FreeType 2.3.7 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1536,7 +1536,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of FreeType 2.3.6:";; + short | recursive ) echo "Configuration of FreeType 2.3.7:";; esac cat <<\_ACEOF @@ -1645,7 +1645,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -FreeType configure 2.3.6 +FreeType configure 2.3.7 generated by GNU Autoconf 2.62 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1659,7 +1659,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by FreeType $as_me 2.3.6, which was +It was created by FreeType $as_me 2.3.7, which was generated by GNU Autoconf 2.62. Invocation command line was $ $0 $@ @@ -2030,7 +2030,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # Don't forget to update docs/VERSION.DLL! -version_info='9:17:3' +version_info='9:18:3' ft_version=`echo $version_info | tr : .` @@ -5786,7 +5786,7 @@ done -# Check for system zlib +# check for system zlib # don't quote AS_HELP_STRING! @@ -6009,6 +6009,39 @@ if test x$with_zlib != xno && test -n "$LIBZ"; then fi +# check Apple's `-isysroot' option and duplicate it to LDFLAGS if required -- +# Apple TechNote 2137 recommends to include it in CFLAGS but not in LDFLAGS + +{ $as_echo "$as_me:$LINENO: checking whether CFLAGS includes -isysroot option" >&5 +$as_echo_n "checking whether CFLAGS includes -isysroot option... " >&6; } +case "$CFLAGS" in +*sysroot* ) + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } + { $as_echo "$as_me:$LINENO: checking whether LDFLAGS includes -isysroot option" >&5 +$as_echo_n "checking whether LDFLAGS includes -isysroot option... " >&6; } + case "$LDFLAGS" in + *sysroot* ) + { $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } + ;; + *) + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } + isysroot_dir=`echo ${CFLAGS} | tr '\t' ' ' | sed 's/^.*-isysroot *//;s/ .*//'` + { $as_echo "$as_me:$LINENO: WARNING: -isysroot ${isysroot_dir} is added to LDFLAGS" >&5 +$as_echo "$as_me: WARNING: -isysroot ${isysroot_dir} is added to LDFLAGS" >&2;} + LDFLAGS="-isysroot ${isysroot_dir} ${LDFLAGS}" + ;; + esac + ;; +*) + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } + ;; +esac + + # Whether to use Mac OS resource-based fonts. # don't quote AS_HELP_STRING! @@ -6152,6 +6185,76 @@ $as_echo "no, ANSI incompatible" >&6; } fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + { $as_echo "$as_me:$LINENO: checking type ResourceIndex" >&5 +$as_echo_n "checking type ResourceIndex... " >&6; } + orig_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $XX_CFLAGS $XX_ANSIFLAGS" + cat >conftest.$ac_ext <<_ACEOF + + /* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + +#if defined(__GNUC__) && defined(__APPLE_CC__) +# include +# include +#else +# include +# include +# include +#endif + + +int +main () +{ + + + ResourceIndex i = 0; + return i; + + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + { $as_echo "$as_me:$LINENO: result: ok" >&5 +$as_echo "ok" >&6; } + CFLAGS="$orig_CFLAGS" + CFLAGS="$CFLAGS -DHAVE_TYPE_RESOURCE_INDEX" + +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } + CFLAGS="$orig_CFLAGS" + +fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 @@ -7177,13 +7280,13 @@ if test "${lt_cv_nm_interface+set}" = set; then else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:7173: $ac_compile\"" >&5) + (eval echo "\"\$as_me:7276: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:7176: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:7279: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:7179: output\"" >&5) + (eval echo "\"\$as_me:7282: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -8293,7 +8396,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 8289 "configure"' > conftest.$ac_ext + echo '#line 8392 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -9987,11 +10090,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:9983: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10086: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:9987: \$? = $ac_status" >&5 + echo "$as_me:10090: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -10311,11 +10414,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:10307: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10410: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:10311: \$? = $ac_status" >&5 + echo "$as_me:10414: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -10416,11 +10519,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:10412: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10515: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:10416: \$? = $ac_status" >&5 + echo "$as_me:10519: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -10471,11 +10574,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:10467: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10570: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:10471: \$? = $ac_status" >&5 + echo "$as_me:10574: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -13263,7 +13366,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 13259 "configure" +#line 13362 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13363,7 +13466,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 13359 "configure" +#line 13462 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -14037,7 +14140,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by FreeType $as_me 2.3.6, which was +This file was extended by FreeType $as_me 2.3.7, which was generated by GNU Autoconf 2.62. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14090,7 +14193,7 @@ Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -FreeType config.status 2.3.6 +FreeType config.status 2.3.7 configured by $0, generated by GNU Autoconf 2.62, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff --git a/Build/source/libs/freetype2/builds/unix/configure.ac b/Build/source/libs/freetype2/builds/unix/configure.ac index ca8f92d59b5..8de8e56fdae 100644 --- a/Build/source/libs/freetype2/builds/unix/configure.ac +++ b/Build/source/libs/freetype2/builds/unix/configure.ac @@ -11,13 +11,13 @@ # indicate that you have read the license and understand and accept it # fully. -AC_INIT([FreeType], [2.3.6], [freetype@nongnu.org], [freetype]) +AC_INIT([FreeType], [2.3.7], [freetype@nongnu.org], [freetype]) AC_CONFIG_SRCDIR([ftconfig.in]) # Don't forget to update docs/VERSION.DLL! -version_info='9:17:3' +version_info='9:18:3' AC_SUBST([version_info]) ft_version=`echo $version_info | tr : .` AC_SUBST([ft_version]) @@ -155,7 +155,7 @@ AC_SUBST([FTSYS_SRC]) AC_CHECK_FUNCS([memcpy memmove]) -# Check for system zlib +# check for system zlib # don't quote AS_HELP_STRING! AC_ARG_WITH([zlib], @@ -171,6 +171,32 @@ if test x$with_zlib != xno && test -n "$LIBZ"; then fi +# check Apple's `-isysroot' option and duplicate it to LDFLAGS if required -- +# Apple TechNote 2137 recommends to include it in CFLAGS but not in LDFLAGS + +AC_MSG_CHECKING([whether CFLAGS includes -isysroot option]) +case "$CFLAGS" in +*sysroot* ) + AC_MSG_RESULT([yes]) + AC_MSG_CHECKING([whether LDFLAGS includes -isysroot option]) + case "$LDFLAGS" in + *sysroot* ) + AC_MSG_RESULT([yes]) + ;; + *) + AC_MSG_RESULT([no]) + isysroot_dir=`echo ${CFLAGS} | tr '\t' ' ' | sed 's/^.*-isysroot *//;s/ .*//'` + AC_MSG_WARN(-isysroot ${isysroot_dir} is added to LDFLAGS) + LDFLAGS="-isysroot ${isysroot_dir} ${LDFLAGS}" + ;; + esac + ;; +*) + AC_MSG_RESULT([no]) + ;; +esac + + # Whether to use Mac OS resource-based fonts. # don't quote AS_HELP_STRING! @@ -234,6 +260,35 @@ if test x$with_old_mac_fonts = xyes; then ], [AC_MSG_RESULT([no, ANSI incompatible]) CFLAGS="$orig_CFLAGS" + ]) + AC_MSG_CHECKING([type ResourceIndex]) + orig_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $XX_CFLAGS $XX_ANSIFLAGS" + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([ + +#if defined(__GNUC__) && defined(__APPLE_CC__) +# include +# include +#else +# include +# include +# include +#endif + + ], + [ + + ResourceIndex i = 0; + return i; + + ])], + [AC_MSG_RESULT([ok]) + CFLAGS="$orig_CFLAGS" + CFLAGS="$CFLAGS -DHAVE_TYPE_RESOURCE_INDEX" + ], + [AC_MSG_RESULT([no]) + CFLAGS="$orig_CFLAGS" ])], [AC_MSG_RESULT([not found]) LDFLAGS="${orig_LDFLAGS}" diff --git a/Build/source/libs/freetype2/builds/unix/configure.raw b/Build/source/libs/freetype2/builds/unix/configure.raw index 26a63c7a27a..0d67d3f3eb5 100644 --- a/Build/source/libs/freetype2/builds/unix/configure.raw +++ b/Build/source/libs/freetype2/builds/unix/configure.raw @@ -17,7 +17,7 @@ AC_CONFIG_SRCDIR([ftconfig.in]) # Don't forget to update docs/VERSION.DLL! -version_info='9:17:3' +version_info='9:18:3' AC_SUBST([version_info]) ft_version=`echo $version_info | tr : .` AC_SUBST([ft_version]) @@ -155,7 +155,7 @@ AC_SUBST([FTSYS_SRC]) AC_CHECK_FUNCS([memcpy memmove]) -# Check for system zlib +# check for system zlib # don't quote AS_HELP_STRING! AC_ARG_WITH([zlib], @@ -171,6 +171,32 @@ if test x$with_zlib != xno && test -n "$LIBZ"; then fi +# check Apple's `-isysroot' option and duplicate it to LDFLAGS if required -- +# Apple TechNote 2137 recommends to include it in CFLAGS but not in LDFLAGS + +AC_MSG_CHECKING([whether CFLAGS includes -isysroot option]) +case "$CFLAGS" in +*sysroot* ) + AC_MSG_RESULT([yes]) + AC_MSG_CHECKING([whether LDFLAGS includes -isysroot option]) + case "$LDFLAGS" in + *sysroot* ) + AC_MSG_RESULT([yes]) + ;; + *) + AC_MSG_RESULT([no]) + isysroot_dir=`echo ${CFLAGS} | tr '\t' ' ' | sed 's/^.*-isysroot *//;s/ .*//'` + AC_MSG_WARN(-isysroot ${isysroot_dir} is added to LDFLAGS) + LDFLAGS="-isysroot ${isysroot_dir} ${LDFLAGS}" + ;; + esac + ;; +*) + AC_MSG_RESULT([no]) + ;; +esac + + # Whether to use Mac OS resource-based fonts. # don't quote AS_HELP_STRING! @@ -234,6 +260,35 @@ if test x$with_old_mac_fonts = xyes; then ], [AC_MSG_RESULT([no, ANSI incompatible]) CFLAGS="$orig_CFLAGS" + ]) + AC_MSG_CHECKING([type ResourceIndex]) + orig_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $XX_CFLAGS $XX_ANSIFLAGS" + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([ + +#if defined(__GNUC__) && defined(__APPLE_CC__) +# include +# include +#else +# include +# include +# include +#endif + + ], + [ + + ResourceIndex i = 0; + return i; + + ])], + [AC_MSG_RESULT([ok]) + CFLAGS="$orig_CFLAGS" + CFLAGS="$CFLAGS -DHAVE_TYPE_RESOURCE_INDEX" + ], + [AC_MSG_RESULT([no]) + CFLAGS="$orig_CFLAGS" ])], [AC_MSG_RESULT([not found]) LDFLAGS="${orig_LDFLAGS}" diff --git a/Build/source/libs/freetype2/builds/win32/visualc/freetype.dsp b/Build/source/libs/freetype2/builds/win32/visualc/freetype.dsp index 94b0d8ababc..269bb24aa8a 100644 --- a/Build/source/libs/freetype2/builds/win32/visualc/freetype.dsp +++ b/Build/source/libs/freetype2/builds/win32/visualc/freetype.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LIB32=link.exe -lib # ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236.lib" +# ADD LIB32 /nologo /out:"..\..\..\objs\freetype237.lib" !ELSEIF "$(CFG)" == "freetype - Win32 Debug" @@ -78,7 +78,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LIB32=link.exe -lib # ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236_D.lib" +# ADD LIB32 /nologo /out:"..\..\..\objs\freetype237_D.lib" !ELSEIF "$(CFG)" == "freetype - Win32 Debug Multithreaded" @@ -102,8 +102,8 @@ BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"lib\freetype236_D.lib" -# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236MT_D.lib" +# ADD BASE LIB32 /nologo /out:"lib\freetype237_D.lib" +# ADD LIB32 /nologo /out:"..\..\..\objs\freetype237MT_D.lib" !ELSEIF "$(CFG)" == "freetype - Win32 Release Multithreaded" @@ -126,8 +126,8 @@ BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"lib\freetype236.lib" -# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236MT.lib" +# ADD BASE LIB32 /nologo /out:"lib\freetype237.lib" +# ADD LIB32 /nologo /out:"..\..\..\objs\freetype237MT.lib" !ELSEIF "$(CFG)" == "freetype - Win32 Release Singlethreaded" @@ -151,8 +151,8 @@ BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype236.lib" -# ADD LIB32 /out:"..\..\..\objs\freetype236ST.lib" +# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype237.lib" +# ADD LIB32 /out:"..\..\..\objs\freetype237ST.lib" # SUBTRACT LIB32 /nologo !ELSEIF "$(CFG)" == "freetype - Win32 Debug Singlethreaded" @@ -177,8 +177,8 @@ BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype236_D.lib" -# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236ST_D.lib" +# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype237_D.lib" +# ADD LIB32 /nologo /out:"..\..\..\objs\freetype237ST_D.lib" !ENDIF diff --git a/Build/source/libs/freetype2/builds/win32/visualc/freetype.vcproj b/Build/source/libs/freetype2/builds/win32/visualc/freetype.vcproj index 808911066de..036ccbf4e88 100644 --- a/Build/source/libs/freetype2/builds/win32/visualc/freetype.vcproj +++ b/Build/source/libs/freetype2/builds/win32/visualc/freetype.vcproj @@ -69,7 +69,7 @@ /> This directory contains project files for Visual C++, named freetype.dsp, and Visual Studio, called freetype.sln. It -compiles the following libraries from the FreeType 2.3.6 sources:

+compiles the following libraries from the FreeType 2.3.7 sources:

    -    freetype236.lib     - release build; single threaded
    -    freetype236_D.lib   - debug build;   single threaded
    -    freetype236MT.lib   - release build; multi-threaded
    -    freetype236MT_D.lib - debug build;   multi-threaded
    + freetype237.lib - release build; single threaded + freetype237_D.lib - debug build; single threaded + freetype237MT.lib - release build; multi-threaded + freetype237MT_D.lib - debug build; multi-threaded

Be sure to extract the files with the Windows (CR+LF) line endings. ZIP diff --git a/Build/source/libs/freetype2/builds/win32/visualce/freetype.dsp b/Build/source/libs/freetype2/builds/win32/visualce/freetype.dsp index 94b0d8ababc..269bb24aa8a 100644 --- a/Build/source/libs/freetype2/builds/win32/visualce/freetype.dsp +++ b/Build/source/libs/freetype2/builds/win32/visualce/freetype.dsp @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LIB32=link.exe -lib # ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236.lib" +# ADD LIB32 /nologo /out:"..\..\..\objs\freetype237.lib" !ELSEIF "$(CFG)" == "freetype - Win32 Debug" @@ -78,7 +78,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LIB32=link.exe -lib # ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236_D.lib" +# ADD LIB32 /nologo /out:"..\..\..\objs\freetype237_D.lib" !ELSEIF "$(CFG)" == "freetype - Win32 Debug Multithreaded" @@ -102,8 +102,8 @@ BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"lib\freetype236_D.lib" -# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236MT_D.lib" +# ADD BASE LIB32 /nologo /out:"lib\freetype237_D.lib" +# ADD LIB32 /nologo /out:"..\..\..\objs\freetype237MT_D.lib" !ELSEIF "$(CFG)" == "freetype - Win32 Release Multithreaded" @@ -126,8 +126,8 @@ BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"lib\freetype236.lib" -# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236MT.lib" +# ADD BASE LIB32 /nologo /out:"lib\freetype237.lib" +# ADD LIB32 /nologo /out:"..\..\..\objs\freetype237MT.lib" !ELSEIF "$(CFG)" == "freetype - Win32 Release Singlethreaded" @@ -151,8 +151,8 @@ BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype236.lib" -# ADD LIB32 /out:"..\..\..\objs\freetype236ST.lib" +# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype237.lib" +# ADD LIB32 /out:"..\..\..\objs\freetype237ST.lib" # SUBTRACT LIB32 /nologo !ELSEIF "$(CFG)" == "freetype - Win32 Debug Singlethreaded" @@ -177,8 +177,8 @@ BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype236_D.lib" -# ADD LIB32 /nologo /out:"..\..\..\objs\freetype236ST_D.lib" +# ADD BASE LIB32 /nologo /out:"..\..\..\objs\freetype237_D.lib" +# ADD LIB32 /nologo /out:"..\..\..\objs\freetype237ST_D.lib" !ENDIF diff --git a/Build/source/libs/freetype2/builds/win32/visualce/freetype.vcproj b/Build/source/libs/freetype2/builds/win32/visualce/freetype.vcproj index 109542feb36..bb3445fed75 100644 --- a/Build/source/libs/freetype2/builds/win32/visualce/freetype.vcproj +++ b/Build/source/libs/freetype2/builds/win32/visualce/freetype.vcproj @@ -87,7 +87,7 @@ /> PPC/SP WM6 (Windows Mobile 6) -It compiles the following libraries from the FreeType 2.3.6 sources:

+It compiles the following libraries from the FreeType 2.3.7 sources:

    -    freetype236.lib     - release build; single threaded
    -    freetype236_D.lib   - debug build;   single threaded
    -    freetype236MT.lib   - release build; multi-threaded
    -    freetype236MT_D.lib - debug build;   multi-threaded
    + freetype237.lib - release build; single threaded + freetype237_D.lib - debug build; single threaded + freetype237MT.lib - release build; multi-threaded + freetype237MT_D.lib - debug build; multi-threaded

Be sure to extract the files with the Windows (CR+LF) line endings. ZIP diff --git a/Build/source/libs/freetype2/docs/CHANGES b/Build/source/libs/freetype2/docs/CHANGES index 8129ec7fb0d..cb662c7062e 100644 --- a/Build/source/libs/freetype2/docs/CHANGES +++ b/Build/source/libs/freetype2/docs/CHANGES @@ -1,3 +1,40 @@ +CHANGES BETWEEN 2.3.7 and 2.3.6 + + I. IMPORTANT BUG FIXES + + - If the library was compiled on an i386 platform using gcc, and + compiler option -O3 was given, `FT_MulFix' sometimes returned + incorrect results which could have caused problems with + `FT_Request_Metrics' and `FT_Select_Metrics', returning an + incorrect descender size. + + - Pure CFFs without subfonts were scaled incorrectly if the font + matrix was non-standard. This bug has been introduced in + version 2.3.6. + + - The `style_name' field in the `FT_FaceRec' structure often + contained a wrong value for Type 1 fonts. This misbehaviour + has been introduced in version 2.3.6 while trying to fix + another problem. [Note, however, that this value is + informative only since the used algorithm to extract it is + very simplistic.] + + + II. IMPORTANT CHANGES + + - Two new macros, FT_OUTLINE_SMART_DROPOUTS and + FT_OUTLINE_EXCLUDE_STUBS, have been introduced. Together with + FT_OUTLINE_IGNORE_DROPOUTS (which was ignored previously) it is + now possible to control the dropout mode of the `raster' module + (for B&W rasterization), using the `flags' field in the + `FT_Outline' structure. + + - The TrueType bytecode interpreter now passes the dropout mode to + the B&W rasterizer. This greatly increases the output for small + ppem values of many fonts like `pala.ttf'. + + +====================================================================== CHANGES BETWEEN 2.3.6 and 2.3.5 diff --git a/Build/source/libs/freetype2/docs/VERSION.DLL b/Build/source/libs/freetype2/docs/VERSION.DLL index 52754314757..ec9ff21c7db 100644 --- a/Build/source/libs/freetype2/docs/VERSION.DLL +++ b/Build/source/libs/freetype2/docs/VERSION.DLL @@ -53,6 +53,7 @@ systems, but not all of them: release libtool so ------------------------------- + 2.3.7 9.18.3 6.3.18 2.3.6 9.17.3 6.3.17 2.3.5 9.16.3 6.3.16 2.3.4 9.15.3 6.3.15 diff --git a/Build/source/libs/freetype2/docs/reference/ft2-base_interface.html b/Build/source/libs/freetype2/docs/reference/ft2-base_interface.html index 34e8a5e90fb..e260e92dff4 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-base_interface.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-base_interface.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Base Interface @@ -68,7 +72,7 @@ Base Interface

-

This section describes the public high-level API of FreeType 2.

+

This section describes the public high-level API of FreeType 2.


FT_Library

@@ -250,7 +254,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

FT_ENCODING_NONE -

The encoding value 0 is reserved.

+

The encoding value 0 is reserved.

FT_ENCODING_UNICODE

Corresponds to the Unicode character set. This value covers all versions of the Unicode repertoire, including ASCII and Latin-1. Most fonts include a Unicode charmap, but not all of them.

@@ -271,23 +275,23 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

Corresponds to the Korean encoding system known as Wansung. For more information see ‘http://www.microsoft.com/typography/unicode/949.txt’.

FT_ENCODING_JOHAB -

The Korean standard character set (KS C-5601-1992), which corresponds to MS Windows code page 1361. This character set includes all possible Hangeul character combinations.

+

The Korean standard character set (KS C 5601-1992), which corresponds to MS Windows code page 1361. This character set includes all possible Hangeul character combinations.

FT_ENCODING_ADOBE_LATIN_1
-

Corresponds to a Latin-1 encoding as defined in a Type 1 Postscript font. It is limited to 256 character codes.

+

Corresponds to a Latin-1 encoding as defined in a Type 1 PostScript font. It is limited to 256 character codes.

FT_ENCODING_ADOBE_STANDARD
-

Corresponds to the Adobe Standard encoding, as found in Type 1, CFF, and OpenType/CFF fonts. It is limited to 256 character codes.

+

Corresponds to the Adobe Standard encoding, as found in Type 1, CFF, and OpenType/CFF fonts. It is limited to 256 character codes.

FT_ENCODING_ADOBE_EXPERT
-

Corresponds to the Adobe Expert encoding, as found in Type 1, CFF, and OpenType/CFF fonts. It is limited to 256 character codes.

+

Corresponds to the Adobe Expert encoding, as found in Type 1, CFF, and OpenType/CFF fonts. It is limited to 256 character codes.

FT_ENCODING_ADOBE_CUSTOM
-

Corresponds to a custom encoding, as found in Type 1, CFF, and OpenType/CFF fonts. It is limited to 256 character codes.

+

Corresponds to a custom encoding, as found in Type 1, CFF, and OpenType/CFF fonts. It is limited to 256 character codes.

FT_ENCODING_APPLE_ROMAN
@@ -315,13 +319,13 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
note
-

By default, FreeType automatically synthetizes a Unicode charmap for Postscript fonts, using their glyph names dictionaries. However, it also reports the encodings defined explicitly in the font file, for the cases when they are needed, with the Adobe values as well.

+

By default, FreeType automatically synthetizes a Unicode charmap for PostScript fonts, using their glyph names dictionaries. However, it also reports the encodings defined explicitly in the font file, for the cases when they are needed, with the Adobe values as well.

FT_ENCODING_NONE is set by the BDF and PCF drivers if the charmap is neither Unicode nor ISO-8859-1 (otherwise it is set to FT_ENCODING_UNICODE). Use FT_Get_BDF_Charset_ID to find out which encoding is really present. If, for example, the ‘cs_registry’ field is ‘KOI8’ and the ‘cs_encoding’ field is ‘R’, the font is encoded in KOI8-R.

FT_ENCODING_NONE is always set (with a single exception) by the winfonts driver. Use FT_Get_WinFNT_Header and examine the ‘charset’ field of the FT_WinFNT_HeaderRec structure to find out which encoding is really present. For example, FT_WinFNT_ID_CP1251 (204) means Windows code page 1251 (for Russian).

FT_ENCODING_NONE is set if ‘platform_id’ is TT_PLATFORM_MACINTOSH and ‘encoding_id’ is not TT_MAC_ID_ROMAN (otherwise it is set to FT_ENCODING_APPLE_ROMAN).

-

If ‘platform_id’ is TT_PLATFORM_MACINTOSH, use the function c FT_Get_CMap_Language_ID to query the Mac language ID which may be needed to be able to distinguish Apple encoding variants. See

+

If ‘platform_id’ is TT_PLATFORM_MACINTOSH, use the function FT_Get_CMap_Language_ID to query the Mac language ID which may be needed to be able to distinguish Apple encoding variants. See

http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/README.TXT

-

to get an idea how to do that. Basically, if the language ID is 0, don't use it, otherwise subtract 1 from the language ID. Then examine ‘encoding_id’. If, for example, ‘encoding_id’ is TT_MAC_ID_ROMAN and the language ID (minus 1) is ‘TT_MAC_LANGID_GREEK’, it is the Greek encoding, not Roman. TT_MAC_ID_ARABIC with ‘TT_MAC_LANGID_FARSI’ means the Farsi variant the Arabic encoding.

+

to get an idea how to do that. Basically, if the language ID is 0, don't use it, otherwise subtract 1 from the language ID. Then examine ‘encoding_id’. If, for example, ‘encoding_id’ is TT_MAC_ID_ROMAN and the language ID (minus 1) is ‘TT_MAC_LANGID_GREEK’, it is the Greek encoding, not Roman. TT_MAC_ID_ARABIC with ‘TT_MAC_LANGID_FARSI’ means the Farsi variant the Arabic encoding.


@@ -521,7 +525,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

This macro converts four-letter tags into an unsigned long. It is used to define ‘encoding’ identifiers (see FT_Encoding).


note
-

Since many 16bit compilers don't like 32bit enumerations, you should redefine this macro in case of problems to something like this:

+

Since many 16-bit compilers don't like 32-bit enumerations, you should redefine this macro in case of problems to something like this:

   #define FT_ENC_TAG( value, a, b, c, d )  value                   
 
@@ -621,7 +625,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

An opaque handle to an ‘FT_Face_InternalRec’ structure, used to model private data of a given FT_Face object.

-

This structure might change between releases of FreeType 2 and is not generally available to client applications.

+

This structure might change between releases of FreeType 2 and is not generally available to client applications.



@@ -705,7 +709,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

The number of faces in the font file. Some font formats can have multiple faces in a font file.

face_index -

The index of the face in the font file. It is set to 0 if there is only one face in the font file.

+

The index of the face in the font file. It is set to 0 if there is only one face in the font file.

face_flags

A set of bit flags that give important information about the face; see FT_FACE_FLAG_XXX for the details.

@@ -715,6 +719,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h). num_glyphs

The number of glyphs in the face. If the face is scalable and has sbits (see ‘num_fixed_sizes’), it is set to the number of outline glyphs.

+

For CID-keyed fonts, this value gives the highest CID used in the font.

family_name

The face's family name. This is an ASCII string, usually in English, which describes the typeface's family (like ‘Times New Roman’, ‘Bodoni’, ‘Garamond’, etc). This is a least common denominator used to list fonts. Some formats (TrueType & OpenType) provide localized and Unicode versions of this string. Applications should use the format specific interface to access them. Can be NULL (e.g., in fonts embedded in a PDF file).

@@ -739,9 +744,10 @@ Defined in FT_FREETYPE_H (freetype/freetype.h). bbox

The font bounding box. Coordinates are expressed in font units (see ‘units_per_EM’). The box is large enough to contain any glyph from the font. Thus, ‘bbox.yMax’ can be seen as the ‘maximal ascender’, and ‘bbox.yMin’ as the ‘minimal descender’. Only relevant for scalable formats.

+

Note that the bounding box might be off by (at least) one pixel for hinted fonts. See FT_Size_Metrics for further discussion.

units_per_EM -

The number of font units per EM square for this face. This is typically 2048 for TrueType fonts, and 1000 for Type 1 fonts. Only relevant for scalable formats.

+

The number of font units per EM square for this face. This is typically 2048 for TrueType fonts, and 1000 for Type 1 fonts. Only relevant for scalable formats.

ascender

The typographic ascender of the face, expressed in font units. For font formats not having this information, it is set to ‘bbox.yMax’. Only relevant for scalable formats.

@@ -941,7 +947,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
-

A macro that returns true whenever a face object contains a scalable font face (true for TrueType, Type 1, Type 42, CID, OpenType/CFF, and PFR font formats.

+

A macro that returns true whenever a face object contains a scalable font face (true for TrueType, Type 1, Type 42, CID, OpenType/CFF, and PFR font formats.



@@ -1377,7 +1383,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

This is the bitmap's left bearing expressed in integer pixels. Of course, this is only valid if the format is FT_GLYPH_FORMAT_BITMAP.

bitmap_top -

This is the bitmap's top bearing expressed in integer pixels. Remember that this is the distance from the baseline to the top-most glyph scanline, upwards y-coordinates being positive.

+

This is the bitmap's top bearing expressed in integer pixels. Remember that this is the distance from the baseline to the top-most glyph scanline, upwards y coordinates being positive.

outline

The outline descriptor for the current glyph image if its format is FT_GLYPH_FORMAT_OUTLINE. Once a glyph is loaded, ‘outline’ can be transformed, distorted, embolded, etc. However, it must not be freed.

@@ -1389,7 +1395,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

An array of subglyph descriptors for composite glyphs. There are ‘num_subglyphs’ elements in there. Currently internal to FreeType.

control_data -

Certain font drivers can also return the control data for a given glyph image (e.g. TrueType bytecode, Type 1 charstrings, etc.). This field is a pointer to such data.

+

Certain font drivers can also return the control data for a given glyph image (e.g. TrueType bytecode, Type 1 charstrings, etc.). This field is a pointer to such data.

control_len

This is the length in bytes of the control data.

@@ -1406,7 +1412,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
note
-

If FT_Load_Glyph is called with default flags (see FT_LOAD_DEFAULT) the glyph image is loaded in the glyph slot in its native format (e.g., an outline glyph for TrueType and Type 1 formats).

+

If FT_Load_Glyph is called with default flags (see FT_LOAD_DEFAULT) the glyph image is loaded in the glyph slot in its native format (e.g., an outline glyph for TrueType and Type 1 formats).

This image can later be converted into a bitmap by calling FT_Render_Glyph. This function finds the current renderer for the native image's format then invokes it.

The renderer is in charge of transforming the native image through the slot's face transformation fields, then convert it into a bitmap that is returned in ‘slot->bitmap’.

Note that ‘slot->bitmap_left’ and ‘slot->bitmap_top’ are also used to specify the position of the bitmap relative to the current pen position (e.g., coordinates (0,0) on the baseline). Of course, ‘slot->format’ is also changed to FT_GLYPH_FORMAT_BITMAP.

@@ -1466,7 +1472,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -1497,7 +1503,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -1538,7 +1544,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

Copy the stream from the ‘stream’ field.

FT_OPEN_PATHNAME -

Create a new input stream from a C path name.

+

Create a new input stream from a C path name.

FT_OPEN_DRIVER

Use the ‘driver’ field.

@@ -1653,7 +1659,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

A handle to a source stream object.

driver -

This field is exclusively used by FT_Open_Face; it simply specifies the font driver to use to open the face. If set to 0, FreeType tries to load the face with each one of the drivers in its list.

+

This field is exclusively used by FT_Open_Face; it simply specifies the font driver to use to open the face. If set to 0, FreeType tries to load the face with each one of the drivers in its list.

num_params

The number of extra parameters.

@@ -1710,7 +1716,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

A path to the font file.

face_index -

The index of the face within the font. The first face has index 0.

+

The index of the face within the font. The first face has index 0.

@@ -1723,7 +1729,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -1767,7 +1773,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

The size of the memory chunk used by the font data.

face_index -

The index of the face within the font. The first face has index 0.

+

The index of the face within the font. The first face has index 0.

@@ -1780,7 +1786,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

You must not deallocate the memory before calling FT_Done_Face.

@@ -1823,7 +1829,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

A pointer to an ‘FT_Open_Args’ structure which must be filled by the caller.

face_index -

The index of the face within the font. The first face has index 0.

+

The index of the face within the font. The first face has index 0.

@@ -1836,11 +1842,11 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

Unlike FreeType 1.x, this function automatically creates a glyph slot for the face object which can be accessed directly through ‘face->glyph’.

-

FT_Open_Face can be used to quickly check whether the font format of a given font resource is supported by FreeType. If the ‘face_index’ field is negative, the function's return value is 0 if the font format is recognized, or non-zero otherwise; the function returns a more or less empty face handle in ‘*aface’ (if ‘aface’ isn't NULL). The only useful field in this special case is ‘face->num_faces’ which gives the number of faces within the font file. After examination, the returned FT_Face structure should be deallocated with a call to FT_Done_Face.

+

FT_Open_Face can be used to quickly check whether the font format of a given font resource is supported by FreeType. If the ‘face_index’ field is negative, the function's return value is 0 if the font format is recognized, or non-zero otherwise; the function returns a more or less empty face handle in ‘*aface’ (if ‘aface’ isn't NULL). The only useful field in this special case is ‘face->num_faces’ which gives the number of faces within the font file. After examination, the returned FT_Face structure should be deallocated with a call to FT_Done_Face.

Each new face object created with this function also owns a default FT_Size object, accessible as ‘face->size’.

@@ -1881,7 +1887,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -1902,7 +1908,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
-

‘Attach’ data to a face object. Normally, this is used to read additional information for the face object. For example, you can attach an AFM file that comes with a Type 1 font to get the kerning values and other metrics.

+

‘Attach’ data to a face object. Normally, this is used to read additional information for the face object. For example, you can attach an AFM file that comes with a Type 1 font to get the kerning values and other metrics.


inout

@@ -1921,7 +1927,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The meaning of the ‘attach’ (i.e., what really happens when the new file is read) is not fixed by FreeType itself. It really depends on the font format (and thus the font driver).

@@ -1956,7 +1962,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -1996,7 +2002,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -2163,7 +2169,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

Although drivers may select the bitmap strike matching the request, you should not rely on this if you intend to select a particular bitmap strike. Use FT_Select_Size instead in that case.

@@ -2218,7 +2224,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

If either the character width or height is zero, it is set equal to the other value.

@@ -2267,7 +2273,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -2311,7 +2317,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The loaded glyph may be transformed. See FT_Set_Transform for the details.

@@ -2359,7 +2365,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

This function simply calls FT_Get_Char_Index and FT_Load_Glyph.

@@ -2402,7 +2408,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

FT_LOAD_DEFAULT -

Corresponding to 0, this value is used as the default glyph load operation. In this case, the following happens:

+

Corresponding to 0, this value is used as the default glyph load operation. In this case, the following happens:

1. FreeType looks for a bitmap for the glyph corresponding to the face's current size. If one is found, the function returns. The bitmap data can be accessed from the glyph slot (see note below).

2. If no embedded bitmap is searched or found, FreeType looks for a scalable outline. If one is found, it is loaded from the font file, scaled to device pixels, then ‘hinted’ to the pixel grid in order to optimize it. The outline data can be accessed from the glyph slot (see note below).

Note that by default, the glyph loader doesn't render outlines into bitmaps. The following flags are used to modify this default behaviour to more specific and useful cases.

@@ -2451,7 +2457,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

Indicates that the transform matrix set by FT_Set_Transform should be ignored.

FT_LOAD_MONOCHROME -

This flag is used with FT_LOAD_RENDER to indicate that you want to render an outline glyph to a 1-bit monochrome bitmap glyph, with 8 pixels packed into each byte of the bitmap data.

+

This flag is used with FT_LOAD_RENDER to indicate that you want to render an outline glyph to a 1-bit monochrome bitmap glyph, with 8 pixels packed into each byte of the bitmap data.

Note that this has no effect on the hinting algorithm used. You should use FT_LOAD_TARGET_MONO instead so that the monochrome-optimized hinting algorithm is used.

FT_LOAD_LINEAR_DESIGN @@ -2500,7 +2506,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

This corresponds to the default hinting algorithm, optimized for standard gray-level rendering. For monochrome output, use FT_LOAD_TARGET_MONO instead.

FT_LOAD_TARGET_LIGHT -

A lighter hinting algorithm for non-monochrome modes. Many generated glyphs are more fuzzy but better resemble its original shape. A bit like rendering on Mac OS X.

+

A lighter hinting algorithm for non-monochrome modes. Many generated glyphs are more fuzzy but better resemble its original shape. A bit like rendering on Mac OS X.

As a special exception, this target implies FT_LOAD_FORCE_AUTOHINT.

FT_LOAD_TARGET_MONO @@ -2578,10 +2584,10 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

matrix -

A pointer to the transformation's 2x2 matrix. Use 0 for the identity matrix.

+

A pointer to the transformation's 2x2 matrix. Use 0 for the identity matrix.

delta -

A pointer to the translation vector. Use 0 for the null vector.

+

A pointer to the translation vector. Use 0 for the null vector.

@@ -2616,26 +2622,27 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

-

An enumeration type that lists the render modes supported by FreeType 2. Each mode corresponds to a specific type of scanline conversion performed on the outline.

+

An enumeration type that lists the render modes supported by FreeType 2. Each mode corresponds to a specific type of scanline conversion performed on the outline.

For bitmap fonts the ‘bitmap->pixel_mode’ field in the FT_GlyphSlotRec structure gives the format of the returned bitmap.

+

All modes except FT_RENDER_MODE_MONO use 256 levels of opacity.


values

FT_RENDER_MODE_NORMAL -

This is the default render mode; it corresponds to 8-bit anti-aliased bitmaps, using 256 levels of opacity.

+

This is the default render mode; it corresponds to 8-bit anti-aliased bitmaps.

FT_RENDER_MODE_LIGHT

This is equivalent to FT_RENDER_MODE_NORMAL. It is only defined as a separate value because render modes are also used indirectly to define hinting algorithm selectors. See FT_LOAD_TARGET_XXX for details.

FT_RENDER_MODE_MONO -

This mode corresponds to 1-bit bitmaps.

+

This mode corresponds to 1-bit bitmaps (with 2 levels of opacity).

FT_RENDER_MODE_LCD -

This mode corresponds to horizontal RGB and BGR sub-pixel displays, like LCD-screens. It produces 8-bit bitmaps that are 3 times the width of the original glyph outline in pixels, and which use the FT_PIXEL_MODE_LCD mode.

+

This mode corresponds to horizontal RGB and BGR sub-pixel displays, like LCD-screens. It produces 8-bit bitmaps that are 3 times the width of the original glyph outline in pixels, and which use the FT_PIXEL_MODE_LCD mode.

FT_RENDER_MODE_LCD_V -

This mode corresponds to vertical RGB and BGR sub-pixel displays (like PDA screens, rotated LCD displays, etc.). It produces 8-bit bitmaps that are 3 times the height of the original glyph outline in pixels and use the FT_PIXEL_MODE_LCD_V mode.

+

This mode corresponds to vertical RGB and BGR sub-pixel displays (like PDA screens, rotated LCD displays, etc.). It produces 8-bit bitmaps that are 3 times the height of the original glyph outline in pixels and use the FT_PIXEL_MODE_LCD_V mode.

@@ -2711,7 +2718,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -2742,7 +2749,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

FT_KERNING_DEFAULT -

Return scaled and grid-fitted kerning distances (value is 0).

+

Return scaled and grid-fitted kerning distances (value is 0).

FT_KERNING_UNFITTED

Return scaled but un-grid-fitted kerning distances.

@@ -2859,7 +2866,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

Only horizontal layouts (left-to-right & right-to-left) are supported by this method. Other layouts, or more sophisticated kernings, are out of the scope of this API function -- they can be implemented through format-specific interfaces.

@@ -2910,7 +2917,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -2933,7 +2940,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
-

Retrieve the ASCII name of a given glyph in a face. This only works for those faces where FT_HAS_GLYPH_NAMES(face) returns 1.

+

Retrieve the ASCII name of a given glyph in a face. This only works for those faces where FT_HAS_GLYPH_NAMES(face) returns 1.


input

@@ -2958,10 +2965,10 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note
-

An error is returned if the face doesn't provide glyph names or if the glyph index is invalid. In all cases of failure, the first byte of ‘buffer’ is set to 0 to indicate an empty name.

+

An error is returned if the face doesn't provide glyph names or if the glyph index is invalid. In all cases of failure, the first byte of ‘buffer’ is set to 0 to indicate an empty name.

The glyph name is truncated to fit within the buffer if it is too long. The returned string is always zero-terminated.

This function is not compiled within the library if the config macro ‘FT_CONFIG_OPTION_NO_GLYPH_NAMES’ is defined in ‘include/freetype/config/ftoptions.h’.

@@ -2983,7 +2990,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
-

Retrieve the ASCII Postscript name of a given face, if available. This only works with Postscript and TrueType fonts.

+

Retrieve the ASCII PostScript name of a given face, if available. This only works with PostScript and TrueType fonts.


input

@@ -2994,7 +3001,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

A pointer to the face's Postscript name. NULL if unavailable.

+

A pointer to the face's PostScript name. NULL if unavailable.

note

The returned pointer is owned by the face and is destroyed with it.

@@ -3037,7 +3044,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

This function returns an error if no charmap in the face corresponds to the encoding queried here.

@@ -3081,11 +3088,11 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

This function returns an error if the charmap is not part of the face (i.e., if it is not listed in the ‘face->charmaps’ table).

-

It also fails if a type 14 charmap is selected.

+

It also fails if a type 14 charmap is selected.


@@ -3151,10 +3158,10 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

The glyph index. 0 means ‘undefined character code’.

+

The glyph index. 0 means ‘undefined character code’.

note
-

If you use FreeType to manipulate the contents of font files directly, be aware that the glyph index returned by this function doesn't always correspond to the internal indices used within the file. This is done to ensure that value 0 always corresponds to the ‘missing glyph’.

+

If you use FreeType to manipulate the contents of font files directly, be aware that the glyph index returned by this function doesn't always correspond to the internal indices used within the file. This is done to ensure that value 0 always corresponds to the ‘missing glyph’.


@@ -3189,7 +3196,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

agindex -

Glyph index of first character code. 0 if charmap is empty.

+

Glyph index of first character code. 0 if charmap is empty.

@@ -3211,7 +3218,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h). charcode = FT_Get_Next_Char( face, charcode, &gindex ); } -

Note that ‘*agindex’ is set to 0 if the charmap is empty. The result itself can be 0 in two cases: if the charmap is empty or when the value 0 is the first valid character code.

+

Note that ‘*agindex’ is set to 0 if the charmap is empty. The result itself can be 0 in two cases: if the charmap is empty or when the value 0 is the first valid character code.


@@ -3250,7 +3257,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

agindex -

Glyph index of first character code. 0 if charmap is empty.

+

Glyph index of first character code. 0 if charmap is empty.

@@ -3259,7 +3266,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
note

You should use this function with FT_Get_First_Char to walk over all character codes available in a given charmap. See the note for this function for a simple code example.

-

Note that ‘*agindex’ is set to 0 when there are no more codes in the charmap.

+

Note that ‘*agindex’ is set to 0 when there are no more codes in the charmap.


@@ -3294,7 +3301,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

The glyph index. 0 means ‘undefined character code’.

+

The glyph index. 0 means ‘undefined character code’.


@@ -3410,7 +3417,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The values of ‘*p_arg1’, ‘*p_arg2’, and ‘*p_transform’ must be interpreted depending on the flags returned in ‘*p_flags’. See the TrueType specification for details.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-basic_types.html b/Build/source/libs/freetype2/docs/reference/ft2-basic_types.html index 16ab90f56c3..259a7e45683 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-basic_types.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-basic_types.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Basic Data Types @@ -55,7 +59,7 @@ Basic Data Types



-

This section contains the basic data types defined by FreeType 2, ranging from simple scalar types to bitmap descriptors. More font-specific structures are defined in a different section.

+

This section contains the basic data types defined by FreeType 2, ranging from simple scalar types to bitmap descriptors. More font-specific structures are defined in a different section.


FT_Byte

@@ -312,7 +316,7 @@ Defined in FT_TYPES_H (freetype/fttypes.h).

-

A typedef of unsigned char, used for simple booleans. As usual, values 1 and 0 represent true and false, respectively.

+

A typedef of unsigned char, used for simple booleans. As usual, values 1 and 0 represent true and false, respectively.



@@ -331,7 +335,7 @@ Defined in FT_TYPES_H (freetype/fttypes.h).
-

This is equivalent to the ANSI C ‘size_t’ type, i.e., the largest unsigned integer type used to express a file size or position, or a memory block size.

+

This is equivalent to the ANSI C ‘size_t’ type, i.e., the largest unsigned integer type used to express a file size or position, or a memory block size.



@@ -350,7 +354,7 @@ Defined in FT_TYPES_H (freetype/fttypes.h).
-

This is equivalent to the ANSI C ‘ptrdiff_t’ type, i.e., the largest signed integer type used to express the distance between two pointers.

+

This is equivalent to the ANSI C ‘ptrdiff_t’ type, i.e., the largest signed integer type used to express the distance between two pointers.



@@ -388,7 +392,7 @@ Defined in FT_TYPES_H (freetype/fttypes.h).
-

A typedef for 32bit tags (as used in the SFNT format).

+

A typedef for 32-bit tags (as used in the SFNT format).



@@ -407,7 +411,7 @@ Defined in FT_TYPES_H (freetype/fttypes.h).
-

The FreeType error code type. A value of 0 is always interpreted as a successful operation.

+

The FreeType error code type. A value of 0 is always interpreted as a successful operation.



@@ -464,7 +468,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).
-

The type FT_Pos is a 32-bit integer used to store vectorial coordinates. Depending on the context, these can represent distances in integer font units, or 16,16, or 26.6 fixed float pixel coordinates.

+

The type FT_Pos is a 32-bit integer used to store vectorial coordinates. Depending on the context, these can represent distances in integer font units, or 16.16, or 26.6 fixed float pixel coordinates.



@@ -733,13 +737,13 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).

FT_PIXEL_MODE_NONE -

Value 0 is reserved.

+

Value 0 is reserved.

FT_PIXEL_MODE_MONO -

A monochrome bitmap, using 1 bit per pixel. Note that pixels are stored in most-significant order (MSB), which means that the left-most pixel in a byte has value 128.

+

A monochrome bitmap, using 1 bit per pixel. Note that pixels are stored in most-significant order (MSB), which means that the left-most pixel in a byte has value 128.

FT_PIXEL_MODE_GRAY -

An 8-bit bitmap, generally used to represent anti-aliased glyph images. Each pixel is stored in one byte. Note that the number of value ‘gray’ levels is stored in the ‘num_bytes’ field of the FT_Bitmap structure (it generally is 256).

+

An 8-bit bitmap, generally used to represent anti-aliased glyph images. Each pixel is stored in one byte. Note that the number of value ‘gray’ levels is stored in the ‘num_grays’ field of the FT_Bitmap structure (it generally is 256).

FT_PIXEL_MODE_GRAY2

A 2-bit/pixel bitmap, used to represent embedded anti-aliased bitmaps in font files according to the OpenType specification. We haven't found a single font using this format, however.

@@ -829,10 +833,10 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).

ft_palette_mode_rgb -

The palette is an array of 3-bytes RGB records.

+

The palette is an array of 3-byte RGB records.

ft_palette_mode_rgba -

The palette is an array of 4-bytes RGBA records.

+

The palette is an array of 4-byte RGBA records.

@@ -927,7 +931,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).

This macro converts four-letter tags to an unsigned long type.


note
-

Since many 16bit compilers don't like 32bit enumerations, you should redefine this macro in case of problems to something like this:

+

Since many 16-bit compilers don't like 32-bit enumerations, you should redefine this macro in case of problems to something like this:

   #define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 )  value         
 
@@ -965,7 +969,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).

FT_GLYPH_FORMAT_NONE -

The value 0 is reserved.

+

The value 0 is reserved.

FT_GLYPH_FORMAT_COMPOSITE
@@ -980,7 +984,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).
FT_GLYPH_FORMAT_PLOTTER
-

The glyph image is a vectorial path with no inside and outside contours. Some Type 1 fonts, like those in the Hershey family, contain glyphs in this format. These are described as FT_Outline, but FreeType isn't currently capable of rendering them correctly.

+

The glyph image is a vectorial path with no inside and outside contours. Some Type 1 fonts, like those in the Hershey family, contain glyphs in this format. These are described as FT_Outline, but FreeType isn't currently capable of rendering them correctly.

@@ -1082,7 +1086,7 @@ Defined in FT_TYPES_H (freetype/fttypes.h).
-

Describes a function used to destroy the ‘client’ data of any FreeType object. See the description of the FT_Generic type for details of usage.

+

Describe a function used to destroy the ‘client’ data of any FreeType object. See the description of the FT_Generic type for details of usage.


input

The address of the FreeType object which is under finalization. Its client data is accessed through its ‘generic’ field.

@@ -1148,7 +1152,7 @@ Defined in FT_TYPES_H (freetype/fttypes.h).

This macro converts four-letter tags which are used to label TrueType tables into an unsigned long to be used within FreeType.


note
-

The produced values must be 32bit integers. Don't redefine this macro.

+

The produced values must be 32-bit integers. Don't redefine this macro.


diff --git a/Build/source/libs/freetype2/docs/reference/ft2-bdf_fonts.html b/Build/source/libs/freetype2/docs/reference/ft2-bdf_fonts.html index 13bab8f672f..8c0a4f9ea54 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-bdf_fonts.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-bdf_fonts.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

-BDF Files +BDF and PCF Files

Synopsis

@@ -43,7 +47,7 @@ BDF Files


-

This section contains the declaration of BDF specific functions.

+

This section contains the declaration of functions specific to BDF and PCF fonts.


FT_PropertyType

@@ -69,7 +73,7 @@ Defined in FT_BDF_H (freetype/ftbdf.h).

BDF_PROPERTY_TYPE_NONE -

Value 0 is used to indicate a missing property.

+

Value 0 is used to indicate a missing property.

BDF_PROPERTY_TYPE_ATOM

Property is a string atom.

@@ -169,7 +173,7 @@ Defined in FT_BDF_H (freetype/ftbdf.h).

-

Retrieves a BDF font character set identity, according to the BDF specification.

+

Retrieve a BDF font character set identity, according to the BDF specification.


input

@@ -183,15 +187,15 @@ Defined in FT_BDF_H (freetype/ftbdf.h).

acharset_encoding -

Charset encoding, as a C string, owned by the face.

+

Charset encoding, as a C string, owned by the face.

acharset_registry -

Charset registry, as a C string, owned by the face.

+

Charset registry, as a C string, owned by the face.

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

This function only works with BDF faces, returning an error otherwise.

@@ -216,7 +220,7 @@ Defined in FT_BDF_H (freetype/ftbdf.h).

-

Retrieves a BDF property from a BDF or PCF font file.

+

Retrieve a BDF property from a BDF or PCF font file.


input

@@ -238,7 +242,7 @@ Defined in FT_BDF_H (freetype/ftbdf.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

This function works with BDF and PCF fonts. It returns an error otherwise. It also returns an error if the property is not in the font.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-bitmap_handling.html b/Build/source/libs/freetype2/docs/reference/ft2-bitmap_handling.html index c22c059da48..1258df40d20 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-bitmap_handling.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-bitmap_handling.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Bitmap Handling @@ -87,7 +91,7 @@ Defined in FT_BITMAP_H (freetype/ftbitmap.h).


-

Copies an bitmap into another one.

+

Copy a bitmap into another one.


input

@@ -109,7 +113,7 @@ Defined in FT_BITMAP_H (freetype/ftbitmap.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -157,10 +161,10 @@ Defined in FT_BITMAP_H (freetype/ftbitmap.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note
-

The current implementation restricts ‘xStrength’ to be less than or equal to 8 if bitmap is of pixel_mode FT_PIXEL_MODE_MONO.

+

The current implementation restricts ‘xStrength’ to be less than or equal to 8 if bitmap is of pixel_mode FT_PIXEL_MODE_MONO.

If you want to embolden the bitmap owned by a FT_GlyphSlotRec, you should call ‘FT_GlyphSlot_Own_Bitmap’ on the slot first.

@@ -209,7 +213,7 @@ Defined in FT_BITMAP_H (freetype/ftbitmap.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

It is possible to call FT_Bitmap_Convert multiple times without calling FT_Bitmap_Done (the memory is simply reallocated).

@@ -249,7 +253,7 @@ Defined in FT_BITMAP_H (freetype/ftbitmap.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The ‘library’ argument is taken to have access to FreeType's memory handling functions.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-cache_subsystem.html b/Build/source/libs/freetype2/docs/reference/ft2-cache_subsystem.html index 0bce860500f..bcd595e2c5d 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-cache_subsystem.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-cache_subsystem.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Cache Sub-System @@ -55,7 +59,7 @@ Cache Sub-System



-

This section describes the FreeType 2 cache sub-system, which is used to limit the number of concurrently opened FT_Face and FT_Size objects, as well as caching information like character maps and glyph images while limiting their maximum memory usage.

+

This section describes the FreeType 2 cache sub-system, which is used to limit the number of concurrently opened FT_Face and FT_Size objects, as well as caching information like character maps and glyph images while limiting their maximum memory usage.

Note that all types and functions begin with the ‘FTC_’ prefix.

The cache is highly portable and thus doesn't know anything about the fonts installed on your system, or how to access them. This implies the following scheme:

First, available or installed font faces are uniquely identified by FTC_FaceID values, provided to the cache by the client. Note that the cache only stores and compares these values, and doesn't try to interpret them in any way.

@@ -157,7 +161,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The third parameter ‘req_data’ is the same as the one passed by the client when FTC_Manager_New is called.

@@ -180,7 +184,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).

-

An opaque handle to a cache node object. Each cache node is reference-counted. A node with a count of 0 might be flushed out of a full cache whenever a lookup request is performed.

+

An opaque handle to a cache node object. Each cache node is reference-counted. A node with a count of 0 might be flushed out of a full cache whenever a lookup request is performed.

If you lookup nodes, you have the ability to ‘acquire’ them, i.e., to increment their reference count. This will prevent the node from being flushed out of the cache until you explicitly ‘release’ it (see FTC_Node_Unref).

See also FTC_SBitCache_Lookup and FTC_ImageCache_Lookup.


@@ -208,7 +212,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
-

Creates a new cache manager.

+

Create a new cache manager.


input

@@ -217,13 +221,13 @@ Defined in FT_CACHE_H (freetype/ftcache.h).

The parent FreeType library handle to use.

max_faces -

Maximum number of opened FT_Face objects managed by this cache instance. Use 0 for defaults.

+

Maximum number of opened FT_Face objects managed by this cache instance. Use 0 for defaults.

max_sizes -

Maximum number of opened FT_Size objects managed by this cache instance. Use 0 for defaults.

+

Maximum number of opened FT_Size objects managed by this cache instance. Use 0 for defaults.

max_bytes -

Maximum number of bytes to use for cached data nodes. Use 0 for defaults. Note that this value does not account for managed FT_Face and FT_Size objects.

+

Maximum number of bytes to use for cached data nodes. Use 0 for defaults. Note that this value does not account for managed FT_Face and FT_Size objects.

requester

An application-provided callback used to translate face IDs into real FT_Face objects.

@@ -237,12 +241,12 @@ Defined in FT_CACHE_H (freetype/ftcache.h).

amanager -

A handle to a new manager object. 0 in case of failure.

+

A handle to a new manager object. 0 in case of failure.

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -262,7 +266,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
-

Empties a given cache manager. This simply gets rid of all the currently cached FT_Face and FT_Size objects within the manager.

+

Empty a given cache manager. This simply gets rid of all the currently cached FT_Face and FT_Size objects within the manager.


inout

@@ -290,7 +294,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).

-

Destroys a given manager after emptying it.

+

Destroy a given manager after emptying it.


input

@@ -320,7 +324,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).

-

Retrieves the FT_Face object that corresponds to a given face ID through a cache manager.

+

Retrieve the FT_Face object that corresponds to a given face ID through a cache manager.


input

@@ -342,7 +346,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The returned FT_Face object is always owned by the manager. You should never try to discard it yourself.

@@ -395,10 +399,10 @@ Defined in FT_CACHE_H (freetype/ftcache.h).

A Boolean. If 1, the ‘width’ and ‘height’ fields are interpreted as integer pixel character sizes. Otherwise, they are expressed as 1/64th of points.

x_res -

Only used when ‘pixel’ is value 0 to indicate the horizontal resolution in dpi.

+

Only used when ‘pixel’ is value 0 to indicate the horizontal resolution in dpi.

y_res -

Only used when ‘pixel’ is value 0 to indicate the vertical resolution in dpi.

+

Only used when ‘pixel’ is value 0 to indicate the vertical resolution in dpi.

@@ -466,7 +470,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The returned FT_Size object is always owned by the manager. You should never try to discard it by yourself.

@@ -601,7 +605,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

Like all other caches, this one will be destroyed with the cache manager.

@@ -647,7 +651,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
return
-

Glyph index. 0 means ‘no glyph’.

+

Glyph index. 0 means ‘no glyph’.


@@ -749,7 +753,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
-

Creates a new glyph image cache.

+

Create a new glyph image cache.


input

@@ -768,7 +772,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -792,7 +796,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
-

Retrieves a given glyph image from a glyph image cache.

+

Retrieve a given glyph image from a glyph image cache.


input

@@ -812,7 +816,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).

aglyph -

The corresponding FT_Glyph object. 0 in case of failure.

+

The corresponding FT_Glyph object. 0 in case of failure.

anode

Used to return the address of of the corresponding cache node after incrementing its reference count (see note below).

@@ -820,7 +824,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The returned glyph is owned and managed by the glyph image cache. Never try to transform or discard it manually! You can however create a copy with FT_Glyph_Copy and modify the new one.

@@ -873,7 +877,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).

aglyph -

The corresponding FT_Glyph object. 0 in case of failure.

+

The corresponding FT_Glyph object. 0 in case of failure.

anode

Used to return the address of of the corresponding cache node after incrementing its reference count (see note below).

@@ -881,7 +885,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The returned glyph is owned and managed by the glyph image cache. Never try to transform or discard it manually! You can however create a copy with FT_Glyph_Copy and modify the new one.

@@ -954,13 +958,13 @@ Defined in FT_CACHE_H (freetype/ftcache.h).

The horizontal distance from the pen position to the left bitmap border (a.k.a. ‘left side bearing’, or ‘lsb’).

top -

The vertical distance from the pen position (on the baseline) to the upper bitmap border (a.k.a. ‘top side bearing’). The distance is positive for upwards Y coordinates.

+

The vertical distance from the pen position (on the baseline) to the upper bitmap border (a.k.a. ‘top side bearing’). The distance is positive for upwards y coordinates.

format

The format of the glyph bitmap (monochrome or gray).

max_grays -

Maximum gray level value (in the range 1 to 255).

+

Maximum gray level value (in the range 1 to 255).

pitch

The number of bytes per bitmap line. May be positive or negative.

@@ -1014,7 +1018,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).

-

Creates a new cache to store small glyph bitmaps.

+

Create a new cache to store small glyph bitmaps.


input

@@ -1033,7 +1037,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -1057,7 +1061,7 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
-

Looks up a given small glyph bitmap in a given sbit cache and ‘lock’ it to prevent its flushing from the cache until needed.

+

Look up a given small glyph bitmap in a given sbit cache and ‘lock’ it to prevent its flushing from the cache until needed.


input

@@ -1085,11 +1089,11 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The small bitmap descriptor and its bit buffer are owned by the cache and should never be freed by the application. They might as well disappear from memory on the next cache lookup, so don't treat them as persistent data.

-

The descriptor's ‘buffer’ field is set to 0 to indicate a missing glyph bitmap.

+

The descriptor's ‘buffer’ field is set to 0 to indicate a missing glyph bitmap.

If ‘anode’ is not NULL, it receives the address of the cache node containing the bitmap, after increasing its reference count. This ensures that the node (as well as the image) will always be kept in the cache until you call FTC_Node_Unref to ‘release’ it.

If ‘anode’ is NULL, the cache node is left unchanged, which means that the bitmap could be flushed out of the cache on the next call to one of the caching sub-system APIs. Don't assume that it is persistent!

@@ -1147,11 +1151,11 @@ Defined in FT_CACHE_H (freetype/ftcache.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The small bitmap descriptor and its bit buffer are owned by the cache and should never be freed by the application. They might as well disappear from memory on the next cache lookup, so don't treat them as persistent data.

-

The descriptor's ‘buffer’ field is set to 0 to indicate a missing glyph bitmap.

+

The descriptor's ‘buffer’ field is set to 0 to indicate a missing glyph bitmap.

If ‘anode’ is not NULL, it receives the address of the cache node containing the bitmap, after increasing its reference count. This ensures that the node (as well as the image) will always be kept in the cache until you call FTC_Node_Unref to ‘release’ it.

If ‘anode’ is NULL, the cache node is left unchanged, which means that the bitmap could be flushed out of the cache on the next call to one of the caching sub-system APIs. Don't assume that it is persistent!

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-cid_fonts.html b/Build/source/libs/freetype2/docs/reference/ft2-cid_fonts.html index e94f2f67e3c..392e66aa936 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-cid_fonts.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-cid_fonts.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

CID Fonts @@ -73,10 +77,10 @@ Defined in FT_CID_H (freetype/ftcid.h).

registry -

The registry, as a C string, owned by the face.

+

The registry, as a C string, owned by the face.

ordering -

The ordering, as a C string, owned by the face.

+

The ordering, as a C string, owned by the face.

supplement

The supplement.

@@ -84,7 +88,7 @@ Defined in FT_CID_H (freetype/ftcid.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

This function only works with CID faces, returning an error otherwise.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-computations.html b/Build/source/libs/freetype2/docs/reference/ft2-computations.html index de051048c17..62e3c1d6cf5 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-computations.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-computations.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Computations @@ -160,7 +164,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

The result of ‘(a*0x10000)/b’.

note
-

The optimization for FT_DivFix() is simple: If (a << 16) fits in 32 bits, then the division is computed directly. Otherwise, we use a specialized version of FT_MulDiv.

+

The optimization for FT_DivFix() is simple: If (a << 16) fits in 32 bits, then the division is computed directly. Otherwise, we use a specialized version of FT_MulDiv.


@@ -314,7 +318,7 @@ Defined in FT_GLYPH_H (freetype/ftglyph.h).
-

Performs the matrix operation ‘b = a*b’.

+

Perform the matrix operation ‘b = a*b’.


input

@@ -353,7 +357,7 @@ Defined in FT_GLYPH_H (freetype/ftglyph.h).

-

Inverts a 2x2 matrix. Returns an error if it can't be inverted.

+

Invert a 2x2 matrix. Return an error if it can't be inverted.


inout

@@ -364,7 +368,7 @@ Defined in FT_GLYPH_H (freetype/ftglyph.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


diff --git a/Build/source/libs/freetype2/docs/reference/ft2-font_formats.html b/Build/source/libs/freetype2/docs/reference/ft2-font_formats.html index d1ef02b2119..150eb8f7fc4 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-font_formats.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-font_formats.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Font Formats @@ -56,7 +60,7 @@ Defined in FT_XFREE86_H (freetype/ftxf86.h).
-

Return a string describing the format of a given face, using values which can be used as an X11 FONT_PROPERTY. Possible values are ‘TrueType’, ‘Type 1’, ‘BDF’, ‘PCF’, ‘Type 42’, ‘CID Type 1’, ‘CFF’, ‘PFR’, and ‘Windows FNT’.

+

Return a string describing the format of a given face, using values which can be used as an X11 FONT_PROPERTY. Possible values are ‘TrueType’, ‘Type 1’, ‘BDF’, ‘PCF’, ‘Type 42’, ‘CID Type 1’, ‘CFF’, ‘PFR’, and ‘Windows FNT’.


input

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-gasp_table.html b/Build/source/libs/freetype2/docs/reference/ft2-gasp_table.html index 3d547929e1a..8229e0b5414 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-gasp_table.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-gasp_table.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Gasp Table @@ -42,7 +46,7 @@ Gasp Table



-

The function FT_Get_Gasp can be used to query a TrueType or OpenType font for specific entries in their ‘gasp’ table, if any. This is mainly useful when implementing native TrueType hinting with the bytecode interpreter to duplicate the Windows text rendering results.

+

The function FT_Get_Gasp can be used to query a TrueType or OpenType font for specific entries in its ‘gasp’ table, if any. This is mainly useful when implementing native TrueType hinting with the bytecode interpreter to duplicate the Windows text rendering results.


FT_GASP_XXX

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-glyph_management.html b/Build/source/libs/freetype2/docs/reference/ft2-glyph_management.html index aff9422621c..8890429a49f 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-glyph_management.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-glyph_management.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Glyph Management @@ -162,7 +166,7 @@ Defined in FT_GLYPH_H (freetype/ftglyph.h).

The left-side bearing, i.e., the horizontal distance from the current pen position to the left border of the glyph bitmap.

top -

The top-side bearing, i.e., the vertical distance from the current pen position to the top border of the glyph bitmap. This distance is positive for upwards-y!

+

The top-side bearing, i.e., the vertical distance from the current pen position to the top border of the glyph bitmap. This distance is positive for upwards y!

bitmap

A descriptor for the bitmap.

@@ -270,7 +274,7 @@ Defined in FT_GLYPH_H (freetype/ftglyph.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -305,12 +309,12 @@ Defined in FT_GLYPH_H (freetype/ftglyph.h).

target -

A handle to the target glyph object. 0 in case of error.

+

A handle to the target glyph object. 0 in case of error.

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -332,7 +336,7 @@ Defined in FT_GLYPH_H (freetype/ftglyph.h).
-

Transforms a glyph image if its format is scalable.

+

Transform a glyph image if its format is scalable.


inout

@@ -494,7 +498,7 @@ Defined in FT_GLYPH_H (freetype/ftglyph.h).
note
-

Coordinates are relative to the glyph origin, using the Y-upwards convention.

+

Coordinates are relative to the glyph origin, using the y upwards convention.

If the glyph has been loaded with FT_LOAD_NO_SCALE, ‘bbox_mode’ must be set to FT_GLYPH_BBOX_UNSCALED to get unscaled font units in 26.6 pixel format. The value FT_GLYPH_BBOX_SUBPIXELS is another name for this constant.

Note that the maximum coordinates are exclusive, which means that one can compute the width and height of the glyph image (be it in integer or 26.6 pixels) as:

@@ -532,7 +536,7 @@ Defined in FT_GLYPH_H (freetype/ftglyph.h).
 
 

-

Converts a given glyph object to a bitmap glyph object.

+

Convert a given glyph object to a bitmap glyph object.


inout

@@ -549,7 +553,7 @@ Defined in FT_GLYPH_H (freetype/ftglyph.h).

An enumeration that describe how the data is rendered.

origin -

A pointer to a vector used to translate the glyph image before rendering. Can be 0 (if no translation). The origin is expressed in 26.6 pixels.

+

A pointer to a vector used to translate the glyph image before rendering. Can be 0 (if no translation). The origin is expressed in 26.6 pixels.

destroy

A boolean that indicates that the original glyph image should be destroyed by this function. It is never destroyed in case of error.

@@ -557,7 +561,7 @@ Defined in FT_GLYPH_H (freetype/ftglyph.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The glyph image is translated with the ‘origin’ vector before rendering.

@@ -613,7 +617,7 @@ Defined in FT_GLYPH_H (freetype/ftglyph.h).

-

Destroys a given glyph.

+

Destroy a given glyph.


input

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-glyph_stroker.html b/Build/source/libs/freetype2/docs/reference/ft2-glyph_stroker.html index 7e16d603333..98c799861aa 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-glyph_stroker.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-glyph_stroker.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Glyph Stroker @@ -292,7 +296,7 @@ Defined in FT_STROKER_H (freetype/ftstroke.h).

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -401,16 +405,16 @@ Defined in FT_STROKER_H (freetype/ftstroke.h).

The source outline.

opened -

A boolean. If 1, the outline is treated as an open path instead of a closed one.

+

A boolean. If 1, the outline is treated as an open path instead of a closed one.

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note
-

If ‘opened’ is 0 (the default), the outline is treated as a closed path, and the stroker will generate two distinct ‘border’ outlines.

-

If ‘opened’ is 1, the outline is processed as an open path, and the stroker will generate a single ‘stroke’ outline.

+

If ‘opened’ is 0 (the default), the outline is treated as a closed path, and the stroker will generate two distinct ‘border’ outlines.

+

If ‘opened’ is 1, the outline is processed as an open path, and the stroker will generate a single ‘stroke’ outline.

This function calls FT_Stroker_Rewind automatically.

@@ -445,12 +449,12 @@ Defined in FT_STROKER_H (freetype/ftstroke.h).

A pointer to the start vector.

open -

A boolean. If 1, the sub-path is treated as an open one.

+

A boolean. If 1, the sub-path is treated as an open one.

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

This function is useful when you need to stroke a path that is not stored as an FT_Outline object.

@@ -484,7 +488,7 @@ Defined in FT_STROKER_H (freetype/ftstroke.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

You should call this function after FT_Stroker_BeginSubPath. If the subpath was not ‘opened’, this function will ‘draw’ a single line segment to the start position when needed.

@@ -522,7 +526,7 @@ Defined in FT_STROKER_H (freetype/ftstroke.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

You should call this function between FT_Stroker_BeginSubPath and FT_Stroker_EndSubPath.

@@ -564,7 +568,7 @@ Defined in FT_STROKER_H (freetype/ftstroke.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

You should call this function between FT_Stroker_BeginSubPath and FT_Stroker_EndSubPath.

@@ -610,7 +614,7 @@ Defined in FT_STROKER_H (freetype/ftstroke.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

You should call this function between FT_Stroker_BeginSubPath and FT_Stroker_EndSubPath.

@@ -661,7 +665,7 @@ Defined in FT_STROKER_H (freetype/ftstroke.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

When an outline, or a sub-path, is ‘closed’, the stroker generates two independent ‘border’ outlines, named ‘left’ and ‘right’.

@@ -753,7 +757,7 @@ Defined in FT_STROKER_H (freetype/ftstroke.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -853,12 +857,12 @@ Defined in FT_STROKER_H (freetype/ftstroke.h).

A stroker handle.

destroy -

A Boolean. If 1, the source glyph object is destroyed on success.

+

A Boolean. If 1, the source glyph object is destroyed on success.

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The source glyph is untouched in case of error.

@@ -901,15 +905,15 @@ Defined in FT_STROKER_H (freetype/ftstroke.h).

A stroker handle.

inside -

A Boolean. If 1, return the inside border, otherwise the outside border.

+

A Boolean. If 1, return the inside border, otherwise the outside border.

destroy -

A Boolean. If 1, the source glyph object is destroyed on success.

+

A Boolean. If 1, the source glyph object is destroyed on success.

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The source glyph is untouched in case of error.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-glyph_variants.html b/Build/source/libs/freetype2/docs/reference/ft2-glyph_variants.html index e51ea1fd27e..0a2c932e2cf 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-glyph_variants.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-glyph_variants.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Glyph Variants @@ -45,8 +49,8 @@ Glyph Variants

Many CJK characters have variant forms. They are a sort of grey area somewhere between being totally irrelevant and semantically distinct; for this reason, the Unicode consortium decided to introduce Ideographic Variation Sequences (IVS), consisting of a Unicode base character and one of 240 variant selectors (U+E0100-U+E01EF), instead of further extending the already huge code range for CJK characters.

-

An IVS is registered and unique; for further details please refer to Unicode Technical Report #37, the Ideographic Variation Database. To date (October 2007), the character with the most variants is U+908A, having 8 such IVS.

-

Adobe and MS decided to support IVS with a new cmap subtable (format 14). It is an odd subtable because it is not a mapping of input code points to glyphs, but contains lists of all variants supported by the font.

+

An IVS is registered and unique; for further details please refer to Unicode Technical Report #37, the Ideographic Variation Database. To date (October 2007), the character with the most variants is U+908A, having 8 such IVS.

+

Adobe and MS decided to support IVS with a new cmap subtable (format 14). It is an odd subtable because it is not a mapping of input code points to glyphs, but contains lists of all variants supported by the font.

A variant may be either ‘default’ or ‘non-default’. A default variant is the one you will get for that code point if you look it up in the standard Unicode cmap. A non-default variant is a different glyph.


@@ -80,10 +84,10 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

return
-

The glyph index. 0 means either ‘undefined character code’, or ‘undefined selector code’, or ‘no variation selector cmap subtable’, or ‘current CharMap is not Unicode’.

+

The glyph index. 0 means either ‘undefined character code’, or ‘undefined selector code’, or ‘no variation selector cmap subtable’, or ‘current CharMap is not Unicode’.

note
-

If you use FreeType to manipulate the contents of font files directly, be aware that the glyph index returned by this function doesn't always correspond to the internal indices used within the file. This is done to ensure that value 0 always corresponds to the ‘missing glyph’.

+

If you use FreeType to manipulate the contents of font files directly, be aware that the glyph index returned by this function doesn't always correspond to the internal indices used within the file. This is done to ensure that value 0 always corresponds to the ‘missing glyph’.

This function is only meaningful if a) the font has a variation selector cmap sub table, and b) the current charmap has a Unicode encoding.

since
@@ -126,7 +130,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

1 if found in the standard (Unicode) cmap, 0 if found in the variation selector cmap, or -1 if it is not a variant.

+

1 if found in the standard (Unicode) cmap, 0 if found in the variation selector cmap, or -1 if it is not a variant.

note

This function is only meaningful if the font has a variation selector cmap subtable.

@@ -166,7 +170,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

A pointer to an array of selector code points, or NULL if there is no valid variant selector cmap subtable.

note
-

The last item in the array is 0; the array is owned by the FT_Face object but can be overwritten or released on the next call to a FreeType function.

+

The last item in the array is 0; the array is owned by the FT_Face object but can be overwritten or released on the next call to a FreeType function.

since

2.3.6

@@ -207,7 +211,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

A pointer to an array of variant selector code points which are active for the given character, or NULL if the corresponding list is empty.

note
-

The last item in the array is 0; the array is owned by the FT_Face object but can be overwritten or released on the next call to a FreeType function.

+

The last item in the array is 0; the array is owned by the FT_Face object but can be overwritten or released on the next call to a FreeType function.

since

2.3.6

@@ -248,7 +252,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).

A list of all the code points which are specified by this selector (both default and non-default codes are returned) or NULL if there is no valid cmap or the variant selector is invalid.

note
-

The last item in the array is 0; the array is owned by the FT_Face object but can be overwritten or released on the next call to a FreeType function.

+

The last item in the array is 0; the array is owned by the FT_Face object but can be overwritten or released on the next call to a FreeType function.

since

2.3.6

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-gx_validation.html b/Build/source/libs/freetype2/docs/reference/ft2-gx_validation.html index 611e0e68aca..e65bda08502 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-gx_validation.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-gx_validation.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

TrueTypeGX/AAT Validation @@ -182,7 +186,7 @@ Defined in FT_GX_VALIDATE_H (freetype/ftgxval.h).

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

This function only works with TrueTypeGX fonts, returning an error otherwise.

@@ -279,8 +283,8 @@ Defined in FT_GX_VALIDATE_H (freetype/ftgxval.h).

-

Validate classic (16bit format) kern table to assure that the offsets and indices are valid. The idea is that a higher-level library which actually does the text layout can access those tables without error checking (which can be quite time consuming).

-

The ‘kern’ table validator in FT_TrueTypeGX_Validate deals with both the new 32bit format and the classic 16bit format, while FT_ClassicKern_Validate only supports the classic 16bit format.

+

Validate classic (16-bit format) kern table to assure that the offsets and indices are valid. The idea is that a higher-level library which actually does the text layout can access those tables without error checking (which can be quite time consuming).

+

The ‘kern’ table validator in FT_TrueTypeGX_Validate deals with both the new 32-bit format and the classic 16-bit format, while FT_ClassicKern_Validate only supports the classic 16-bit format.


input

@@ -302,7 +306,7 @@ Defined in FT_GX_VALIDATE_H (freetype/ftgxval.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

After use, the application should deallocate the buffers pointed to by ‘ckern_table’, by calling FT_ClassicKern_Free. A NULL value indicates that the table doesn't exist in the font.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-gzip.html b/Build/source/libs/freetype2/docs/reference/ft2-gzip.html index e1dbf27aa38..142aff79c4c 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-gzip.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-gzip.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

GZIP Streams @@ -71,7 +75,7 @@ Defined in FT_GZIP_H (freetype/ftgzip.h).

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The source stream must be opened before calling this function.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-header_file_macros.html b/Build/source/libs/freetype2/docs/reference/ft2-header_file_macros.html index 33905e9781f..d6fadbf21da 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-header_file_macros.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-header_file_macros.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Header File Macros @@ -64,14 +68,14 @@ Header File Macros



-

The following macros are defined to the name of specific FreeType 2 header files. They can be used directly in #include statements as in:

+

The following macros are defined to the name of specific FreeType 2 header files. They can be used directly in #include statements as in:

   #include FT_FREETYPE_H                                           
   #include FT_MULTIPLE_MASTERS_H                                   
   #include FT_GLYPH_H                                              
 
-

There are several reasons why we are now using macros to name public header files. The first one is that such macros are not limited to the infamous 8.3 naming rule required by DOS (and ‘FT_MULTIPLE_MASTERS_H’ is a lot more meaningful than ‘ftmm.h’).

-

The second reason is that it allows for more flexibility in the way FreeType 2 is installed on a given system.

+

There are several reasons why we are now using macros to name public header files. The first one is that such macros are not limited to the infamous 8.3 naming rule required by DOS (and ‘FT_MULTIPLE_MASTERS_H’ is a lot more meaningful than ‘ftmm.h’).

+

The second reason is that it allows for more flexibility in the way FreeType 2 is installed on a given system.


FT_CONFIG_CONFIG_H

@@ -83,7 +87,7 @@ Header File Macros

-

A macro used in #include statements to name the file containing FreeType 2 configuration data.

+

A macro used in #include statements to name the file containing FreeType 2 configuration data.



@@ -101,7 +105,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing FreeType 2 interface to the standard C library functions.

+

A macro used in #include statements to name the file containing FreeType 2 interface to the standard C library functions.



@@ -119,7 +123,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing FreeType 2 project-specific configuration options.

+

A macro used in #include statements to name the file containing FreeType 2 project-specific configuration options.



@@ -137,7 +141,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the list of FreeType 2 modules that are statically linked to new library instances in FT_Init_FreeType.

+

A macro used in #include statements to name the file containing the list of FreeType 2 modules that are statically linked to new library instances in FT_Init_FreeType.



@@ -153,7 +157,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the base FreeType 2 API.

+

A macro used in #include statements to name the file containing the base FreeType 2 API.



@@ -169,7 +173,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the list of FreeType 2 error codes (and messages).

+

A macro used in #include statements to name the file containing the list of FreeType 2 error codes (and messages).

It is included by FT_FREETYPE_H.


@@ -186,7 +190,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the list of FreeType 2 module error offsets (and messages).

+

A macro used in #include statements to name the file containing the list of FreeType 2 module error offsets (and messages).



@@ -202,7 +206,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the FreeType 2 interface to low-level operations (i.e., memory management and stream i/o).

+

A macro used in #include statements to name the file containing the FreeType 2 interface to low-level operations (i.e., memory management and stream i/o).

It is included by FT_FREETYPE_H.


@@ -236,7 +240,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the basic data types defined by FreeType 2.

+

A macro used in #include statements to name the file containing the basic data types defined by FreeType 2.

It is included by FT_FREETYPE_H.


@@ -253,7 +257,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the list management API of FreeType 2.

+

A macro used in #include statements to name the file containing the list management API of FreeType 2.

(Most applications will never need to include this file.)


@@ -270,7 +274,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the scalable outline management API of FreeType 2.

+

A macro used in #include statements to name the file containing the scalable outline management API of FreeType 2.



@@ -302,7 +306,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the module management API of FreeType 2.

+

A macro used in #include statements to name the file containing the module management API of FreeType 2.



@@ -318,7 +322,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the renderer module management API of FreeType 2.

+

A macro used in #include statements to name the file containing the renderer module management API of FreeType 2.



@@ -334,7 +338,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the types and API specific to the Type 1 format.

+

A macro used in #include statements to name the file containing the types and API specific to the Type 1 format.



@@ -526,7 +530,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the API of the optional FreeType 2 cache sub-system.

+

A macro used in #include statements to name the file containing the API of the optional FreeType 2 cache sub-system.



@@ -542,7 +546,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the ‘glyph image’ API of the FreeType 2 cache sub-system.

+

A macro used in #include statements to name the file containing the ‘glyph image’ API of the FreeType 2 cache sub-system.

It is used to define a cache for FT_Glyph elements. You can also use the API defined in FT_CACHE_SMALL_BITMAPS_H if you only need to store small glyph bitmaps, as it will use less memory.

This macro is deprecated. Simply include FT_CACHE_H to have all glyph image-related cache declarations.


@@ -560,7 +564,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the ‘small bitmaps’ API of the FreeType 2 cache sub-system.

+

A macro used in #include statements to name the file containing the ‘small bitmaps’ API of the FreeType 2 cache sub-system.

It is used to define a cache for small glyph bitmaps in a relatively memory-efficient way. You can also use the API defined in FT_CACHE_IMAGE_H if you want to cache arbitrary glyph images, including scalable outlines.

This macro is deprecated. Simply include FT_CACHE_H to have all small bitmaps-related cache declarations.


@@ -578,7 +582,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the ‘charmap’ API of the FreeType 2 cache sub-system.

+

A macro used in #include statements to name the file containing the ‘charmap’ API of the FreeType 2 cache sub-system.

This macro is deprecated. Simply include FT_CACHE_H to have all charmap-based cache declarations.


@@ -595,7 +599,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the Macintosh-specific FreeType 2 API. The latter is used to access fonts embedded in resource forks.

+

A macro used in #include statements to name the file containing the Macintosh-specific FreeType 2 API. The latter is used to access fonts embedded in resource forks.

This header file must be explicitly included by client applications compiled on the Mac (note that the base API still works though).


@@ -612,7 +616,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the optional multiple-masters management API of FreeType 2.

+

A macro used in #include statements to name the file containing the optional multiple-masters management API of FreeType 2.



@@ -628,7 +632,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the optional FreeType 2 API which accesses embedded ‘name’ strings in SFNT-based font formats (i.e., TrueType and OpenType).

+

A macro used in #include statements to name the file containing the optional FreeType 2 API which accesses embedded ‘name’ strings in SFNT-based font formats (i.e., TrueType and OpenType).



@@ -644,7 +648,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the optional FreeType 2 API which validates OpenType tables (BASE, GDEF, GPOS, GSUB, JSTF).

+

A macro used in #include statements to name the file containing the optional FreeType 2 API which validates OpenType tables (BASE, GDEF, GPOS, GSUB, JSTF).



@@ -660,7 +664,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the optional FreeType 2 API which validates TrueTypeGX/AAT tables (feat, mort, morx, bsln, just, kern, opbd, trak, prop).

+

A macro used in #include statements to name the file containing the optional FreeType 2 API which validates TrueTypeGX/AAT tables (feat, mort, morx, bsln, just, kern, opbd, trak, prop).



@@ -676,7 +680,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the FreeType 2 API which accesses PFR-specific data.

+

A macro used in #include statements to name the file containing the FreeType 2 API which accesses PFR-specific data.



@@ -692,7 +696,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the FreeType 2 API which provides functions to stroke outline paths.

+

A macro used in #include statements to name the file containing the FreeType 2 API which provides functions to stroke outline paths.



@@ -708,7 +712,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the FreeType 2 API which performs artificial obliquing and emboldening.

+

A macro used in #include statements to name the file containing the FreeType 2 API which performs artificial obliquing and emboldening.



@@ -724,7 +728,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the FreeType 2 API which provides functions specific to the XFree86 and X.Org X11 servers.

+

A macro used in #include statements to name the file containing the FreeType 2 API which provides functions specific to the XFree86 and X.Org X11 servers.



@@ -740,7 +744,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the FreeType 2 API which performs trigonometric computations (e.g., cosines and arc tangents).

+

A macro used in #include statements to name the file containing the FreeType 2 API which performs trigonometric computations (e.g., cosines and arc tangents).



@@ -756,7 +760,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the FreeType 2 API which performs color filtering for subpixel rendering.

+

A macro used in #include statements to name the file containing the FreeType 2 API which performs color filtering for subpixel rendering.



@@ -772,7 +776,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the FreeType 2 API which performs color filtering for subpixel rendering.

+

A macro used in #include statements to name the file containing the FreeType 2 API which performs color filtering for subpixel rendering.



@@ -788,7 +792,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the FreeType 2 API which performs color filtering for subpixel rendering.

+

A macro used in #include statements to name the file containing the FreeType 2 API which performs color filtering for subpixel rendering.



@@ -804,7 +808,7 @@ Header File Macros
-

A macro used in #include statements to name the file containing the FreeType 2 API which returns entries from the TrueType GASP table.

+

A macro used in #include statements to name the file containing the FreeType 2 API which returns entries from the TrueType GASP table.



diff --git a/Build/source/libs/freetype2/docs/reference/ft2-incremental.html b/Build/source/libs/freetype2/docs/reference/ft2-incremental.html index e438eb113d9..2116a2d8796 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-incremental.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-incremental.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Incremental Loading @@ -47,7 +51,7 @@ Incremental Loading

This section contains various functions used to perform so-called ‘incremental’ glyph loading. This is a mode where all glyphs loaded from a given FT_Face are provided by the client application,

-

Apart from that, all other tables are loaded normally from the font file. This mode is useful when FreeType is used within another engine, e.g., a Postscript Imaging Processor.

+

Apart from that, all other tables are loaded normally from the font file. This mode is useful when FreeType is used within another engine, e.g., a PostScript Imaging Processor.

To enable this mode, you must use FT_Open_Face, passing an FT_Parameter with the FT_PARAM_TAG_INCREMENTAL tag and an FT_Incremental_Interface value. See the comments for FT_Incremental_InterfaceRec for an example.


@@ -61,7 +65,7 @@ Defined in FT_INCREMENTAL_H (freetype/ftincrem.h).

-

An opaque type describing a user-provided object used to implement ‘incremental’ glyph loading within FreeType. This is used to support embedded fonts in certain environments (e.g., Postscript interpreters), where the glyph data isn't in the font file, or must be overridden by different values.

+

An opaque type describing a user-provided object used to implement ‘incremental’ glyph loading within FreeType. This is used to support embedded fonts in certain environments (e.g., PostScript interpreters), where the glyph data isn't in the font file, or must be overridden by different values.


note

It is up to client applications to create and implement FT_Incremental objects, as long as they provide implementations for the methods FT_Incremental_GetGlyphDataFunc, FT_Incremental_FreeGlyphDataFunc and FT_Incremental_GetGlyphMetricsFunc.

@@ -149,7 +153,7 @@ Defined in FT_INCREMENTAL_H (freetype/ftincrem.h).

A function called by FreeType to access a given glyph's data bytes during FT_Load_Glyph or FT_Load_Char if incremental loading is enabled.

-

Note that the format of the glyph's data bytes depends on the font file format. For TrueType, it must correspond to the raw bytes within the ‘glyf’ table. For Postscript formats, it must correspond to the unencrypted charstring bytes, without any ‘lenIV’ header. It is undefined for any other format.

+

Note that the format of the glyph's data bytes depends on the font file format. For TrueType, it must correspond to the raw bytes within the ‘glyf’ table. For PostScript formats, it must correspond to the unencrypted charstring bytes, without any ‘lenIV’ header. It is undefined for any other format.


input

@@ -171,7 +175,7 @@ Defined in FT_INCREMENTAL_H (freetype/ftincrem.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

If this function returns successfully the method FT_Incremental_FreeGlyphDataFunc will be called later to release the data bytes.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-index.html b/Build/source/libs/freetype2/docs/reference/ft2-index.html index d108d0acdda..ce600c54cda 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-index.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-index.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + +
[TOC]
+

FreeType-2.3.7 API Reference

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BDF_PROPERTY_TYPE_ATOMFT_List_FinalizeFT_SUBGLYPH_FLAG_ROUND_XY_TO_GRID
BDF_PROPERTY_TYPE_CARDINALFT_List_FindFT_SUBGLYPH_FLAG_SCALE
BDF_PROPERTY_TYPE_INTEGERFT_List_InsertFT_SUBGLYPH_FLAG_USE_MY_METRICS
BDF_PROPERTY_TYPE_NONEFT_List_IterateFT_SUBGLYPH_FLAG_XXX
BDF_PropertyFT_List_IteratorFT_SUBGLYPH_FLAG_XY_SCALE
BDF_PropertyRecFT_List_RemoveFT_SubGlyph
CID_FaceDictFT_List_UpFT_SYNTHESIS_H
CID_FaceDictRecFT_ListNodeFT_SYSTEM_H
CID_FaceInfoFT_ListNodeRecFT_Tag
CID_FaceInfoRecFT_ListRecFT_Tan
CID_InfoFT_LOAD_CROP_BITMAPFT_TRIGONOMETRY_H
FREETYPE_MAJORFT_LOAD_DEFAULTFT_TRUETYPE_ENGINE_TYPE_NONE
FREETYPE_MINORFT_LOAD_FORCE_AUTOHINTFT_TRUETYPE_ENGINE_TYPE_PATENTED
FREETYPE_PATCHFT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTHFT_TRUETYPE_ENGINE_TYPE_UNPATENTED
FREETYPE_XXXFT_LOAD_IGNORE_TRANSFORMFT_TRUETYPE_IDS_H
FT_Activate_SizeFT_LOAD_LINEAR_DESIGNFT_TRUETYPE_TABLES_H
FT_Add_Default_ModulesFT_LOAD_MONOCHROMEFT_TRUETYPE_TAGS_H
FT_Add_ModuleFT_LOAD_NO_AUTOHINTFT_TrueTypeEngineType
FT_Alloc_FuncFT_LOAD_NO_BITMAPFT_TrueTypeGX_Free
FT_ANGLE_2PIFT_LOAD_NO_HINTINGFT_TrueTypeGX_Validate
FT_ANGLE_PIFT_LOAD_NO_RECURSEFT_TYPE1_TABLES_H
FT_ANGLE_PI2FT_LOAD_NO_SCALEFT_TYPES_H
FT_ANGLE_PI4FT_LOAD_PEDANTICFT_UFWord
FT_AngleFT_LOAD_RENDERFT_UInt
FT_Angle_DiffFT_LOAD_TARGET_LCDFT_UInt16
FT_Atan2FT_LOAD_TARGET_LCD_VFT_UInt32
FT_Attach_FileFT_LOAD_TARGET_LIGHTFT_ULong
FT_Attach_StreamFT_LOAD_TARGET_MODEFT_UNPATENTED_HINTING_H
FT_BBOX_HFT_LOAD_TARGET_MONOFT_UnitVector
FT_BBoxFT_LOAD_TARGET_NORMALFT_UShort
FT_BDF_HFT_LOAD_TARGET_XXXFT_VALIDATE_APPLE
FT_BITMAP_HFT_LOAD_VERTICAL_LAYOUTFT_VALIDATE_BASE
FT_BitmapFT_LOAD_XXXFT_VALIDATE_bsln
FT_Bitmap_ConvertFT_Load_CharFT_VALIDATE_CKERN
FT_Bitmap_CopyFT_Load_GlyphFT_VALIDATE_CKERNXXX
FT_Bitmap_DoneFT_Load_Sfnt_TableFT_VALIDATE_feat
FT_Bitmap_EmboldenFT_LongFT_VALIDATE_GDEF
FT_Bitmap_NewFT_LZW_HFT_VALIDATE_GPOS
FT_Bitmap_SizeFT_MAC_HFT_VALIDATE_GSUB
FT_BitmapGlyphFT_MAKE_TAGFT_VALIDATE_GX
FT_BitmapGlyphRecFT_MatrixFT_VALIDATE_GX_LENGTH
FT_BoolFT_Matrix_InvertFT_VALIDATE_GXXXX
FT_ByteFT_Matrix_MultiplyFT_VALIDATE_JSTF
FT_BytesFT_MemoryFT_VALIDATE_just
FT_CACHE_CHARMAP_HFT_MemoryRecFT_VALIDATE_kern
FT_CACHE_HFT_MM_AxisFT_VALIDATE_lcar
FT_CACHE_IMAGE_HFT_MM_VarFT_VALIDATE_MATH
FT_CACHE_SMALL_BITMAPS_HFT_MODULE_ERRORS_HFT_VALIDATE_MS
FT_CeilFixFT_MODULE_HFT_VALIDATE_mort
FT_CharFT_ModuleFT_VALIDATE_morx
FT_CharMapFT_Module_ClassFT_VALIDATE_OT
FT_CharMapRecFT_Module_ConstructorFT_VALIDATE_OTXXX
FT_CID_HFT_Module_DestructorFT_VALIDATE_opbd
FT_ClassicKern_FreeFT_Module_RequesterFT_VALIDATE_prop
FT_ClassicKern_ValidateFT_MULTIPLE_MASTERS_HFT_VALIDATE_trak
FT_CONFIG_CONFIG_HFT_MulDivFT_Var_Axis
FT_CONFIG_MODULES_HFT_MulFixFT_Var_Named_Style
FT_CONFIG_OPTIONS_HFT_Multi_MasterFT_Vector
FT_CONFIG_STANDARD_LIBRARY_HFT_New_FaceFT_Vector_From_Polar
FT_CosFT_New_Face_From_FONDFT_Vector_Length
FT_DataFT_New_Face_From_FSRefFT_Vector_Polarize
FT_DivFixFT_New_Face_From_FSSpecFT_Vector_Rotate
FT_Done_FaceFT_New_LibraryFT_Vector_Transform
FT_Done_FreeTypeFT_New_Memory_FaceFT_Vector_Unit
FT_Done_GlyphFT_New_SizeFT_WINFONTS_H
FT_Done_LibraryFT_OffsetFT_WinFNT_Header
FT_Done_SizeFT_OPEN_DRIVERFT_WinFNT_HeaderRec
FT_DriverFT_OPEN_MEMORYFT_WinFNT_ID_CP1250
FT_ENC_TAGFT_OPEN_PARAMSFT_WinFNT_ID_CP1251
FT_ENCODING_ADOBE_CUSTOMFT_OPEN_PATHNAMEFT_WinFNT_ID_CP1252
FT_ENCODING_ADOBE_EXPERTFT_OPEN_STREAMFT_WinFNT_ID_CP1253
FT_ENCODING_ADOBE_LATIN_1FT_OPEN_XXXFT_WinFNT_ID_CP1254
FT_ENCODING_ADOBE_STANDARDFT_OPENTYPE_VALIDATE_HFT_WinFNT_ID_CP1255
FT_ENCODING_APPLE_ROMANFT_Open_ArgsFT_WinFNT_ID_CP1256
FT_ENCODING_BIG5FT_Open_FaceFT_WinFNT_ID_CP1257
FT_ENCODING_GB2312FT_OpenType_FreeFT_WinFNT_ID_CP1258
FT_ENCODING_JOHABFT_OpenType_ValidateFT_WinFNT_ID_CP1361
FT_ENCODING_MS_BIG5FT_ORIENTATION_FILL_LEFTFT_WinFNT_ID_CP874
FT_ENCODING_MS_GB2312FT_ORIENTATION_FILL_RIGHTFT_WinFNT_ID_CP932
FT_ENCODING_MS_JOHABFT_ORIENTATION_NONEFT_WinFNT_ID_CP936
FT_ENCODING_MS_SJISFT_ORIENTATION_POSTSCRIPTFT_WinFNT_ID_CP949
FT_ENCODING_MS_SYMBOLFT_ORIENTATION_TRUETYPEFT_WinFNT_ID_CP950
FT_ENCODING_MS_WANSUNGFT_OrientationFT_WinFNT_ID_DEFAULT
FT_ENCODING_NONEFT_OUTLINE_EVEN_ODD_FILLFT_WinFNT_ID_MAC
FT_ENCODING_OLD_LATIN_2FT_OUTLINE_FLAGSFT_WinFNT_ID_OEM
FT_ENCODING_SJISFT_OUTLINE_HFT_WinFNT_ID_SYMBOL
FT_ENCODING_UNICODEFT_OUTLINE_HIGH_PRECISIONFT_WinFNT_ID_XXX
FT_ENCODING_WANSUNGFT_OUTLINE_IGNORE_DROPOUTSFT_XFREE86_H
BDF_PROPERTY_TYPE_ATOMFT_List_FindFT_SUBGLYPH_FLAG_ROUND_XY_TO_GRID
BDF_PROPERTY_TYPE_CARDINALFT_List_InsertFT_SUBGLYPH_FLAG_SCALE
BDF_PROPERTY_TYPE_INTEGERFT_List_IterateFT_SUBGLYPH_FLAG_USE_MY_METRICS
BDF_PROPERTY_TYPE_NONEFT_List_IteratorFT_SUBGLYPH_FLAG_XXX
BDF_PropertyFT_List_RemoveFT_SUBGLYPH_FLAG_XY_SCALE
BDF_PropertyRecFT_List_UpFT_SubGlyph
CID_FaceDictFT_ListNodeFT_SYNTHESIS_H
CID_FaceDictRecFT_ListNodeRecFT_SYSTEM_H
CID_FaceInfoFT_ListRecFT_Tag
CID_FaceInfoRecFT_LOAD_CROP_BITMAPFT_Tan
CID_InfoFT_LOAD_DEFAULTFT_TRIGONOMETRY_H
FREETYPE_MAJORFT_LOAD_FORCE_AUTOHINTFT_TRUETYPE_ENGINE_TYPE_NONE
FREETYPE_MINORFT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTHFT_TRUETYPE_ENGINE_TYPE_PATENTED
FREETYPE_PATCHFT_LOAD_IGNORE_TRANSFORMFT_TRUETYPE_ENGINE_TYPE_UNPATENTED
FREETYPE_XXXFT_LOAD_LINEAR_DESIGNFT_TRUETYPE_IDS_H
FT_Activate_SizeFT_LOAD_MONOCHROMEFT_TRUETYPE_TABLES_H
FT_Add_Default_ModulesFT_LOAD_NO_AUTOHINTFT_TRUETYPE_TAGS_H
FT_Add_ModuleFT_LOAD_NO_BITMAPFT_TrueTypeEngineType
FT_Alloc_FuncFT_LOAD_NO_HINTINGFT_TrueTypeGX_Free
FT_ANGLE_2PIFT_LOAD_NO_RECURSEFT_TrueTypeGX_Validate
FT_ANGLE_PIFT_LOAD_NO_SCALEFT_TYPE1_TABLES_H
FT_ANGLE_PI2FT_LOAD_PEDANTICFT_TYPES_H
FT_ANGLE_PI4FT_LOAD_RENDERFT_UFWord
FT_AngleFT_LOAD_TARGET_LCDFT_UInt
FT_Angle_DiffFT_LOAD_TARGET_LCD_VFT_UInt16
FT_Atan2FT_LOAD_TARGET_LIGHTFT_UInt32
FT_Attach_FileFT_LOAD_TARGET_MODEFT_ULong
FT_Attach_StreamFT_LOAD_TARGET_MONOFT_UNPATENTED_HINTING_H
FT_BBOX_HFT_LOAD_TARGET_NORMALFT_UnitVector
FT_BBoxFT_LOAD_TARGET_XXXFT_UShort
FT_BDF_HFT_LOAD_VERTICAL_LAYOUTFT_VALIDATE_APPLE
FT_BITMAP_HFT_LOAD_XXXFT_VALIDATE_BASE
FT_BitmapFT_Load_CharFT_VALIDATE_bsln
FT_Bitmap_ConvertFT_Load_GlyphFT_VALIDATE_CKERN
FT_Bitmap_CopyFT_Load_Sfnt_TableFT_VALIDATE_CKERNXXX
FT_Bitmap_DoneFT_LongFT_VALIDATE_feat
FT_Bitmap_EmboldenFT_LZW_HFT_VALIDATE_GDEF
FT_Bitmap_NewFT_MAC_HFT_VALIDATE_GPOS
FT_Bitmap_SizeFT_MAKE_TAGFT_VALIDATE_GSUB
FT_BitmapGlyphFT_MatrixFT_VALIDATE_GX
FT_BitmapGlyphRecFT_Matrix_InvertFT_VALIDATE_GX_LENGTH
FT_BoolFT_Matrix_MultiplyFT_VALIDATE_GXXXX
FT_ByteFT_MemoryFT_VALIDATE_JSTF
FT_BytesFT_MemoryRecFT_VALIDATE_just
FT_CACHE_CHARMAP_HFT_MM_AxisFT_VALIDATE_kern
FT_CACHE_HFT_MM_VarFT_VALIDATE_lcar
FT_CACHE_IMAGE_HFT_MODULE_ERRORS_HFT_VALIDATE_MATH
FT_CACHE_SMALL_BITMAPS_HFT_MODULE_HFT_VALIDATE_MS
FT_CeilFixFT_ModuleFT_VALIDATE_mort
FT_CharFT_Module_ClassFT_VALIDATE_morx
FT_CharMapFT_Module_ConstructorFT_VALIDATE_OT
FT_CharMapRecFT_Module_DestructorFT_VALIDATE_OTXXX
FT_CID_HFT_Module_RequesterFT_VALIDATE_opbd
FT_ClassicKern_FreeFT_MULTIPLE_MASTERS_HFT_VALIDATE_prop
FT_ClassicKern_ValidateFT_MulDivFT_VALIDATE_trak
FT_CONFIG_CONFIG_HFT_MulFixFT_Var_Axis
FT_CONFIG_MODULES_HFT_Multi_MasterFT_Var_Named_Style
FT_CONFIG_OPTIONS_HFT_New_FaceFT_Vector
FT_CONFIG_STANDARD_LIBRARY_HFT_New_Face_From_FONDFT_Vector_From_Polar
FT_CosFT_New_Face_From_FSRefFT_Vector_Length
FT_DataFT_New_Face_From_FSSpecFT_Vector_Polarize
FT_DivFixFT_New_LibraryFT_Vector_Rotate
FT_Done_FaceFT_New_Memory_FaceFT_Vector_Transform
FT_Done_FreeTypeFT_New_SizeFT_Vector_Unit
FT_Done_GlyphFT_OffsetFT_WINFONTS_H
FT_Done_LibraryFT_OPEN_DRIVERFT_WinFNT_Header
FT_Done_SizeFT_OPEN_MEMORYFT_WinFNT_HeaderRec
FT_DriverFT_OPEN_PARAMSFT_WinFNT_ID_CP1250
FT_ENC_TAGFT_OPEN_PATHNAMEFT_WinFNT_ID_CP1251
FT_ENCODING_ADOBE_CUSTOMFT_OPEN_STREAMFT_WinFNT_ID_CP1252
FT_ENCODING_ADOBE_EXPERTFT_OPEN_XXXFT_WinFNT_ID_CP1253
FT_ENCODING_ADOBE_LATIN_1FT_OPENTYPE_VALIDATE_HFT_WinFNT_ID_CP1254
FT_ENCODING_ADOBE_STANDARDFT_Open_ArgsFT_WinFNT_ID_CP1255
FT_ENCODING_APPLE_ROMANFT_Open_FaceFT_WinFNT_ID_CP1256
FT_ENCODING_BIG5FT_OpenType_FreeFT_WinFNT_ID_CP1257
FT_ENCODING_GB2312FT_OpenType_ValidateFT_WinFNT_ID_CP1258
FT_ENCODING_JOHABFT_ORIENTATION_FILL_LEFTFT_WinFNT_ID_CP1361
FT_ENCODING_MS_BIG5FT_ORIENTATION_FILL_RIGHTFT_WinFNT_ID_CP874
FT_ENCODING_MS_GB2312FT_ORIENTATION_NONEFT_WinFNT_ID_CP932
FT_ENCODING_MS_JOHABFT_ORIENTATION_POSTSCRIPTFT_WinFNT_ID_CP936
FT_ENCODING_MS_SJISFT_ORIENTATION_TRUETYPEFT_WinFNT_ID_CP949
FT_ENCODING_MS_SYMBOLFT_OrientationFT_WinFNT_ID_CP950
FT_ENCODING_MS_WANSUNGFT_OUTLINE_EVEN_ODD_FILLFT_WinFNT_ID_DEFAULT
FT_ENCODING_NONEFT_OUTLINE_FLAGSFT_WinFNT_ID_MAC
FT_ENCODING_OLD_LATIN_2FT_OUTLINE_HFT_WinFNT_ID_OEM
FT_ENCODING_SJISFT_OUTLINE_HIGH_PRECISIONFT_WinFNT_ID_SYMBOL
FT_ENCODING_UNICODEFT_OUTLINE_IGNORE_DROPOUTSFT_WinFNT_ID_XXX
FT_ENCODING_WANSUNGFT_OUTLINE_INCLUDE_STUBSFT_XFREE86_H
FT_EncodingFT_OUTLINE_NONEFTC_CMapCache
FT_ERRORS_HFT_OUTLINE_OWNERFTC_CMapCache_Lookup
FT_ErrorFT_OUTLINE_REVERSE_FILLFTC_CMapCache_New
FT_F26Dot6FT_OUTLINE_SINGLE_PASSFTC_Face_Requester
FT_F2Dot14FT_OutlineFTC_FaceID
FT_FACE_FLAG_CID_KEYEDFT_Outline_CheckFTC_ImageCache
FT_FACE_FLAG_EXTERNAL_STREAMFT_Outline_ConicToFuncFTC_ImageCache_Lookup
FT_FACE_FLAG_FAST_GLYPHSFT_Outline_CopyFTC_ImageCache_LookupScaler
FT_FACE_FLAG_FIXED_SIZESFT_Outline_CubicToFuncFTC_ImageCache_New
FT_FACE_FLAG_FIXED_WIDTHFT_Outline_DecomposeFTC_ImageType
FT_FACE_FLAG_GLYPH_NAMESFT_Outline_DoneFTC_ImageTypeRec
FT_FACE_FLAG_HINTERFT_Outline_EmboldenFTC_Manager
FT_FACE_FLAG_HORIZONTALFT_Outline_FuncsFTC_Manager_Done
FT_FACE_FLAG_KERNINGFT_Outline_Get_BBoxFTC_Manager_LookupFace
FT_FACE_FLAG_MULTIPLE_MASTERSFT_Outline_Get_BitmapFTC_Manager_LookupSize
FT_FACE_FLAG_SCALABLEFT_Outline_Get_CBoxFTC_Manager_New
FT_FACE_FLAG_SFNTFT_Outline_Get_OrientationFTC_Manager_RemoveFaceID
FT_FACE_FLAG_VERTICALFT_Outline_GetInsideBorderFTC_Manager_Reset
FT_FACE_FLAG_XXXFT_Outline_GetOutsideBorderFTC_Node
FT_FaceFT_Outline_LineToFuncFTC_Node_Unref
FT_Face_CheckTrueTypePatentsFT_Outline_MoveToFuncFTC_SBit
FT_Face_GetCharsOfVariantFT_Outline_NewFTC_SBitCache
FT_Face_GetCharVariantIndexFT_Outline_RenderFTC_SBitCache_Lookup
FT_Face_GetCharVariantIsDefaultFT_Outline_ReverseFTC_SBitCache_LookupScaler
FT_Face_GetVariantSelectorsFT_Outline_TransformFTC_SBitCache_New
FT_Face_GetVariantsOfCharFT_Outline_TranslateFTC_SBitRec
FT_Face_InternalFT_OutlineGlyphFTC_Scaler
FT_Face_SetUnpatentedHintingFT_OutlineGlyphRecFTC_ScalerRec
FT_FaceRecFT_PARAM_TAG_INCREMENTALft_encoding_xxx
FT_FixedFT_PARAM_TAG_UNPATENTED_HINTINGft_glyph_bbox_gridfit
FT_FloorFixFT_Palette_Modeft_glyph_bbox_pixels
FT_FREETYPE_HFT_Parameterft_glyph_bbox_subpixels
FT_Free_FuncFT_PFR_Hft_glyph_bbox_truncate
FT_FWordFT_PIXEL_MODE_GRAYft_glyph_bbox_unscaled
FT_GASP_DO_GRAYFT_PIXEL_MODE_GRAY2ft_glyph_bbox_xxx
FT_GASP_DO_GRIDFITFT_PIXEL_MODE_GRAY4ft_glyph_format_bitmap
FT_GASP_HFT_PIXEL_MODE_LCDft_glyph_format_composite
FT_GASP_NO_TABLEFT_PIXEL_MODE_LCD_Vft_glyph_format_none
FT_GASP_SYMMETRIC_GRIDFITFT_PIXEL_MODE_MONOft_glyph_format_outline
FT_GASP_SYMMETRIC_SMOOTHINGFT_PIXEL_MODE_NONEft_glyph_format_plotter
FT_GASP_XXXFT_Pixel_Modeft_glyph_format_xxx
FT_GenericFT_Pointerft_kerning_default
FT_Generic_FinalizerFT_Posft_kerning_unfitted
FT_Get_BDF_Charset_IDFT_PropertyTypeft_kerning_unscaled
FT_Get_BDF_PropertyFT_PtrDistft_open_driver
FT_Get_Char_IndexFT_RASTER_FLAG_AAft_open_memory
FT_Get_Charmap_IndexFT_RASTER_FLAG_CLIPft_open_params
FT_Get_CID_Registry_Ordering_SupplementFT_RASTER_FLAG_DEFAULTft_open_pathname
FT_Get_CMap_FormatFT_RASTER_FLAG_DIRECTft_open_stream
FT_Get_CMap_Language_IDFT_RASTER_FLAG_XXXft_outline_even_odd_fill
FT_Get_First_CharFT_Rasterft_outline_flags
FT_Get_GaspFT_Raster_BitSet_Funcft_outline_high_precision
FT_Get_GlyphFT_Raster_BitTest_Funcft_outline_ignore_dropouts
FT_Get_Glyph_NameFT_Raster_DoneFuncft_outline_none
FT_Get_KerningFT_Raster_Funcsft_outline_owner
FT_Get_MM_VarFT_Raster_NewFuncft_outline_reverse_fill
FT_Get_ModuleFT_Raster_Paramsft_outline_single_pass
FT_Get_Multi_MasterFT_Raster_RenderFuncft_palette_mode_rgb
FT_Get_Name_IndexFT_Raster_ResetFuncft_palette_mode_rgba
FT_Get_Next_CharFT_Raster_SetModeFuncft_pixel_mode_grays
FT_Get_PFR_AdvanceFT_RENDER_Hft_pixel_mode_mono
FT_Get_PFR_KerningFT_RENDER_MODE_LCDft_pixel_mode_none
FT_Get_PFR_MetricsFT_RENDER_MODE_LCD_Vft_pixel_mode_pal2
FT_Get_Postscript_NameFT_RENDER_MODE_LIGHTft_pixel_mode_pal4
FT_Get_PS_Font_InfoFT_RENDER_MODE_MONOft_pixel_mode_xxx
FT_Get_PS_Font_PrivateFT_RENDER_MODE_NORMALft_render_mode_mono
FT_Get_RendererFT_Realloc_Funcft_render_mode_normal
FT_Get_Sfnt_NameFT_Remove_Moduleft_render_mode_xxx
FT_Get_Sfnt_Name_CountFT_Render_GlyphPS_FontInfo
FT_Get_Sfnt_TableFT_Render_ModePS_FontInfoRec
FT_Get_SubGlyph_InfoFT_RendererPS_Private
FT_Get_Track_KerningFT_Renderer_ClassPS_PrivateRec
FT_Get_TrueType_Engine_TypeFT_Request_SizeT1_Blend_Flags
FT_Get_WinFNT_HeaderFT_RoundFixT1_FontInfo
FT_Get_X11_Font_FormatFT_Select_CharmapT1_Private
FT_GetFile_From_Mac_ATS_NameFT_Select_SizeTT_ADOBE_ID_CUSTOM
FT_GetFile_From_Mac_NameFT_Set_Char_SizeTT_ADOBE_ID_EXPERT
FT_GetFilePath_From_Mac_ATS_NameFT_Set_CharmapTT_ADOBE_ID_LATIN_1
FT_GLYPH_BBOX_GRIDFITFT_Set_Debug_HookTT_ADOBE_ID_STANDARD
FT_GLYPH_BBOX_PIXELSFT_Set_MM_Blend_CoordinatesTT_ADOBE_ID_XXX
FT_GLYPH_BBOX_SUBPIXELSFT_Set_MM_Design_CoordinatesTT_APPLE_ID_DEFAULT
FT_GLYPH_BBOX_TRUNCATEFT_Set_Pixel_SizesTT_APPLE_ID_ISO_10646
FT_GLYPH_BBOX_UNSCALEDFT_Set_RendererTT_APPLE_ID_UNICODE_1_1
FT_GLYPH_FORMAT_BITMAPFT_Set_TransformTT_APPLE_ID_UNICODE_2_0
FT_GLYPH_FORMAT_COMPOSITEFT_Set_Var_Blend_CoordinatesTT_APPLE_ID_UNICODE_32
FT_GLYPH_FORMAT_NONEFT_Set_Var_Design_CoordinatesTT_APPLE_ID_VARIANT_SELECTOR
FT_GLYPH_FORMAT_OUTLINEFT_SFNT_NAMES_HTT_APPLE_ID_XXX
FT_GLYPH_FORMAT_PLOTTERFT_Sfnt_Table_InfoTT_Header
FT_GLYPH_HFT_Sfnt_TagTT_HoriHeader
FT_GlyphFT_SfntNameTT_ISO_ID_10646
FT_Glyph_BBox_ModeFT_ShortTT_ISO_ID_7BIT_ASCII
FT_Glyph_CopyFT_SIZE_REQUEST_TYPE_BBOXTT_ISO_ID_8859_1
FT_Glyph_FormatFT_SIZE_REQUEST_TYPE_CELLTT_ISO_ID_XXX
FT_Glyph_Get_CBoxFT_SIZE_REQUEST_TYPE_NOMINALTT_MAC_ID_ARABIC
FT_Glyph_MetricsFT_SIZE_REQUEST_TYPE_REAL_DIMTT_MAC_ID_ARMENIAN
FT_Glyph_StrokeFT_SIZE_REQUEST_TYPE_SCALESTT_MAC_ID_BENGALI
FT_Glyph_StrokeBorderFT_SIZES_HTT_MAC_ID_BURMESE
FT_Glyph_To_BitmapFT_SinTT_MAC_ID_DEVANAGARI
FT_Glyph_TransformFT_SizeTT_MAC_ID_GEEZ
FT_GlyphRecFT_Size_InternalTT_MAC_ID_GEORGIAN
FT_GlyphSlotFT_Size_MetricsTT_MAC_ID_GREEK
FT_GlyphSlotRecFT_Size_RequestTT_MAC_ID_GUJARATI
FT_GX_VALIDATE_HFT_Size_Request_TypeTT_MAC_ID_GURMUKHI
FT_GZIP_HFT_Size_RequestRecTT_MAC_ID_HEBREW
FT_HAS_FAST_GLYPHSFT_SizeRecTT_MAC_ID_JAPANESE
FT_HAS_FIXED_SIZESFT_Slot_InternalTT_MAC_ID_KANNADA
FT_HAS_GLYPH_NAMESFT_SpanTT_MAC_ID_KHMER
FT_HAS_HORIZONTALFT_SpanFuncTT_MAC_ID_KOREAN
FT_HAS_KERNINGFT_STROKER_BORDER_LEFTTT_MAC_ID_LAOTIAN
FT_HAS_MULTIPLE_MASTERSFT_STROKER_BORDER_RIGHTTT_MAC_ID_MALAYALAM
FT_HAS_VERTICALFT_STROKER_HTT_MAC_ID_MALDIVIAN
FT_Has_PS_Glyph_NamesFT_STROKER_LINECAP_BUTTTT_MAC_ID_MONGOLIAN
FT_IMAGE_HFT_STROKER_LINECAP_ROUNDTT_MAC_ID_ORIYA
FT_IMAGE_TAGFT_STROKER_LINECAP_SQUARETT_MAC_ID_ROMAN
FT_INCREMENTAL_HFT_STROKER_LINEJOIN_BEVELTT_MAC_ID_RSYMBOL
FT_IncrementalFT_STROKER_LINEJOIN_MITERTT_MAC_ID_RUSSIAN
FT_Incremental_FreeGlyphDataFuncFT_STROKER_LINEJOIN_ROUNDTT_MAC_ID_SIMPLIFIED_CHINESE
FT_Incremental_FuncsRecFT_STYLE_FLAG_BOLDTT_MAC_ID_SINDHI
FT_Incremental_GetGlyphDataFuncFT_STYLE_FLAG_ITALICTT_MAC_ID_SINHALESE
FT_Incremental_GetGlyphMetricsFuncFT_STYLE_FLAG_XXXTT_MAC_ID_SLAVIC
FT_Incremental_InterfaceFT_StreamTT_MAC_ID_TAMIL
FT_Incremental_InterfaceRecFT_Stream_CloseFuncTT_MAC_ID_TELUGU
FT_Incremental_MetricsFT_Stream_IoFuncTT_MAC_ID_THAI
FT_Incremental_MetricsRecFT_Stream_OpenGzipTT_MAC_ID_TIBETAN
FT_Init_FreeTypeFT_Stream_OpenLZWTT_MAC_ID_TRADITIONAL_CHINESE
FT_IntFT_StreamDescTT_MAC_ID_UNINTERP
FT_Int16FT_StreamRecTT_MAC_ID_VIETNAMESE
FT_Int32FT_StringTT_MAC_ID_XXX
FT_IS_CID_KEYEDFT_StrokerTT_MaxProfile
FT_IS_FIXED_WIDTHFT_Stroker_BeginSubPathTT_MS_ID_BIG_5
FT_IS_SCALABLEFT_Stroker_ConicToTT_MS_ID_GB2312
FT_IS_SFNTFT_Stroker_CubicToTT_MS_ID_JOHAB
FT_KERNING_DEFAULTFT_Stroker_DoneTT_MS_ID_SJIS
FT_KERNING_UNFITTEDFT_Stroker_EndSubPathTT_MS_ID_SYMBOL_CS
FT_KERNING_UNSCALEDFT_Stroker_ExportTT_MS_ID_UCS_4
FT_Kerning_ModeFT_Stroker_ExportBorderTT_MS_ID_UNICODE_CS
FT_LCD_FILTER_DEFAULTFT_Stroker_GetBorderCountsTT_MS_ID_WANSUNG
FT_LCD_FILTER_HFT_Stroker_GetCountsTT_MS_ID_XXX
FT_LCD_FILTER_LEGACYFT_Stroker_LineCapTT_OS2
FT_LCD_FILTER_LIGHTFT_Stroker_LineJoinTT_PCLT
FT_LCD_FILTER_NONEFT_Stroker_LineToTT_PLATFORM_ADOBE
FT_LcdFilterFT_Stroker_NewTT_PLATFORM_APPLE_UNICODE
FT_LIST_HFT_Stroker_ParseOutlineTT_PLATFORM_CUSTOM
FT_LibraryFT_Stroker_RewindTT_PLATFORM_ISO
FT_Library_SetLcdFilterFT_Stroker_SetTT_PLATFORM_MACINTOSH
FT_Library_VersionFT_StrokerBorderTT_PLATFORM_MICROSOFT
FT_ListFT_SUBGLYPH_FLAG_2X2TT_PLATFORM_XXX
FT_List_AddFT_SUBGLYPH_FLAG_ARGS_ARE_WORDSTT_Postscript
FT_List_DestructorFT_SUBGLYPH_FLAG_ARGS_ARE_XY_VALUESTT_VertHeader
FT_F2Dot14FT_OUTLINE_SMART_DROPOUTSFTC_FaceID
FT_FACE_FLAG_CID_KEYEDFT_OutlineFTC_ImageCache
FT_FACE_FLAG_EXTERNAL_STREAMFT_Outline_CheckFTC_ImageCache_Lookup
FT_FACE_FLAG_FAST_GLYPHSFT_Outline_ConicToFuncFTC_ImageCache_LookupScaler
FT_FACE_FLAG_FIXED_SIZESFT_Outline_CopyFTC_ImageCache_New
FT_FACE_FLAG_FIXED_WIDTHFT_Outline_CubicToFuncFTC_ImageType
FT_FACE_FLAG_GLYPH_NAMESFT_Outline_DecomposeFTC_ImageTypeRec
FT_FACE_FLAG_HINTERFT_Outline_DoneFTC_Manager
FT_FACE_FLAG_HORIZONTALFT_Outline_EmboldenFTC_Manager_Done
FT_FACE_FLAG_KERNINGFT_Outline_FuncsFTC_Manager_LookupFace
FT_FACE_FLAG_MULTIPLE_MASTERSFT_Outline_Get_BBoxFTC_Manager_LookupSize
FT_FACE_FLAG_SCALABLEFT_Outline_Get_BitmapFTC_Manager_New
FT_FACE_FLAG_SFNTFT_Outline_Get_CBoxFTC_Manager_RemoveFaceID
FT_FACE_FLAG_VERTICALFT_Outline_Get_OrientationFTC_Manager_Reset
FT_FACE_FLAG_XXXFT_Outline_GetInsideBorderFTC_Node
FT_FaceFT_Outline_GetOutsideBorderFTC_Node_Unref
FT_Face_CheckTrueTypePatentsFT_Outline_LineToFuncFTC_SBit
FT_Face_GetCharsOfVariantFT_Outline_MoveToFuncFTC_SBitCache
FT_Face_GetCharVariantIndexFT_Outline_NewFTC_SBitCache_Lookup
FT_Face_GetCharVariantIsDefaultFT_Outline_RenderFTC_SBitCache_LookupScaler
FT_Face_GetVariantSelectorsFT_Outline_ReverseFTC_SBitCache_New
FT_Face_GetVariantsOfCharFT_Outline_TransformFTC_SBitRec
FT_Face_InternalFT_Outline_TranslateFTC_Scaler
FT_Face_SetUnpatentedHintingFT_OutlineGlyphFTC_ScalerRec
FT_FaceRecFT_OutlineGlyphRecft_encoding_xxx
FT_FixedFT_PARAM_TAG_INCREMENTALft_glyph_bbox_gridfit
FT_FloorFixFT_PARAM_TAG_UNPATENTED_HINTINGft_glyph_bbox_pixels
FT_FREETYPE_HFT_Palette_Modeft_glyph_bbox_subpixels
FT_Free_FuncFT_Parameterft_glyph_bbox_truncate
FT_FWordFT_PFR_Hft_glyph_bbox_unscaled
FT_GASP_DO_GRAYFT_PIXEL_MODE_GRAYft_glyph_bbox_xxx
FT_GASP_DO_GRIDFITFT_PIXEL_MODE_GRAY2ft_glyph_format_bitmap
FT_GASP_HFT_PIXEL_MODE_GRAY4ft_glyph_format_composite
FT_GASP_NO_TABLEFT_PIXEL_MODE_LCDft_glyph_format_none
FT_GASP_SYMMETRIC_GRIDFITFT_PIXEL_MODE_LCD_Vft_glyph_format_outline
FT_GASP_SYMMETRIC_SMOOTHINGFT_PIXEL_MODE_MONOft_glyph_format_plotter
FT_GASP_XXXFT_PIXEL_MODE_NONEft_glyph_format_xxx
FT_GenericFT_Pixel_Modeft_kerning_default
FT_Generic_FinalizerFT_Pointerft_kerning_unfitted
FT_Get_BDF_Charset_IDFT_Posft_kerning_unscaled
FT_Get_BDF_PropertyFT_PropertyTypeft_open_driver
FT_Get_Char_IndexFT_PtrDistft_open_memory
FT_Get_Charmap_IndexFT_RASTER_FLAG_AAft_open_params
FT_Get_CID_Registry_Ordering_SupplementFT_RASTER_FLAG_CLIPft_open_pathname
FT_Get_CMap_FormatFT_RASTER_FLAG_DEFAULTft_open_stream
FT_Get_CMap_Language_IDFT_RASTER_FLAG_DIRECTft_outline_even_odd_fill
FT_Get_First_CharFT_RASTER_FLAG_XXXft_outline_flags
FT_Get_GaspFT_Rasterft_outline_high_precision
FT_Get_GlyphFT_Raster_BitSet_Funcft_outline_ignore_dropouts
FT_Get_Glyph_NameFT_Raster_BitTest_Funcft_outline_none
FT_Get_KerningFT_Raster_DoneFuncft_outline_owner
FT_Get_MM_VarFT_Raster_Funcsft_outline_reverse_fill
FT_Get_ModuleFT_Raster_NewFuncft_outline_single_pass
FT_Get_Multi_MasterFT_Raster_Paramsft_palette_mode_rgb
FT_Get_Name_IndexFT_Raster_RenderFuncft_palette_mode_rgba
FT_Get_Next_CharFT_Raster_ResetFuncft_pixel_mode_grays
FT_Get_PFR_AdvanceFT_Raster_SetModeFuncft_pixel_mode_mono
FT_Get_PFR_KerningFT_RENDER_Hft_pixel_mode_none
FT_Get_PFR_MetricsFT_RENDER_MODE_LCDft_pixel_mode_pal2
FT_Get_Postscript_NameFT_RENDER_MODE_LCD_Vft_pixel_mode_pal4
FT_Get_PS_Font_InfoFT_RENDER_MODE_LIGHTft_pixel_mode_xxx
FT_Get_PS_Font_PrivateFT_RENDER_MODE_MONOft_render_mode_mono
FT_Get_RendererFT_RENDER_MODE_NORMALft_render_mode_normal
FT_Get_Sfnt_NameFT_Realloc_Funcft_render_mode_xxx
FT_Get_Sfnt_Name_CountFT_Remove_ModulePS_FontInfo
FT_Get_Sfnt_TableFT_Render_GlyphPS_FontInfoRec
FT_Get_SubGlyph_InfoFT_Render_ModePS_Private
FT_Get_Track_KerningFT_RendererPS_PrivateRec
FT_Get_TrueType_Engine_TypeFT_Renderer_ClassT1_Blend_Flags
FT_Get_WinFNT_HeaderFT_Request_SizeT1_FontInfo
FT_Get_X11_Font_FormatFT_RoundFixT1_Private
FT_GetFile_From_Mac_ATS_NameFT_Select_CharmapTT_ADOBE_ID_CUSTOM
FT_GetFile_From_Mac_NameFT_Select_SizeTT_ADOBE_ID_EXPERT
FT_GetFilePath_From_Mac_ATS_NameFT_Set_Char_SizeTT_ADOBE_ID_LATIN_1
FT_GLYPH_BBOX_GRIDFITFT_Set_CharmapTT_ADOBE_ID_STANDARD
FT_GLYPH_BBOX_PIXELSFT_Set_Debug_HookTT_ADOBE_ID_XXX
FT_GLYPH_BBOX_SUBPIXELSFT_Set_MM_Blend_CoordinatesTT_APPLE_ID_DEFAULT
FT_GLYPH_BBOX_TRUNCATEFT_Set_MM_Design_CoordinatesTT_APPLE_ID_ISO_10646
FT_GLYPH_BBOX_UNSCALEDFT_Set_Pixel_SizesTT_APPLE_ID_UNICODE_1_1
FT_GLYPH_FORMAT_BITMAPFT_Set_RendererTT_APPLE_ID_UNICODE_2_0
FT_GLYPH_FORMAT_COMPOSITEFT_Set_TransformTT_APPLE_ID_UNICODE_32
FT_GLYPH_FORMAT_NONEFT_Set_Var_Blend_CoordinatesTT_APPLE_ID_VARIANT_SELECTOR
FT_GLYPH_FORMAT_OUTLINEFT_Set_Var_Design_CoordinatesTT_APPLE_ID_XXX
FT_GLYPH_FORMAT_PLOTTERFT_SFNT_NAMES_HTT_Header
FT_GLYPH_HFT_Sfnt_Table_InfoTT_HoriHeader
FT_GlyphFT_Sfnt_TagTT_ISO_ID_10646
FT_Glyph_BBox_ModeFT_SfntNameTT_ISO_ID_7BIT_ASCII
FT_Glyph_CopyFT_ShortTT_ISO_ID_8859_1
FT_Glyph_FormatFT_SIZE_REQUEST_TYPE_BBOXTT_ISO_ID_XXX
FT_Glyph_Get_CBoxFT_SIZE_REQUEST_TYPE_CELLTT_MAC_ID_ARABIC
FT_Glyph_MetricsFT_SIZE_REQUEST_TYPE_NOMINALTT_MAC_ID_ARMENIAN
FT_Glyph_StrokeFT_SIZE_REQUEST_TYPE_REAL_DIMTT_MAC_ID_BENGALI
FT_Glyph_StrokeBorderFT_SIZE_REQUEST_TYPE_SCALESTT_MAC_ID_BURMESE
FT_Glyph_To_BitmapFT_SIZES_HTT_MAC_ID_DEVANAGARI
FT_Glyph_TransformFT_SinTT_MAC_ID_GEEZ
FT_GlyphRecFT_SizeTT_MAC_ID_GEORGIAN
FT_GlyphSlotFT_Size_InternalTT_MAC_ID_GREEK
FT_GlyphSlotRecFT_Size_MetricsTT_MAC_ID_GUJARATI
FT_GX_VALIDATE_HFT_Size_RequestTT_MAC_ID_GURMUKHI
FT_GZIP_HFT_Size_Request_TypeTT_MAC_ID_HEBREW
FT_HAS_FAST_GLYPHSFT_Size_RequestRecTT_MAC_ID_JAPANESE
FT_HAS_FIXED_SIZESFT_SizeRecTT_MAC_ID_KANNADA
FT_HAS_GLYPH_NAMESFT_Slot_InternalTT_MAC_ID_KHMER
FT_HAS_HORIZONTALFT_SpanTT_MAC_ID_KOREAN
FT_HAS_KERNINGFT_SpanFuncTT_MAC_ID_LAOTIAN
FT_HAS_MULTIPLE_MASTERSFT_STROKER_BORDER_LEFTTT_MAC_ID_MALAYALAM
FT_HAS_VERTICALFT_STROKER_BORDER_RIGHTTT_MAC_ID_MALDIVIAN
FT_Has_PS_Glyph_NamesFT_STROKER_HTT_MAC_ID_MONGOLIAN
FT_IMAGE_HFT_STROKER_LINECAP_BUTTTT_MAC_ID_ORIYA
FT_IMAGE_TAGFT_STROKER_LINECAP_ROUNDTT_MAC_ID_ROMAN
FT_INCREMENTAL_HFT_STROKER_LINECAP_SQUARETT_MAC_ID_RSYMBOL
FT_IncrementalFT_STROKER_LINEJOIN_BEVELTT_MAC_ID_RUSSIAN
FT_Incremental_FreeGlyphDataFuncFT_STROKER_LINEJOIN_MITERTT_MAC_ID_SIMPLIFIED_CHINESE
FT_Incremental_FuncsRecFT_STROKER_LINEJOIN_ROUNDTT_MAC_ID_SINDHI
FT_Incremental_GetGlyphDataFuncFT_STYLE_FLAG_BOLDTT_MAC_ID_SINHALESE
FT_Incremental_GetGlyphMetricsFuncFT_STYLE_FLAG_ITALICTT_MAC_ID_SLAVIC
FT_Incremental_InterfaceFT_STYLE_FLAG_XXXTT_MAC_ID_TAMIL
FT_Incremental_InterfaceRecFT_StreamTT_MAC_ID_TELUGU
FT_Incremental_MetricsFT_Stream_CloseFuncTT_MAC_ID_THAI
FT_Incremental_MetricsRecFT_Stream_IoFuncTT_MAC_ID_TIBETAN
FT_Init_FreeTypeFT_Stream_OpenGzipTT_MAC_ID_TRADITIONAL_CHINESE
FT_IntFT_Stream_OpenLZWTT_MAC_ID_UNINTERP
FT_Int16FT_StreamDescTT_MAC_ID_VIETNAMESE
FT_Int32FT_StreamRecTT_MAC_ID_XXX
FT_IS_CID_KEYEDFT_StringTT_MaxProfile
FT_IS_FIXED_WIDTHFT_StrokerTT_MS_ID_BIG_5
FT_IS_SCALABLEFT_Stroker_BeginSubPathTT_MS_ID_GB2312
FT_IS_SFNTFT_Stroker_ConicToTT_MS_ID_JOHAB
FT_KERNING_DEFAULTFT_Stroker_CubicToTT_MS_ID_SJIS
FT_KERNING_UNFITTEDFT_Stroker_DoneTT_MS_ID_SYMBOL_CS
FT_KERNING_UNSCALEDFT_Stroker_EndSubPathTT_MS_ID_UCS_4
FT_Kerning_ModeFT_Stroker_ExportTT_MS_ID_UNICODE_CS
FT_LCD_FILTER_DEFAULTFT_Stroker_ExportBorderTT_MS_ID_WANSUNG
FT_LCD_FILTER_HFT_Stroker_GetBorderCountsTT_MS_ID_XXX
FT_LCD_FILTER_LEGACYFT_Stroker_GetCountsTT_OS2
FT_LCD_FILTER_LIGHTFT_Stroker_LineCapTT_PCLT
FT_LCD_FILTER_NONEFT_Stroker_LineJoinTT_PLATFORM_ADOBE
FT_LcdFilterFT_Stroker_LineToTT_PLATFORM_APPLE_UNICODE
FT_LIST_HFT_Stroker_NewTT_PLATFORM_CUSTOM
FT_LibraryFT_Stroker_ParseOutlineTT_PLATFORM_ISO
FT_Library_SetLcdFilterFT_Stroker_RewindTT_PLATFORM_MACINTOSH
FT_Library_VersionFT_Stroker_SetTT_PLATFORM_MICROSOFT
FT_ListFT_StrokerBorderTT_PLATFORM_XXX
FT_List_AddFT_SUBGLYPH_FLAG_2X2TT_Postscript
FT_List_DestructorFT_SUBGLYPH_FLAG_ARGS_ARE_WORDSTT_VertHeader
FT_List_FinalizeFT_SUBGLYPH_FLAG_ARGS_ARE_XY_VALUES

-
[TOC]
+
[TOC]
+
generated on Sun Jun 29 09:46:25 2008
+ diff --git a/Build/source/libs/freetype2/docs/reference/ft2-lcd_filtering.html b/Build/source/libs/freetype2/docs/reference/ft2-lcd_filtering.html index 55433040a61..5a45e189e44 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-lcd_filtering.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-lcd_filtering.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

LCD Filtering @@ -122,14 +126,14 @@ Defined in FT_LCD_FILTER_H (freetype/ftlcdfil.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

This feature is always disabled by default. Clients must make an explicit call to this function with a ‘filter’ value other than FT_LCD_FILTER_NONE in order to enable it.

Due to PATENTS covering subpixel rendering, this function doesn't do anything except returning ‘FT_Err_Unimplemented_Feature’ if the configuration macro FT_CONFIG_OPTION_SUBPIXEL_RENDERING is not defined in your build of the library, which should correspond to all default builds of FreeType.

The filter affects glyph bitmaps rendered through FT_Render_Glyph, FT_Outline_Get_Bitmap, FT_Load_Glyph, and FT_Load_Char.

It does not affect the output of FT_Outline_Render and FT_Outline_Get_Bitmap.

-

If this feature is activated, the dimensions of LCD glyph bitmaps are either larger or taller than the dimensions of the corresponding outline with regards to the pixel grid. For example, for FT_RENDER_MODE_LCD, the filter adds up to 3 pixels to the left, and up to 3 pixels to the right.

+

If this feature is activated, the dimensions of LCD glyph bitmaps are either larger or taller than the dimensions of the corresponding outline with regards to the pixel grid. For example, for FT_RENDER_MODE_LCD, the filter adds up to 3 pixels to the left, and up to 3 pixels to the right.

The bitmap offset values are adjusted correctly, so clients shouldn't need to modify their layout and glyph positioning code when enabling the filter.

since
diff --git a/Build/source/libs/freetype2/docs/reference/ft2-list_processing.html b/Build/source/libs/freetype2/docs/reference/ft2-list_processing.html index 52642360c79..91aabf68519 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-list_processing.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-list_processing.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

List Processing @@ -173,7 +177,7 @@ Defined in FT_LIST_H (freetype/ftlist.h).


-

Finds the list node for a given listed object.

+

Find the list node for a given listed object.


input

@@ -208,7 +212,7 @@ Defined in FT_LIST_H (freetype/ftlist.h).

-

Appends an element to the end of a list.

+

Append an element to the end of a list.


inout

@@ -240,7 +244,7 @@ Defined in FT_LIST_H (freetype/ftlist.h).

-

Inserts an element at the head of a list.

+

Insert an element at the head of a list.


inout

@@ -272,7 +276,7 @@ Defined in FT_LIST_H (freetype/ftlist.h).

-

Removes a node from a list. This function doesn't check whether the node is in the list!

+

Remove a node from a list. This function doesn't check whether the node is in the list!


input

@@ -309,7 +313,7 @@ Defined in FT_LIST_H (freetype/ftlist.h).

-

Moves a node to the head/top of a list. Used to maintain LRU lists.

+

Move a node to the head/top of a list. Used to maintain LRU lists.


inout

@@ -374,7 +378,7 @@ Defined in FT_LIST_H (freetype/ftlist.h).

-

Parses a list and calls a given iterator function on each element. Note that parsing is stopped as soon as one of the iterator calls returns a non-zero value.

+

Parse a list and calls a given iterator function on each element. Note that parsing is stopped as soon as one of the iterator calls returns a non-zero value.


input

@@ -450,7 +454,7 @@ Defined in FT_LIST_H (freetype/ftlist.h).

-

Destroys all elements in the list as well as the list itself.

+

Destroy all elements in the list as well as the list itself.


input

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-lzw.html b/Build/source/libs/freetype2/docs/reference/ft2-lzw.html index 232091b5d92..a601fd2f4cd 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-lzw.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-lzw.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

LZW Streams @@ -71,7 +75,7 @@ Defined in FT_LZW_H (freetype/ftlzw.h).

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The source stream must be opened before calling this function.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-mac_specific.html b/Build/source/libs/freetype2/docs/reference/ft2-mac_specific.html index 4ae69b7cff9..dca7d110ec0 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-mac_specific.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-mac_specific.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Mac Specific Interface @@ -92,7 +96,7 @@ Defined in FT_MAC_H (freetype/ftmac.h).

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

notes

This function can be used to create FT_Face objects from fonts that are installed in the system as follows.

@@ -144,7 +148,7 @@ Defined in FT_MAC_H (freetype/ftmac.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -189,7 +193,7 @@ Defined in FT_MAC_H (freetype/ftmac.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -238,7 +242,7 @@ Defined in FT_MAC_H (freetype/ftmac.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -279,7 +283,7 @@ Defined in FT_MAC_H (freetype/ftmac.h).

FSSpec to the font file.

face_index -

The index of the face within the resource. The first face has index 0.

+

The index of the face within the resource. The first face has index 0.

@@ -292,7 +296,7 @@ Defined in FT_MAC_H (freetype/ftmac.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

FT_New_Face_From_FSSpec is identical to FT_New_Face except it accepts an FSSpec instead of a path.

@@ -336,7 +340,7 @@ Defined in FT_MAC_H (freetype/ftmac.h).

FSRef to the font file.

face_index -

The index of the face within the resource. The first face has index 0.

+

The index of the face within the resource. The first face has index 0.

@@ -349,7 +353,7 @@ Defined in FT_MAC_H (freetype/ftmac.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

FT_New_Face_From_FSRef is identical to FT_New_Face except it accepts an FSRef instead of a path.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-module_management.html b/Build/source/libs/freetype2/docs/reference/ft2-module_management.html index 173d2bba318..ab553dfe5f3 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-module_management.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-module_management.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Module Management @@ -211,7 +215,7 @@ Defined in FT_MODULE_H (freetype/ftmodapi.h).


-

Adds a new module to a given library instance.

+

Add a new module to a given library instance.


inout

@@ -230,7 +234,7 @@ Defined in FT_MODULE_H (freetype/ftmodapi.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

An error will be returned if a module already exists by that name, or if the module requires a version of FreeType that is too great.

@@ -254,7 +258,7 @@ Defined in FT_MODULE_H (freetype/ftmodapi.h).

-

Finds a module by its name.

+

Find a module by its name.


input

@@ -268,7 +272,7 @@ Defined in FT_MODULE_H (freetype/ftmodapi.h).
return
-

A module handle. 0 if none was found.

+

A module handle. 0 if none was found.

note

FreeType's internal modules aren't documented very well, and you should look up the source code for details.

@@ -292,7 +296,7 @@ Defined in FT_MODULE_H (freetype/ftmodapi.h).

-

Removes a given module from a library instance.

+

Remove a given module from a library instance.


inout

@@ -311,7 +315,7 @@ Defined in FT_MODULE_H (freetype/ftmodapi.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The module object is destroyed by the function in case of success.

@@ -354,7 +358,7 @@ Defined in FT_MODULE_H (freetype/ftmodapi.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -374,7 +378,7 @@ Defined in FT_MODULE_H (freetype/ftmodapi.h).
-

Discards a given library object. This closes all drivers and discards all resource objects.

+

Discard a given library object. This closes all drivers and discards all resource objects.


input

@@ -385,7 +389,7 @@ Defined in FT_MODULE_H (freetype/ftmodapi.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -407,7 +411,7 @@ Defined in FT_MODULE_H (freetype/ftmodapi.h).
-

Sets a debug hook function for debugging the interpreter of a font format.

+

Set a debug hook function for debugging the interpreter of a font format.


inout

@@ -429,7 +433,7 @@ Defined in FT_MODULE_H (freetype/ftmodapi.h).
note
-

Currently, four debug hook slots are available, but only two (for the TrueType and the Type 1 interpreter) are defined.

+

Currently, four debug hook slots are available, but only two (for the TrueType and the Type 1 interpreter) are defined.

Since the internal headers of FreeType are no longer installed, the symbol ‘FT_DEBUG_HOOK_TRUETYPE’ isn't available publicly. This is a bug and will be fixed in a forthcoming release.

@@ -450,7 +454,7 @@ Defined in FT_MODULE_H (freetype/ftmodapi.h).
-

Adds the set of default drivers to a given library object. This is only useful when you create a library object with FT_New_Library (usually to plug a custom memory manager).

+

Add the set of default drivers to a given library object. This is only useful when you create a library object with FT_New_Library (usually to plug a custom memory manager).


inout

@@ -540,7 +544,7 @@ Defined in FT_RENDER_H (freetype/ftrender.h).

-

Retrieves the current renderer for a given glyph format.

+

Retrieve the current renderer for a given glyph format.


input

@@ -554,7 +558,7 @@ Defined in FT_RENDER_H (freetype/ftrender.h).
return
-

A renderer handle. 0 if none found.

+

A renderer handle. 0 if none found.

note

An error will be returned if a module already exists by that name, or if the module requires a version of FreeType that is too great.

@@ -581,7 +585,7 @@ Defined in FT_RENDER_H (freetype/ftrender.h).

-

Sets the current renderer to use, and set additional mode.

+

Set the current renderer to use, and set additional mode.


inout

@@ -606,7 +610,7 @@ Defined in FT_RENDER_H (freetype/ftrender.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

In case of success, the renderer will be used to convert glyph images in the renderer's known format into bitmaps.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-multiple_masters.html b/Build/source/libs/freetype2/docs/reference/ft2-multiple_masters.html index 94aecc2f32f..48c57d7fa6c 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-multiple_masters.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-multiple_masters.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Multiple Masters @@ -48,7 +52,7 @@ Multiple Masters

The following types and functions are used to manage Multiple Master fonts, i.e., the selection of specific design instances by setting design axis coordinates.

-

George Williams has extended this interface to make it work with both Type 1 Multiple Masters fonts and GX distortable (var) fonts. Some of these routines only work with MM fonts, others will work with both types. They are similar enough that a consistent interface makes sense.

+

George Williams has extended this interface to make it work with both Type 1 Multiple Masters fonts and GX distortable (var) fonts. Some of these routines only work with MM fonts, others will work with both types. They are similar enough that a consistent interface makes sense.


FT_MM_Axis

@@ -114,10 +118,10 @@ Defined in FT_MULTIPLE_MASTERS_H (freetype/ftmm.h).

num_axis -

Number of axes. Cannot exceed 4.

+

Number of axes. Cannot exceed 4.

num_designs -

Number of designs; should be normally 2^num_axis even though the Type 1 specification strangely allows for intermediate designs to be present. This number cannot exceed 16.

+

Number of designs; should be normally 2^num_axis even though the Type 1 specification strangely allows for intermediate designs to be present. This number cannot exceed 16.

axis

A table of axis descriptors.

@@ -245,7 +249,7 @@ Defined in FT_MULTIPLE_MASTERS_H (freetype/ftmm.h).

num_axis -

The number of axes. The maximum value is 4 for MM; no limit in GX.

+

The number of axes. The maximum value is 4 for MM; no limit in GX.

num_designs

The number of designs; should be normally 2^num_axis for MM fonts. Not meaningful for GX (where every glyph could have a different number of designs).

@@ -280,7 +284,7 @@ Defined in FT_MULTIPLE_MASTERS_H (freetype/ftmm.h).

-

Retrieves the Multiple Master descriptor of a given font.

+

Retrieve the Multiple Master descriptor of a given font.

This function can't be used with GX fonts.


input
@@ -300,7 +304,7 @@ Defined in FT_MULTIPLE_MASTERS_H (freetype/ftmm.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -321,7 +325,7 @@ Defined in FT_MULTIPLE_MASTERS_H (freetype/ftmm.h).


-

Retrieves the Multiple Master/GX var descriptor of a given font.

+

Retrieve the Multiple Master/GX var descriptor of a given font.


input

@@ -340,7 +344,7 @@ Defined in FT_MULTIPLE_MASTERS_H (freetype/ftmm.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -385,7 +389,7 @@ Defined in FT_MULTIPLE_MASTERS_H (freetype/ftmm.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -429,7 +433,7 @@ Defined in FT_MULTIPLE_MASTERS_H (freetype/ftmm.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -473,7 +477,7 @@ Defined in FT_MULTIPLE_MASTERS_H (freetype/ftmm.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


diff --git a/Build/source/libs/freetype2/docs/reference/ft2-ot_validation.html b/Build/source/libs/freetype2/docs/reference/ft2-ot_validation.html index 9db788452d9..a02b83494aa 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-ot_validation.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-ot_validation.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

OpenType Validation @@ -153,7 +157,7 @@ Defined in FT_OPENTYPE_VALIDATE_H (freetype/ftotval.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

This function only works with OpenType fonts, returning an error otherwise.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-outline_processing.html b/Build/source/libs/freetype2/docs/reference/ft2-outline_processing.html index 9153b8d66d4..91763f6d43a 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-outline_processing.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-outline_processing.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Outline Processing @@ -92,8 +96,8 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).

A pointer to an array of ‘n_points’ FT_Vector elements, giving the outline's point coordinates.

tags -

A pointer to an array of ‘n_points’ chars, giving each outline point's type. If bit 0 is unset, the point is ‘off’ the curve, i.e., a Bézier control point, while it is ‘on’ when set.

-

Bit 1 is meaningful for ‘off’ points only. If set, it indicates a third-order Bézier arc control point; and a second-order control point if unset.

+

A pointer to an array of ‘n_points’ chars, giving each outline point's type. If bit 0 is unset, the point is ‘off’ the curve, i.e., a Bézier control point, while it is ‘on’ when set.

+

Bit 1 is meaningful for ‘off’ points only. If set, it indicates a third-order Bézier arc control point; and a second-order control point if unset.

contours

An array of ‘n_contours’ shorts, giving the end point of each contour within the outline. For example, the first contour is defined by the points ‘0’ to ‘contours[0]’, the second one is defined by the points ‘contours[0]+1’ to ‘contours[1]’, etc.

@@ -121,6 +125,8 @@ Defined in FT_IMAGE_H (freetype/ftimage.h). #define FT_OUTLINE_EVEN_ODD_FILL 0x2 #define FT_OUTLINE_REVERSE_FILL 0x4 #define FT_OUTLINE_IGNORE_DROPOUTS 0x8 +#define FT_OUTLINE_SMART_DROPOUTS 0x10 +#define FT_OUTLINE_INCLUDE_STUBS 0x20 #define FT_OUTLINE_HIGH_PRECISION 0x100 #define FT_OUTLINE_SINGLE_PASS 0x200 @@ -133,10 +139,10 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).

+ + + +
FT_OUTLINE_NONE -

Value 0 is reserved.

+

Value 0 is reserved.

FT_OUTLINE_OWNER -

If set, this flag indicates that the outline's field arrays (i.e., ‘points’, ‘flags’ & ‘contours’) are ‘owned’ by the outline object, and should thus be freed when it is destroyed.

+

If set, this flag indicates that the outline's field arrays (i.e., ‘points’, ‘flags’, and ‘contours’) are ‘owned’ by the outline object, and should thus be freed when it is destroyed.

FT_OUTLINE_EVEN_ODD_FILL
@@ -144,21 +150,32 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).
FT_OUTLINE_REVERSE_FILL
-

By default, outside contours of an outline are oriented in clock-wise direction, as defined in the TrueType specification. This flag is set if the outline uses the opposite direction (typically for Type 1 fonts). This flag is ignored by the scan-converter.

+

By default, outside contours of an outline are oriented in clock-wise direction, as defined in the TrueType specification. This flag is set if the outline uses the opposite direction (typically for Type 1 fonts). This flag is ignored by the scan converter.

FT_OUTLINE_IGNORE_DROPOUTS

By default, the scan converter will try to detect drop-outs in an outline and correct the glyph bitmap to ensure consistent shape continuity. If set, this flag hints the scan-line converter to ignore such cases.

FT_OUTLINE_SMART_DROPOUTS
+

Select smart dropout control. If unset, use simple dropout control. Ignored if FT_OUTLINE_IGNORE_DROPOUTS is set.

+
FT_OUTLINE_INCLUDE_STUBS
+

If set, turn pixels on for ‘stubs’, otherwise exclude them. Ignored if FT_OUTLINE_IGNORE_DROPOUTS is set.

+
FT_OUTLINE_HIGH_PRECISION
-

This flag indicates that the scan-line converter should try to convert this outline to bitmaps with the highest possible quality. It is typically set for small character sizes. Note that this is only a hint, that might be completely ignored by a given scan-converter.

+

This flag indicates that the scan-line converter should try to convert this outline to bitmaps with the highest possible quality. It is typically set for small character sizes. Note that this is only a hint that might be completely ignored by a given scan-converter.

FT_OUTLINE_SINGLE_PASS -

This flag is set to force a given scan-converter to only use a single pass over the outline to render a bitmap glyph image. Normally, it is set for very large character sizes. It is only a hint, that might be completely ignored by a given scan-converter.

+

This flag is set to force a given scan-converter to only use a single pass over the outline to render a bitmap glyph image. Normally, it is set for very large character sizes. It is only a hint that might be completely ignored by a given scan-converter.

+
note
+

Please refer to the description of the ‘SCANTYPE’ instruction in the OpenType specification (in file ‘ttinst1.doc’) how simple drop-outs, smart drop-outs, and stubs are defined.

+

@@ -187,7 +204,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
[Index]

-

Creates a new outline of a given size.

+

Create a new outline of a given size.


input

@@ -212,7 +229,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The reason why this function takes a ‘library’ parameter is simply to use the library's memory allocator.

@@ -241,7 +258,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).

-

Destroys an outline created with FT_Outline_New.

+

Destroy an outline created with FT_Outline_New.


input

@@ -255,7 +272,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

If the outline's ‘owner’ field is not set, only the outline descriptor will be released.

@@ -280,7 +297,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).

-

Copies an outline into another one. Both objects must have the same sizes (number of points & number of contours) when this function is called.

+

Copy an outline into another one. Both objects must have the same sizes (number of points & number of contours) when this function is called.


input

@@ -299,7 +316,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -321,7 +338,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
-

Applies a simple translation to the points of an outline.

+

Apply a simple translation to the points of an outline.


inout

@@ -361,7 +378,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).

-

Applies a simple 2x2 matrix to all of an outline's points. Useful for applying rotations, slanting, flipping, etc.

+

Apply a simple 2x2 matrix to all of an outline's points. Useful for applying rotations, slanting, flipping, etc.


inout

@@ -401,7 +418,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).

-

Emboldens an outline. The new outline will be at most 4 times ‘strength’ pixels wider and higher. You may think of the left and bottom borders as unchanged.

+

Embolden an outline. The new outline will be at most 4 times ‘strength’ pixels wider and higher. You may think of the left and bottom borders as unchanged.

Negative ‘strength’ values to reduce the outline thickness are possible also.


inout
@@ -421,7 +438,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The used algorithm to increase or decrease the thickness of the glyph doesn't change the number of points; this means that certain situations like acute angles or intersections are sometimes handled incorrectly.

@@ -450,7 +467,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).

-

Reverses the drawing direction of an outline. This is used to ensure consistent fill conventions for mirrored glyphs.

+

Reverse the drawing direction of an outline. This is used to ensure consistent fill conventions for mirrored glyphs.


inout

@@ -493,7 +510,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -514,7 +531,7 @@ Defined in FT_BBOX_H (freetype/ftbbox.h).
-

Computes the exact bounding box of an outline. This is slower than computing the control box. However, it uses an advanced algorithm which returns very quickly when the two boxes coincide. Otherwise, the outline Bézier arcs are traversed to extract their extrema.

+

Compute the exact bounding box of an outline. This is slower than computing the control box. However, it uses an advanced algorithm which returns very quickly when the two boxes coincide. Otherwise, the outline Bézier arcs are traversed to extract their extrema.


input

@@ -533,7 +550,7 @@ Defined in FT_BBOX_H (freetype/ftbbox.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -626,7 +643,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).
return
-

Error code. 0 means success.

+

Error code. 0 means success.


@@ -664,7 +681,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).
return
-

Error code. 0 means success.

+

Error code. 0 means success.


@@ -706,7 +723,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).
return
-

Error code. 0 means success.

+

Error code. 0 means success.


@@ -752,7 +769,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).
return
-

Error code. 0 means success.

+

Error code. 0 means success.


@@ -812,7 +829,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h). x' = (x << shift) - delta y' = (x << shift) - delta -

Set the value of ‘shift’ and ‘delta’ to 0 to get the original point coordinates.

+

Set the value of ‘shift’ and ‘delta’ to 0 to get the original point coordinates.


@@ -834,7 +851,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
-

Walks over an outline's structure to decompose it into individual segments and Bézier arcs. This function is also able to emit ‘move to’ and ‘close to’ operations to indicate the start and end of new contours in the outline.

+

Walk over an outline's structure to decompose it into individual segments and Bézier arcs. This function is also able to emit ‘move to’ and ‘close to’ operations to indicate the start and end of new contours in the outline.


input

@@ -856,7 +873,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -877,7 +894,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
-

Returns an outline's ‘control box’. The control box encloses all the outline's points, including Bézier control points. Though it coincides with the exact bounding box for most glyphs, it can be slightly larger in some situations (like when rotating an outline which contains Bézier outside arcs).

+

Return an outline's ‘control box’. The control box encloses all the outline's points, including Bézier control points. Though it coincides with the exact bounding box for most glyphs, it can be slightly larger in some situations (like when rotating an outline which contains Bézier outside arcs).

Computing the control box is very fast, while getting the bounding box can take much more time as it needs to walk over all segments and arcs in the outline. To get the latter, you can use the ‘ftbbox’ component which is dedicated to this single task.


input
@@ -916,7 +933,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).

-

Renders an outline within a bitmap. The outline's image is simply OR-ed to the target bitmap.

+

Render an outline within a bitmap. The outline's image is simply OR-ed to the target bitmap.


input

@@ -938,11 +955,12 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note
-

This function does NOT CREATE the bitmap, it only renders an outline image within the one you pass to it!

+

This function does NOT CREATE the bitmap, it only renders an outline image within the one you pass to it! Consequently, the various fields in ‘abitmap’ should be set accordingly.

It will use the raster corresponding to the default glyph format.

+

The value of the ‘num_grays’ field in ‘abitmap’ is ignored. If you select the gray-level rasterizer, and you want less than 256 gray levels, you have to use FT_Outline_Render directly.


@@ -964,7 +982,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
-

Renders an outline within a bitmap using the current scan-convert. This functions uses an FT_Raster_Params structure as an argument, allowing advanced features like direct composition, translucency, etc.

+

Render an outline within a bitmap using the current scan-convert. This functions uses an FT_Raster_Params structure as an argument, allowing advanced features like direct composition, translucency, etc.


input

@@ -986,11 +1004,12 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

You should know what you are doing and how FT_Raster_Params works to use this function.

The field ‘params.source’ will be set to ‘outline’ before the scan converter is called, which means that the value you give to it is actually ignored.

+

The gray-level rasterizer always uses 256 gray levels. If you want less gray levels, you have to provide your own span callback. See the FT_RASTER_FLAG_DIRECT value of the ‘flags’ field in the FT_Raster_Params structure for more details.


@@ -1018,7 +1037,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).

A list of values used to describe an outline's contour orientation.

-

The TrueType and Postscript specifications use different conventions to determine whether outline contours should be filled or unfilled.

+

The TrueType and PostScript specifications use different conventions to determine whether outline contours should be filled or unfilled.


values

@@ -1029,7 +1048,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
FT_ORIENTATION_POSTSCRIPT
-

According to the Postscript specification, counter-clockwise contours must be filled, and clockwise ones must be unfilled.

+

According to the PostScript specification, counter-clockwise contours must be filled, and clockwise ones must be unfilled.

FT_ORIENTATION_FILL_RIGHT
@@ -1037,7 +1056,7 @@ Defined in FT_OUTLINE_H (freetype/ftoutln.h).
FT_ORIENTATION_FILL_LEFT
-

This is identical to FT_ORIENTATION_POSTSCRIPT, but is used to remember that in Postscript, everything that is to the left of the drawing direction of a contour must be filled.

+

This is identical to FT_ORIENTATION_POSTSCRIPT, but is used to remember that in PostScript, everything that is to the left of the drawing direction of a contour must be filled.

FT_ORIENTATION_NONE

The orientation cannot be determined. That is, different parts of the glyph have different orientation.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-pfr_fonts.html b/Build/source/libs/freetype2/docs/reference/ft2-pfr_fonts.html index 3a45e4e4679..b69b8f1a3c8 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-pfr_fonts.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-pfr_fonts.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

PFR Fonts @@ -88,7 +92,7 @@ Defined in FT_PFR_H (freetype/ftpfr.h).

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

If the input face is not a PFR, this function will return an error. However, in all cases, it will return valid values.

@@ -139,7 +143,7 @@ Defined in FT_PFR_H (freetype/ftpfr.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

This function always return distances in original PFR metrics units. This is unlike FT_Get_Kerning with the FT_KERNING_UNSCALED mode, which always returns distances converted to outline units.

@@ -187,7 +191,7 @@ Defined in FT_PFR_H (freetype/ftpfr.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

You can use the ‘x_scale’ or ‘y_scale’ results of FT_Get_PFR_Metrics to convert the advance to device sub-pixels (i.e., 1/64th of pixels).

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-raster.html b/Build/source/libs/freetype2/docs/reference/ft2-raster.html index 8eeaa7d0aec..7f34007c6be 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-raster.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-raster.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Scanline Converter @@ -101,8 +105,8 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).

note
-

This structure is used by the span drawing callback type named FT_SpanFunc which takes the y-coordinate of the span as a a parameter.

-

The coverage value is always between 0 and 255.

+

This structure is used by the span drawing callback type named FT_SpanFunc which takes the y coordinate of the span as a a parameter.

+

The coverage value is always between 0 and 255. If you want less gray values, the callback function has to reduce them.


@@ -133,7 +137,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).

y -

The scanline's y-coordinate.

+

The scanline's y coordinate.

count

The number of spans to draw on this scanline.

@@ -149,7 +153,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).
note

This callback allows client applications to directly render the gray spans of the anti-aliased bitmap to any kind of surfaces.

This can be used to write anti-aliased outlines directly to a given background bitmap, and even perform translucency.

-

Note that the ‘count’ field cannot be greater than a fixed value defined by the ‘FT_MAX_GRAY_SPANS’ configuration macro in ‘ftoption.h’. By default, this value is set to 32, which means that if there are more than 32 spans on a given scanline, the callback is called several times with the same ‘y’ parameter in order to draw all callbacks.

+

Note that the ‘count’ field cannot be greater than a fixed value defined by the ‘FT_MAX_GRAY_SPANS’ configuration macro in ‘ftoption.h’. By default, this value is set to 32, which means that if there are more than 32 spans on a given scanline, the callback is called several times with the same ‘y’ parameter in order to draw all callbacks.

Otherwise, the callback is only called once per scan-line, and only for those scanlines that do have ‘gray’ pixels on them.

@@ -179,10 +183,10 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).

y -

The pixel's y-coordinate.

+

The pixel's y coordinate.

x -

The pixel's x-coordinate.

+

The pixel's x coordinate.

user

User-supplied data that is passed to the callback.

@@ -190,7 +194,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).
return
-

1 if the pixel is ‘set’, 0 otherwise.

+

1 if the pixel is ‘set’, 0 otherwise.


@@ -219,10 +223,10 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).

y -

The pixel's y-coordinate.

+

The pixel's y coordinate.

x -

The pixel's x-coordinate.

+

The pixel's x coordinate.

user

User-supplied data that is passed to the callback.

@@ -230,7 +234,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).
return
-

1 if the pixel is ‘set’, 0 otherwise.

+

1 if the pixel is ‘set’, 0 otherwise.


@@ -387,7 +391,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).
return
-

Error code. 0 means success.

+

Error code. 0 means success.

note

The ‘memory’ parameter is a typeless pointer in order to avoid un-wanted dependencies on the rest of the FreeType code. In practice, it is an FT_Memory object, i.e., a handle to the standard FreeType memory allocator. However, this field can be completely ignored by a given raster implementation.

@@ -523,7 +527,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).

-

Invokes a given raster to scan-convert a given glyph image into a target bitmap.

+

Invoke a given raster to scan-convert a given glyph image into a target bitmap.


input

@@ -537,7 +541,7 @@ Defined in FT_IMAGE_H (freetype/ftimage.h).
return
-

Error code. 0 means success.

+

Error code. 0 means success.

note

The exact format of the source image depends on the raster's glyph format defined in its FT_Raster_Funcs structure. It can be an FT_Outline or anything else in order to support a large array of glyph formats.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-sfnt_names.html b/Build/source/libs/freetype2/docs/reference/ft2-sfnt_names.html index bf6411776fb..5a08a1fc158 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-sfnt_names.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-sfnt_names.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

SFNT Names @@ -42,7 +46,7 @@ SFNT Names



-

The TrueType and OpenType specification allow the inclusion of a special ‘names table’ in font files. This table contains textual (and internationalized) information regarding the font, like family name, copyright, version, etc.

+

The TrueType and OpenType specifications allow the inclusion of a special ‘names table’ in font files. This table contains textual (and internationalized) information regarding the font, like family name, copyright, version, etc.

The definitions below are used to access them if available.

Note that this has nothing to do with glyph names!


@@ -115,7 +119,7 @@ Defined in FT_SFNT_NAMES_H (freetype/ftsnames.h).
-

Retrieves the number of name strings in the SFNT ‘name’ table.

+

Retrieve the number of name strings in the SFNT ‘name’ table.


input

@@ -148,7 +152,7 @@ Defined in FT_SFNT_NAMES_H (freetype/ftsnames.h).

-

Retrieves a string of the SFNT ‘name’ table for a given index.

+

Retrieve a string of the SFNT ‘name’ table for a given index.


input

@@ -170,7 +174,7 @@ Defined in FT_SFNT_NAMES_H (freetype/ftsnames.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The ‘string’ array returned in the ‘aname’ structure is not null-terminated.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-sizes_management.html b/Build/source/libs/freetype2/docs/reference/ft2-sizes_management.html index 66f63654f87..a05b8a94fa4 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-sizes_management.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-sizes_management.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Size Management @@ -79,7 +83,7 @@ Defined in FT_SIZES_H (freetype/ftsizes.h).

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

You need to call FT_Activate_Size in order to select the new size for upcoming calls to FT_Set_Pixel_Sizes, FT_Set_Char_Size, FT_Load_Glyph, FT_Load_Char, etc.

@@ -113,7 +117,7 @@ Defined in FT_SIZES_H (freetype/ftsizes.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.


@@ -145,7 +149,7 @@ Defined in FT_SIZES_H (freetype/ftsizes.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

If ‘face’ is the size's parent face object, this function changes the value of ‘face->size’ to the input size handle.

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-system_interface.html b/Build/source/libs/freetype2/docs/reference/ft2-system_interface.html index a726795bfb1..d9db0a69f10 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-system_interface.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-system_interface.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

System Interface @@ -93,7 +97,7 @@ Defined in FT_SYSTEM_H (freetype/ftsystem.h).

return
-

Address of new memory block. 0 in case of failure.

+

Address of new memory block. 0 in case of failure.


@@ -168,7 +172,7 @@ Defined in FT_SYSTEM_H (freetype/ftsystem.h).
return
-

New block address. 0 in case of memory shortage.

+

New block address. 0 in case of memory shortage.

note

In case of error, the old block must still be available.

@@ -196,7 +200,7 @@ Defined in FT_SYSTEM_H (freetype/ftsystem.h).

-

A structure used to describe a given memory manager to FreeType 2.

+

A structure used to describe a given memory manager to FreeType 2.


fields

@@ -302,7 +306,7 @@ Defined in FT_SYSTEM_H (freetype/ftsystem.h).

The number of bytes effectively read by the stream.

note
-

This function might be called to perform a seek or skip operation with a ‘count’ of 0.

+

This function might be called to perform a seek or skip operation with a ‘count’ of 0.


diff --git a/Build/source/libs/freetype2/docs/reference/ft2-toc.html b/Build/source/libs/freetype2/docs/reference/ft2-toc.html index e3df83c9557..5e1863466f2 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-toc.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-toc.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + +
[Index]
+

FreeType-2.3.7 API Reference

Table of Contents


General Remarks

  • @@ -54,11 +57,11 @@
Base Interface -

The FreeType 2 base font interface.

+

The FreeType 2 base font interface.

Glyph Variants -

The FreeType 2 interface to Unicode Ideographic Variation Sequences (IVS), using the SFNT cmap format 14.

+

The FreeType 2 interface to Unicode Ideographic Variation Sequences (IVS), using the SFNT cmap format 14.

Glyph Management @@ -90,15 +93,15 @@
Type 1 Tables -

Type 1 (PostScript) specific font tables.

+

Type 1 (PostScript) specific font tables.

SFNT Names

Access the names embedded in TrueType and OpenType files.

-BDF Files -

BDF specific API.

+BDF and PCF Files
+

BDF and PCF specific API.

CID Fonts @@ -118,7 +121,7 @@
Gasp Table -

Retrieving TrueType ‘gasp’ table entries

+

Retrieving TrueType ‘gasp’ table entries.

@@ -126,7 +129,7 @@
Cache Sub-System -

How to cache face, size, and glyph data with FreeType 2.

+

How to cache face, size, and glyph data with FreeType 2.

@@ -199,5 +202,10 @@

Global Index

-
generated on Tue Jun 10 08:02:21 2008
+
+ + +
[Index]
+ +
generated on Sun Jun 29 09:46:25 2008
diff --git a/Build/source/libs/freetype2/docs/reference/ft2-truetype_engine.html b/Build/source/libs/freetype2/docs/reference/ft2-truetype_engine.html index 4f1292a1360..bb73b9b33f1 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-truetype_engine.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-truetype_engine.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

The TrueType Engine diff --git a/Build/source/libs/freetype2/docs/reference/ft2-truetype_tables.html b/Build/source/libs/freetype2/docs/reference/ft2-truetype_tables.html index 75c02933502..5f2969494e2 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-truetype_tables.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-truetype_tables.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

TrueType Tables @@ -432,7 +436,7 @@ Defined in FT_TRUETYPE_IDS_H (freetype/ttnameid.h).

Adobe custom encoding.

TT_ADOBE_ID_LATIN_1 -

Adobe Latin 1 encoding.

+

Adobe Latin 1 encoding.

@@ -566,10 +570,10 @@ Defined in FT_TRUETYPE_TABLES_H (freetype/tttables.h).

The run coefficient of the cursor's slope.

Reserved -

8 reserved bytes.

+

8 reserved bytes.

metric_Data_Format -

Always 0.

+

Always 0.

number_Of_HMetrics

Number of HMetrics entries in the ‘hmtx’ table -- this value can be smaller than the total number of glyphs in the font.

@@ -675,10 +679,10 @@ Defined in FT_TRUETYPE_TABLES_H (freetype/tttables.h).

The cursor's offset for slanted fonts. This value is ‘reserved’ in vmtx version 1.0.

Reserved -

8 reserved bytes.

+

8 reserved bytes.

metric_Data_Format -

Always 0.

+

Always 0.

number_Of_HMetrics

Number of VMetrics entries in the ‘vmtx’ table -- this value can be smaller than the total number of glyphs in the font.

@@ -797,7 +801,7 @@ Defined in FT_TRUETYPE_TABLES_H (freetype/tttables.h).
-

A structure used to model a TrueType Postscript table. All fields comply to the TrueType specification. This structure does not reference the Postscript glyph names, which can be nevertheless accessed with the ‘ttpost’ module.

+

A structure used to model a TrueType PostScript table. All fields comply to the TrueType specification. This structure does not reference the PostScript glyph names, which can be nevertheless accessed with the ‘ttpost’ module.



@@ -976,7 +980,7 @@ Defined in FT_TRUETYPE_TABLES_H (freetype/tttables.h).
-

Returns a pointer to a given SFNT table within a face.

+

Return a pointer to a given SFNT table within a face.


input

@@ -990,7 +994,7 @@ Defined in FT_TRUETYPE_TABLES_H (freetype/tttables.h).
return
-

A type-less pointer to the table. This will be 0 in case of error, or if the corresponding table was not found OR loaded from the file.

+

A type-less pointer to the table. This will be 0 in case of error, or if the corresponding table was not found OR loaded from the file.

note

The table is owned by the face object and disappears with it.

@@ -1018,7 +1022,7 @@ Defined in FT_TRUETYPE_TABLES_H (freetype/tttables.h).

-

Loads any font table into client memory.

+

Load any font table into client memory.


input

@@ -1027,7 +1031,7 @@ Defined in FT_TRUETYPE_TABLES_H (freetype/tttables.h).

A handle to the source face.

tag -

The four-byte tag of the table to load. Use the value 0 if you want to access the whole font file. Otherwise, you can use one of the definitions found in the FT_TRUETYPE_TAGS_H file, or forge a new one with FT_MAKE_TAG.

+

The four-byte tag of the table to load. Use the value 0 if you want to access the whole font file. Otherwise, you can use one of the definitions found in the FT_TRUETYPE_TAGS_H file, or forge a new one with FT_MAKE_TAG.

offset

The starting offset in the table (or file if tag == 0).

@@ -1047,16 +1051,16 @@ Defined in FT_TRUETYPE_TABLES_H (freetype/tttables.h).
length

If the ‘length’ parameter is NULL, then try to load the whole table. Return an error code if it fails.

-

Else, if ‘*length’ is 0, exit immediately while returning the table's (or file) full size in it.

+

Else, if ‘*length’ is 0, exit immediately while returning the table's (or file) full size in it.

Else the number of bytes to read from the table or file, from the starting offset.

return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note
-

If you need to determine the table's length you should first call this function with ‘*length’ set to 0, as in the following example:

+

If you need to determine the table's length you should first call this function with ‘*length’ set to 0, as in the following example:

   FT_ULong  length = 0;
 
@@ -1092,7 +1096,7 @@ Defined in FT_TRUETYPE_TABLES_H (freetype/tttables.h).
 
 

-

Returns information on an SFNT table.

+

Return information on an SFNT table.


input

@@ -1117,7 +1121,7 @@ Defined in FT_TRUETYPE_TABLES_H (freetype/tttables.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

SFNT tables with length zero are treated as missing by Windows.

@@ -1151,7 +1155,7 @@ Defined in FT_TRUETYPE_TABLES_H (freetype/tttables.h).
return
-

The language ID of ‘charmap’. If ‘charmap’ doesn't belong to a TrueType/sfnt face, just return 0 as the default value.

+

The language ID of ‘charmap’. If ‘charmap’ doesn't belong to a TrueType/sfnt face, just return 0 as the default value.


diff --git a/Build/source/libs/freetype2/docs/reference/ft2-type1_tables.html b/Build/source/libs/freetype2/docs/reference/ft2-type1_tables.html index 9cc7e537095..d42e986bf99 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-type1_tables.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-type1_tables.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Type 1 Tables @@ -71,7 +75,7 @@ Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
-

A structure used to model a Type1/Type2 FontInfo dictionary. Note that for Multiple Master fonts, each instance has its own FontInfo dictionary.

+

A structure used to model a Type 1 or Type 2 FontInfo dictionary. Note that for Multiple Master fonts, each instance has its own FontInfo dictionary.



@@ -166,7 +170,7 @@ Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
-

A structure used to model a Type1/Type2 private dictionary. Note that for Multiple Master fonts, each instance has its own Private dictionary.

+

A structure used to model a Type 1 or Type 2 private dictionary. Note that for Multiple Master fonts, each instance has its own Private dictionary.



@@ -406,7 +410,7 @@ Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
-

Return true if a given face provides reliable Postscript glyph names. This is similar to using the FT_HAS_GLYPH_NAMES macro, except that certain fonts (mostly TrueType) contain incorrect glyph name tables.

+

Return true if a given face provides reliable PostScript glyph names. This is similar to using the FT_HAS_GLYPH_NAMES macro, except that certain fonts (mostly TrueType) contain incorrect glyph name tables.

When this function returns true, the caller is sure that the glyph names returned by FT_Get_Glyph_Name are reliable.


input
@@ -439,13 +443,13 @@ Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).

-

Retrieve the PS_FontInfoRec structure corresponding to a given Postscript font.

+

Retrieve the PS_FontInfoRec structure corresponding to a given PostScript font.


input

face -

Postscript face handle.

+

PostScript face handle.

@@ -458,11 +462,11 @@ Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The string pointers within the font info structure are owned by the face and don't need to be freed by the caller.

-

If the font's format is not Postscript-based, this function will return the ‘FT_Err_Invalid_Argument’ error code.

+

If the font's format is not PostScript-based, this function will return the ‘FT_Err_Invalid_Argument’ error code.


@@ -483,13 +487,13 @@ Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
-

Retrieve the PS_PrivateRec structure corresponding to a given Postscript font.

+

Retrieve the PS_PrivateRec structure corresponding to a given PostScript font.


input

face -

Postscript face handle.

+

PostScript face handle.

@@ -502,11 +506,11 @@ Defined in FT_TYPE1_TABLES_H (freetype/t1tables.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

note

The string pointers within the font info structure are owned by the face and don't need to be freed by the caller.

-

If the font's format is not Postscript-based, this function will return the ‘FT_Err_Invalid_Argument’ error code.

+

If the font's format is not PostScript-based, this function will return the ‘FT_Err_Invalid_Argument’ error code.


diff --git a/Build/source/libs/freetype2/docs/reference/ft2-user_allocation.html b/Build/source/libs/freetype2/docs/reference/ft2-user_allocation.html index 0799ce1f0e3..2b050dff90b 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-user_allocation.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-user_allocation.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

User allocation diff --git a/Build/source/libs/freetype2/docs/reference/ft2-version.html b/Build/source/libs/freetype2/docs/reference/ft2-version.html index 307f0890b4c..af74e04bf7b 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-version.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-version.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

FreeType Version @@ -54,7 +58,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h). #define FREETYPE_MAJOR 2 #define FREETYPE_MINOR 3 -#define FREETYPE_PATCH 6 +#define FREETYPE_PATCH 7
@@ -156,7 +160,7 @@ Defined in FT_FREETYPE_H (freetype/freetype.h).
return
-

1 if this is a TrueType font that uses one of the patented opcodes, 0 otherwise.

+

1 if this is a TrueType font that uses one of the patented opcodes, 0 otherwise.

since

2.3.5

diff --git a/Build/source/libs/freetype2/docs/reference/ft2-winfnt_fonts.html b/Build/source/libs/freetype2/docs/reference/ft2-winfnt_fonts.html index dfaad8564ac..301a22c5514 100644 --- a/Build/source/libs/freetype2/docs/reference/ft2-winfnt_fonts.html +++ b/Build/source/libs/freetype2/docs/reference/ft2-winfnt_fonts.html @@ -3,7 +3,7 @@ -FreeType-2.3.6 API Reference +FreeType-2.3.7 API Reference -

FreeType-2.3.6 API Reference

+ + + +
[Index][TOC]
+

FreeType-2.3.7 API Reference

Window FNT Files @@ -107,10 +111,10 @@ Defined in FT_WINFONTS_H (freetype/ftwinfnt.h).

A superset of simplified Chinese GB 2312-1980 (with different ordering and minor deviations).

FT_WinFNT_ID_CP949 -

A superset of Korean Hangul KS C 5601-1987 (with different ordering and minor deviations).

+

A superset of Korean Hangul KS C 5601-1987 (with different ordering and minor deviations).

FT_WinFNT_ID_CP950 -

A superset of traditional Chinese Big 5 ETen (with different ordering and minor deviations).

+

A superset of traditional Chinese Big 5 ETen (with different ordering and minor deviations).

FT_WinFNT_ID_CP1250

A superset of East European ISO 8859-2 (with slightly different ordering).

@@ -259,7 +263,7 @@ Defined in FT_WINFONTS_H (freetype/ftwinfnt.h).
return
-

FreeType error code. 0 means success.

+

FreeType error code. 0 means success.

+
note

This function only works with Windows FNT faces, returning an error otherwise.

diff --git a/Build/source/libs/freetype2/docs/release b/Build/source/libs/freetype2/docs/release index d68da883cd7..e93f430df87 100644 --- a/Build/source/libs/freetype2/docs/release +++ b/Build/source/libs/freetype2/docs/release @@ -49,15 +49,16 @@ How to prepare a new release except the `reference' subdirectory. Do *not* use option `-l' from zip! - Run the following script (with updated `$VERSION' and - `$SAVANNAH_USER' variables) to sign and upload the bundles to both - Savannah and SourceForge. The signing code has been taken from the - `gnupload' script (part of the automake bundle). +. Run the following script (with updated `$VERSION', `$SAVANNAH_USER', + and $SOURCEFORGE_USER variables) to sign and upload the bundles to + both Savannah and SourceForge. The signing code has been taken from + the `gnupload' script (part of the automake bundle). #!/bin/sh - VERSION=2.3.1 + VERSION=2.3.7 SAVANNAH_USER=wl + SOURCEFORGE_USER=wlemb ##################################################################### @@ -114,9 +115,8 @@ How to prepare a new release scp $PACKAGE_LIST $SIGNATURE_LIST \ $SAVANNAH_USER@dl.sv.nongnu.org:/releases/freetype/ - for f in $PACKAGE_LIST $SIGNATURE_LIST; do - ncftpput upload.sf.net /incoming $f - done + rsync -avP -e ssh $PACKAGE_LIST $SIGNATURE_LIST \ + $SOURCEFORGE_USER@frs.sf.net:uploads/ # EOF diff --git a/Build/source/libs/freetype2/include/freetype/config/ftheader.h b/Build/source/libs/freetype2/include/freetype/config/ftheader.h index a130d38348f..dc5ad3fde9a 100644 --- a/Build/source/libs/freetype2/include/freetype/config/ftheader.h +++ b/Build/source/libs/freetype2/include/freetype/config/ftheader.h @@ -74,7 +74,7 @@ /* */ /* */ /* The following macros are defined to the name of specific */ - /* FreeType 2 header files. They can be used directly in #include */ + /* FreeType~2 header files. They can be used directly in #include */ /* statements as in: */ /* */ /* { */ @@ -85,11 +85,11 @@ /* */ /* There are several reasons why we are now using macros to name */ /* public header files. The first one is that such macros are not */ - /* limited to the infamous 8.3 naming rule required by DOS (and */ + /* limited to the infamous 8.3~naming rule required by DOS (and */ /* `FT_MULTIPLE_MASTERS_H' is a lot more meaningful than `ftmm.h'). */ /* */ /* The second reason is that it allows for more flexibility in the */ - /* way FreeType 2 is installed on a given system. */ + /* way FreeType~2 is installed on a given system. */ /* */ /*************************************************************************/ @@ -103,7 +103,7 @@ * * @description: * A macro used in #include statements to name the file containing - * FreeType 2 configuration data. + * FreeType~2 configuration data. * */ #ifndef FT_CONFIG_CONFIG_H @@ -118,7 +118,7 @@ * * @description: * A macro used in #include statements to name the file containing - * FreeType 2 interface to the standard C library functions. + * FreeType~2 interface to the standard C library functions. * */ #ifndef FT_CONFIG_STANDARD_LIBRARY_H @@ -133,7 +133,7 @@ * * @description: * A macro used in #include statements to name the file containing - * FreeType 2 project-specific configuration options. + * FreeType~2 project-specific configuration options. * */ #ifndef FT_CONFIG_OPTIONS_H @@ -148,7 +148,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * list of FreeType 2 modules that are statically linked to new library + * list of FreeType~2 modules that are statically linked to new library * instances in @FT_Init_FreeType. * */ @@ -167,7 +167,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * base FreeType 2 API. + * base FreeType~2 API. * */ #define FT_FREETYPE_H @@ -180,7 +180,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * list of FreeType 2 error codes (and messages). + * list of FreeType~2 error codes (and messages). * * It is included by @FT_FREETYPE_H. * @@ -195,7 +195,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * list of FreeType 2 module error offsets (and messages). + * list of FreeType~2 module error offsets (and messages). * */ #define FT_MODULE_ERRORS_H @@ -208,7 +208,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * FreeType 2 interface to low-level operations (i.e., memory management + * FreeType~2 interface to low-level operations (i.e., memory management * and stream i/o). * * It is included by @FT_FREETYPE_H. @@ -240,7 +240,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * basic data types defined by FreeType 2. + * basic data types defined by FreeType~2. * * It is included by @FT_FREETYPE_H. * @@ -255,7 +255,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * list management API of FreeType 2. + * list management API of FreeType~2. * * (Most applications will never need to include this file.) * @@ -270,7 +270,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * scalable outline management API of FreeType 2. + * scalable outline management API of FreeType~2. * */ #define FT_OUTLINE_H @@ -296,7 +296,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * module management API of FreeType 2. + * module management API of FreeType~2. * */ #define FT_MODULE_H @@ -309,7 +309,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * renderer module management API of FreeType 2. + * renderer module management API of FreeType~2. * */ #define FT_RENDER_H @@ -322,7 +322,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * types and API specific to the Type 1 format. + * types and API specific to the Type~1 format. * */ #define FT_TYPE1_TABLES_H @@ -483,7 +483,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * API of the optional FreeType 2 cache sub-system. + * API of the optional FreeType~2 cache sub-system. * */ #define FT_CACHE_H @@ -496,7 +496,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * `glyph image' API of the FreeType 2 cache sub-system. + * `glyph image' API of the FreeType~2 cache sub-system. * * It is used to define a cache for @FT_Glyph elements. You can also * use the API defined in @FT_CACHE_SMALL_BITMAPS_H if you only need to @@ -516,7 +516,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * `small bitmaps' API of the FreeType 2 cache sub-system. + * `small bitmaps' API of the FreeType~2 cache sub-system. * * It is used to define a cache for small glyph bitmaps in a relatively * memory-efficient way. You can also use the API defined in @@ -537,7 +537,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * `charmap' API of the FreeType 2 cache sub-system. + * `charmap' API of the FreeType~2 cache sub-system. * * This macro is deprecated. Simply include @FT_CACHE_H to have all * charmap-based cache declarations. @@ -553,7 +553,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * Macintosh-specific FreeType 2 API. The latter is used to access + * Macintosh-specific FreeType~2 API. The latter is used to access * fonts embedded in resource forks. * * This header file must be explicitly included by client applications @@ -570,7 +570,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * optional multiple-masters management API of FreeType 2. + * optional multiple-masters management API of FreeType~2. * */ #define FT_MULTIPLE_MASTERS_H @@ -583,7 +583,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * optional FreeType 2 API which accesses embedded `name' strings in + * optional FreeType~2 API which accesses embedded `name' strings in * SFNT-based font formats (i.e., TrueType and OpenType). * */ @@ -597,7 +597,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * optional FreeType 2 API which validates OpenType tables (BASE, GDEF, + * optional FreeType~2 API which validates OpenType tables (BASE, GDEF, * GPOS, GSUB, JSTF). * */ @@ -611,7 +611,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * optional FreeType 2 API which validates TrueTypeGX/AAT tables (feat, + * optional FreeType~2 API which validates TrueTypeGX/AAT tables (feat, * mort, morx, bsln, just, kern, opbd, trak, prop). * */ @@ -625,7 +625,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * FreeType 2 API which accesses PFR-specific data. + * FreeType~2 API which accesses PFR-specific data. * */ #define FT_PFR_H @@ -638,7 +638,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * FreeType 2 API which provides functions to stroke outline paths. + * FreeType~2 API which provides functions to stroke outline paths. */ #define FT_STROKER_H @@ -650,7 +650,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * FreeType 2 API which performs artificial obliquing and emboldening. + * FreeType~2 API which performs artificial obliquing and emboldening. */ #define FT_SYNTHESIS_H @@ -662,7 +662,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * FreeType 2 API which provides functions specific to the XFree86 and + * FreeType~2 API which provides functions specific to the XFree86 and * X.Org X11 servers. */ #define FT_XFREE86_H @@ -675,7 +675,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * FreeType 2 API which performs trigonometric computations (e.g., + * FreeType~2 API which performs trigonometric computations (e.g., * cosines and arc tangents). */ #define FT_TRIGONOMETRY_H @@ -688,7 +688,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * FreeType 2 API which performs color filtering for subpixel rendering. + * FreeType~2 API which performs color filtering for subpixel rendering. */ #define FT_LCD_FILTER_H @@ -700,7 +700,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * FreeType 2 API which performs color filtering for subpixel rendering. + * FreeType~2 API which performs color filtering for subpixel rendering. */ #define FT_UNPATENTED_HINTING_H @@ -712,7 +712,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * FreeType 2 API which performs color filtering for subpixel rendering. + * FreeType~2 API which performs color filtering for subpixel rendering. */ #define FT_INCREMENTAL_H @@ -724,7 +724,7 @@ * * @description: * A macro used in #include statements to name the file containing the - * FreeType 2 API which returns entries from the TrueType GASP table. + * FreeType~2 API which returns entries from the TrueType GASP table. */ #define FT_GASP_H diff --git a/Build/source/libs/freetype2/include/freetype/freetype.h b/Build/source/libs/freetype2/include/freetype/freetype.h index 32d5319454c..68dd3ff395a 100644 --- a/Build/source/libs/freetype2/include/freetype/freetype.h +++ b/Build/source/libs/freetype2/include/freetype/freetype.h @@ -86,10 +86,10 @@ FT_BEGIN_HEADER /* Base Interface */ /* */ /* */ - /* The FreeType 2 base font interface. */ + /* The FreeType~2 base font interface. */ /* */ /* */ - /* This section describes the public high-level API of FreeType 2. */ + /* This section describes the public high-level API of FreeType~2. */ /* */ /* */ /* FT_Library */ @@ -485,7 +485,7 @@ FT_BEGIN_HEADER /* used to define `encoding' identifiers (see @FT_Encoding). */ /* */ /* */ - /* Since many 16bit compilers don't like 32bit enumerations, you */ + /* Since many 16-bit compilers don't like 32-bit enumerations, you */ /* should redefine this macro in case of problems to something like */ /* this: */ /* */ @@ -527,7 +527,7 @@ FT_BEGIN_HEADER /* */ /* */ /* FT_ENCODING_NONE :: */ - /* The encoding value 0 is reserved. */ + /* The encoding value~0 is reserved. */ /* */ /* FT_ENCODING_UNICODE :: */ /* Corresponds to the Unicode character set. This value covers */ @@ -559,26 +559,26 @@ FT_BEGIN_HEADER /* `http://www.microsoft.com/typography/unicode/949.txt'. */ /* */ /* FT_ENCODING_JOHAB :: */ - /* The Korean standard character set (KS C-5601-1992), which */ + /* The Korean standard character set (KS~C 5601-1992), which */ /* corresponds to MS Windows code page 1361. This character set */ /* includes all possible Hangeul character combinations. */ /* */ /* FT_ENCODING_ADOBE_LATIN_1 :: */ - /* Corresponds to a Latin-1 encoding as defined in a Type 1 */ - /* Postscript font. It is limited to 256 character codes. */ + /* Corresponds to a Latin-1 encoding as defined in a Type~1 */ + /* PostScript font. It is limited to 256 character codes. */ /* */ /* FT_ENCODING_ADOBE_STANDARD :: */ - /* Corresponds to the Adobe Standard encoding, as found in Type 1, */ + /* Corresponds to the Adobe Standard encoding, as found in Type~1, */ /* CFF, and OpenType/CFF fonts. It is limited to 256 character */ /* codes. */ /* */ /* FT_ENCODING_ADOBE_EXPERT :: */ - /* Corresponds to the Adobe Expert encoding, as found in Type 1, */ + /* Corresponds to the Adobe Expert encoding, as found in Type~1, */ /* CFF, and OpenType/CFF fonts. It is limited to 256 character */ /* codes. */ /* */ /* FT_ENCODING_ADOBE_CUSTOM :: */ - /* Corresponds to a custom encoding, as found in Type 1, CFF, and */ + /* Corresponds to a custom encoding, as found in Type~1, CFF, and */ /* OpenType/CFF fonts. It is limited to 256 character codes. */ /* */ /* FT_ENCODING_APPLE_ROMAN :: */ @@ -607,7 +607,7 @@ FT_BEGIN_HEADER /* */ /* */ /* By default, FreeType automatically synthetizes a Unicode charmap */ - /* for Postscript fonts, using their glyph names dictionaries. */ + /* for PostScript fonts, using their glyph names dictionaries. */ /* However, it also reports the encodings defined explicitly in the */ /* font file, for the cases when they are needed, with the Adobe */ /* values as well. */ @@ -630,16 +630,16 @@ FT_BEGIN_HEADER /* and `encoding_id' is not @TT_MAC_ID_ROMAN (otherwise it is set to */ /* FT_ENCODING_APPLE_ROMAN). */ /* */ - /* If `platform_id' is @TT_PLATFORM_MACINTOSH, use the function c */ + /* If `platform_id' is @TT_PLATFORM_MACINTOSH, use the function */ /* @FT_Get_CMap_Language_ID to query the Mac language ID which may be */ /* needed to be able to distinguish Apple encoding variants. See */ /* */ /* http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/README.TXT */ /* */ - /* to get an idea how to do that. Basically, if the language ID is 0, */ + /* to get an idea how to do that. Basically, if the language ID is~0, */ /* don't use it, otherwise subtract 1 from the language ID. Then */ /* examine `encoding_id'. If, for example, `encoding_id' is */ - /* @TT_MAC_ID_ROMAN and the language ID (minus 1) is */ + /* @TT_MAC_ID_ROMAN and the language ID (minus~1) is */ /* `TT_MAC_LANGID_GREEK', it is the Greek encoding, not Roman. */ /* @TT_MAC_ID_ARABIC with `TT_MAC_LANGID_FARSI' means the Farsi */ /* variant the Arabic encoding. */ @@ -753,7 +753,7 @@ FT_BEGIN_HEADER /* An opaque handle to an `FT_Face_InternalRec' structure, used to */ /* model private data of a given @FT_Face object. */ /* */ - /* This structure might change between releases of FreeType 2 and is */ + /* This structure might change between releases of FreeType~2 and is */ /* not generally available to client applications. */ /* */ typedef struct FT_Face_InternalRec_* FT_Face_Internal; @@ -774,7 +774,7 @@ FT_BEGIN_HEADER /* a font file. */ /* */ /* face_index :: The index of the face in the font file. It */ - /* is set to 0 if there is only one face in */ + /* is set to~0 if there is only one face in */ /* the font file. */ /* */ /* face_flags :: A set of bit flags that give important */ @@ -790,6 +790,9 @@ FT_BEGIN_HEADER /* `num_fixed_sizes'), it is set to the number */ /* of outline glyphs. */ /* */ + /* For CID-keyed fonts, this value gives the */ + /* highest CID used in the font. */ + /* */ /* family_name :: The face's family name. This is an ASCII */ /* string, usually in English, which describes */ /* the typeface's family (like `Times New */ @@ -838,9 +841,13 @@ FT_BEGIN_HEADER /* descender'. Only relevant for scalable */ /* formats. */ /* */ + /* Note that the bounding box might be off by */ + /* (at least) one pixel for hinted fonts. See */ + /* @FT_Size_Metrics for further discussion. */ + /* */ /* units_per_EM :: The number of font units per EM square for */ /* this face. This is typically 2048 for */ - /* TrueType fonts, and 1000 for Type 1 fonts. */ + /* TrueType fonts, and 1000 for Type~1 fonts. */ /* Only relevant for scalable formats. */ /* */ /* ascender :: The typographic ascender of the face, */ @@ -1099,7 +1106,7 @@ FT_BEGIN_HEADER * * @description: * A macro that returns true whenever a face object contains a scalable - * font face (true for TrueType, Type 1, Type 42, CID, OpenType/CFF, + * font face (true for TrueType, Type~1, Type~42, CID, OpenType/CFF, * and PFR font formats. * */ @@ -1461,7 +1468,7 @@ FT_BEGIN_HEADER /* bitmap_top :: This is the bitmap's top bearing expressed in */ /* integer pixels. Remember that this is the */ /* distance from the baseline to the top-most */ - /* glyph scanline, upwards y-coordinates being */ + /* glyph scanline, upwards y~coordinates being */ /* *positive*. */ /* */ /* outline :: The outline descriptor for the current glyph */ @@ -1484,7 +1491,7 @@ FT_BEGIN_HEADER /* */ /* control_data :: Certain font drivers can also return the */ /* control data for a given glyph image (e.g. */ - /* TrueType bytecode, Type 1 charstrings, etc.). */ + /* TrueType bytecode, Type~1 charstrings, etc.). */ /* This field is a pointer to such data. */ /* */ /* control_len :: This is the length in bytes of the control */ @@ -1506,7 +1513,7 @@ FT_BEGIN_HEADER /* */ /* If @FT_Load_Glyph is called with default flags (see */ /* @FT_LOAD_DEFAULT) the glyph image is loaded in the glyph slot in */ - /* its native format (e.g., an outline glyph for TrueType and Type 1 */ + /* its native format (e.g., an outline glyph for TrueType and Type~1 */ /* formats). */ /* */ /* This image can later be converted into a bitmap by calling */ @@ -1609,7 +1616,7 @@ FT_BEGIN_HEADER /* alibrary :: A handle to a new library object. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Init_FreeType( FT_Library *alibrary ); @@ -1628,7 +1635,7 @@ FT_BEGIN_HEADER /* library :: A handle to the target library object. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Done_FreeType( FT_Library library ); @@ -1648,8 +1655,8 @@ FT_BEGIN_HEADER /* */ /* FT_OPEN_STREAM :: Copy the stream from the `stream' field. */ /* */ - /* FT_OPEN_PATHNAME :: Create a new input stream from a C */ - /* path name. */ + /* FT_OPEN_PATHNAME :: Create a new input stream from a C~path */ + /* name. */ /* */ /* FT_OPEN_DRIVER :: Use the `driver' field. */ /* */ @@ -1731,7 +1738,7 @@ FT_BEGIN_HEADER /* */ /* driver :: This field is exclusively used by @FT_Open_Face; */ /* it simply specifies the font driver to use to open */ - /* the face. If set to 0, FreeType tries to load the */ + /* the face. If set to~0, FreeType tries to load the */ /* face with each one of the drivers in its list. */ /* */ /* num_params :: The number of extra parameters. */ @@ -1794,7 +1801,7 @@ FT_BEGIN_HEADER /* pathname :: A path to the font file. */ /* */ /* face_index :: The index of the face within the font. The first */ - /* face has index 0. */ + /* face has index~0. */ /* */ /* */ /* aface :: A handle to a new face object. If `face_index' is */ @@ -1802,7 +1809,7 @@ FT_BEGIN_HEADER /* See @FT_Open_Face for more details. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_New_Face( FT_Library library, @@ -1829,7 +1836,7 @@ FT_BEGIN_HEADER /* file_size :: The size of the memory chunk used by the font data. */ /* */ /* face_index :: The index of the face within the font. The first */ - /* face has index 0. */ + /* face has index~0. */ /* */ /* */ /* aface :: A handle to a new face object. If `face_index' is */ @@ -1837,7 +1844,7 @@ FT_BEGIN_HEADER /* See @FT_Open_Face for more details. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* */ /* You must not deallocate the memory before calling @FT_Done_Face. */ @@ -1867,7 +1874,7 @@ FT_BEGIN_HEADER /* be filled by the caller. */ /* */ /* face_index :: The index of the face within the font. The first */ - /* face has index 0. */ + /* face has index~0. */ /* */ /* */ /* aface :: A handle to a new face object. If `face_index' is */ @@ -1875,7 +1882,7 @@ FT_BEGIN_HEADER /* See note below. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* */ /* Unlike FreeType 1.x, this function automatically creates a glyph */ @@ -1884,7 +1891,7 @@ FT_BEGIN_HEADER /* */ /* FT_Open_Face can be used to quickly check whether the font */ /* format of a given font resource is supported by FreeType. If the */ - /* `face_index' field is negative, the function's return value is 0 */ + /* `face_index' field is negative, the function's return value is~0 */ /* if the font format is recognized, or non-zero otherwise; */ /* the function returns a more or less empty face handle in `*aface' */ /* (if `aface' isn't NULL). The only useful field in this special */ @@ -1917,7 +1924,7 @@ FT_BEGIN_HEADER /* filepathname :: The pathname. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Attach_File( FT_Face face, @@ -1932,7 +1939,7 @@ FT_BEGIN_HEADER /* */ /* `Attach' data to a face object. Normally, this is used to read */ /* additional information for the face object. For example, you can */ - /* attach an AFM file that comes with a Type 1 font to get the */ + /* attach an AFM file that comes with a Type~1 font to get the */ /* kerning values and other metrics. */ /* */ /* */ @@ -1943,7 +1950,7 @@ FT_BEGIN_HEADER /* the caller. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* */ /* The meaning of the `attach' (i.e., what really happens when the */ @@ -1972,7 +1979,7 @@ FT_BEGIN_HEADER /* face :: A handle to a target face object. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Done_Face( FT_Face face ); @@ -1994,7 +2001,7 @@ FT_BEGIN_HEADER /* `available_sizes' field of @FT_FaceRec structure. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Select_Size( FT_Face face, @@ -2120,7 +2127,7 @@ FT_BEGIN_HEADER /* req :: A pointer to a @FT_Size_RequestRec. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* */ /* Although drivers may select the bitmap strike matching the */ @@ -2155,7 +2162,7 @@ FT_BEGIN_HEADER /* vert_resolution :: The vertical resolution in dpi. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* */ /* If either the character width or height is zero, it is set equal */ @@ -2194,7 +2201,7 @@ FT_BEGIN_HEADER /* pixel_height :: The nominal height, in pixels. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Set_Pixel_Sizes( FT_Face face, @@ -2227,7 +2234,7 @@ FT_BEGIN_HEADER /* whether to hint the outline, etc). */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* */ /* The loaded glyph may be transformed. See @FT_Set_Transform for */ @@ -2268,7 +2275,7 @@ FT_BEGIN_HEADER /* whether to hint the outline, etc). */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* */ /* This function simply calls @FT_Get_Char_Index and @FT_Load_Glyph. */ @@ -2290,7 +2297,7 @@ FT_BEGIN_HEADER * * @values: * FT_LOAD_DEFAULT :: - * Corresponding to 0, this value is used as the default glyph load + * Corresponding to~0, this value is used as the default glyph load * operation. In this case, the following happens: * * 1. FreeType looks for a bitmap for the glyph corresponding to the @@ -2380,7 +2387,7 @@ FT_BEGIN_HEADER * FT_LOAD_MONOCHROME :: * This flag is used with @FT_LOAD_RENDER to indicate that you want to * render an outline glyph to a 1-bit monochrome bitmap glyph, with - * 8 pixels packed into each byte of the bitmap data. + * 8~pixels packed into each byte of the bitmap data. * * Note that this has no effect on the hinting algorithm used. You * should use @FT_LOAD_TARGET_MONO instead so that the @@ -2451,7 +2458,7 @@ FT_BEGIN_HEADER * FT_LOAD_TARGET_LIGHT :: * A lighter hinting algorithm for non-monochrome modes. Many * generated glyphs are more fuzzy but better resemble its original - * shape. A bit like rendering on Mac OS X. + * shape. A bit like rendering on Mac OS~X. * * As a special exception, this target implies @FT_LOAD_FORCE_AUTOHINT. * @@ -2526,9 +2533,9 @@ FT_BEGIN_HEADER /* face :: A handle to the source face object. */ /* */ /* */ - /* matrix :: A pointer to the transformation's 2x2 matrix. Use 0 for */ + /* matrix :: A pointer to the transformation's 2x2 matrix. Use~0 for */ /* the identity matrix. */ - /* delta :: A pointer to the translation vector. Use 0 for the null */ + /* delta :: A pointer to the translation vector. Use~0 for the null */ /* vector. */ /* */ /* */ @@ -2553,17 +2560,19 @@ FT_BEGIN_HEADER /* */ /* */ /* An enumeration type that lists the render modes supported by */ - /* FreeType 2. Each mode corresponds to a specific type of scanline */ + /* FreeType~2. Each mode corresponds to a specific type of scanline */ /* conversion performed on the outline. */ /* */ /* For bitmap fonts the `bitmap->pixel_mode' field in the */ /* @FT_GlyphSlotRec structure gives the format of the returned */ /* bitmap. */ /* */ + /* All modes except @FT_RENDER_MODE_MONO use 256 levels of opacity. */ + /* */ /* */ /* FT_RENDER_MODE_NORMAL :: */ /* This is the default render mode; it corresponds to 8-bit */ - /* anti-aliased bitmaps, using 256 levels of opacity. */ + /* anti-aliased bitmaps. */ /* */ /* FT_RENDER_MODE_LIGHT :: */ /* This is equivalent to @FT_RENDER_MODE_NORMAL. It is only */ @@ -2572,18 +2581,19 @@ FT_BEGIN_HEADER /* @FT_LOAD_TARGET_XXX for details. */ /* */ /* FT_RENDER_MODE_MONO :: */ - /* This mode corresponds to 1-bit bitmaps. */ + /* This mode corresponds to 1-bit bitmaps (with 2~levels of */ + /* opacity). */ /* */ /* FT_RENDER_MODE_LCD :: */ /* This mode corresponds to horizontal RGB and BGR sub-pixel */ /* displays, like LCD-screens. It produces 8-bit bitmaps that are */ - /* 3 times the width of the original glyph outline in pixels, and */ + /* 3~times the width of the original glyph outline in pixels, and */ /* which use the @FT_PIXEL_MODE_LCD mode. */ /* */ /* FT_RENDER_MODE_LCD_V :: */ /* This mode corresponds to vertical RGB and BGR sub-pixel displays */ /* (like PDA screens, rotated LCD displays, etc.). It produces */ - /* 8-bit bitmaps that are 3 times the height of the original */ + /* 8-bit bitmaps that are 3~times the height of the original */ /* glyph outline in pixels and use the @FT_PIXEL_MODE_LCD_V mode. */ /* */ /* */ @@ -2643,7 +2653,7 @@ FT_BEGIN_HEADER /* list of possible values. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Render_Glyph( FT_GlyphSlot slot, @@ -2661,7 +2671,7 @@ FT_BEGIN_HEADER /* */ /* */ /* FT_KERNING_DEFAULT :: Return scaled and grid-fitted kerning */ - /* distances (value is 0). */ + /* distances (value is~0). */ /* */ /* FT_KERNING_UNFITTED :: Return scaled but un-grid-fitted kerning */ /* distances. */ @@ -2739,7 +2749,7 @@ FT_BEGIN_HEADER /* and in pixels for fixed-sizes formats. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* */ /* Only horizontal layouts (left-to-right & right-to-left) are */ @@ -2774,7 +2784,7 @@ FT_BEGIN_HEADER /* akerning :: The kerning in 16.16 fractional points. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Get_Track_Kerning( FT_Face face, @@ -2790,7 +2800,7 @@ FT_BEGIN_HEADER /* */ /* */ /* Retrieve the ASCII name of a given glyph in a face. This only */ - /* works for those faces where @FT_HAS_GLYPH_NAMES(face) returns 1. */ + /* works for those faces where @FT_HAS_GLYPH_NAMES(face) returns~1. */ /* */ /* */ /* face :: A handle to a source face object. */ @@ -2805,12 +2815,12 @@ FT_BEGIN_HEADER /* copied to. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* */ /* An error is returned if the face doesn't provide glyph names or if */ /* the glyph index is invalid. In all cases of failure, the first */ - /* byte of `buffer' is set to 0 to indicate an empty name. */ + /* byte of `buffer' is set to~0 to indicate an empty name. */ /* */ /* The glyph name is truncated to fit within the buffer if it is too */ /* long. The returned string is always zero-terminated. */ @@ -2832,14 +2842,14 @@ FT_BEGIN_HEADER /* FT_Get_Postscript_Name */ /* */ /* */ - /* Retrieve the ASCII Postscript name of a given face, if available. */ - /* This only works with Postscript and TrueType fonts. */ + /* Retrieve the ASCII PostScript name of a given face, if available. */ + /* This only works with PostScript and TrueType fonts. */ /* */ /* */ /* face :: A handle to the source face object. */ /* */ /* */ - /* A pointer to the face's Postscript name. NULL if unavailable. */ + /* A pointer to the face's PostScript name. NULL if unavailable. */ /* */ /* */ /* The returned pointer is owned by the face and is destroyed with */ @@ -2865,7 +2875,7 @@ FT_BEGIN_HEADER /* encoding :: A handle to the selected encoding. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* */ /* This function returns an error if no charmap in the face */ @@ -2897,14 +2907,14 @@ FT_BEGIN_HEADER /* charmap :: A handle to the selected charmap. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* */ /* This function returns an error if the charmap is not part of */ /* the face (i.e., if it is not listed in the `face->charmaps' */ /* table). */ /* */ - /* It also fails if a type 14 charmap is selected. */ + /* It also fails if a type~14 charmap is selected. */ /* */ FT_EXPORT( FT_Error ) FT_Set_Charmap( FT_Face face, @@ -2947,13 +2957,13 @@ FT_BEGIN_HEADER /* charcode :: The character code. */ /* */ /* */ - /* The glyph index. 0 means `undefined character code'. */ + /* The glyph index. 0~means `undefined character code'. */ /* */ /* */ /* If you use FreeType to manipulate the contents of font files */ /* directly, be aware that the glyph index returned by this function */ /* doesn't always correspond to the internal indices used within */ - /* the file. This is done to ensure that value 0 always corresponds */ + /* the file. This is done to ensure that value~0 always corresponds */ /* to the `missing glyph'. */ /* */ FT_EXPORT( FT_UInt ) @@ -2975,7 +2985,7 @@ FT_BEGIN_HEADER /* face :: A handle to the source face object. */ /* */ /* */ - /* agindex :: Glyph index of first character code. 0 if charmap is */ + /* agindex :: Glyph index of first character code. 0~if charmap is */ /* empty. */ /* */ /* */ @@ -3000,9 +3010,9 @@ FT_BEGIN_HEADER /* } */ /* } */ /* */ - /* Note that `*agindex' is set to 0 if the charmap is empty. The */ - /* result itself can be 0 in two cases: if the charmap is empty or */ - /* when the value 0 is the first valid character code. */ + /* Note that `*agindex' is set to~0 if the charmap is empty. The */ + /* result itself can be~0 in two cases: if the charmap is empty or */ + /* when the value~0 is the first valid character code. */ /* */ FT_EXPORT( FT_ULong ) FT_Get_First_Char( FT_Face face, @@ -3024,7 +3034,7 @@ FT_BEGIN_HEADER /* char_code :: The starting character code. */ /* */ /* */ - /* agindex :: Glyph index of first character code. 0 if charmap */ + /* agindex :: Glyph index of first character code. 0~if charmap */ /* is empty. */ /* */ /* */ @@ -3035,7 +3045,7 @@ FT_BEGIN_HEADER /* over all character codes available in a given charmap. See the */ /* note for this function for a simple code example. */ /* */ - /* Note that `*agindex' is set to 0 when there are no more codes in */ + /* Note that `*agindex' is set to~0 when there are no more codes in */ /* the charmap. */ /* */ FT_EXPORT( FT_ULong ) @@ -3059,7 +3069,7 @@ FT_BEGIN_HEADER /* glyph_name :: The glyph name. */ /* */ /* */ - /* The glyph index. 0 means `undefined character code'. */ + /* The glyph index. 0~means `undefined character code'. */ /* */ FT_EXPORT( FT_UInt ) FT_Get_Name_Index( FT_Face face, @@ -3128,7 +3138,7 @@ FT_BEGIN_HEADER * The subglyph transformation (if any). * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * The values of `*p_arg1', `*p_arg2', and `*p_transform' must be @@ -3155,8 +3165,8 @@ FT_BEGIN_HEADER /* Glyph Variants */ /* */ /* */ - /* The FreeType 2 interface to Unicode Ideographic Variation */ - /* Sequences (IVS), using the SFNT cmap format 14. */ + /* The FreeType~2 interface to Unicode Ideographic Variation */ + /* Sequences (IVS), using the SFNT cmap format~14. */ /* */ /* */ /* Many CJK characters have variant forms. They are a sort of grey */ @@ -3170,10 +3180,10 @@ FT_BEGIN_HEADER /* An IVS is registered and unique; for further details please refer */ /* to Unicode Technical Report #37, the Ideographic Variation */ /* Database. To date (October 2007), the character with the most */ - /* variants is U+908A, having 8 such IVS. */ + /* variants is U+908A, having 8~such IVS. */ /* */ /* Adobe and MS decided to support IVS with a new cmap subtable */ - /* (format 14). It is an odd subtable because it is not a mapping of */ + /* (format~14). It is an odd subtable because it is not a mapping of */ /* input code points to glyphs, but contains lists of all variants */ /* supported by the font. */ /* */ @@ -3205,7 +3215,7 @@ FT_BEGIN_HEADER /* The Unicode code point of the variation selector. */ /* */ /* */ - /* The glyph index. 0 means either `undefined character code', or */ + /* The glyph index. 0~means either `undefined character code', or */ /* `undefined selector code', or `no variation selector cmap */ /* subtable', or `current CharMap is not Unicode'. */ /* */ @@ -3213,7 +3223,7 @@ FT_BEGIN_HEADER /* If you use FreeType to manipulate the contents of font files */ /* directly, be aware that the glyph index returned by this function */ /* doesn't always correspond to the internal indices used within */ - /* the file. This is done to ensure that value 0 always corresponds */ + /* the file. This is done to ensure that value~0 always corresponds */ /* to the `missing glyph'. */ /* */ /* This function is only meaningful if */ @@ -3250,7 +3260,7 @@ FT_BEGIN_HEADER /* The Unicode codepoint of the variation selector. */ /* */ /* */ - /* 1 if found in the standard (Unicode) cmap, 0 if found in the */ + /* 1~if found in the standard (Unicode) cmap, 0~if found in the */ /* variation selector cmap, or -1 if it is not a variant. */ /* */ /* */ @@ -3284,7 +3294,7 @@ FT_BEGIN_HEADER /* no valid variant selector cmap subtable. */ /* */ /* */ - /* The last item in the array is 0; the array is owned by the */ + /* The last item in the array is~0; the array is owned by the */ /* @FT_Face object but can be overwritten or released on the next */ /* call to a FreeType function. */ /* */ @@ -3317,7 +3327,7 @@ FT_BEGIN_HEADER /* is empty. */ /* */ /* */ - /* The last item in the array is 0; the array is owned by the */ + /* The last item in the array is~0; the array is owned by the */ /* @FT_Face object but can be overwritten or released on the next */ /* call to a FreeType function. */ /* */ @@ -3351,7 +3361,7 @@ FT_BEGIN_HEADER /* is no valid cmap or the variant selector is invalid. */ /* */ /* */ - /* The last item in the array is 0; the array is owned by the */ + /* The last item in the array is~0; the array is owned by the */ /* @FT_Face object but can be overwritten or released on the next */ /* call to a FreeType function. */ /* */ @@ -3474,8 +3484,8 @@ FT_BEGIN_HEADER /* The result of `(a*0x10000)/b'. */ /* */ /* */ - /* The optimization for FT_DivFix() is simple: If (a << 16) fits in */ - /* 32 bits, then the division is computed directly. Otherwise, we */ + /* The optimization for FT_DivFix() is simple: If (a~<<~16) fits in */ + /* 32~bits, then the division is computed directly. Otherwise, we */ /* use a specialized version of @FT_MulDiv. */ /* */ FT_EXPORT( FT_Long ) @@ -3601,7 +3611,7 @@ FT_BEGIN_HEADER */ #define FREETYPE_MAJOR 2 #define FREETYPE_MINOR 3 -#define FREETYPE_PATCH 6 +#define FREETYPE_PATCH 7 /*************************************************************************/ @@ -3658,8 +3668,8 @@ FT_BEGIN_HEADER /* face :: A face handle. */ /* */ /* */ - /* 1 if this is a TrueType font that uses one of the patented */ - /* opcodes, 0 otherwise. */ + /* 1~if this is a TrueType font that uses one of the patented */ + /* opcodes, 0~otherwise. */ /* */ /* */ /* 2.3.5 */ diff --git a/Build/source/libs/freetype2/include/freetype/ftbbox.h b/Build/source/libs/freetype2/include/freetype/ftbbox.h index 050194ce8e6..01fe3fb0d10 100644 --- a/Build/source/libs/freetype2/include/freetype/ftbbox.h +++ b/Build/source/libs/freetype2/include/freetype/ftbbox.h @@ -58,7 +58,7 @@ FT_BEGIN_HEADER /* FT_Outline_Get_BBox */ /* */ /* */ - /* Computes the exact bounding box of an outline. This is slower */ + /* Compute the exact bounding box of an outline. This is slower */ /* than computing the control box. However, it uses an advanced */ /* algorithm which returns _very_ quickly when the two boxes */ /* coincide. Otherwise, the outline Bézier arcs are traversed to */ @@ -71,7 +71,7 @@ FT_BEGIN_HEADER /* abbox :: The outline's exact bounding box. */ /* */ /* */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Outline_Get_BBox( FT_Outline* outline, diff --git a/Build/source/libs/freetype2/include/freetype/ftbdf.h b/Build/source/libs/freetype2/include/freetype/ftbdf.h index 9555694811e..a8cf6a51452 100644 --- a/Build/source/libs/freetype2/include/freetype/ftbdf.h +++ b/Build/source/libs/freetype2/include/freetype/ftbdf.h @@ -38,38 +38,39 @@ FT_BEGIN_HEADER /* bdf_fonts */ /* */ /* */ - /* BDF Files */ + /* BDF and PCF Files */ /* */ /* <Abstract> */ - /* BDF specific API. */ + /* BDF and PCF specific API. */ /* */ /* <Description> */ - /* This section contains the declaration of BDF specific functions. */ + /* This section contains the declaration of functions specific to BDF */ + /* and PCF fonts. */ /* */ /*************************************************************************/ - /********************************************************************** - * - * @enum: - * FT_PropertyType - * - * @description: - * A list of BDF property types. - * - * @values: - * BDF_PROPERTY_TYPE_NONE :: - * Value 0 is used to indicate a missing property. - * - * BDF_PROPERTY_TYPE_ATOM :: - * Property is a string atom. - * - * BDF_PROPERTY_TYPE_INTEGER :: - * Property is a 32-bit signed integer. - * - * BDF_PROPERTY_TYPE_CARDINAL :: - * Property is a 32-bit unsigned integer. - */ + /********************************************************************** + * + * @enum: + * FT_PropertyType + * + * @description: + * A list of BDF property types. + * + * @values: + * BDF_PROPERTY_TYPE_NONE :: + * Value~0 is used to indicate a missing property. + * + * BDF_PROPERTY_TYPE_ATOM :: + * Property is a string atom. + * + * BDF_PROPERTY_TYPE_INTEGER :: + * Property is a 32-bit signed integer. + * + * BDF_PROPERTY_TYPE_CARDINAL :: + * Property is a 32-bit unsigned integer. + */ typedef enum BDF_PropertyType_ { BDF_PROPERTY_TYPE_NONE = 0, @@ -80,15 +81,15 @@ FT_BEGIN_HEADER } BDF_PropertyType; - /********************************************************************** - * - * @type: - * BDF_Property - * - * @description: - * A handle to a @BDF_PropertyRec structure to model a given - * BDF/PCF property. - */ + /********************************************************************** + * + * @type: + * BDF_Property + * + * @description: + * A handle to a @BDF_PropertyRec structure to model a given + * BDF/PCF property. + */ typedef struct BDF_PropertyRec_* BDF_Property; @@ -132,7 +133,7 @@ FT_BEGIN_HEADER * FT_Get_BDF_Charset_ID * * @description: - * Retrieves a BDF font character set identity, according to + * Retrieve a BDF font character set identity, according to * the BDF specification. * * @input: @@ -141,13 +142,13 @@ FT_BEGIN_HEADER * * @output: * acharset_encoding :: - * Charset encoding, as a C string, owned by the face. + * Charset encoding, as a C~string, owned by the face. * * acharset_registry :: - * Charset registry, as a C string, owned by the face. + * Charset registry, as a C~string, owned by the face. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * This function only works with BDF faces, returning an error otherwise. @@ -164,7 +165,7 @@ FT_BEGIN_HEADER * FT_Get_BDF_Property * * @description: - * Retrieves a BDF property from a BDF or PCF font file. + * Retrieve a BDF property from a BDF or PCF font file. * * @input: * face :: A handle to the input face. @@ -175,7 +176,7 @@ FT_BEGIN_HEADER * aproperty :: The property. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * This function works with BDF _and_ PCF fonts. It returns an error diff --git a/Build/source/libs/freetype2/include/freetype/ftbitmap.h b/Build/source/libs/freetype2/include/freetype/ftbitmap.h index 337d888eaf2..982b6aed2b2 100644 --- a/Build/source/libs/freetype2/include/freetype/ftbitmap.h +++ b/Build/source/libs/freetype2/include/freetype/ftbitmap.h @@ -72,7 +72,7 @@ FT_BEGIN_HEADER /* FT_Bitmap_Copy */ /* */ /* <Description> */ - /* Copies an bitmap into another one. */ + /* Copy a bitmap into another one. */ /* */ /* <Input> */ /* library :: A handle to a library object. */ @@ -83,7 +83,7 @@ FT_BEGIN_HEADER /* target :: A handle to the target bitmap. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Bitmap_Copy( FT_Library library, @@ -114,11 +114,11 @@ FT_BEGIN_HEADER /* bitmap :: A handle to the target bitmap. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* The current implementation restricts `xStrength' to be less than */ - /* or equal to 8 if bitmap is of pixel_mode @FT_PIXEL_MODE_MONO. */ + /* or equal to~8 if bitmap is of pixel_mode @FT_PIXEL_MODE_MONO. */ /* */ /* If you want to embolden the bitmap owned by a @FT_GlyphSlotRec, */ /* you should call `FT_GlyphSlot_Own_Bitmap' on the slot first. */ @@ -152,7 +152,7 @@ FT_BEGIN_HEADER /* target :: The target bitmap. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* It is possible to call @FT_Bitmap_Convert multiple times without */ @@ -184,7 +184,7 @@ FT_BEGIN_HEADER /* bitmap :: The bitmap object to be freed. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* The `library' argument is taken to have access to FreeType's */ diff --git a/Build/source/libs/freetype2/include/freetype/ftcache.h b/Build/source/libs/freetype2/include/freetype/ftcache.h index 805df78dcc3..bb03b311791 100644 --- a/Build/source/libs/freetype2/include/freetype/ftcache.h +++ b/Build/source/libs/freetype2/include/freetype/ftcache.h @@ -36,10 +36,10 @@ FT_BEGIN_HEADER * Cache Sub-System * * <Abstract> - * How to cache face, size, and glyph data with FreeType 2. + * How to cache face, size, and glyph data with FreeType~2. * * <Description> - * This section describes the FreeType 2 cache sub-system, which is used + * This section describes the FreeType~2 cache sub-system, which is used * to limit the number of concurrently opened @FT_Face and @FT_Size * objects, as well as caching information like character maps and glyph * images while limiting their maximum memory usage. @@ -193,7 +193,7 @@ FT_BEGIN_HEADER * A new @FT_Face handle. * * <Return> - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * <Note> * The third parameter `req_data' is the same as the one passed by the @@ -260,7 +260,7 @@ FT_BEGIN_HEADER /* */ /* <Description> */ /* An opaque handle to a cache node object. Each cache node is */ - /* reference-counted. A node with a count of 0 might be flushed */ + /* reference-counted. A node with a count of~0 might be flushed */ /* out of a full cache whenever a lookup request is performed. */ /* */ /* If you lookup nodes, you have the ability to `acquire' them, i.e., */ @@ -279,19 +279,19 @@ FT_BEGIN_HEADER /* FTC_Manager_New */ /* */ /* <Description> */ - /* Creates a new cache manager. */ + /* Create a new cache manager. */ /* */ /* <Input> */ /* library :: The parent FreeType library handle to use. */ /* */ /* max_faces :: Maximum number of opened @FT_Face objects managed by */ - /* this cache instance. Use 0 for defaults. */ + /* this cache instance. Use~0 for defaults. */ /* */ /* max_sizes :: Maximum number of opened @FT_Size objects managed by */ - /* this cache instance. Use 0 for defaults. */ + /* this cache instance. Use~0 for defaults. */ /* */ /* max_bytes :: Maximum number of bytes to use for cached data nodes. */ - /* Use 0 for defaults. Note that this value does not */ + /* Use~0 for defaults. Note that this value does not */ /* account for managed @FT_Face and @FT_Size objects. */ /* */ /* requester :: An application-provided callback used to translate */ @@ -301,11 +301,11 @@ FT_BEGIN_HEADER /* each time it is called (see @FTC_Face_Requester). */ /* */ /* <Output> */ - /* amanager :: A handle to a new manager object. 0 in case of */ + /* amanager :: A handle to a new manager object. 0~in case of */ /* failure. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FTC_Manager_New( FT_Library library, @@ -323,7 +323,7 @@ FT_BEGIN_HEADER /* FTC_Manager_Reset */ /* */ /* <Description> */ - /* Empties a given cache manager. This simply gets rid of all the */ + /* Empty a given cache manager. This simply gets rid of all the */ /* currently cached @FT_Face and @FT_Size objects within the manager. */ /* */ /* <InOut> */ @@ -339,7 +339,7 @@ FT_BEGIN_HEADER /* FTC_Manager_Done */ /* */ /* <Description> */ - /* Destroys a given manager after emptying it. */ + /* Destroy a given manager after emptying it. */ /* */ /* <Input> */ /* manager :: A handle to the target cache manager object. */ @@ -354,7 +354,7 @@ FT_BEGIN_HEADER /* FTC_Manager_LookupFace */ /* */ /* <Description> */ - /* Retrieves the @FT_Face object that corresponds to a given face ID */ + /* Retrieve the @FT_Face object that corresponds to a given face ID */ /* through a cache manager. */ /* */ /* <Input> */ @@ -366,7 +366,7 @@ FT_BEGIN_HEADER /* aface :: A handle to the face object. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* The returned @FT_Face object is always owned by the manager. You */ @@ -415,10 +415,10 @@ FT_BEGIN_HEADER /* interpreted as integer pixel character sizes. */ /* Otherwise, they are expressed as 1/64th of points. */ /* */ - /* x_res :: Only used when `pixel' is value 0 to indicate the */ + /* x_res :: Only used when `pixel' is value~0 to indicate the */ /* horizontal resolution in dpi. */ /* */ - /* y_res :: Only used when `pixel' is value 0 to indicate the */ + /* y_res :: Only used when `pixel' is value~0 to indicate the */ /* vertical resolution in dpi. */ /* */ /* <Note> */ @@ -466,7 +466,7 @@ FT_BEGIN_HEADER /* asize :: A handle to the size object. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* The returned @FT_Size object is always owned by the manager. You */ @@ -580,7 +580,7 @@ FT_BEGIN_HEADER * A new cache handle. NULL in case of error. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * Like all other caches, this one will be destroyed with the cache @@ -615,7 +615,7 @@ FT_BEGIN_HEADER * The character code (in the corresponding charmap). * * @return: - * Glyph index. 0 means `no glyph'. + * Glyph index. 0~means `no glyph'. * */ FT_EXPORT( FT_UInt ) @@ -721,7 +721,7 @@ FT_BEGIN_HEADER /* FTC_ImageCache_New */ /* */ /* <Description> */ - /* Creates a new glyph image cache. */ + /* Create a new glyph image cache. */ /* */ /* <Input> */ /* manager :: The parent manager for the image cache. */ @@ -730,7 +730,7 @@ FT_BEGIN_HEADER /* acache :: A handle to the new glyph image cache object. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FTC_ImageCache_New( FTC_Manager manager, @@ -743,7 +743,7 @@ FT_BEGIN_HEADER /* FTC_ImageCache_Lookup */ /* */ /* <Description> */ - /* Retrieves a given glyph image from a glyph image cache. */ + /* Retrieve a given glyph image from a glyph image cache. */ /* */ /* <Input> */ /* cache :: A handle to the source glyph image cache. */ @@ -753,7 +753,7 @@ FT_BEGIN_HEADER /* gindex :: The glyph index to retrieve. */ /* */ /* <Output> */ - /* aglyph :: The corresponding @FT_Glyph object. 0 in case of */ + /* aglyph :: The corresponding @FT_Glyph object. 0~in case of */ /* failure. */ /* */ /* anode :: Used to return the address of of the corresponding cache */ @@ -761,7 +761,7 @@ FT_BEGIN_HEADER /* below). */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* The returned glyph is owned and managed by the glyph image cache. */ @@ -806,7 +806,7 @@ FT_BEGIN_HEADER /* gindex :: The glyph index to retrieve. */ /* */ /* <Output> */ - /* aglyph :: The corresponding @FT_Glyph object. 0 in case of */ + /* aglyph :: The corresponding @FT_Glyph object. 0~in case of */ /* failure. */ /* */ /* anode :: Used to return the address of of the corresponding */ @@ -814,7 +814,7 @@ FT_BEGIN_HEADER /* (see note below). */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* The returned glyph is owned and managed by the glyph image cache. */ @@ -873,11 +873,11 @@ FT_BEGIN_HEADER /* top :: The vertical distance from the pen position (on the */ /* baseline) to the upper bitmap border (a.k.a. `top */ /* side bearing'). The distance is positive for upwards */ - /* Y coordinates. */ + /* y~coordinates. */ /* */ /* format :: The format of the glyph bitmap (monochrome or gray). */ /* */ - /* max_grays :: Maximum gray level value (in the range 1 to 255). */ + /* max_grays :: Maximum gray level value (in the range 1 to~255). */ /* */ /* pitch :: The number of bytes per bitmap line. May be positive */ /* or negative. */ @@ -926,7 +926,7 @@ FT_BEGIN_HEADER /* FTC_SBitCache_New */ /* */ /* <Description> */ - /* Creates a new cache to store small glyph bitmaps. */ + /* Create a new cache to store small glyph bitmaps. */ /* */ /* <Input> */ /* manager :: A handle to the source cache manager. */ @@ -935,7 +935,7 @@ FT_BEGIN_HEADER /* acache :: A handle to the new sbit cache. NULL in case of error. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FTC_SBitCache_New( FTC_Manager manager, @@ -948,7 +948,7 @@ FT_BEGIN_HEADER /* FTC_SBitCache_Lookup */ /* */ /* <Description> */ - /* Looks up a given small glyph bitmap in a given sbit cache and */ + /* Look up a given small glyph bitmap in a given sbit cache and */ /* `lock' it to prevent its flushing from the cache until needed. */ /* */ /* <Input> */ @@ -966,7 +966,7 @@ FT_BEGIN_HEADER /* below). */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* The small bitmap descriptor and its bit buffer are owned by the */ @@ -974,7 +974,7 @@ FT_BEGIN_HEADER /* as well disappear from memory on the next cache lookup, so don't */ /* treat them as persistent data. */ /* */ - /* The descriptor's `buffer' field is set to 0 to indicate a missing */ + /* The descriptor's `buffer' field is set to~0 to indicate a missing */ /* glyph bitmap. */ /* */ /* If `anode' is _not_ NULL, it receives the address of the cache */ @@ -1021,7 +1021,7 @@ FT_BEGIN_HEADER /* (see note below). */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* The small bitmap descriptor and its bit buffer are owned by the */ @@ -1029,7 +1029,7 @@ FT_BEGIN_HEADER /* as well disappear from memory on the next cache lookup, so don't */ /* treat them as persistent data. */ /* */ - /* The descriptor's `buffer' field is set to 0 to indicate a missing */ + /* The descriptor's `buffer' field is set to~0 to indicate a missing */ /* glyph bitmap. */ /* */ /* If `anode' is _not_ NULL, it receives the address of the cache */ diff --git a/Build/source/libs/freetype2/include/freetype/ftcid.h b/Build/source/libs/freetype2/include/freetype/ftcid.h index f0387f0ead9..02df2a03522 100644 --- a/Build/source/libs/freetype2/include/freetype/ftcid.h +++ b/Build/source/libs/freetype2/include/freetype/ftcid.h @@ -64,16 +64,16 @@ FT_BEGIN_HEADER * * @output: * registry :: - * The registry, as a C string, owned by the face. + * The registry, as a C~string, owned by the face. * * ordering :: - * The ordering, as a C string, owned by the face. + * The ordering, as a C~string, owned by the face. * * supplement :: * The supplement. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * This function only works with CID faces, returning an error diff --git a/Build/source/libs/freetype2/include/freetype/ftgasp.h b/Build/source/libs/freetype2/include/freetype/ftgasp.h index 2692c318d45..6355bae1066 100644 --- a/Build/source/libs/freetype2/include/freetype/ftgasp.h +++ b/Build/source/libs/freetype2/include/freetype/ftgasp.h @@ -31,11 +31,11 @@ * Gasp Table * * @abstract: - * Retrieving TrueType `gasp' table entries + * Retrieving TrueType `gasp' table entries. * * @description: * The function @FT_Get_Gasp can be used to query a TrueType or OpenType - * font for specific entries in their `gasp' table, if any. This is + * font for specific entries in its `gasp' table, if any. This is * mainly useful when implementing native TrueType hinting with the * bytecode interpreter to duplicate the Windows text rendering results. */ diff --git a/Build/source/libs/freetype2/include/freetype/ftglyph.h b/Build/source/libs/freetype2/include/freetype/ftglyph.h index 832f49cbbae..2c6249ca751 100644 --- a/Build/source/libs/freetype2/include/freetype/ftglyph.h +++ b/Build/source/libs/freetype2/include/freetype/ftglyph.h @@ -145,7 +145,7 @@ FT_BEGIN_HEADER /* */ /* top :: The top-side bearing, i.e., the vertical distance from */ /* the current pen position to the top border of the glyph */ - /* bitmap. This distance is positive for upwards-y! */ + /* bitmap. This distance is positive for upwards~y! */ /* */ /* bitmap :: A descriptor for the bitmap. */ /* */ @@ -228,7 +228,7 @@ FT_BEGIN_HEADER /* aglyph :: A handle to the glyph object. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Get_Glyph( FT_GlyphSlot slot, @@ -248,11 +248,11 @@ FT_BEGIN_HEADER /* source :: A handle to the source glyph object. */ /* */ /* <Output> */ - /* target :: A handle to the target glyph object. 0 in case of */ + /* target :: A handle to the target glyph object. 0~in case of */ /* error. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Glyph_Copy( FT_Glyph source, @@ -265,7 +265,7 @@ FT_BEGIN_HEADER /* FT_Glyph_Transform */ /* */ /* <Description> */ - /* Transforms a glyph image if its format is scalable. */ + /* Transform a glyph image if its format is scalable. */ /* */ /* <InOut> */ /* glyph :: A handle to the target glyph object. */ @@ -375,7 +375,7 @@ FT_BEGIN_HEADER /* expressed in 1/64th of pixels if it is grid-fitted. */ /* */ /* <Note> */ - /* Coordinates are relative to the glyph origin, using the Y-upwards */ + /* Coordinates are relative to the glyph origin, using the y~upwards */ /* convention. */ /* */ /* If the glyph has been loaded with @FT_LOAD_NO_SCALE, `bbox_mode' */ @@ -421,7 +421,7 @@ FT_BEGIN_HEADER /* FT_Glyph_To_Bitmap */ /* */ /* <Description> */ - /* Converts a given glyph object to a bitmap glyph object. */ + /* Convert a given glyph object to a bitmap glyph object. */ /* */ /* <InOut> */ /* the_glyph :: A pointer to a handle to the target glyph. */ @@ -431,7 +431,7 @@ FT_BEGIN_HEADER /* rendered. */ /* */ /* origin :: A pointer to a vector used to translate the glyph */ - /* image before rendering. Can be 0 (if no */ + /* image before rendering. Can be~0 (if no */ /* translation). The origin is expressed in */ /* 26.6 pixels. */ /* */ @@ -440,7 +440,7 @@ FT_BEGIN_HEADER /* never destroyed in case of error. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* The glyph image is translated with the `origin' vector before */ @@ -497,7 +497,7 @@ FT_BEGIN_HEADER /* FT_Done_Glyph */ /* */ /* <Description> */ - /* Destroys a given glyph. */ + /* Destroy a given glyph. */ /* */ /* <Input> */ /* glyph :: A handle to the target glyph object. */ @@ -524,7 +524,7 @@ FT_BEGIN_HEADER /* FT_Matrix_Multiply */ /* */ /* <Description> */ - /* Performs the matrix operation `b = a*b'. */ + /* Perform the matrix operation `b = a*b'. */ /* */ /* <Input> */ /* a :: A pointer to matrix `a'. */ @@ -546,14 +546,14 @@ FT_BEGIN_HEADER /* FT_Matrix_Invert */ /* */ /* <Description> */ - /* Inverts a 2x2 matrix. Returns an error if it can't be inverted. */ + /* Invert a 2x2 matrix. Return an error if it can't be inverted. */ /* */ /* <InOut> */ /* matrix :: A pointer to the target matrix. Remains untouched in */ /* case of error. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Matrix_Invert( FT_Matrix* matrix ); diff --git a/Build/source/libs/freetype2/include/freetype/ftgxval.h b/Build/source/libs/freetype2/include/freetype/ftgxval.h index c7ea861a0da..497015c1011 100644 --- a/Build/source/libs/freetype2/include/freetype/ftgxval.h +++ b/Build/source/libs/freetype2/include/freetype/ftgxval.h @@ -202,7 +202,7 @@ FT_BEGIN_HEADER * The array itself must be allocated by a client. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * This function only works with TrueTypeGX fonts, returning an error @@ -285,14 +285,14 @@ FT_BEGIN_HEADER * FT_ClassicKern_Validate * * @description: - * Validate classic (16bit format) kern table to assure that the offsets + * Validate classic (16-bit format) kern table to assure that the offsets * and indices are valid. The idea is that a higher-level library which * actually does the text layout can access those tables without error * checking (which can be quite time consuming). * * The `kern' table validator in @FT_TrueTypeGX_Validate deals with both - * the new 32bit format and the classic 16bit format, while - * FT_ClassicKern_Validate only supports the classic 16bit format. + * the new 32-bit format and the classic 16-bit format, while + * FT_ClassicKern_Validate only supports the classic 16-bit format. * * @input: * face :: @@ -307,7 +307,7 @@ FT_BEGIN_HEADER * A pointer to the kern table. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * After use, the application should deallocate the buffers pointed to by diff --git a/Build/source/libs/freetype2/include/freetype/ftgzip.h b/Build/source/libs/freetype2/include/freetype/ftgzip.h index 9893437bfa7..acbc4f0327b 100644 --- a/Build/source/libs/freetype2/include/freetype/ftgzip.h +++ b/Build/source/libs/freetype2/include/freetype/ftgzip.h @@ -66,7 +66,7 @@ FT_BEGIN_HEADER * The source stream. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * The source stream must be opened _before_ calling this function. diff --git a/Build/source/libs/freetype2/include/freetype/ftimage.h b/Build/source/libs/freetype2/include/freetype/ftimage.h index 56acb177735..0a1960afc8a 100644 --- a/Build/source/libs/freetype2/include/freetype/ftimage.h +++ b/Build/source/libs/freetype2/include/freetype/ftimage.h @@ -53,7 +53,7 @@ FT_BEGIN_HEADER /* <Description> */ /* The type FT_Pos is a 32-bit integer used to store vectorial */ /* coordinates. Depending on the context, these can represent */ - /* distances in integer font units, or 16,16, or 26.6 fixed float */ + /* distances in integer font units, or 16.16, or 26.6 fixed float */ /* pixel coordinates. */ /* */ typedef signed long FT_Pos; @@ -119,17 +119,17 @@ FT_BEGIN_HEADER /* */ /* <Values> */ /* FT_PIXEL_MODE_NONE :: */ - /* Value 0 is reserved. */ + /* Value~0 is reserved. */ /* */ /* FT_PIXEL_MODE_MONO :: */ - /* A monochrome bitmap, using 1 bit per pixel. Note that pixels */ + /* A monochrome bitmap, using 1~bit per pixel. Note that pixels */ /* are stored in most-significant order (MSB), which means that */ /* the left-most pixel in a byte has value 128. */ /* */ /* FT_PIXEL_MODE_GRAY :: */ /* An 8-bit bitmap, generally used to represent anti-aliased glyph */ /* images. Each pixel is stored in one byte. Note that the number */ - /* of value `gray' levels is stored in the `num_bytes' field of */ + /* of value `gray' levels is stored in the `num_grays' field of */ /* the @FT_Bitmap structure (it generally is 256). */ /* */ /* FT_PIXEL_MODE_GRAY2 :: */ @@ -207,10 +207,10 @@ FT_BEGIN_HEADER /* used with ft_pixel_mode_pal4 and ft_pixel_mode_pal8. */ /* */ /* <Values> */ - /* ft_palette_mode_rgb :: The palette is an array of 3-bytes RGB */ + /* ft_palette_mode_rgb :: The palette is an array of 3-byte RGB */ /* records. */ /* */ - /* ft_palette_mode_rgba :: The palette is an array of 4-bytes RGBA */ + /* ft_palette_mode_rgba :: The palette is an array of 4-byte RGBA */ /* records. */ /* */ /* <Note> */ @@ -317,11 +317,11 @@ FT_BEGIN_HEADER /* elements, giving the outline's point coordinates. */ /* */ /* tags :: A pointer to an array of `n_points' chars, giving */ - /* each outline point's type. If bit 0 is unset, the */ + /* each outline point's type. If bit~0 is unset, the */ /* point is `off' the curve, i.e., a Bézier control */ /* point, while it is `on' when set. */ /* */ - /* Bit 1 is meaningful for `off' points only. If set, */ + /* Bit~1 is meaningful for `off' points only. If set, */ /* it indicates a third-order Bézier arc control point; */ /* and a second-order control point if unset. */ /* */ @@ -352,67 +352,73 @@ FT_BEGIN_HEADER /*************************************************************************/ /* */ /* <Enum> */ - /* FT_OUTLINE_FLAGS */ + /* FT_OUTLINE_FLAGS */ /* */ /* <Description> */ /* A list of bit-field constants use for the flags in an outline's */ /* `flags' field. */ /* */ /* <Values> */ - /* FT_OUTLINE_NONE :: Value 0 is reserved. */ - /* */ - /* FT_OUTLINE_OWNER :: If set, this flag indicates that the */ - /* outline's field arrays (i.e., */ - /* `points', `flags' & `contours') are */ - /* `owned' by the outline object, and */ - /* should thus be freed when it is */ - /* destroyed. */ - /* */ - /* FT_OUTLINE_EVEN_ODD_FILL :: By default, outlines are filled using */ - /* the non-zero winding rule. If set to */ - /* 1, the outline will be filled using */ - /* the even-odd fill rule (only works */ - /* with the smooth raster). */ - /* */ - /* FT_OUTLINE_REVERSE_FILL :: By default, outside contours of an */ - /* outline are oriented in clock-wise */ - /* direction, as defined in the TrueType */ - /* specification. This flag is set if */ - /* the outline uses the opposite */ - /* direction (typically for Type 1 */ - /* fonts). This flag is ignored by the */ - /* scan-converter. */ - /* */ - /* FT_OUTLINE_IGNORE_DROPOUTS :: By default, the scan converter will */ - /* try to detect drop-outs in an outline */ - /* and correct the glyph bitmap to */ - /* ensure consistent shape continuity. */ - /* If set, this flag hints the scan-line */ - /* converter to ignore such cases. */ - /* */ - /* FT_OUTLINE_HIGH_PRECISION :: This flag indicates that the */ - /* scan-line converter should try to */ - /* convert this outline to bitmaps with */ - /* the highest possible quality. It is */ - /* typically set for small character */ - /* sizes. Note that this is only a */ - /* hint, that might be completely */ - /* ignored by a given scan-converter. */ - /* */ - /* FT_OUTLINE_SINGLE_PASS :: This flag is set to force a given */ - /* scan-converter to only use a single */ - /* pass over the outline to render a */ - /* bitmap glyph image. Normally, it is */ - /* set for very large character sizes. */ - /* It is only a hint, that might be */ - /* completely ignored by a given */ - /* scan-converter. */ + /* FT_OUTLINE_NONE :: */ + /* Value~0 is reserved. */ + /* */ + /* FT_OUTLINE_OWNER :: */ + /* If set, this flag indicates that the outline's field arrays */ + /* (i.e., `points', `flags', and `contours') are `owned' by the */ + /* outline object, and should thus be freed when it is destroyed. */ + /* */ + /* FT_OUTLINE_EVEN_ODD_FILL :: */ + /* By default, outlines are filled using the non-zero winding rule. */ + /* If set to 1, the outline will be filled using the even-odd fill */ + /* rule (only works with the smooth raster). */ + /* */ + /* FT_OUTLINE_REVERSE_FILL :: */ + /* By default, outside contours of an outline are oriented in */ + /* clock-wise direction, as defined in the TrueType specification. */ + /* This flag is set if the outline uses the opposite direction */ + /* (typically for Type~1 fonts). This flag is ignored by the scan */ + /* converter. */ + /* */ + /* FT_OUTLINE_IGNORE_DROPOUTS :: */ + /* By default, the scan converter will try to detect drop-outs in */ + /* an outline and correct the glyph bitmap to ensure consistent */ + /* shape continuity. If set, this flag hints the scan-line */ + /* converter to ignore such cases. */ + /* */ + /* FT_OUTLINE_SMART_DROPOUTS :: */ + /* Select smart dropout control. If unset, use simple dropout */ + /* control. Ignored if @FT_OUTLINE_IGNORE_DROPOUTS is set. */ + /* */ + /* FT_OUTLINE_INCLUDE_STUBS :: */ + /* If set, turn pixels on for `stubs', otherwise exclude them. */ + /* Ignored if @FT_OUTLINE_IGNORE_DROPOUTS is set. */ + /* */ + /* FT_OUTLINE_HIGH_PRECISION :: */ + /* This flag indicates that the scan-line converter should try to */ + /* convert this outline to bitmaps with the highest possible */ + /* quality. It is typically set for small character sizes. Note */ + /* that this is only a hint that might be completely ignored by a */ + /* given scan-converter. */ + /* */ + /* FT_OUTLINE_SINGLE_PASS :: */ + /* This flag is set to force a given scan-converter to only use a */ + /* single pass over the outline to render a bitmap glyph image. */ + /* Normally, it is set for very large character sizes. It is only */ + /* a hint that might be completely ignored by a given */ + /* scan-converter. */ + /* */ + /* <Note> */ + /* Please refer to the description of the `SCANTYPE' instruction in */ + /* the OpenType specification (in file `ttinst1.doc') how simple */ + /* drop-outs, smart drop-outs, and stubs are defined. */ /* */ #define FT_OUTLINE_NONE 0x0 #define FT_OUTLINE_OWNER 0x1 #define FT_OUTLINE_EVEN_ODD_FILL 0x2 #define FT_OUTLINE_REVERSE_FILL 0x4 #define FT_OUTLINE_IGNORE_DROPOUTS 0x8 +#define FT_OUTLINE_SMART_DROPOUTS 0x10 +#define FT_OUTLINE_INCLUDE_STUBS 0x20 #define FT_OUTLINE_HIGH_PRECISION 0x100 #define FT_OUTLINE_SINGLE_PASS 0x200 @@ -483,7 +489,7 @@ FT_BEGIN_HEADER /* decomposition function. */ /* */ /* <Return> */ - /* Error code. 0 means success. */ + /* Error code. 0~means success. */ /* */ typedef int (*FT_Outline_MoveToFunc)( const FT_Vector* to, @@ -510,7 +516,7 @@ FT_BEGIN_HEADER /* decomposition function. */ /* */ /* <Return> */ - /* Error code. 0 means success. */ + /* Error code. 0~means success. */ /* */ typedef int (*FT_Outline_LineToFunc)( const FT_Vector* to, @@ -541,7 +547,7 @@ FT_BEGIN_HEADER /* the decomposition function. */ /* */ /* <Return> */ - /* Error code. 0 means success. */ + /* Error code. 0~means success. */ /* */ typedef int (*FT_Outline_ConicToFunc)( const FT_Vector* control, @@ -573,7 +579,7 @@ FT_BEGIN_HEADER /* the decomposition function. */ /* */ /* <Return> */ - /* Error code. 0 means success. */ + /* Error code. 0~means success. */ /* */ typedef int (*FT_Outline_CubicToFunc)( const FT_Vector* control1, @@ -619,7 +625,7 @@ FT_BEGIN_HEADER /* y' = (x << shift) - delta */ /* } */ /* */ - /* Set the value of `shift' and `delta' to 0 to get the original */ + /* Set the value of `shift' and `delta' to~0 to get the original */ /* point coordinates. */ /* */ typedef struct FT_Outline_Funcs_ @@ -652,7 +658,7 @@ FT_BEGIN_HEADER /* This macro converts four-letter tags to an unsigned long type. */ /* */ /* <Note> */ - /* Since many 16bit compilers don't like 32bit enumerations, you */ + /* Since many 16-bit compilers don't like 32-bit enumerations, you */ /* should redefine this macro in case of problems to something like */ /* this: */ /* */ @@ -684,7 +690,7 @@ FT_BEGIN_HEADER /* */ /* <Values> */ /* FT_GLYPH_FORMAT_NONE :: */ - /* The value 0 is reserved. */ + /* The value~0 is reserved. */ /* */ /* FT_GLYPH_FORMAT_COMPOSITE :: */ /* The glyph image is a composite of several other images. This */ @@ -704,7 +710,7 @@ FT_BEGIN_HEADER /* */ /* FT_GLYPH_FORMAT_PLOTTER :: */ /* The glyph image is a vectorial path with no inside and outside */ - /* contours. Some Type 1 fonts, like those in the Hershey family, */ + /* contours. Some Type~1 fonts, like those in the Hershey family, */ /* contain glyphs in this format. These are described as */ /* @FT_Outline, but FreeType isn't currently capable of rendering */ /* them correctly. */ @@ -816,10 +822,11 @@ FT_BEGIN_HEADER /* */ /* <Note> */ /* This structure is used by the span drawing callback type named */ - /* @FT_SpanFunc which takes the y-coordinate of the span as a */ + /* @FT_SpanFunc which takes the y~coordinate of the span as a */ /* a parameter. */ /* */ - /* The coverage value is always between 0 and 255. */ + /* The coverage value is always between 0 and 255. If you want less */ + /* gray values, the callback function has to reduce them. */ /* */ typedef struct FT_Span_ { @@ -841,7 +848,7 @@ FT_BEGIN_HEADER /* spans on each scan line. */ /* */ /* <Input> */ - /* y :: The scanline's y-coordinate. */ + /* y :: The scanline's y~coordinate. */ /* */ /* count :: The number of spans to draw on this scanline. */ /* */ @@ -858,8 +865,8 @@ FT_BEGIN_HEADER /* */ /* Note that the `count' field cannot be greater than a fixed value */ /* defined by the `FT_MAX_GRAY_SPANS' configuration macro in */ - /* `ftoption.h'. By default, this value is set to 32, which means */ - /* that if there are more than 32 spans on a given scanline, the */ + /* `ftoption.h'. By default, this value is set to~32, which means */ + /* that if there are more than 32~spans on a given scanline, the */ /* callback is called several times with the same `y' parameter in */ /* order to draw all callbacks. */ /* */ @@ -889,14 +896,14 @@ FT_BEGIN_HEADER /* per-se the TrueType spec. */ /* */ /* <Input> */ - /* y :: The pixel's y-coordinate. */ + /* y :: The pixel's y~coordinate. */ /* */ - /* x :: The pixel's x-coordinate. */ + /* x :: The pixel's x~coordinate. */ /* */ /* user :: User-supplied data that is passed to the callback. */ /* */ /* <Return> */ - /* 1 if the pixel is `set', 0 otherwise. */ + /* 1~if the pixel is `set', 0~otherwise. */ /* */ typedef int (*FT_Raster_BitTest_Func)( int y, @@ -917,14 +924,14 @@ FT_BEGIN_HEADER /* drop-out control according to the TrueType specification. */ /* */ /* <Input> */ - /* y :: The pixel's y-coordinate. */ + /* y :: The pixel's y~coordinate. */ /* */ - /* x :: The pixel's x-coordinate. */ + /* x :: The pixel's x~coordinate. */ /* */ /* user :: User-supplied data that is passed to the callback. */ /* */ /* <Return> */ - /* 1 if the pixel is `set', 0 otherwise. */ + /* 1~if the pixel is `set', 0~otherwise. */ /* */ typedef void (*FT_Raster_BitSet_Func)( int y, @@ -1064,7 +1071,7 @@ FT_BEGIN_HEADER /* raster :: A handle to the new raster object. */ /* */ /* <Return> */ - /* Error code. 0 means success. */ + /* Error code. 0~means success. */ /* */ /* <Note> */ /* The `memory' parameter is a typeless pointer in order to avoid */ @@ -1164,8 +1171,8 @@ FT_BEGIN_HEADER /* FT_Raster_RenderFunc */ /* */ /* <Description> */ - /* Invokes a given raster to scan-convert a given glyph image into a */ - /* target bitmap. */ + /* Invoke a given raster to scan-convert a given glyph image into a */ + /* target bitmap. */ /* */ /* <Input> */ /* raster :: A handle to the raster object. */ @@ -1174,7 +1181,7 @@ FT_BEGIN_HEADER /* store the rendering parameters. */ /* */ /* <Return> */ - /* Error code. 0 means success. */ + /* Error code. 0~means success. */ /* */ /* <Note> */ /* The exact format of the source image depends on the raster's glyph */ diff --git a/Build/source/libs/freetype2/include/freetype/ftincrem.h b/Build/source/libs/freetype2/include/freetype/ftincrem.h index 6dd2f55f501..96abedea7b6 100644 --- a/Build/source/libs/freetype2/include/freetype/ftincrem.h +++ b/Build/source/libs/freetype2/include/freetype/ftincrem.h @@ -49,7 +49,7 @@ FT_BEGIN_HEADER * * Apart from that, all other tables are loaded normally from the font * file. This mode is useful when FreeType is used within another - * engine, e.g., a Postscript Imaging Processor. + * engine, e.g., a PostScript Imaging Processor. * * To enable this mode, you must use @FT_Open_Face, passing an * @FT_Parameter with the @FT_PARAM_TAG_INCREMENTAL tag and an @@ -67,7 +67,7 @@ FT_BEGIN_HEADER * @description: * An opaque type describing a user-provided object used to implement * `incremental' glyph loading within FreeType. This is used to support - * embedded fonts in certain environments (e.g., Postscript interpreters), + * embedded fonts in certain environments (e.g., PostScript interpreters), * where the glyph data isn't in the font file, or must be overridden by * different values. * @@ -142,7 +142,7 @@ FT_BEGIN_HEADER * * Note that the format of the glyph's data bytes depends on the font * file format. For TrueType, it must correspond to the raw bytes within - * the `glyf' table. For Postscript formats, it must correspond to the + * the `glyf' table. For PostScript formats, it must correspond to the * *unencrypted* charstring bytes, without any `lenIV' header. It is * undefined for any other format. * @@ -160,7 +160,7 @@ FT_BEGIN_HEADER * accessed as a read-only byte block). * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * If this function returns successfully the method diff --git a/Build/source/libs/freetype2/include/freetype/ftlcdfil.h b/Build/source/libs/freetype2/include/freetype/ftlcdfil.h index 01d97805b3c..1e38fe7fb25 100644 --- a/Build/source/libs/freetype2/include/freetype/ftlcdfil.h +++ b/Build/source/libs/freetype2/include/freetype/ftlcdfil.h @@ -119,7 +119,7 @@ FT_BEGIN_HEADER * well on most LCD screens. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * This feature is always disabled by default. Clients must make an @@ -141,8 +141,8 @@ FT_BEGIN_HEADER * If this feature is activated, the dimensions of LCD glyph bitmaps are * either larger or taller than the dimensions of the corresponding * outline with regards to the pixel grid. For example, for - * @FT_RENDER_MODE_LCD, the filter adds up to 3 pixels to the left, and - * up to 3 pixels to the right. + * @FT_RENDER_MODE_LCD, the filter adds up to 3~pixels to the left, and + * up to 3~pixels to the right. * * The bitmap offset values are adjusted correctly, so clients shouldn't * need to modify their layout and glyph positioning code when enabling diff --git a/Build/source/libs/freetype2/include/freetype/ftlist.h b/Build/source/libs/freetype2/include/freetype/ftlist.h index f3223ee8fdb..93b05fc0d62 100644 --- a/Build/source/libs/freetype2/include/freetype/ftlist.h +++ b/Build/source/libs/freetype2/include/freetype/ftlist.h @@ -81,7 +81,7 @@ FT_BEGIN_HEADER /* FT_List_Find */ /* */ /* <Description> */ - /* Finds the list node for a given listed object. */ + /* Find the list node for a given listed object. */ /* */ /* <Input> */ /* list :: A pointer to the parent list. */ @@ -101,7 +101,7 @@ FT_BEGIN_HEADER /* FT_List_Add */ /* */ /* <Description> */ - /* Appends an element to the end of a list. */ + /* Append an element to the end of a list. */ /* */ /* <InOut> */ /* list :: A pointer to the parent list. */ @@ -118,7 +118,7 @@ FT_BEGIN_HEADER /* FT_List_Insert */ /* */ /* <Description> */ - /* Inserts an element at the head of a list. */ + /* Insert an element at the head of a list. */ /* */ /* <InOut> */ /* list :: A pointer to parent list. */ @@ -135,7 +135,7 @@ FT_BEGIN_HEADER /* FT_List_Remove */ /* */ /* <Description> */ - /* Removes a node from a list. This function doesn't check whether */ + /* Remove a node from a list. This function doesn't check whether */ /* the node is in the list! */ /* */ /* <Input> */ @@ -155,7 +155,7 @@ FT_BEGIN_HEADER /* FT_List_Up */ /* */ /* <Description> */ - /* Moves a node to the head/top of a list. Used to maintain LRU */ + /* Move a node to the head/top of a list. Used to maintain LRU */ /* lists. */ /* */ /* <InOut> */ @@ -193,7 +193,7 @@ FT_BEGIN_HEADER /* FT_List_Iterate */ /* */ /* <Description> */ - /* Parses a list and calls a given iterator function on each element. */ + /* Parse a list and calls a given iterator function on each element. */ /* Note that parsing is stopped as soon as one of the iterator calls */ /* returns a non-zero value. */ /* */ @@ -242,7 +242,7 @@ FT_BEGIN_HEADER /* FT_List_Finalize */ /* */ /* <Description> */ - /* Destroys all elements in the list as well as the list itself. */ + /* Destroy all elements in the list as well as the list itself. */ /* */ /* <Input> */ /* list :: A handle to the list. */ diff --git a/Build/source/libs/freetype2/include/freetype/ftlzw.h b/Build/source/libs/freetype2/include/freetype/ftlzw.h index d950653ebf8..00d40169a75 100644 --- a/Build/source/libs/freetype2/include/freetype/ftlzw.h +++ b/Build/source/libs/freetype2/include/freetype/ftlzw.h @@ -63,7 +63,7 @@ FT_BEGIN_HEADER * source :: The source stream. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * The source stream must be opened _before_ calling this function. diff --git a/Build/source/libs/freetype2/include/freetype/ftmac.h b/Build/source/libs/freetype2/include/freetype/ftmac.h index 1752d132a19..ab5bab5170c 100644 --- a/Build/source/libs/freetype2/include/freetype/ftmac.h +++ b/Build/source/libs/freetype2/include/freetype/ftmac.h @@ -85,7 +85,7 @@ FT_BEGIN_HEADER /* aface :: A handle to a new face object. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Notes> */ /* This function can be used to create @FT_Face objects from fonts */ @@ -124,7 +124,7 @@ FT_BEGIN_HEADER /* @FT_New_Face_From_FSSpec. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_GetFile_From_Mac_Name( const char* fontName, @@ -152,7 +152,7 @@ FT_BEGIN_HEADER /* @FT_New_Face_From_FSSpec. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_GetFile_From_Mac_ATS_Name( const char* fontName, @@ -183,7 +183,7 @@ FT_BEGIN_HEADER /* face_index :: Index of the face. For passing to @FT_New_Face. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_GetFilePath_From_Mac_ATS_Name( const char* fontName, @@ -209,12 +209,12 @@ FT_BEGIN_HEADER /* spec :: FSSpec to the font file. */ /* */ /* face_index :: The index of the face within the resource. The */ - /* first face has index 0. */ + /* first face has index~0. */ /* <Output> */ /* aface :: A handle to a new face object. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* @FT_New_Face_From_FSSpec is identical to @FT_New_Face except */ @@ -244,12 +244,12 @@ FT_BEGIN_HEADER /* spec :: FSRef to the font file. */ /* */ /* face_index :: The index of the face within the resource. The */ - /* first face has index 0. */ + /* first face has index~0. */ /* <Output> */ /* aface :: A handle to a new face object. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* @FT_New_Face_From_FSRef is identical to @FT_New_Face except */ diff --git a/Build/source/libs/freetype2/include/freetype/ftmm.h b/Build/source/libs/freetype2/include/freetype/ftmm.h index a9ccfe71380..6261fa87b14 100644 --- a/Build/source/libs/freetype2/include/freetype/ftmm.h +++ b/Build/source/libs/freetype2/include/freetype/ftmm.h @@ -44,7 +44,7 @@ FT_BEGIN_HEADER /* setting design axis coordinates. */ /* */ /* George Williams has extended this interface to make it work with */ - /* both Type 1 Multiple Masters fonts and GX distortable (var) */ + /* both Type~1 Multiple Masters fonts and GX distortable (var) */ /* fonts. Some of these routines only work with MM fonts, others */ /* will work with both types. They are similar enough that a */ /* consistent interface makes sense. */ @@ -91,12 +91,12 @@ FT_BEGIN_HEADER /* This structure can't be used for GX var fonts. */ /* */ /* <Fields> */ - /* num_axis :: Number of axes. Cannot exceed 4. */ + /* num_axis :: Number of axes. Cannot exceed~4. */ /* */ /* num_designs :: Number of designs; should be normally 2^num_axis */ - /* even though the Type 1 specification strangely */ + /* even though the Type~1 specification strangely */ /* allows for intermediate designs to be present. This */ - /* number cannot exceed 16. */ + /* number cannot exceed~16. */ /* */ /* axis :: A table of axis descriptors. */ /* */ @@ -187,7 +187,7 @@ FT_BEGIN_HEADER /* Some fields are specific to one format and not to the other. */ /* */ /* <Fields> */ - /* num_axis :: The number of axes. The maximum value is 4 for */ + /* num_axis :: The number of axes. The maximum value is~4 for */ /* MM; no limit in GX. */ /* */ /* num_designs :: The number of designs; should be normally */ @@ -227,7 +227,7 @@ FT_BEGIN_HEADER /* FT_Get_Multi_Master */ /* */ /* <Description> */ - /* Retrieves the Multiple Master descriptor of a given font. */ + /* Retrieve the Multiple Master descriptor of a given font. */ /* */ /* This function can't be used with GX fonts. */ /* */ @@ -238,7 +238,7 @@ FT_BEGIN_HEADER /* amaster :: The Multiple Masters descriptor. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Get_Multi_Master( FT_Face face, @@ -251,7 +251,7 @@ FT_BEGIN_HEADER /* FT_Get_MM_Var */ /* */ /* <Description> */ - /* Retrieves the Multiple Master/GX var descriptor of a given font. */ + /* Retrieve the Multiple Master/GX var descriptor of a given font. */ /* */ /* <Input> */ /* face :: A handle to the source face. */ @@ -262,7 +262,7 @@ FT_BEGIN_HEADER /* (a single call to FT_FREE will do it). */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Get_MM_Var( FT_Face face, @@ -290,7 +290,7 @@ FT_BEGIN_HEADER /* coords :: An array of design coordinates. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Set_MM_Design_Coordinates( FT_Face face, @@ -317,7 +317,7 @@ FT_BEGIN_HEADER /* coords :: An array of design coordinates. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Set_Var_Design_Coordinates( FT_Face face, @@ -345,7 +345,7 @@ FT_BEGIN_HEADER /* between 0 and 1.0). */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Set_MM_Blend_Coordinates( FT_Face face, diff --git a/Build/source/libs/freetype2/include/freetype/ftmodapi.h b/Build/source/libs/freetype2/include/freetype/ftmodapi.h index 7d813ebe1ba..899812ad4ec 100644 --- a/Build/source/libs/freetype2/include/freetype/ftmodapi.h +++ b/Build/source/libs/freetype2/include/freetype/ftmodapi.h @@ -179,7 +179,7 @@ FT_BEGIN_HEADER /* FT_Add_Module */ /* */ /* <Description> */ - /* Adds a new module to a given library instance. */ + /* Add a new module to a given library instance. */ /* */ /* <InOut> */ /* library :: A handle to the library object. */ @@ -188,7 +188,7 @@ FT_BEGIN_HEADER /* clazz :: A pointer to class descriptor for the module. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* An error will be returned if a module already exists by that name, */ @@ -205,7 +205,7 @@ FT_BEGIN_HEADER /* FT_Get_Module */ /* */ /* <Description> */ - /* Finds a module by its name. */ + /* Find a module by its name. */ /* */ /* <Input> */ /* library :: A handle to the library object. */ @@ -213,7 +213,7 @@ FT_BEGIN_HEADER /* module_name :: The module's name (as an ASCII string). */ /* */ /* <Return> */ - /* A module handle. 0 if none was found. */ + /* A module handle. 0~if none was found. */ /* */ /* <Note> */ /* FreeType's internal modules aren't documented very well, and you */ @@ -230,7 +230,7 @@ FT_BEGIN_HEADER /* FT_Remove_Module */ /* */ /* <Description> */ - /* Removes a given module from a library instance. */ + /* Remove a given module from a library instance. */ /* */ /* <InOut> */ /* library :: A handle to a library object. */ @@ -239,7 +239,7 @@ FT_BEGIN_HEADER /* module :: A handle to a module object. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* The module object is destroyed by the function in case of success. */ @@ -266,7 +266,7 @@ FT_BEGIN_HEADER /* alibrary :: A pointer to handle of a new library object. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_New_Library( FT_Memory memory, @@ -279,14 +279,14 @@ FT_BEGIN_HEADER /* FT_Done_Library */ /* */ /* <Description> */ - /* Discards a given library object. This closes all drivers and */ + /* Discard a given library object. This closes all drivers and */ /* discards all resource objects. */ /* */ /* <Input> */ /* library :: A handle to the target library. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Done_Library( FT_Library library ); @@ -303,7 +303,7 @@ FT_BEGIN_HEADER /* FT_Set_Debug_Hook */ /* */ /* <Description> */ - /* Sets a debug hook function for debugging the interpreter of a font */ + /* Set a debug hook function for debugging the interpreter of a font */ /* format. */ /* */ /* <InOut> */ @@ -318,7 +318,7 @@ FT_BEGIN_HEADER /* */ /* <Note> */ /* Currently, four debug hook slots are available, but only two (for */ - /* the TrueType and the Type 1 interpreter) are defined. */ + /* the TrueType and the Type~1 interpreter) are defined. */ /* */ /* Since the internal headers of FreeType are no longer installed, */ /* the symbol `FT_DEBUG_HOOK_TRUETYPE' isn't available publicly. */ @@ -336,7 +336,7 @@ FT_BEGIN_HEADER /* FT_Add_Default_Modules */ /* */ /* <Description> */ - /* Adds the set of default drivers to a given library object. */ + /* Add the set of default drivers to a given library object. */ /* This is only useful when you create a library object with */ /* @FT_New_Library (usually to plug a custom memory manager). */ /* */ diff --git a/Build/source/libs/freetype2/include/freetype/ftotval.h b/Build/source/libs/freetype2/include/freetype/ftotval.h index 87338828dc3..027f2e88657 100644 --- a/Build/source/libs/freetype2/include/freetype/ftotval.h +++ b/Build/source/libs/freetype2/include/freetype/ftotval.h @@ -145,7 +145,7 @@ FT_BEGIN_HEADER * A pointer to the JSTF table. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * This function only works with OpenType fonts, returning an error diff --git a/Build/source/libs/freetype2/include/freetype/ftoutln.h b/Build/source/libs/freetype2/include/freetype/ftoutln.h index 873e64b812b..6a0f95b9145 100644 --- a/Build/source/libs/freetype2/include/freetype/ftoutln.h +++ b/Build/source/libs/freetype2/include/freetype/ftoutln.h @@ -84,7 +84,7 @@ FT_BEGIN_HEADER /* FT_Outline_Decompose */ /* */ /* <Description> */ - /* Walks over an outline's structure to decompose it into individual */ + /* Walk over an outline's structure to decompose it into individual */ /* segments and Bézier arcs. This function is also able to emit */ /* `move to' and `close to' operations to indicate the start and end */ /* of new contours in the outline. */ @@ -103,7 +103,7 @@ FT_BEGIN_HEADER /* decomposition. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Outline_Decompose( FT_Outline* outline, @@ -117,7 +117,7 @@ FT_BEGIN_HEADER /* FT_Outline_New */ /* */ /* <Description> */ - /* Creates a new outline of a given size. */ + /* Create a new outline of a given size. */ /* */ /* <Input> */ /* library :: A handle to the library object from where the */ @@ -134,7 +134,7 @@ FT_BEGIN_HEADER /* error. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* The reason why this function takes a `library' parameter is simply */ @@ -160,7 +160,7 @@ FT_BEGIN_HEADER /* FT_Outline_Done */ /* */ /* <Description> */ - /* Destroys an outline created with @FT_Outline_New. */ + /* Destroy an outline created with @FT_Outline_New. */ /* */ /* <Input> */ /* library :: A handle of the library object used to allocate the */ @@ -169,7 +169,7 @@ FT_BEGIN_HEADER /* outline :: A pointer to the outline object to be discarded. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* If the outline's `owner' field is not set, only the outline */ @@ -200,7 +200,7 @@ FT_BEGIN_HEADER /* outline :: A handle to a source outline. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Outline_Check( FT_Outline* outline ); @@ -212,7 +212,7 @@ FT_BEGIN_HEADER /* FT_Outline_Get_CBox */ /* */ /* <Description> */ - /* Returns an outline's `control box'. The control box encloses all */ + /* Return an outline's `control box'. The control box encloses all */ /* the outline's points, including Bézier control points. Though it */ /* coincides with the exact bounding box for most glyphs, it can be */ /* slightly larger in some situations (like when rotating an outline */ @@ -240,7 +240,7 @@ FT_BEGIN_HEADER /* FT_Outline_Translate */ /* */ /* <Description> */ - /* Applies a simple translation to the points of an outline. */ + /* Apply a simple translation to the points of an outline. */ /* */ /* <InOut> */ /* outline :: A pointer to the target outline descriptor. */ @@ -262,7 +262,7 @@ FT_BEGIN_HEADER /* FT_Outline_Copy */ /* */ /* <Description> */ - /* Copies an outline into another one. Both objects must have the */ + /* Copy an outline into another one. Both objects must have the */ /* same sizes (number of points & number of contours) when this */ /* function is called. */ /* */ @@ -273,7 +273,7 @@ FT_BEGIN_HEADER /* target :: A handle to the target outline. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Outline_Copy( const FT_Outline* source, @@ -286,7 +286,7 @@ FT_BEGIN_HEADER /* FT_Outline_Transform */ /* */ /* <Description> */ - /* Applies a simple 2x2 matrix to all of an outline's points. Useful */ + /* Apply a simple 2x2 matrix to all of an outline's points. Useful */ /* for applying rotations, slanting, flipping, etc. */ /* */ /* <InOut> */ @@ -310,7 +310,7 @@ FT_BEGIN_HEADER /* FT_Outline_Embolden */ /* */ /* <Description> */ - /* Emboldens an outline. The new outline will be at most 4 times */ + /* Embolden an outline. The new outline will be at most 4~times */ /* `strength' pixels wider and higher. You may think of the left and */ /* bottom borders as unchanged. */ /* */ @@ -325,7 +325,7 @@ FT_BEGIN_HEADER /* 26.6 pixel format. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* The used algorithm to increase or decrease the thickness of the */ @@ -352,7 +352,7 @@ FT_BEGIN_HEADER /* FT_Outline_Reverse */ /* */ /* <Description> */ - /* Reverses the drawing direction of an outline. This is used to */ + /* Reverse the drawing direction of an outline. This is used to */ /* ensure consistent fill conventions for mirrored glyphs. */ /* */ /* <InOut> */ @@ -375,7 +375,7 @@ FT_BEGIN_HEADER /* FT_Outline_Get_Bitmap */ /* */ /* <Description> */ - /* Renders an outline within a bitmap. The outline's image is simply */ + /* Render an outline within a bitmap. The outline's image is simply */ /* OR-ed to the target bitmap. */ /* */ /* <Input> */ @@ -387,14 +387,19 @@ FT_BEGIN_HEADER /* abitmap :: A pointer to the target bitmap descriptor. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* This function does NOT CREATE the bitmap, it only renders an */ - /* outline image within the one you pass to it! */ + /* outline image within the one you pass to it! Consequently, the */ + /* various fields in `abitmap' should be set accordingly. */ /* */ /* It will use the raster corresponding to the default glyph format. */ /* */ + /* The value of the `num_grays' field in `abitmap' is ignored. If */ + /* you select the gray-level rasterizer, and you want less than 256 */ + /* gray levels, you have to use @FT_Outline_Render directly. */ + /* */ FT_EXPORT( FT_Error ) FT_Outline_Get_Bitmap( FT_Library library, FT_Outline* outline, @@ -407,7 +412,7 @@ FT_BEGIN_HEADER /* FT_Outline_Render */ /* */ /* <Description> */ - /* Renders an outline within a bitmap using the current scan-convert. */ + /* Render an outline within a bitmap using the current scan-convert. */ /* This functions uses an @FT_Raster_Params structure as an argument, */ /* allowing advanced features like direct composition, translucency, */ /* etc. */ @@ -422,7 +427,7 @@ FT_BEGIN_HEADER /* describe the rendering operation. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* You should know what you are doing and how @FT_Raster_Params works */ @@ -432,6 +437,11 @@ FT_BEGIN_HEADER /* converter is called, which means that the value you give to it is */ /* actually ignored. */ /* */ + /* The gray-level rasterizer always uses 256 gray levels. If you */ + /* want less gray levels, you have to provide your own span callback. */ + /* See the @FT_RASTER_FLAG_DIRECT value of the `flags' field in the */ + /* @FT_Raster_Params structure for more details. */ + /* */ FT_EXPORT( FT_Error ) FT_Outline_Render( FT_Library library, FT_Outline* outline, @@ -446,7 +456,7 @@ FT_BEGIN_HEADER * @description: * A list of values used to describe an outline's contour orientation. * - * The TrueType and Postscript specifications use different conventions + * The TrueType and PostScript specifications use different conventions * to determine whether outline contours should be filled or unfilled. * * @values: @@ -455,7 +465,7 @@ FT_BEGIN_HEADER * be filled, and counter-clockwise ones must be unfilled. * * FT_ORIENTATION_POSTSCRIPT :: - * According to the Postscript specification, counter-clockwise contours + * According to the PostScript specification, counter-clockwise contours * must be filled, and clockwise ones must be unfilled. * * FT_ORIENTATION_FILL_RIGHT :: @@ -465,7 +475,7 @@ FT_BEGIN_HEADER * * FT_ORIENTATION_FILL_LEFT :: * This is identical to @FT_ORIENTATION_POSTSCRIPT, but is used to - * remember that in Postscript, everything that is to the left of + * remember that in PostScript, everything that is to the left of * the drawing direction of a contour must be filled. * * FT_ORIENTATION_NONE :: diff --git a/Build/source/libs/freetype2/include/freetype/ftpfr.h b/Build/source/libs/freetype2/include/freetype/ftpfr.h index e2801fd0f98..8e79a794f1e 100644 --- a/Build/source/libs/freetype2/include/freetype/ftpfr.h +++ b/Build/source/libs/freetype2/include/freetype/ftpfr.h @@ -80,7 +80,7 @@ FT_BEGIN_HEADER * optional (parameter can be NULL) * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * If the input face is not a PFR, this function will return an error. @@ -115,7 +115,7 @@ FT_BEGIN_HEADER * avector :: A kerning vector. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * This function always return distances in original PFR metrics @@ -150,7 +150,7 @@ FT_BEGIN_HEADER * aadvance :: The glyph advance in metrics units. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * You can use the `x_scale' or `y_scale' results of @FT_Get_PFR_Metrics diff --git a/Build/source/libs/freetype2/include/freetype/ftrender.h b/Build/source/libs/freetype2/include/freetype/ftrender.h index 9ed828e1f4d..41c31eac48c 100644 --- a/Build/source/libs/freetype2/include/freetype/ftrender.h +++ b/Build/source/libs/freetype2/include/freetype/ftrender.h @@ -167,7 +167,7 @@ FT_BEGIN_HEADER /* FT_Get_Renderer */ /* */ /* <Description> */ - /* Retrieves the current renderer for a given glyph format. */ + /* Retrieve the current renderer for a given glyph format. */ /* */ /* <Input> */ /* library :: A handle to the library object. */ @@ -175,7 +175,7 @@ FT_BEGIN_HEADER /* format :: The glyph format. */ /* */ /* <Return> */ - /* A renderer handle. 0 if none found. */ + /* A renderer handle. 0~if none found. */ /* */ /* <Note> */ /* An error will be returned if a module already exists by that name, */ @@ -195,7 +195,7 @@ FT_BEGIN_HEADER /* FT_Set_Renderer */ /* */ /* <Description> */ - /* Sets the current renderer to use, and set additional mode. */ + /* Set the current renderer to use, and set additional mode. */ /* */ /* <InOut> */ /* library :: A handle to the library object. */ @@ -208,7 +208,7 @@ FT_BEGIN_HEADER /* parameters :: Additional parameters. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* In case of success, the renderer will be used to convert glyph */ diff --git a/Build/source/libs/freetype2/include/freetype/ftsizes.h b/Build/source/libs/freetype2/include/freetype/ftsizes.h index 622df162d2c..05636c7ae35 100644 --- a/Build/source/libs/freetype2/include/freetype/ftsizes.h +++ b/Build/source/libs/freetype2/include/freetype/ftsizes.h @@ -89,7 +89,7 @@ FT_BEGIN_HEADER /* asize :: A handle to a new size object. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* You need to call @FT_Activate_Size in order to select the new size */ @@ -115,7 +115,7 @@ FT_BEGIN_HEADER /* size :: A handle to a target size object. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ FT_EXPORT( FT_Error ) FT_Done_Size( FT_Size size ); @@ -139,7 +139,7 @@ FT_BEGIN_HEADER /* size :: A handle to a target size object. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* If `face' is the size's parent face object, this function changes */ diff --git a/Build/source/libs/freetype2/include/freetype/ftsnames.h b/Build/source/libs/freetype2/include/freetype/ftsnames.h index 003cbcd129c..477e1e3ce81 100644 --- a/Build/source/libs/freetype2/include/freetype/ftsnames.h +++ b/Build/source/libs/freetype2/include/freetype/ftsnames.h @@ -48,7 +48,7 @@ FT_BEGIN_HEADER /* Access the names embedded in TrueType and OpenType files. */ /* */ /* <Description> */ - /* The TrueType and OpenType specification allow the inclusion of */ + /* The TrueType and OpenType specifications allow the inclusion of */ /* a special `names table' in font files. This table contains */ /* textual (and internationalized) information regarding the font, */ /* like family name, copyright, version, etc. */ @@ -114,7 +114,7 @@ FT_BEGIN_HEADER /* FT_Get_Sfnt_Name_Count */ /* */ /* <Description> */ - /* Retrieves the number of name strings in the SFNT `name' table. */ + /* Retrieve the number of name strings in the SFNT `name' table. */ /* */ /* <Input> */ /* face :: A handle to the source face. */ @@ -132,7 +132,7 @@ FT_BEGIN_HEADER /* FT_Get_Sfnt_Name */ /* */ /* <Description> */ - /* Retrieves a string of the SFNT `name' table for a given index. */ + /* Retrieve a string of the SFNT `name' table for a given index. */ /* */ /* <Input> */ /* face :: A handle to the source face. */ @@ -143,7 +143,7 @@ FT_BEGIN_HEADER /* aname :: The indexed @FT_SfntName structure. */ /* */ /* <Return> */ - /* FreeType error code. 0 means success. */ + /* FreeType error code. 0~means success. */ /* */ /* <Note> */ /* The `string' array returned in the `aname' structure is not */ diff --git a/Build/source/libs/freetype2/include/freetype/ftstroke.h b/Build/source/libs/freetype2/include/freetype/ftstroke.h index 26e31209e79..38d20553ea0 100644 --- a/Build/source/libs/freetype2/include/freetype/ftstroke.h +++ b/Build/source/libs/freetype2/include/freetype/ftstroke.h @@ -216,7 +216,7 @@ FT_BEGIN_HEADER * A new stroker object handle. NULL in case of error. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. */ FT_EXPORT( FT_Error ) FT_Stroker_New( FT_Library library, @@ -297,17 +297,17 @@ FT_BEGIN_HEADER * The source outline. * * opened :: - * A boolean. If 1, the outline is treated as an open path instead + * A boolean. If~1, the outline is treated as an open path instead * of a closed one. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: - * If `opened' is 0 (the default), the outline is treated as a closed + * If `opened' is~0 (the default), the outline is treated as a closed * path, and the stroker will generate two distinct `border' outlines. * - * If `opened' is 1, the outline is processed as an open path, and the + * If `opened' is~1, the outline is processed as an open path, and the * stroker will generate a single `stroke' outline. * * This function calls @FT_Stroker_Rewind automatically. @@ -334,10 +334,10 @@ FT_BEGIN_HEADER * A pointer to the start vector. * * open :: - * A boolean. If 1, the sub-path is treated as an open one. + * A boolean. If~1, the sub-path is treated as an open one. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * This function is useful when you need to stroke a path that is @@ -362,7 +362,7 @@ FT_BEGIN_HEADER * The target stroker handle. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * You should call this function after @FT_Stroker_BeginSubPath. @@ -390,7 +390,7 @@ FT_BEGIN_HEADER * A pointer to the destination point. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * You should call this function between @FT_Stroker_BeginSubPath and @@ -421,7 +421,7 @@ FT_BEGIN_HEADER * A pointer to the destination point. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * You should call this function between @FT_Stroker_BeginSubPath and @@ -456,7 +456,7 @@ FT_BEGIN_HEADER * A pointer to the destination point. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * You should call this function between @FT_Stroker_BeginSubPath and @@ -495,7 +495,7 @@ FT_BEGIN_HEADER * The number of contours. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * When an outline, or a sub-path, is `closed', the stroker generates @@ -583,7 +583,7 @@ FT_BEGIN_HEADER * The number of contours. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. */ FT_EXPORT( FT_Error ) FT_Stroker_GetCounts( FT_Stroker stroker, @@ -649,11 +649,11 @@ FT_BEGIN_HEADER * A stroker handle. * * destroy :: - * A Boolean. If 1, the source glyph object is destroyed + * A Boolean. If~1, the source glyph object is destroyed * on success. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * The source glyph is untouched in case of error. @@ -682,15 +682,15 @@ FT_BEGIN_HEADER * A stroker handle. * * inside :: - * A Boolean. If 1, return the inside border, otherwise + * A Boolean. If~1, return the inside border, otherwise * the outside border. * * destroy :: - * A Boolean. If 1, the source glyph object is destroyed + * A Boolean. If~1, the source glyph object is destroyed * on success. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * The source glyph is untouched in case of error. diff --git a/Build/source/libs/freetype2/include/freetype/ftsystem.h b/Build/source/libs/freetype2/include/freetype/ftsystem.h index 59cd0198221..a95b2c76b61 100644 --- a/Build/source/libs/freetype2/include/freetype/ftsystem.h +++ b/Build/source/libs/freetype2/include/freetype/ftsystem.h @@ -82,7 +82,7 @@ FT_BEGIN_HEADER * The size in bytes to allocate. * * @return: - * Address of new memory block. 0 in case of failure. + * Address of new memory block. 0~in case of failure. * */ typedef void* @@ -133,7 +133,7 @@ FT_BEGIN_HEADER * The block's current address. * * @return: - * New block address. 0 in case of memory shortage. + * New block address. 0~in case of memory shortage. * * @note: * In case of error, the old block must still be available. @@ -152,7 +152,7 @@ FT_BEGIN_HEADER * FT_MemoryRec * * @description: - * A structure used to describe a given memory manager to FreeType 2. + * A structure used to describe a given memory manager to FreeType~2. * * @fields: * user :: @@ -240,7 +240,7 @@ FT_BEGIN_HEADER * * @note: * This function might be called to perform a seek or skip operation - * with a `count' of 0. + * with a `count' of~0. * */ typedef unsigned long diff --git a/Build/source/libs/freetype2/include/freetype/fttypes.h b/Build/source/libs/freetype2/include/freetype/fttypes.h index a60aa5403dc..54f08e3e5a2 100644 --- a/Build/source/libs/freetype2/include/freetype/fttypes.h +++ b/Build/source/libs/freetype2/include/freetype/fttypes.h @@ -43,7 +43,7 @@ FT_BEGIN_HEADER /* The basic data types defined by the library. */ /* */ /* <Description> */ - /* This section contains the basic data types defined by FreeType 2, */ + /* This section contains the basic data types defined by FreeType~2, */ /* ranging from simple scalar types to bitmap descriptors. More */ /* font-specific structures are defined in a different section. */ /* */ @@ -99,7 +99,7 @@ FT_BEGIN_HEADER /* */ /* <Description> */ /* A typedef of unsigned char, used for simple booleans. As usual, */ - /* values 1 and 0 represent true and false, respectively. */ + /* values 1 and~0 represent true and false, respectively. */ /* */ typedef unsigned char FT_Bool; @@ -167,7 +167,7 @@ FT_BEGIN_HEADER /* FT_Tag */ /* */ /* <Description> */ - /* A typedef for 32bit tags (as used in the SFNT format). */ + /* A typedef for 32-bit tags (as used in the SFNT format). */ /* */ typedef FT_UInt32 FT_Tag; @@ -290,7 +290,7 @@ FT_BEGIN_HEADER /* FT_Error */ /* */ /* <Description> */ - /* The FreeType error code type. A value of 0 is always interpreted */ + /* The FreeType error code type. A value of~0 is always interpreted */ /* as a successful operation. */ /* */ typedef int FT_Error; @@ -313,7 +313,7 @@ FT_BEGIN_HEADER /* FT_Offset */ /* */ /* <Description> */ - /* This is equivalent to the ANSI C `size_t' type, i.e., the largest */ + /* This is equivalent to the ANSI~C `size_t' type, i.e., the largest */ /* _unsigned_ integer type used to express a file size or position, */ /* or a memory block size. */ /* */ @@ -326,7 +326,7 @@ FT_BEGIN_HEADER /* FT_PtrDist */ /* */ /* <Description> */ - /* This is equivalent to the ANSI C `ptrdiff_t' type, i.e., the */ + /* This is equivalent to the ANSI~C `ptrdiff_t' type, i.e., the */ /* largest _signed_ integer type used to express the distance */ /* between two pointers. */ /* */ @@ -413,7 +413,7 @@ FT_BEGIN_HEADER /* FT_Generic_Finalizer */ /* */ /* <Description> */ - /* Describes a function used to destroy the `client' data of any */ + /* Describe a function used to destroy the `client' data of any */ /* FreeType object. See the description of the @FT_Generic type for */ /* details of usage. */ /* */ @@ -470,8 +470,8 @@ FT_BEGIN_HEADER /* TrueType tables into an unsigned long to be used within FreeType. */ /* */ /* <Note> */ - /* The produced values *must* be 32bit integers. Don't redefine this */ - /* macro. */ + /* The produced values *must* be 32-bit integers. Don't redefine */ + /* this macro. */ /* */ #define FT_MAKE_TAG( _x1, _x2, _x3, _x4 ) \ ( ( (FT_ULong)_x1 << 24 ) | \ diff --git a/Build/source/libs/freetype2/include/freetype/ftwinfnt.h b/Build/source/libs/freetype2/include/freetype/ftwinfnt.h index 951b0c4885d..ea33353536e 100644 --- a/Build/source/libs/freetype2/include/freetype/ftwinfnt.h +++ b/Build/source/libs/freetype2/include/freetype/ftwinfnt.h @@ -111,11 +111,11 @@ FT_BEGIN_HEADER * ordering and minor deviations). * * FT_WinFNT_ID_CP949 :: - * A superset of Korean Hangul KS C 5601-1987 (with different + * A superset of Korean Hangul KS~C 5601-1987 (with different * ordering and minor deviations). * * FT_WinFNT_ID_CP950 :: - * A superset of traditional Chinese Big 5 ETen (with different + * A superset of traditional Chinese Big~5 ETen (with different * ordering and minor deviations). * * FT_WinFNT_ID_CP1250 :: @@ -248,7 +248,7 @@ FT_BEGIN_HEADER * aheader :: The WinFNT header. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * This function only works with Windows FNT faces, returning an error diff --git a/Build/source/libs/freetype2/include/freetype/ftxf86.h b/Build/source/libs/freetype2/include/freetype/ftxf86.h index ea82abb0842..ae9ff076fab 100644 --- a/Build/source/libs/freetype2/include/freetype/ftxf86.h +++ b/Build/source/libs/freetype2/include/freetype/ftxf86.h @@ -60,8 +60,8 @@ FT_BEGIN_HEADER /* <Description> */ /* Return a string describing the format of a given face, using values */ /* which can be used as an X11 FONT_PROPERTY. Possible values are */ - /* `TrueType', `Type 1', `BDF', `PCF', `Type 42', `CID Type 1', `CFF', */ - /* `PFR', and `Windows FNT'. */ + /* `TrueType', `Type~1', `BDF', `PCF', `Type~42', `CID~Type~1', `CFF', */ + /* `PFR', and `Windows~FNT'. */ /* */ /* <Input> */ /* face :: */ diff --git a/Build/source/libs/freetype2/include/freetype/internal/ftgloadr.h b/Build/source/libs/freetype2/include/freetype/internal/ftgloadr.h index 9f47c0b8c87..548481ac800 100644 --- a/Build/source/libs/freetype2/include/freetype/internal/ftgloadr.h +++ b/Build/source/libs/freetype2/include/freetype/internal/ftgloadr.h @@ -67,11 +67,11 @@ FT_BEGIN_HEADER typedef struct FT_GlyphLoadRec_ { - FT_Outline outline; /* outline */ - FT_Vector* extra_points; /* extra points table */ + FT_Outline outline; /* outline */ + FT_Vector* extra_points; /* extra points table */ FT_Vector* extra_points2; /* second extra points table */ - FT_UInt num_subglyphs; /* number of subglyphs */ - FT_SubGlyph subglyphs; /* subglyphs */ + FT_UInt num_subglyphs; /* number of subglyphs */ + FT_SubGlyph subglyphs; /* subglyphs */ } FT_GlyphLoadRec, *FT_GlyphLoad; diff --git a/Build/source/libs/freetype2/include/freetype/t1tables.h b/Build/source/libs/freetype2/include/freetype/t1tables.h index bd11f33426b..204d7a71b3f 100644 --- a/Build/source/libs/freetype2/include/freetype/t1tables.h +++ b/Build/source/libs/freetype2/include/freetype/t1tables.h @@ -43,7 +43,7 @@ FT_BEGIN_HEADER /* Type 1 Tables */ /* */ /* <Abstract> */ - /* Type 1 (PostScript) specific font tables. */ + /* Type~1 (PostScript) specific font tables. */ /* */ /* <Description> */ /* This section contains the definition of Type 1-specific tables, */ @@ -62,8 +62,8 @@ FT_BEGIN_HEADER /* PS_FontInfoRec */ /* */ /* <Description> */ - /* A structure used to model a Type1/Type2 FontInfo dictionary. Note */ - /* that for Multiple Master fonts, each instance has its own */ + /* A structure used to model a Type~1 or Type~2 FontInfo dictionary. */ + /* Note that for Multiple Master fonts, each instance has its own */ /* FontInfo dictionary. */ /* */ typedef struct PS_FontInfoRec_ @@ -111,9 +111,9 @@ FT_BEGIN_HEADER /* PS_PrivateRec */ /* */ /* <Description> */ - /* A structure used to model a Type1/Type2 private dictionary. Note */ - /* that for Multiple Master fonts, each instance has its own Private */ - /* dictionary. */ + /* A structure used to model a Type~1 or Type~2 private dictionary. */ + /* Note that for Multiple Master fonts, each instance has its own */ + /* Private dictionary. */ /* */ typedef struct PS_PrivateRec_ { @@ -408,7 +408,7 @@ FT_BEGIN_HEADER * FT_Has_PS_Glyph_Names * * @description: - * Return true if a given face provides reliable Postscript glyph + * Return true if a given face provides reliable PostScript glyph * names. This is similar to using the @FT_HAS_GLYPH_NAMES macro, * except that certain fonts (mostly TrueType) contain incorrect * glyph name tables. @@ -435,24 +435,24 @@ FT_BEGIN_HEADER * * @description: * Retrieve the @PS_FontInfoRec structure corresponding to a given - * Postscript font. + * PostScript font. * * @input: * face :: - * Postscript face handle. + * PostScript face handle. * * @output: * afont_info :: * Output font info structure pointer. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * The string pointers within the font info structure are owned by * the face and don't need to be freed by the caller. * - * If the font's format is not Postscript-based, this function will + * If the font's format is not PostScript-based, this function will * return the `FT_Err_Invalid_Argument' error code. * */ @@ -468,24 +468,24 @@ FT_BEGIN_HEADER * * @description: * Retrieve the @PS_PrivateRec structure corresponding to a given - * Postscript font. + * PostScript font. * * @input: * face :: - * Postscript face handle. + * PostScript face handle. * * @output: * afont_private :: * Output private dictionary structure pointer. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * The string pointers within the font info structure are owned by * the face and don't need to be freed by the caller. * - * If the font's format is not Postscript-based, this function will + * If the font's format is not PostScript-based, this function will * return the `FT_Err_Invalid_Argument' error code. * */ diff --git a/Build/source/libs/freetype2/include/freetype/ttnameid.h b/Build/source/libs/freetype2/include/freetype/ttnameid.h index 0cddba1b08c..b8010ccd6c4 100644 --- a/Build/source/libs/freetype2/include/freetype/ttnameid.h +++ b/Build/source/libs/freetype2/include/freetype/ttnameid.h @@ -303,7 +303,7 @@ FT_BEGIN_HEADER * TT_ADOBE_ID_CUSTOM :: * Adobe custom encoding. * TT_ADOBE_ID_LATIN_1 :: - * Adobe Latin 1 encoding. + * Adobe Latin~1 encoding. */ #define TT_ADOBE_ID_STANDARD 0 @@ -1117,7 +1117,7 @@ FT_BEGIN_HEADER /* */ /* Here some alias #defines in order to be clearer. */ /* */ - /* These are not always #defined to stay within the 31 character limit */ + /* These are not always #defined to stay within the 31~character limit */ /* which some compilers have. */ /* */ /* Credits go to Dave Hoo <dhoo@flash.net> for pointing out that modern */ diff --git a/Build/source/libs/freetype2/include/freetype/tttables.h b/Build/source/libs/freetype2/include/freetype/tttables.h index 79edb0ef55c..72d8e4f291c 100644 --- a/Build/source/libs/freetype2/include/freetype/tttables.h +++ b/Build/source/libs/freetype2/include/freetype/tttables.h @@ -156,9 +156,9 @@ FT_BEGIN_HEADER /* caret_Slope_Run :: The run coefficient of the cursor's */ /* slope. */ /* */ - /* Reserved :: 8 reserved bytes. */ + /* Reserved :: 8~reserved bytes. */ /* */ - /* metric_Data_Format :: Always 0. */ + /* metric_Data_Format :: Always~0. */ /* */ /* number_Of_HMetrics :: Number of HMetrics entries in the `hmtx' */ /* table -- this value can be smaller than */ @@ -281,9 +281,9 @@ FT_BEGIN_HEADER /* This value is `reserved' in vmtx */ /* version 1.0. */ /* */ - /* Reserved :: 8 reserved bytes. */ + /* Reserved :: 8~reserved bytes. */ /* */ - /* metric_Data_Format :: Always 0. */ + /* metric_Data_Format :: Always~0. */ /* */ /* number_Of_HMetrics :: Number of VMetrics entries in the */ /* `vmtx' table -- this value can be */ @@ -406,9 +406,9 @@ FT_BEGIN_HEADER /* TT_Postscript */ /* */ /* <Description> */ - /* A structure used to model a TrueType Postscript table. All fields */ + /* A structure used to model a TrueType PostScript table. All fields */ /* comply to the TrueType specification. This structure does not */ - /* reference the Postscript glyph names, which can be nevertheless */ + /* reference the PostScript glyph names, which can be nevertheless */ /* accessed with the `ttpost' module. */ /* */ typedef struct TT_Postscript_ @@ -578,7 +578,7 @@ FT_BEGIN_HEADER /* FT_Get_Sfnt_Table */ /* */ /* <Description> */ - /* Returns a pointer to a given SFNT table within a face. */ + /* Return a pointer to a given SFNT table within a face. */ /* */ /* <Input> */ /* face :: A handle to the source. */ @@ -586,7 +586,7 @@ FT_BEGIN_HEADER /* tag :: The index of the SFNT table. */ /* */ /* <Return> */ - /* A type-less pointer to the table. This will be 0 in case of */ + /* A type-less pointer to the table. This will be~0 in case of */ /* error, or if the corresponding table was not found *OR* loaded */ /* from the file. */ /* */ @@ -608,14 +608,14 @@ FT_BEGIN_HEADER * FT_Load_Sfnt_Table * * @description: - * Loads any font table into client memory. + * Load any font table into client memory. * * @input: * face :: * A handle to the source face. * * tag :: - * The four-byte tag of the table to load. Use the value 0 if you want + * The four-byte tag of the table to load. Use the value~0 if you want * to access the whole font file. Otherwise, you can use one of the * definitions found in the @FT_TRUETYPE_TAGS_H file, or forge a new * one with @FT_MAKE_TAG. @@ -633,18 +633,18 @@ FT_BEGIN_HEADER * If the `length' parameter is NULL, then try to load the whole table. * Return an error code if it fails. * - * Else, if `*length' is 0, exit immediately while returning the + * Else, if `*length' is~0, exit immediately while returning the * table's (or file) full size in it. * * Else the number of bytes to read from the table or file, from the * starting offset. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * If you need to determine the table's length you should first call this - * function with `*length' set to 0, as in the following example: + * function with `*length' set to~0, as in the following example: * * { * FT_ULong length = 0; @@ -674,7 +674,7 @@ FT_BEGIN_HEADER * FT_Sfnt_Table_Info * * @description: - * Returns information on an SFNT table. + * Return information on an SFNT table. * * @input: * face :: @@ -692,7 +692,7 @@ FT_BEGIN_HEADER * The length of the SFNT table. * * @return: - * FreeType error code. 0 means success. + * FreeType error code. 0~means success. * * @note: * SFNT tables with length zero are treated as missing by Windows. @@ -720,7 +720,7 @@ FT_BEGIN_HEADER /* */ /* <Return> */ /* The language ID of `charmap'. If `charmap' doesn't belong to a */ - /* TrueType/sfnt face, just return 0 as the default value. */ + /* TrueType/sfnt face, just return~0 as the default value. */ /* */ FT_EXPORT( FT_ULong ) FT_Get_CMap_Language_ID( FT_CharMap charmap ); diff --git a/Build/source/libs/freetype2/src/base/ftcalc.c b/Build/source/libs/freetype2/src/base/ftcalc.c index 17790c39a1e..549427a863c 100644 --- a/Build/source/libs/freetype2/src/base/ftcalc.c +++ b/Build/source/libs/freetype2/src/base/ftcalc.c @@ -33,6 +33,7 @@ #include <ft2build.h> +#include FT_GLYPH_H #include FT_INTERNAL_CALC_H #include FT_INTERNAL_DEBUG_H #include FT_INTERNAL_OBJECTS_H @@ -430,8 +431,8 @@ "shll $16, %%edx\n" "addl %%edx, %%eax\n" "mov %%eax, %0\n" - : "=r"(result) - : "a"(a), "d"(b) + : "=a"(result), "+d"(b) + : "a"(a) : "%ecx" ); return result; @@ -666,6 +667,59 @@ #endif /* FT_LONG64 */ + /* documentation is in ftglyph.h */ + + FT_EXPORT_DEF( void ) + FT_Matrix_Multiply( const FT_Matrix* a, + FT_Matrix *b ) + { + FT_Fixed xx, xy, yx, yy; + + + if ( !a || !b ) + return; + + xx = FT_MulFix( a->xx, b->xx ) + FT_MulFix( a->xy, b->yx ); + xy = FT_MulFix( a->xx, b->xy ) + FT_MulFix( a->xy, b->yy ); + yx = FT_MulFix( a->yx, b->xx ) + FT_MulFix( a->yy, b->yx ); + yy = FT_MulFix( a->yx, b->xy ) + FT_MulFix( a->yy, b->yy ); + + b->xx = xx; b->xy = xy; + b->yx = yx; b->yy = yy; + } + + + /* documentation is in ftglyph.h */ + + FT_EXPORT_DEF( FT_Error ) + FT_Matrix_Invert( FT_Matrix* matrix ) + { + FT_Pos delta, xx, yy; + + + if ( !matrix ) + return FT_Err_Invalid_Argument; + + /* compute discriminant */ + delta = FT_MulFix( matrix->xx, matrix->yy ) - + FT_MulFix( matrix->xy, matrix->yx ); + + if ( !delta ) + return FT_Err_Invalid_Argument; /* matrix can't be inverted */ + + matrix->xy = - FT_DivFix( matrix->xy, delta ); + matrix->yx = - FT_DivFix( matrix->yx, delta ); + + xx = matrix->xx; + yy = matrix->yy; + + matrix->xx = FT_DivFix( yy, delta ); + matrix->yy = FT_DivFix( xx, delta ); + + return FT_Err_Ok; + } + + /* documentation is in ftcalc.h */ FT_BASE_DEF( void ) diff --git a/Build/source/libs/freetype2/src/base/ftglyph.c b/Build/source/libs/freetype2/src/base/ftglyph.c index db0e79fcafe..4130cb11028 100644 --- a/Build/source/libs/freetype2/src/base/ftglyph.c +++ b/Build/source/libs/freetype2/src/base/ftglyph.c @@ -4,7 +4,7 @@ /* */ /* FreeType convenience functions to handle glyphs (body). */ /* */ -/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2007 by */ +/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2007, 2008 by */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* */ /* This file is part of the FreeType project, and may only be used, */ @@ -45,68 +45,6 @@ #define FT_COMPONENT trace_glyph - /*************************************************************************/ - /*************************************************************************/ - /**** ****/ - /**** Convenience functions ****/ - /**** ****/ - /*************************************************************************/ - /*************************************************************************/ - - - /* documentation is in ftglyph.h */ - - FT_EXPORT_DEF( void ) - FT_Matrix_Multiply( const FT_Matrix* a, - FT_Matrix *b ) - { - FT_Fixed xx, xy, yx, yy; - - - if ( !a || !b ) - return; - - xx = FT_MulFix( a->xx, b->xx ) + FT_MulFix( a->xy, b->yx ); - xy = FT_MulFix( a->xx, b->xy ) + FT_MulFix( a->xy, b->yy ); - yx = FT_MulFix( a->yx, b->xx ) + FT_MulFix( a->yy, b->yx ); - yy = FT_MulFix( a->yx, b->xy ) + FT_MulFix( a->yy, b->yy ); - - b->xx = xx; b->xy = xy; - b->yx = yx; b->yy = yy; - } - - - /* documentation is in ftglyph.h */ - - FT_EXPORT_DEF( FT_Error ) - FT_Matrix_Invert( FT_Matrix* matrix ) - { - FT_Pos delta, xx, yy; - - - if ( !matrix ) - return FT_Err_Invalid_Argument; - - /* compute discriminant */ - delta = FT_MulFix( matrix->xx, matrix->yy ) - - FT_MulFix( matrix->xy, matrix->yx ); - - if ( !delta ) - return FT_Err_Invalid_Argument; /* matrix can't be inverted */ - - matrix->xy = - FT_DivFix( matrix->xy, delta ); - matrix->yx = - FT_DivFix( matrix->yx, delta ); - - xx = matrix->xx; - yy = matrix->yy; - - matrix->xx = FT_DivFix( yy, delta ); - matrix->yy = FT_DivFix( xx, delta ); - - return FT_Err_Ok; - } - - /*************************************************************************/ /*************************************************************************/ /**** ****/ diff --git a/Build/source/libs/freetype2/src/base/ftmac.c b/Build/source/libs/freetype2/src/base/ftmac.c index 7f059076d66..4f4ab9d8ee7 100644 --- a/Build/source/libs/freetype2/src/base/ftmac.c +++ b/Build/source/libs/freetype2/src/base/ftmac.c @@ -77,8 +77,8 @@ #define OS_INLINE static __inline__ #endif - /* The ResourceIndex type was only added in the 10.5 SDK */ -#ifndef MAC_OS_X_VERSION_10_5 + /* The ResourceIndex type was available SDKs on 10.5 */ +#ifndef HAVE_TYPE_RESOURCE_INDEX typedef short ResourceIndex; #endif @@ -134,7 +134,7 @@ typedef short ResourceIndex; FSRef* ats_font_ref ) { #if defined( MAC_OS_X_VERSION_10_5 ) && \ - MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 + ( MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 ) OSStatus err; @@ -235,7 +235,7 @@ typedef short ResourceIndex; FT_Long* face_index ) { #if ( __LP64__ ) || ( defined( MAC_OS_X_VERSION_10_5 ) && \ - MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 ) + ( MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 ) ) FT_UNUSED( fontName ); FT_UNUSED( pathSpec ); FT_UNUSED( face_index ); @@ -1108,7 +1108,7 @@ typedef short ResourceIndex; FT_Face* aface ) { #if ( __LP64__ ) || ( defined( MAC_OS_X_VERSION_10_5 ) && \ - MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 ) + ( MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 ) ) FT_UNUSED( library ); FT_UNUSED( spec ); FT_UNUSED( face_index ); diff --git a/Build/source/libs/freetype2/src/cff/cffobjs.c b/Build/source/libs/freetype2/src/cff/cffobjs.c index 12997a94bcd..d575183275d 100644 --- a/Build/source/libs/freetype2/src/cff/cffobjs.c +++ b/Build/source/libs/freetype2/src/cff/cffobjs.c @@ -534,6 +534,111 @@ goto Bad_Format; } + if ( !dict->units_per_em ) + dict->units_per_em = pure_cff ? 1000 : face->root.units_per_EM; + + /* Normalize the font matrix so that `matrix->xx' is 1; the */ + /* scaling is done with `units_per_em' then (at this point, */ + /* it already contains the scaling factor, but without */ + /* normalization of the matrix). */ + /* */ + /* Note that the offsets must be expressed in integer font */ + /* units. */ + + { + FT_Matrix* matrix = &dict->font_matrix; + FT_Vector* offset = &dict->font_offset; + FT_ULong* upm = &dict->units_per_em; + FT_Fixed temp = FT_ABS( matrix->yy ); + + + if ( temp != 0x10000L ) + { + *upm = FT_DivFix( *upm, temp ); + + matrix->xx = FT_DivFix( matrix->xx, temp ); + matrix->yx = FT_DivFix( matrix->yx, temp ); + matrix->xy = FT_DivFix( matrix->xy, temp ); + matrix->yy = FT_DivFix( matrix->yy, temp ); + offset->x = FT_DivFix( offset->x, temp ); + offset->y = FT_DivFix( offset->y, temp ); + } + + offset->x >>= 16; + offset->y >>= 16; + } + + for ( i = cff->num_subfonts; i > 0; i-- ) + { + CFF_FontRecDict sub = &cff->subfonts[i - 1]->font_dict; + CFF_FontRecDict top = &cff->top_font.font_dict; + + FT_Matrix* matrix; + FT_Vector* offset; + FT_ULong* upm; + FT_Fixed temp; + + + if ( sub->units_per_em ) + { + FT_Int scaling; + + + if ( top->units_per_em > 1 && sub->units_per_em > 1 ) + scaling = FT_MIN( top->units_per_em, sub->units_per_em ); + else + scaling = 1; + + FT_Matrix_Multiply_Scaled( &top->font_matrix, + &sub->font_matrix, + scaling ); + FT_Vector_Transform_Scaled( &sub->font_offset, + &top->font_matrix, + scaling ); + + sub->units_per_em = FT_MulDiv( sub->units_per_em, + top->units_per_em, + scaling ); + } + else + { + sub->font_matrix = top->font_matrix; + sub->font_offset = top->font_offset; + + sub->units_per_em = top->units_per_em; + } + + matrix = &sub->font_matrix; + offset = &sub->font_offset; + upm = &sub->units_per_em; + temp = FT_ABS( matrix->yy ); + + if ( temp != 0x10000L ) + { + *upm = FT_DivFix( *upm, temp ); + + /* if *upm is larger than 100*1000 we divide by 1000 -- */ + /* this can happen if e.g. there is no top-font FontMatrix */ + /* and the subfont FontMatrix already contains the complete */ + /* scaling for the subfont (see section 5.11 of the PLRM) */ + + /* 100 is a heuristic value */ + + if ( *upm > 100L * 1000L ) + *upm = ( *upm + 500 ) / 1000; + + matrix->xx = FT_DivFix( matrix->xx, temp ); + matrix->yx = FT_DivFix( matrix->yx, temp ); + matrix->xy = FT_DivFix( matrix->xy, temp ); + matrix->yy = FT_DivFix( matrix->yy, temp ); + offset->x = FT_DivFix( offset->x, temp ); + offset->y = FT_DivFix( offset->y, temp ); + } + + offset->x >>= 16; + offset->y >>= 16; + } + if ( pure_cff ) { char* style_name = NULL; @@ -554,8 +659,6 @@ cffface->bbox.xMax = ( dict->font_bbox.xMax + 0xFFFFU ) >> 16; cffface->bbox.yMax = ( dict->font_bbox.yMax + 0xFFFFU ) >> 16; - if ( !dict->units_per_em ) - dict->units_per_em = 1000; cffface->units_per_EM = dict->units_per_em; @@ -711,114 +814,8 @@ cffface->style_flags = flags; } - else - { - if ( !dict->units_per_em ) - dict->units_per_em = face->root.units_per_EM; - } - - /* Normalize the font matrix so that `matrix->xx' is 1; the */ - /* scaling is done with `units_per_em' then (at this point, */ - /* it already contains the scaling factor, but without */ - /* normalization of the matrix). */ - /* */ - /* Note that the offsets must be expressed in integer font */ - /* units. */ - - { - FT_Matrix* matrix = &dict->font_matrix; - FT_Vector* offset = &dict->font_offset; - FT_ULong* upm = &dict->units_per_em; - FT_Fixed temp = FT_ABS( matrix->yy ); - - - if ( temp != 0x10000L ) - { - *upm = FT_DivFix( *upm, temp ); - - matrix->xx = FT_DivFix( matrix->xx, temp ); - matrix->yx = FT_DivFix( matrix->yx, temp ); - matrix->xy = FT_DivFix( matrix->xy, temp ); - matrix->yy = FT_DivFix( matrix->yy, temp ); - offset->x = FT_DivFix( offset->x, temp ); - offset->y = FT_DivFix( offset->y, temp ); - } - - offset->x >>= 16; - offset->y >>= 16; - } - - for ( i = cff->num_subfonts; i > 0; i-- ) - { - CFF_FontRecDict sub = &cff->subfonts[i - 1]->font_dict; - CFF_FontRecDict top = &cff->top_font.font_dict; - - FT_Matrix* matrix; - FT_Vector* offset; - FT_ULong* upm; - FT_Fixed temp; - if ( sub->units_per_em ) - { - FT_Int scaling; - - - if ( top->units_per_em > 1 && sub->units_per_em > 1 ) - scaling = FT_MIN( top->units_per_em, sub->units_per_em ); - else - scaling = 1; - - FT_Matrix_Multiply_Scaled( &top->font_matrix, - &sub->font_matrix, - scaling ); - FT_Vector_Transform_Scaled( &sub->font_offset, - &top->font_matrix, - scaling ); - - sub->units_per_em = FT_MulDiv( sub->units_per_em, - top->units_per_em, - scaling ); - } - else - { - sub->font_matrix = top->font_matrix; - sub->font_offset = top->font_offset; - - sub->units_per_em = top->units_per_em; - } - - matrix = &sub->font_matrix; - offset = &sub->font_offset; - upm = &sub->units_per_em; - temp = FT_ABS( matrix->yy ); - - if ( temp != 0x10000L ) - { - *upm = FT_DivFix( *upm, temp ); - - /* if *upm is larger than 100*1000 we divide by 1000 -- */ - /* this can happen if e.g. there is no top-font FontMatrix */ - /* and the subfont FontMatrix already contains the complete */ - /* scaling for the subfont (see section 5.11 of the PLRM) */ - - /* 100 is a heuristic value */ - - if ( *upm > 100L * 1000L ) - *upm = ( *upm + 500 ) / 1000; - - matrix->xx = FT_DivFix( matrix->xx, temp ); - matrix->yx = FT_DivFix( matrix->yx, temp ); - matrix->xy = FT_DivFix( matrix->xy, temp ); - matrix->yy = FT_DivFix( matrix->yy, temp ); - offset->x = FT_DivFix( offset->x, temp ); - offset->y = FT_DivFix( offset->y, temp ); - } - - offset->x >>= 16; - offset->y >>= 16; - } - #ifndef FT_CONFIG_OPTION_NO_GLYPH_NAMES /* CID-keyed CFF fonts don't have glyph names -- the SFNT loader */ /* has unset this flag because of the 3.0 `post' table. */ diff --git a/Build/source/libs/freetype2/src/otvalid/otvgpos.c b/Build/source/libs/freetype2/src/otvalid/otvgpos.c index 220f714a9ea..53025ec5e66 100644 --- a/Build/source/libs/freetype2/src/otvalid/otvgpos.c +++ b/Build/source/libs/freetype2/src/otvalid/otvgpos.c @@ -4,7 +4,7 @@ /* */ /* OpenType GPOS table validation (body). */ /* */ -/* Copyright 2002, 2004, 2005, 2006, 2007 by */ +/* Copyright 2002, 2004, 2005, 2006, 2007, 2008 by */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* */ /* This file is part of the FreeType project, and may only be used, */ @@ -644,7 +644,10 @@ /*************************************************************************/ /*************************************************************************/ - /* sets valid->extra2 (0) */ + /* UNDOCUMENTED (in OpenType 1.5): */ + /* BaseRecord tables can contain NULL pointers. */ + + /* sets valid->extra2 (1) */ static void otv_MarkBasePos_validate( FT_Bytes table, @@ -664,7 +667,7 @@ switch ( PosFormat ) { case 1: - valid->extra2 = 0; + valid->extra2 = 1; OTV_NEST2( MarkBasePosFormat1, BaseArray ); OTV_RUN( table, valid ); break; diff --git a/Build/source/libs/freetype2/src/psaux/psobjs.c b/Build/source/libs/freetype2/src/psaux/psobjs.c index b7b84ac830f..f945b69c623 100644 --- a/Build/source/libs/freetype2/src/psaux/psobjs.c +++ b/Build/source/libs/freetype2/src/psaux/psobjs.c @@ -1634,27 +1634,24 @@ t1_builder_close_contour( T1_Builder builder ) { FT_Outline* outline = builder->current; + FT_Int first; if ( !outline ) return; - /* XXXX: We must not include the last point in the path if it */ - /* is located on the first point. */ + first = outline->n_contours <= 1 + ? 0 : outline->contours[outline->n_contours - 2] + 1; + + /* We must not include the last point in the path if it */ + /* is located on the first point. */ if ( outline->n_points > 1 ) { - FT_Int first = 0; FT_Vector* p1 = outline->points + first; FT_Vector* p2 = outline->points + outline->n_points - 1; FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points - 1; - if ( outline->n_contours > 1 ) - { - first = outline->contours[outline->n_contours - 2] + 1; - p1 = outline->points + first; - } - /* `delete' last point only if it coincides with the first */ /* point and it is not a control point (which can happen). */ if ( p1->x == p2->x && p1->y == p2->y ) @@ -1663,8 +1660,18 @@ } if ( outline->n_contours > 0 ) - outline->contours[outline->n_contours - 1] = - (short)( outline->n_points - 1 ); + { + /* Don't add contours only consisting of one point, i.e., */ + /* check whether begin point and last point are the same. */ + if ( first == outline->n_points - 1 ) + { + outline->n_contours--; + outline->n_points--; + } + else + outline->contours[outline->n_contours - 1] = + (short)( outline->n_points - 1 ); + } } diff --git a/Build/source/libs/freetype2/src/raster/ftraster.c b/Build/source/libs/freetype2/src/raster/ftraster.c index 86d77d4b712..8f014740bda 100644 --- a/Build/source/libs/freetype2/src/raster/ftraster.c +++ b/Build/source/libs/freetype2/src/raster/ftraster.c @@ -2150,8 +2150,10 @@ static const char count_table[256] = f1 = (Byte) ( 0xFF >> ( e1 & 7 ) ); f2 = (Byte) ~( 0x7F >> ( e2 & 7 ) ); - if ( ras.gray_min_x > c1 ) ras.gray_min_x = (short)c1; - if ( ras.gray_max_x < c2 ) ras.gray_max_x = (short)c2; + if ( ras.gray_min_x > c1 ) + ras.gray_min_x = (short)c1; + if ( ras.gray_max_x < c2 ) + ras.gray_max_x = (short)c2; target = ras.bTarget + ras.traceOfs + c1; c2 -= c1; @@ -2184,14 +2186,36 @@ static const char count_table[256] = PProfile left, PProfile right ) { - Long e1, e2; + Long e1, e2, pxl; Short c1, f1; /* Drop-out control */ - e1 = CEILING( x1 ); - e2 = FLOOR ( x2 ); + /* e2 x2 x1 e1 */ + /* */ + /* ^ | */ + /* | | */ + /* +-------------+---------------------+------------+ */ + /* | | */ + /* | v */ + /* */ + /* pixel contour contour pixel */ + /* center center */ + + /* drop-out mode scan conversion rules (as defined in OpenType) */ + /* --------------------------------------------------------------- */ + /* 0 1, 2, 3 */ + /* 1 1, 2, 4 */ + /* 2 1, 2 */ + /* 3 same as mode 2 */ + /* 4 1, 2, 5 */ + /* 5 1, 2, 6 */ + /* 6, 7 same as mode 2 */ + + e1 = CEILING( x1 ); + e2 = FLOOR ( x2 ); + pxl = e1; if ( e1 > e2 ) { @@ -2199,19 +2223,20 @@ static const char count_table[256] = { switch ( ras.dropOutControl ) { - case 1: - e1 = e2; + case 0: /* simple drop-outs including stubs */ + pxl = e2; break; - case 4: - e1 = CEILING( (x1 + x2 + 1) / 2 ); + case 4: /* smart drop-outs including stubs */ + pxl = FLOOR( ( x1 + x2 + 1 ) / 2 + ras.precision_half ); break; - case 2: - case 5: - /* Drop-out Control Rule #4 */ + case 1: /* simple drop-outs excluding stubs */ + case 5: /* smart drop-outs excluding stubs */ + + /* Drop-out Control Rules #4 and #6 */ - /* The spec is not very clear regarding rule #4. It */ + /* The spec is not very clear regarding those rules. It */ /* presents a method that is way too costly to implement */ /* while the general idea seems to get rid of `stubs'. */ /* */ @@ -2233,7 +2258,6 @@ static const char count_table[256] = /* FIXXXME: uncommenting this line solves the disappearing */ /* bit problem in the `7' of verdana 10pts, but */ /* makes a new one in the `C' of arial 14pts */ - #if 0 if ( x2 - x1 < ras.precision_half ) #endif @@ -2247,41 +2271,43 @@ static const char count_table[256] = return; } - /* check that the rightmost pixel isn't set */ - - e1 = TRUNC( e1 ); + if ( ras.dropOutControl == 1 ) + pxl = e2; + else + pxl = FLOOR( ( x1 + x2 + 1 ) / 2 + ras.precision_half ); + break; - c1 = (Short)( e1 >> 3 ); - f1 = (Short)( e1 & 7 ); + default: /* modes 2, 3, 6, 7 */ + return; /* no drop-out control */ + } - if ( e1 >= 0 && e1 < ras.bWidth && - ras.bTarget[ras.traceOfs + c1] & ( 0x80 >> f1 ) ) - return; + /* check that the other pixel isn't set */ + e1 = pxl == e1 ? e2 : e1; - if ( ras.dropOutControl == 2 ) - e1 = e2; - else - e1 = CEILING( ( x1 + x2 + 1 ) / 2 ); + e1 = TRUNC( e1 ); - break; + c1 = (Short)( e1 >> 3 ); + f1 = (Short)( e1 & 7 ); - default: - return; /* unsupported mode */ - } + if ( e1 >= 0 && e1 < ras.bWidth && + ras.bTarget[ras.traceOfs + c1] & ( 0x80 >> f1 ) ) + return; } else return; } - e1 = TRUNC( e1 ); + e1 = TRUNC( pxl ); if ( e1 >= 0 && e1 < ras.bWidth ) { c1 = (Short)( e1 >> 3 ); f1 = (Short)( e1 & 7 ); - if ( ras.gray_min_x > c1 ) ras.gray_min_x = c1; - if ( ras.gray_max_x < c1 ) ras.gray_max_x = c1; + if ( ras.gray_min_x > c1 ) + ras.gray_min_x = c1; + if ( ras.gray_max_x < c1 ) + ras.gray_max_x = c1; ras.bTarget[ras.traceOfs + c1] |= (char)( 0x80 >> f1 ); } @@ -2365,15 +2391,26 @@ static const char count_table[256] = PProfile left, PProfile right ) { - Long e1, e2; + Long e1, e2, pxl; PByte bits; Byte f1; /* During the horizontal sweep, we only take care of drop-outs */ - e1 = CEILING( x1 ); - e2 = FLOOR ( x2 ); + /* e1 + <-- pixel center */ + /* | */ + /* x1 ---+--> <-- contour */ + /* | */ + /* | */ + /* x2 <--+--- <-- contour */ + /* | */ + /* | */ + /* e2 + <-- pixel center */ + + e1 = CEILING( x1 ); + e2 = FLOOR ( x2 ); + pxl = e1; if ( e1 > e2 ) { @@ -2381,23 +2418,17 @@ static const char count_table[256] = { switch ( ras.dropOutControl ) { - case 1: - e1 = e2; + case 0: /* simple drop-outs including stubs */ + pxl = e2; break; - case 4: - e1 = CEILING( ( x1 + x2 + 1 ) / 2 ); + case 4: /* smart drop-outs including stubs */ + pxl = FLOOR( ( x1 + x2 + 1 ) / 2 + ras.precision_half ); break; - case 2: - case 5: - - /* Drop-out Control Rule #4 */ - - /* The spec is not very clear regarding rule #4. It */ - /* presents a method that is way too costly to implement */ - /* while the general idea seems to get rid of `stubs'. */ - /* */ + case 1: /* simple drop-outs excluding stubs */ + case 5: /* smart drop-outs excluding stubs */ + /* see Vertical_Sweep_Drop for details */ /* rightmost stub test */ if ( left->next == right && left->height <= 0 ) @@ -2407,32 +2438,32 @@ static const char count_table[256] = if ( right->next == left && left->start == y ) return; - /* check that the rightmost pixel isn't set */ - - e1 = TRUNC( e1 ); + if ( ras.dropOutControl == 1 ) + pxl = e2; + else + pxl = FLOOR( ( x1 + x2 + 1 ) / 2 + ras.precision_half ); + break; - bits = ras.bTarget + ( y >> 3 ); - f1 = (Byte)( 0x80 >> ( y & 7 ) ); + default: /* modes 2, 3, 6, 7 */ + return; /* no drop-out control */ + } - bits -= e1 * ras.target.pitch; - if ( ras.target.pitch > 0 ) - bits += ( ras.target.rows - 1 ) * ras.target.pitch; + /* check that the other pixel isn't set */ + e1 = pxl == e1 ? e2 : e1; - if ( e1 >= 0 && - e1 < ras.target.rows && - *bits & f1 ) - return; + e1 = TRUNC( e1 ); - if ( ras.dropOutControl == 2 ) - e1 = e2; - else - e1 = CEILING( ( x1 + x2 + 1 ) / 2 ); + bits = ras.bTarget + ( y >> 3 ); + f1 = (Byte)( 0x80 >> ( y & 7 ) ); - break; + bits -= e1 * ras.target.pitch; + if ( ras.target.pitch > 0 ) + bits += ( ras.target.rows - 1 ) * ras.target.pitch; - default: - return; /* unsupported mode */ - } + if ( e1 >= 0 && + e1 < ras.target.rows && + *bits & f1 ) + return; } else return; @@ -2441,7 +2472,7 @@ static const char count_table[256] = bits = ras.bTarget + ( y >> 3 ); f1 = (Byte)( 0x80 >> ( y & 7 ) ); - e1 = TRUNC( e1 ); + e1 = TRUNC( pxl ); if ( e1 >= 0 && e1 < ras.target.rows ) { @@ -2627,6 +2658,7 @@ static const char count_table[256] = /* During the horizontal sweep, we only take care of drop-outs */ + e1 = CEILING( x1 ); e2 = FLOOR ( x2 ); @@ -2636,23 +2668,17 @@ static const char count_table[256] = { switch ( ras.dropOutControl ) { - case 1: + case 0: /* simple drop-outs including stubs */ e1 = e2; break; - case 4: - e1 = CEILING( ( x1 + x2 + 1 ) / 2 ); + case 4: /* smart drop-outs including stubs */ + e1 = FLOOR( ( x1 + x2 + 1 ) / 2 + ras.precision_half ); break; - case 2: - case 5: - - /* Drop-out Control Rule #4 */ - - /* The spec is not very clear regarding rule #4. It */ - /* presents a method that is way too costly to implement */ - /* while the general idea seems to get rid of `stubs'. */ - /* */ + case 1: /* simple drop-outs excluding stubs */ + case 5: /* smart drop-outs excluding stubs */ + /* see Vertical_Sweep_Drop for details */ /* rightmost stub test */ if ( left->next == right && left->height <= 0 ) @@ -2662,15 +2688,15 @@ static const char count_table[256] = if ( right->next == left && left->start == y ) return; - if ( ras.dropOutControl == 2 ) + if ( ras.dropOutControl == 1 ) e1 = e2; else - e1 = CEILING( ( x1 + x2 + 1 ) / 2 ); + e1 = FLOOR( ( x1 + x2 + 1 ) / 2 + ras.precision_half ); break; - default: - return; /* unsupported mode */ + default: /* modes 2, 3, 6, 7 */ + return; /* no drop-out control */ } } else @@ -2742,8 +2768,10 @@ static const char count_table[256] = bottom = (Short)P->start; top = (Short)( P->start + P->height - 1 ); - if ( min_Y > bottom ) min_Y = bottom; - if ( max_Y < top ) max_Y = top; + if ( min_Y > bottom ) + min_Y = bottom; + if ( max_Y < top ) + max_Y = top; P->X = 0; InsNew( &waiting, P ); @@ -2844,17 +2872,19 @@ static const char count_table[256] = e1 = FLOOR( x1 ); e2 = CEILING( x2 ); - if ( ras.dropOutControl != 0 && - ( e1 > e2 || e2 == e1 + ras.precision ) ) + if ( e1 > e2 || e2 == e1 + ras.precision ) { - /* a drop out was detected */ + if ( ras.dropOutControl != 2 ) + { + /* a drop out was detected */ - P_Left ->X = x1; - P_Right->X = x2; + P_Left ->X = x1; + P_Right->X = x2; - /* mark profile for drop-out processing */ - P_Left->countL = 1; - dropouts++; + /* mark profile for drop-out processing */ + P_Left->countL = 1; + dropouts++; + } goto Skip_To_Next; } @@ -3039,13 +3069,23 @@ static const char count_table[256] = Set_High_Precision( RAS_VARS ras.outline.flags & FT_OUTLINE_HIGH_PRECISION ); - ras.scale_shift = ras.precision_shift; - /* Drop-out mode 2 is hard-coded since this is the only mode used */ - /* on Windows platforms. Using other modes, as specified by the */ - /* font, results in misplaced pixels. */ - ras.dropOutControl = 2; - ras.second_pass = (FT_Byte)( !( ras.outline.flags & - FT_OUTLINE_SINGLE_PASS ) ); + ras.scale_shift = ras.precision_shift; + + if ( ras.outline.flags & FT_OUTLINE_IGNORE_DROPOUTS ) + ras.dropOutControl = 2; + else + { + if ( ras.outline.flags & FT_OUTLINE_SMART_DROPOUTS ) + ras.dropOutControl = 4; + else + ras.dropOutControl = 0; + + if ( !( ras.outline.flags & FT_OUTLINE_INCLUDE_STUBS ) ) + ras.dropOutControl += 1; + } + + ras.second_pass = (FT_Byte)( !( ras.outline.flags & + FT_OUTLINE_SINGLE_PASS ) ); /* Vertical Sweep */ ras.Proc_Sweep_Init = Vertical_Sweep_Init; @@ -3064,7 +3104,7 @@ static const char count_table[256] = return error; /* Horizontal Sweep */ - if ( ras.second_pass && ras.dropOutControl != 0 ) + if ( ras.second_pass && ras.dropOutControl != 2 ) { ras.Proc_Sweep_Init = Horizontal_Sweep_Init; ras.Proc_Sweep_Span = Horizontal_Sweep_Span; @@ -3106,12 +3146,22 @@ static const char count_table[256] = Set_High_Precision( RAS_VARS ras.outline.flags & FT_OUTLINE_HIGH_PRECISION ); - ras.scale_shift = ras.precision_shift + 1; - /* Drop-out mode 2 is hard-coded since this is the only mode used */ - /* on Windows platforms. Using other modes, as specified by the */ - /* font, results in misplaced pixels. */ - ras.dropOutControl = 2; - ras.second_pass = !( ras.outline.flags & FT_OUTLINE_SINGLE_PASS ); + ras.scale_shift = ras.precision_shift + 1; + + if ( ras.outline.flags & FT_OUTLINE_IGNORE_DROPOUTS ) + ras.dropOutControl = 2; + else + { + if ( ras.outline.flags & FT_OUTLINE_SMART_DROPOUTS ) + ras.dropOutControl = 4; + else + ras.dropOutControl = 0; + + if ( !( ras.outline.flags & FT_OUTLINE_INCLUDE_STUBS ) ) + ras.dropOutControl += 1; + } + + ras.second_pass = !( ras.outline.flags & FT_OUTLINE_SINGLE_PASS ); /* Vertical Sweep */ @@ -3139,7 +3189,7 @@ static const char count_table[256] = return error; /* Horizontal Sweep */ - if ( ras.second_pass && ras.dropOutControl != 0 ) + if ( ras.second_pass && ras.dropOutControl != 2 ) { ras.Proc_Sweep_Init = Horizontal_Sweep_Init; ras.Proc_Sweep_Span = Horizontal_Gray_Sweep_Span; @@ -3351,15 +3401,15 @@ static const char count_table[256] = if ( !target_map->buffer ) return Raster_Err_Invalid; - ras.outline = *outline; - ras.target = *target_map; + ras.outline = *outline; + ras.target = *target_map; - worker->buff = (PLong) raster->buffer; - worker->sizeBuff = worker->buff + - raster->buffer_size / sizeof ( Long ); + worker->buff = (PLong) raster->buffer; + worker->sizeBuff = worker->buff + + raster->buffer_size / sizeof ( Long ); #ifdef FT_RASTER_OPTION_ANTI_ALIASING - worker->grays = raster->grays; - worker->gray_width = raster->gray_width; + worker->grays = raster->grays; + worker->gray_width = raster->gray_width; #endif return ( ( params->flags & FT_RASTER_FLAG_AA ) diff --git a/Build/source/libs/freetype2/src/smooth/ftgrays.c b/Build/source/libs/freetype2/src/smooth/ftgrays.c index add1dd24ab1..320e5d830d4 100644 --- a/Build/source/libs/freetype2/src/smooth/ftgrays.c +++ b/Build/source/libs/freetype2/src/smooth/ftgrays.c @@ -1616,15 +1616,14 @@ volatile int error = 0; + if ( ft_setjmp( ras.jump_buffer ) == 0 ) { error = FT_Outline_Decompose( &ras.outline, &func_interface, &ras ); gray_record_cell( RAS_VAR ); } else - { error = ErrRaster_Memory_Overflow; - } return error; } @@ -1678,10 +1677,12 @@ ras.cubic_level <<= level; } - /* setup vertical bands */ + /* set up vertical bands */ num_bands = (int)( ( ras.max_ey - ras.min_ey ) / ras.band_size ); - if ( num_bands == 0 ) num_bands = 1; - if ( num_bands >= 39 ) num_bands = 39; + if ( num_bands == 0 ) + num_bands = 1; + if ( num_bands >= 39 ) + num_bands = 39; ras.band_shoot = 0; diff --git a/Build/source/libs/freetype2/src/tools/docmaker/tohtml.py b/Build/source/libs/freetype2/src/tools/docmaker/tohtml.py index 7e5c608660b..fffa120973d 100644 --- a/Build/source/libs/freetype2/src/tools/docmaker/tohtml.py +++ b/Build/source/libs/freetype2/src/tools/docmaker/tohtml.py @@ -15,9 +15,11 @@ html_header_1 = """\ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> -<title>""" +<title>\ +""" -html_header_2= """ API Reference +html_header_2 = """\ + API Reference -

""" +""" + +html_header_3 = """ + + + +
[
[Index][TOC]
+

\ +""" + +html_header_5t = """\ +">Index]

+

\ +""" -html_header_3=""" API Reference

+html_header_6 = """\ + API Reference

""" # The HTML footer used by all generated pages. html_footer = """\ -""" +\ +""" # The header and footer used for each section. section_title_header = "

" @@ -110,12 +140,23 @@ chapter_footer = '' index_footer_start = """\
-
[TOC]
""" +# TOC footer. +toc_footer_start = """\ +
+ + +
[Index]
+""" + # source language keyword coloration/styling keyword_prefix = '' @@ -159,22 +200,39 @@ class HtmlFormatter( Formatter ): def __init__( self, processor, project_title, file_prefix ): Formatter.__init__( self, processor ) - global html_header_1, html_header_2, html_header_3, html_footer + global html_header_1, html_header_2, html_header_3 + global html_header_4, html_header_5, html_footer if file_prefix: file_prefix = file_prefix + "-" else: file_prefix = "" - self.headers = processor.headers - self.project_title = project_title - self.file_prefix = file_prefix - self.html_header = html_header_1 + project_title + html_header_2 + \ - project_title + html_header_3 - - self.html_footer = "
generated on " + \ - time.asctime( time.localtime( time.time() ) ) + \ - "
" + html_footer + self.headers = processor.headers + self.project_title = project_title + self.file_prefix = file_prefix + self.html_header = html_header_1 + project_title + \ + html_header_2 + \ + html_header_3 + file_prefix + "index.html" + \ + html_header_4 + file_prefix + "toc.html" + \ + html_header_5 + project_title + \ + html_header_6 + + self.html_index_header = html_header_1 + project_title + \ + html_header_2 + \ + html_header_3i + file_prefix + "toc.html" + \ + html_header_5 + project_title + \ + html_header_6 + + self.html_toc_header = html_header_1 + project_title + \ + html_header_2 + \ + html_header_3 + file_prefix + "index.html" + \ + html_header_5t + project_title + \ + html_header_6 + + self.html_footer = "
generated on " + \ + time.asctime( time.localtime( time.time() ) ) + \ + "
" + html_footer self.columns = 3 @@ -227,7 +285,7 @@ class HtmlFormatter( Formatter ): return html_quote( word ) def make_html_para( self, words ): - """ convert a paragraph's words into tagged HTML text, handle xrefs """ + """ convert words of a paragraph into tagged HTML text, handle xrefs """ line = "" if words: line = self.make_html_word( words[0] ) @@ -237,6 +295,8 @@ class HtmlFormatter( Formatter ): line = re.sub( r"(^|\W)`(.*?)'(\W|$)", \ r'\1‘\2’\3', \ line ) + # convert tilde into non-breakable space + line = string.replace( line, "~", " " ) return para_header + line + para_footer @@ -338,7 +398,7 @@ class HtmlFormatter( Formatter ): # Formatting the index # def index_enter( self ): - print self.html_header + print self.html_index_header self.index_items = {} def index_name_enter( self, name ): @@ -371,6 +431,8 @@ class HtmlFormatter( Formatter ): self.file_prefix + "toc.html" + \ index_footer_end + print self.html_footer + self.index_items = {} def index_dump( self, index_filename = None ): @@ -383,7 +445,7 @@ class HtmlFormatter( Formatter ): # Formatting the table of content # def toc_enter( self ): - print self.html_header + print self.html_toc_header print "

Table of Contents

" def toc_chapter_enter( self, chapter ): @@ -402,7 +464,7 @@ class HtmlFormatter( Formatter ): def toc_chapter_exit( self, chapter ): print "" - print chapter_footer + print chapter_footer def toc_index( self, index_filename ): print chapter_header + \ @@ -410,6 +472,10 @@ class HtmlFormatter( Formatter ): chapter_inter + chapter_footer def toc_exit( self ): + print toc_footer_start + \ + self.file_prefix + "index.html" + \ + toc_footer_end + print self.html_footer def toc_dump( self, toc_filename = None, index_filename = None ): diff --git a/Build/source/libs/freetype2/src/truetype/ttgload.c b/Build/source/libs/freetype2/src/truetype/ttgload.c index f6d6f9fcd53..ed79b932cde 100644 --- a/Build/source/libs/freetype2/src/truetype/ttgload.c +++ b/Build/source/libs/freetype2/src/truetype/ttgload.c @@ -557,10 +557,10 @@ FT_Stream stream = loader->stream; - /* we must undo the FT_FRAME_ENTER in order to point to the */ - /* composite instructions, if we find some. */ - /* we will process them later... */ - /* */ + /* we must undo the FT_FRAME_ENTER in order to point */ + /* to the composite instructions, if we find some. */ + /* We will process them later. */ + /* */ loader->ins_pos = (FT_ULong)( FT_STREAM_POS() + p - limit ); } @@ -1668,8 +1668,8 @@ } /* adjust advance width to the value contained in the hdmx table */ - if ( !face->postscript.isFixedPitch && - IS_HINTED( loader->load_flags ) ) + if ( !face->postscript.isFixedPitch && + IS_HINTED( loader->load_flags ) ) { FT_Byte* widthp; @@ -1958,6 +1958,40 @@ FT_Outline_Translate( &glyph->outline, -loader.pp1.x, 0 ); } +#ifdef TT_USE_BYTECODE_INTERPRETER + + if ( IS_HINTED( load_flags ) ) + { + if ( loader.exec->GS.scan_control ) + { + /* convert scan conversion mode to FT_OUTLINE_XXX flags */ + switch ( loader.exec->GS.scan_type ) + { + case 0: /* simple drop-outs including stubs */ + glyph->outline.flags |= FT_OUTLINE_INCLUDE_STUBS; + break; + case 1: /* simple drop-outs excluding stubs */ + /* nothing; it's the default rendering mode */ + break; + case 4: /* smart drop-outs including stubs */ + glyph->outline.flags |= FT_OUTLINE_SMART_DROPOUTS | + FT_OUTLINE_INCLUDE_STUBS; + break; + case 5: /* smart drop-outs excluding stubs */ + glyph->outline.flags |= FT_OUTLINE_SMART_DROPOUTS; + break; + + default: /* no drop-out control */ + glyph->outline.flags |= FT_OUTLINE_IGNORE_DROPOUTS; + break; + } + } + else + glyph->outline.flags |= FT_OUTLINE_IGNORE_DROPOUTS; + } + +#endif /* TT_USE_BYTECODE_INTERPRETER */ + compute_glyph_metrics( &loader, glyph_index ); } diff --git a/Build/source/libs/freetype2/src/truetype/ttinterp.c b/Build/source/libs/freetype2/src/truetype/ttinterp.c index f9c36560ed7..2ab0c0940e3 100644 --- a/Build/source/libs/freetype2/src/truetype/ttinterp.c +++ b/Build/source/libs/freetype2/src/truetype/ttinterp.c @@ -693,7 +693,7 @@ /* exec :: A handle to the target execution context. */ /* */ /* */ - /* TrueTyoe error code. 0 means success. */ + /* TrueType error code. 0 means success. */ /* */ /* */ /* Only the glyph loader and debugger should call this function. */ @@ -5092,12 +5092,8 @@ return; } - A *= 64; - -#if 0 - if ( ( args[0] & 0x100 ) != 0 && CUR.metrics.pointSize <= A ) + if ( ( args[0] & 0x100 ) != 0 && CUR.tt_metrics.ppem < A ) CUR.GS.scan_control = TRUE; -#endif if ( ( args[0] & 0x200 ) != 0 && CUR.tt_metrics.rotated ) CUR.GS.scan_control = TRUE; @@ -5105,10 +5101,8 @@ if ( ( args[0] & 0x400 ) != 0 && CUR.tt_metrics.stretched ) CUR.GS.scan_control = TRUE; -#if 0 - if ( ( args[0] & 0x800 ) != 0 && CUR.metrics.pointSize > A ) + if ( ( args[0] & 0x800 ) != 0 && CUR.tt_metrics.ppem >= A ) CUR.GS.scan_control = FALSE; -#endif if ( ( args[0] & 0x1000 ) != 0 && CUR.tt_metrics.rotated ) CUR.GS.scan_control = FALSE; @@ -5127,16 +5121,8 @@ static void Ins_SCANTYPE( INS_ARG ) { - /* for compatibility with future enhancements, */ - /* we must ignore new modes */ - - if ( args[0] >= 0 && args[0] <= 5 ) - { - if ( args[0] == 3 ) - args[0] = 2; - + if ( args[0] >= 0 ) CUR.GS.scan_type = (FT_Int)args[0]; - } } diff --git a/Build/source/libs/freetype2/src/type1/t1objs.c b/Build/source/libs/freetype2/src/type1/t1objs.c index 40b258fce94..9d00cf39652 100644 --- a/Build/source/libs/freetype2/src/type1/t1objs.c +++ b/Build/source/libs/freetype2/src/type1/t1objs.c @@ -90,7 +90,7 @@ FT_LOCAL_DEF( FT_Error ) T1_Size_Init( T1_Size size ) { - FT_Error error = 0; + FT_Error error = T1_Err_Ok; PSH_Globals_Funcs funcs = T1_Size_Get_Globals_Funcs( size ); @@ -254,8 +254,8 @@ face->unicode_map = NULL; #endif - face->root.family_name = 0; - face->root.style_name = 0; + face->root.family_name = NULL; + face->root.style_name = NULL; } } @@ -355,15 +355,19 @@ /* XXX: TODO -- add kerning with .afm support */ + + /* The following code to extract the family and the style is very */ + /* simplistic and might get some things wrong. For a full-featured */ + /* algorithm you might have a look at the whitepaper given at */ + /* */ + /* http://blogs.msdn.com/text/archive/2007/04/23/wpf-font-selection-model.aspx */ + /* get style name -- be careful, some broken fonts only */ /* have a `/FontName' dictionary entry! */ root->family_name = info->family_name; - /* assume "Regular" style if we don't know better */ - root->style_name = (char *)"Regular"; + root->style_name = NULL; - if ( info->weight ) - root->style_name = info->weight; - else if ( root->family_name ) + if ( root->family_name ) { char* full = info->full_name; char* family = root->family_name; @@ -371,6 +375,9 @@ if ( full ) { + FT_Bool the_same = TRUE; + + while ( *full ) { if ( *full == *family ) @@ -386,12 +393,17 @@ family++; else { + the_same = FALSE; + if ( !*family ) root->style_name = full; break; } } } + + if ( the_same ) + root->style_name = (char *)"Regular"; } } else @@ -401,6 +413,15 @@ root->family_name = type1->font_name; } + if ( !root->style_name ) + { + if ( info->weight ) + root->style_name = info->weight; + else + /* assume `Regular' style because we don't know better */ + root->style_name = (char *)"Regular"; + } + /* compute style flags */ root->style_flags = 0; if ( info->italic_angle ) @@ -445,7 +466,7 @@ if ( !error ) root->max_advance_width = (FT_Short)max_advance; else - error = 0; /* clear error */ + error = T1_Err_Ok; /* clear error */ } root->max_advance_height = root->height; -- cgit v1.2.3