Home
last modified time | relevance | path

Searched +full:6 +full:- +full:aat +full:- +full:fonts (Results 1 – 25 of 26) sorted by relevance

12

/external/harfbuzz_ng/test/api/
Dtest-aat-layout.c25 #include "hb-test.h"
28 #include <hb-ot.h>
29 #include <hb-aat.h>
31 /* Unit tests for hb-aat.h */
45 g_assert_cmpuint (6, ==, features[2]); in test_aat_get_feature_types()
107 hb_face_t *morx = hb_test_open_font_file ("fonts/aat-morx.ttf"); in test_aat_has()
112 trak = hb_test_open_font_file ("fonts/aat-trak.ttf"); in test_aat_has()
127 face = hb_test_open_font_file ("fonts/aat-feat.ttf"); in main()
128 sbix = hb_test_open_font_file ("fonts/chromacheck-sbix.ttf"); in main()
/external/harfbuzz_ng/src/
Dhb-ot-kern-table.hh30 #include "hb-aat-layout-kerx-table.hh"
34 * kern -- Kerning
35 * https://docs.microsoft.com/en-us/typography/opentype/spec/kern
36 * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6kern.html
62 bool apply (AAT::hb_aat_apply_context_t *c) const in apply()
66 if (!c->plan->requested_kerning) in apply()
73 machine.kern (c->font, c->buffer, c->plan->kern_mask); in apply()
81 return_trace (c->check_struct (this) && in sanitize()
82 c->check_range (kernValueZ, in sanitize()
92 HBUINT8 leftClassCount; /* The number of left-hand classes. */
[all …]
Dhb-aat-fdsc-table.hh28 #include "hb-aat-layout-common.hh"
29 #include "hb-open-type.hh"
32 * fdsc -- Font descriptors
33 * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6fdsc.html
38 namespace AAT { namespace
56 MathSymbols = 6
62 return_trace (c->check_struct (this)); in sanitize()
66 Tag tag; /* The 4-byte table tag name. */
96 * integers mean the font is non-alphabetic (e.g. symbols).
106 return_trace (c->check_struct (this) && in sanitize()
[all …]
Dhb-ot-layout.cc2 * Copyright © 1998-2004 David Turner and Werner Lemberg
31 #include "hb-open-type.hh"
32 #include "hb-ot-layout.hh"
33 #include "hb-ot-face.hh"
34 #include "hb-ot-map.hh"
35 #include "hb-map.hh"
37 #include "hb-ot-kern-table.hh"
38 #include "hb-ot-gasp-table.hh" // Just so we compile it; unused otherwise.
39 #include "hb-ot-layout-gdef-table.hh"
40 #include "hb-ot-layout-gsub-table.hh"
[all …]
Dhb-aat-layout-just-table.hh28 #include "hb-aat-layout-common.hh"
29 #include "hb-ot-layout.hh"
30 #include "hb-open-type.hh"
32 #include "hb-aat-layout-morx-table.hh"
35 * just -- Justification
36 * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6just.html
41 namespace AAT { namespace
51 return_trace (likely (c->check_struct (this))); in sanitize()
60 DEFINE_SIZE_STATIC (6);
68 return_trace (likely (c->check_struct (this))); in sanitize()
[all …]
Dhb-aat-layout-kerx-table.hh31 #include "hb-kern.hh"
32 #include "hb-aat-layout-ankr-table.hh"
35 * kerx -- Extended Kerning
36 * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6kerx.html
41 namespace AAT { namespace
56 if (unlikely (!c->sanitizer.check_array (pv, tupleCount))) return 0; in kerxTupleKern()
81 return_trace (c->check_struct (this)); in sanitize()
89 DEFINE_SIZE_STATIC (6);
107 if (!c->plan->requested_kerning) in apply()
115 machine.kern (c->font, c->buffer, c->plan->kern_mask); in apply()
[all …]
Dhb-aat-layout-morx-table.hh30 #include "hb-open-type.hh"
31 #include "hb-aat-layout-common.hh"
32 #include "hb-ot-layout-common.hh"
33 #include "hb-aat-map.hh"
36 * morx -- Extended Glyph Metamorphosis
37 * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6morx.html
38 * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6mort.html
44 namespace AAT { namespace
79 return (entry->flags & Verb) && start < end; in is_actionable()
84 hb_buffer_t *buffer = driver->buffer; in transition()
[all …]
/external/freetype/src/gxvalid/
DREADME6 ---------------
10 Text', Apple Advanced Typography (AAT). In addition, gxvalid can
11 validates `kern' tables which have been extended for AAT. Like the
17 error-checking code from the layout engine. It is also possible to
18 use gxvalid as a stand-alone font validator; the `ftvalid' test
20 A stand-alone font validator may be useful for font developers.
24 - supported TrueType GX tables
25 - fundamental validation limitations
26 - permissive error handling of broken GX tables
27 - `kern' table issue.
[all …]
Dgxvcommn.c5 * TrueTypeGX/AAT common tables validation (body).
7 * Copyright 2004-2018 by
22 * Development of gxlayout is supported by the Information-technology
54 return -1; in gxv_compare_ushort_offset()
98 *(length[i]) = (FT_UShort)( buff[j + 1] - buff[j] ); in gxv_set_length_by_ushort_offset()
119 return -1; in gxv_compare_ulong_offset()
163 *(length[i]) = buff[j + 1] - buff[j]; in gxv_set_length_by_ulong_offset()
205 gxvalid->subtable_length = (FT_ULong)( p - table ); in gxv_array_getlimits_byte()
234 gxvalid->subtable_length = (FT_ULong)( p - table ); in gxv_array_getlimits_ushort()
266 if ( binSrchHeader->unitSize == 0 ) in gxv_BinSrchHeader_check_consistency()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
D_c_i_d_g.py1 # coding: utf-8
7 # The AAT ‘cidg’ table has almost the same structure as ‘gidc’,
10 # It is useful for fonts that may be used by a PDF renderer in lieu of
13 # to Adobe-Japan-1”; the ‘cidg’ mapping is necessary if the font is,
17 # For example, the first font in /System/Library/Fonts/PingFang.ttc
18 # (which Apple ships pre-installed on MacOS 10.12.6) has a ‘cidg’ table.
D_k_e_r_n.py30 # AAT Apple's "new" format. Hm.
43 ">LBB", data[:6])
47 # the 8-15 mask bits of "coverage" field.
50 ">HHBB", data[:6])
52 # The "length" value is ignored since some fonts
55 nPairs, = struct.unpack(">H", data[6:8])
56 calculated_length = (nPairs * 6) + 14
78 # AAT Apple's "new" format.
122 ">HHBB", data[:6])
129 data = data[6:]
[all …]
DotTables.py1 # coding: utf-8
2 """fontTools.ttLib.tables.otTables -- A collection of classes representing the various
21 self.GlyphClasses = {} # GlyphID --> GlyphClass
28 self.Transitions = {} # GlyphClass --> AATAction
66 6: "xCD ⇒ CDx",
204 # added to the glyph ID at the top of the AAT runtime
209 # In the AAT specification, this field is called Offset;
211 # in either AAT or OpenType, so we use a different name.
216 staticSize = 6
250 # As of 2017-09-12, the 'morx' specification says that
[all …]
DotConverters.py356 Used in Apple AAT fonts in the `gcid` table.
367 log.warning('replaced non-ASCII characters in "%s"' %
374 log.warning('replacing non-ASCII characters in "%s"' %
475 length = writer.getDataLength() - before
566 self.which = "ValueFormat" + ("2" if name[-1] == "2" else "1")
613 elif format == 6:
635 actualSize = writer.getDataLength() - pos
700 return (2 + self.BIN_SEARCH_HEADER_SIZE + (numUnits + 1) * unitSize, 6,
704 writer.writeUShort(6)
717 minGlyphID, maxGlyphID = values[0][0], values[-1][0]
[all …]
/external/harfbuzz_ng/
DNEWS4 - Fix regression on big-endian architectures. Ouch!
5 - Misc bug and build fixes.
6 - Fix subsetting of simple GSUB/GDEF.
7 - Merge CFF / CFF2 support contributed by Adobe. This mostly involves
8 the subsetter, but also get_glyph_extents on CFF fonts.
10 New API in hb-aat.h:
19 - Misc shaping bug fixes.
20 - Add font variations named-instance API.
21 - Deprecate font variations axis enumeration API and add replacement.
22 - AAT shaping improvements:
[all …]
/external/fonttools/
DNEWS.rst1 3.39.0 (released 2019-03-19)
2 ----------------------------
4 - [ttLib/glyf] Raise more specific error when encountering recursive
6 - [Doc/designspaceLib] Defined new ``public.skipExportGlyphs`` lib key (#1534,
7 unified-font-object/ufo-spec#84).
8 - [varLib] Use ``vmtx`` to compute vertical phantom points; or ``hhea.ascent``
10 - [gvar/cvar] Sort XML element's min/value/max attributes in TupleVariation
12 - [varLib.plot] Added support for 2D plots with only 1 variation axis (#1522).
13 - [designspaceLib] Use axes maps when normalizing locations in
15 - [mutator] Set ``OVERLAP_SIMPLE`` and ``OVERLAP_COMPOUND`` glyf flags by
[all …]
DPKG-INFO1 Metadata-Version: 2.1
5 Home-page: http://github.com/fonttools/fonttools
7 Author-email: just@letterror.com
9 Maintainer-email: behdad@behdad.org
16 | fontTools is a library for manipulating fonts, written in Python. The
18 fonts to and from an XML text format, which is also called TTX. It
20 Mac-specific formats. The project has an `MIT open-source
56 # create new virtual environment called e.g. 'fonttools-venv', or anything you like
57 python -m virtualenv fonttools-venv
60 . fonttools-venv/bin/activate
[all …]
/external/harfbuzz_ng/.circleci/
Dconfig.yml5 macos-10.12.6-aat-fonts:
9 - checkout
10- run: HOMEBREW_NO_AUTO_UPDATE=1 brew install wget pkg-config libtool ragel freetype glib cairo
11 - run: ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo
12 - run: make -j4
13 - run: make check || .ci/fail.sh
15 macos-10.13.6-aat-fonts:
19 - checkout
20- run: HOMEBREW_NO_AUTO_UPDATE=1 brew install wget pkg-config libtool ragel freetype glib cairo
21 - run: ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo
[all …]
/external/fonttools/Tests/ttLib/tables/
D_m_o_r_t_test.py10 # Example 1: Non-contextual Glyph Substitution
11 # https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6mort.html
13 # encoded: it uses AAT lookup format 6 even though format 8 would be
15 # encoding, this breaks our round-trip testing. Therefore, we changed
17 # character; the non-contiguous glyph range for the AAT lookup makes
18 # format 6 to be most compact.
38 '0006 0004 ' # 64: LookupFormat=6, UnitSize=4
50 '<!-- MorphChainCount=1 -->',
53 ' <!-- StructLength=80 -->',
54 ' <!-- MorphFeatureCount=3 -->',
[all …]
D_b_s_l_n_test.py13 '0000 ' # 6: DefaultBaseline=0 (Roman baseline)
36 ' <Delta index="6" value="0"/>',
67 # https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6bsln.html
68 # The example in the AAT specification uses the value 270 for Seg[0].LastGlyph,
72 '0001 ' # 6: DefaultBaseline=1 (Ideographic baseline)
81 '0002 0006 0001 ' # 72: LookupFormat=2, UnitSize=6, NUnits=1
82 '0006 0000 0000 ' # 78: SearchRange=6, EntrySelector=0, RangeShift=0
99 ' <Delta index="6" value="0"/>',
142 '0004 ' # 6: DefaultBaseline=4 (Math)
167 ' <ControlPoint index="6" value="65535"/>',
[all …]
D_m_o_r_x_test.py1 # coding: utf-8
10 # A simple 'morx' table with non-contextual glyph substitution.
13 # https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6mort.html
35 '0006 0004 ' # 72: LookupFormat=6, UnitSize=4
48 '<!-- MorphChainCount=1 -->',
51 ' <!-- StructLength=88 -->',
52 ' <!-- MorphFeatureCount=3 -->',
53 ' <!-- MorphSubtableCount=1 -->',
73 ' <!-- StructLength=36 -->',
76 ' <!-- MorphType=4 -->',
[all …]
/external/fonttools/Lib/fonttools.egg-info/
DPKG-INFO1 Metadata-Version: 2.1
5 Home-page: http://github.com/fonttools/fonttools
7 Author-email: just@letterror.com
9 Maintainer-email: behdad@behdad.org
16 | fontTools is a library for manipulating fonts, written in Python. The
18 fonts to and from an XML text format, which is also called TTX. It
20 Mac-specific formats. The project has an `MIT open-source
56 # create new virtual environment called e.g. 'fonttools-venv', or anything you like
57 python -m virtualenv fonttools-venv
60 . fonttools-venv/bin/activate
[all …]
/external/freetype/include/freetype/
Dftgxval.h5 * FreeType API for validating TrueTypeGX/AAT tables (specification).
7 * Copyright 2004-2018 by
22 * Development of gxlayout is supported by the Information-technology
50 * TrueTypeGX/AAT Validation
53 * An API to validate TrueTypeGX/AAT tables.
88 #define FT_VALIDATE_opbd_INDEX 6
102 * for the `table-length' argument of function @FT_TrueTypeGX_Validate.
121 * A list of bit-field constants used with @FT_TrueTypeGX_Validate to
122 * indicate which TrueTypeGX/AAT Type tables should be validated.
191 * indices are valid. The idea is that a higher-level library that
[all …]
/external/harfbuzz_ng/docs/
Dharfbuzz-docs.xml2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
22 The canonical source-code tree is available at
36 <xi:include href="usermanual-what-is-harfbuzz.xml"/>
37 <xi:include href="usermanual-install-harfbuzz.xml"/>
38 <xi:include href="usermanual-getting-started.xml"/>
39 <xi:include href="usermanual-shaping-concepts.xml"/>
40 <xi:include href="usermanual-buffers-language-script-and-direction.xml"/>
41 <xi:include href="usermanual-fonts-and-faces.xml"/>
42 <xi:include href="usermanual-clusters.xml"/>
[all …]
/external/freetype/
DChangeLog.221 2006-05-12 Werner Lemberg <wl@gnu.org>
8 Tag sources with `VER-2-2-1'.
10 2006-05-12 Werner Lemberg <wl@gnu.org>
16 * src/tools/docmaker/tohtml.py (html_header_1): Use `utf-8' charset.
25 2006-05-11 Werner Lemberg <wl@gnu.org>
38 2006-05-11 Masatake YAMATO <jet@gyve.org>
41 read system call returns -1.
44 2006-05-10 Werner Lemberg <wl@gnu.org>
47 given an empty, un-mmap()able file. Reported and suggested fix in
50 * builds/freetype.mk (refdoc): Write-protect the `docmaker'
[all …]
/external/fonttools/Lib/fontTools/subset/
D__init__.py21 __usage__ = "pyftsubset font-file [glyph...] [--option=value]..."
24 pyftsubset -- OpenType font subsetter and optimizer
27 It accepts any TT- or CFF-flavored OpenType (.otf or .ttf) or WOFF (.woff)
31 The tool also performs some size-reducing optimizations, aimed for using
32 subset fonts as webfonts. Individual optimizations can be enabled or
38 At least one glyph or one of --gids, --gids-file, --glyphs, --glyphs-file,
39 --text, --text-file, --unicodes, or --unicodes-file, must be specified.
42 font-file
51 --gids=<NNN>[,<NNN>...]
52 Specify comma/whitespace-separated list of glyph IDs or ranges as
[all …]

12