Home
last modified time | relevance | path

Searched +full:- +full:graphite2 (Results 1 – 20 of 20) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-graphite2.cc33 #include "hb-shaper-impl.hh"
35 #include "hb-graphite2.h"
37 #include <graphite2/Segment.h>
39 #include "hb-ot-layout.h"
43 * SECTION:hb-graphite2
44 * @title: hb-graphite2
45 * @short_description: Graphite2 integration
46 * @include: hb-graphite2.h
51 * with the `graphite2` shaping engine enabled. Currently, the default is to
52 * not enable `graphite2` shaping.
[all …]
Dhb-shaper-list.hh34 /* v--- Add new shapers in the right place here. */
43 HB_SHAPER_IMPLEMENT (graphite2)
47 HB_SHAPER_IMPLEMENT (ot) /* <--- This is our main shaper. */
61 HB_SHAPER_IMPLEMENT (fallback) /* <--- This should be last. */
Dharfbuzz.cc2 #include "hb-aat-layout.cc"
3 #include "hb-aat-map.cc"
4 #include "hb-blob.cc"
5 #include "hb-buffer-serialize.cc"
6 #include "hb-buffer-verify.cc"
7 #include "hb-buffer.cc"
8 #include "hb-common.cc"
9 #include "hb-coretext-font.cc"
10 #include "hb-coretext-shape.cc"
11 #include "hb-directwrite.cc"
[all …]
Dhb-wasm-shape.cc30 #include "hb-shaper-impl.hh"
34 /* Compile wasm-micro-runtime with:
36 * $ cmake -DWAMR_BUILD_MULTI_MODULE=1 -DWAMR_BUILD_REF_TYPES=1 -DWAMR_BUILD_FAST_JIT=1
42 * - Add -DWAMR_BUILD_MULTI_MODULE=1 to your cmake build for wasm-micro-runtime,
44 * - Remove the #define HB_WASM_NO_MODULES line below,
46 * - Install your shared module with name ending in .wasm in
49 * - Build your font's wasm code importing the shared modules with the desired
50 * name. This can be done eg.: __attribute__((import_module("graphite2")))
51 * before each symbol in the shared-module's headers.
53 * - Try shaping your font and hope for the best...
[all …]
Dmeson.build4 … command: [find_program('gen-hb-version.py'), meson.project_version(), '@OUTPUT@', '@INPUT@'],
5 input: 'hb-version.h.in',
6 output: 'hb-version.h',
10 # Base and default-included sources and headers
12 'hb-aat-layout-ankr-table.hh',
13 'hb-aat-layout-bsln-table.hh',
14 'hb-aat-layout-common.hh',
15 'hb-aat-layout-feat-table.hh',
16 'hb-aat-layout-just-table.hh',
17 'hb-aat-layout-kerx-table.hh',
[all …]
/external/harfbuzz_ng/
Dmeson_options.txt13 description: 'Deprecated use graphite2 option instead')
14 option('graphite2', type: 'feature', value: 'disabled', feature
15 description: 'Enable Graphite2 complementary shaper')
31 description: 'Generate gobject-introspection bindings (.gir/.typelib files)')
33 description: 'Generate documentation with gtk-doc')
35 description: 'Run gtkdoc-check tests')
42 description: 'Don\'t separate ICU support as harfbuzz-icu module')
Dmeson.build5 'cpp_eh=none', # Just to support msvc, we are passing -fno-exceptions also anyway
8 …'wrap_mode=nofallback', # Use --wrap-mode=default to revert, https://github.com/harfbuzz/harfbuzz/…
34 # Only perform these checks if cpp_std is c++11 as setting -std directly
39 add_project_arguments('-std=c++14', language: 'cpp')
40 elif cpp.get_id() == 'clang-cl'
41 # Clang-cl produces a warning when using -std=c++14, but not when using /std:c++14
52 '/wd4244', # lossy type conversion (e.g. double -> int)
53 …'/bigobj', # hb-subset.cc -- compile error C1128: number of sections exceeded object file format l…
54 cpp.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8
62 '-Bsymbolic-functions'
[all …]
DCMakeLists.txt9 ## Disallow in-source builds, as CMake generated make files can collide with autotools ones
13 In-source builds are not permitted! Make a separate folder for"
20 rm -rf CMakeCache.txt CMakeFiles")
27 option(HB_HAVE_GRAPHITE2 "Enable Graphite2 complementary shaper" OFF)
32 add_definitions(-DHAVE_FREETYPE=1)
49 option(HB_BUILD_SUBSET "Build harfbuzz-subset" ON)
87 add_definitions(-DHAVE_${definition_to_add})
97 add_definitions(-DHAVE_UNISTD_H)
101 add_definitions(-DHAVE_SYS_MMAN_H)
105 add_definitions(-DHAVE_STDBOOL_H)
[all …]
DCONFIG.md5 HarfBuzz library plus hb-shape / hb-view utilities, make sure FreeType and Cairo
9 you need Glib, ICU, Graphite2, as well as CoreText / Uniscribe / DWrite. Make
21 this is `-Os`, and can be enabled by passing `CXXFLAGS=-Os`. On clang there
22 is an even more extreme flag, `-Oz`. Meson also provides `--buildtype=minsize`
25 HarfBuzz heavily uses inline functions and the optimize-size flag can make the
27 the optimize-size builds perform *faster* as well, thanks to lower code
34 Another compiler option to consider is "link-time optimization", also known as
35 'lto'. To enable that, feel free to use `-Db_lto=true` of meson.
45 * https://lwn.net/Articles/741494/ (all of the four-part series)
46 * https://elinux.org/images/2/2d/ELC2010-gc-sections_Denys_Vlasenko.pdf
[all …]
DNEWS4 - Consider Unicode Variation Selectors when subsetting “cmap” table.
5 - Guard hb_cairo_glyphs_from_buffer() against malformed UTF-8 strings.
6 - Fix incorrect “COLR” v1 glyph scaling in hb-cairo.
7 - Use locale-independent parsing of double numbers is “hb-subset” command line
9 - Fix incorrect zeroing of advance width of base glyphs in various “Courier New”
11 - Fix handling of long language codes with “HB_LEAN” configuration.
12 - Update OpenType language system registry.
13 - Allow all Myanmar tone marks (including visarga) in any order
14 - Don’t insert U+25CC DOTTED CIRCLE before superscript/subscript digits
15 - Handle Garay script as right to left script.
[all …]
/external/harfbuzz_ng/.circleci/
Dconfig.yml4 win32-executor:
6 - image: cimg/base:2023.10
7 win64-executor:
9 - image: cimg/base:2023.10
10 dist-executor:
12 - image: cimg/base:2023.10
16 macos-aat-fonts:
20 - checkout
21- run: HOMEBREW_NO_AUTO_UPDATE=1 brew install pkg-config ragel freetype glib cairo python3 icu4c g…
22 - run: pip3 install meson --upgrade
[all …]
/external/harfbuzz_ng/.github/workflows/
Dmacos-ci.yml1 name: macos-ci
14 runs-on: macos-latest
17 - name: Checkout
19 - name: Setup Ccache
20 uses: hendrikmuhs/ccache-action@ed74d11c0b343532753ecead8a951bb09bb34bc9 # v1.2.14
22 key: ${{ github.job }}-${{ runner.os }}-${{ runner.arch }}
23 - name: Install Dependencies
27 brew rm -f pkg-config@0.29.2
32 gobject-introspection \
33 graphite2 \
[all …]
Dcoverity-scan.yml1 name: coverity-scan
5 - cron: '0 10 * * *' # Daily at 10:00 UTC
12 runs-on: ubuntu-latest
14 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16- run: sudo apt-get install gcc clang wget git curl pkg-config libfreetype6-dev libglib2.0-dev lib…
18 - name: Download Coverity
20 …wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=HarfBuzz"…
21 mkdir cov-analysis-linux64
22 tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64
27- run: cov-analysis-linux64/bin/cov-build --dir cov-int clang src/hb-*.cc -DHAVE_FREETYPE -DHAVE_G…
[all …]
Dmsys2-ci.yml14 runs-on: windows-latest
17 fail-fast: false
20 - MSYSTEM: MINGW32
22 - MSYSTEM: MINGW64
28 # see https://github.com/msys2/MINGW-packages/issues/11864
35 - name: Checkout
37 - name: Setup MSYS2
38 uses: msys2/setup-msys2@cf96e00c0aab3788743aaf63b64146f0d383cee9 # v2
42 install: >-
43 mingw-w64-${{ matrix.MSYS2_ARCH }}-cairo
[all …]
/external/harfbuzz_ng/docs/
Dusermanual-install-harfbuzz.xml2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
7 <chapter id="install-harfbuzz">
18 libharfbuzz DLL, hb-view.exe, hb-shape.exe, and all
32 compatibility-breaking way in any release. However, other,
52 …mand>sudo apt install</command> <package>gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev</pa…
53 On Fedora, RHEL, CentOS, or other Red-Hat&ndash;based systems, you would run:
54 …ting><command>sudo yum install</command> <package>gcc gcc-c++ freetype-devel glib2-devel cairo-dev…
68 From a shell in the top-level directory of the extracted source
70 <command>meson compile -C build</command> as with any other standard package.
[all …]
Dharfbuzz-sections.txt2 <FILE>hb-aat-layout</FILE>
16 <FILE>hb-blob</FILE>
38 <FILE>hb-buffer</FILE>
124 <FILE>hb-common</FILE>
191 <FILE>hb-features</FILE>
206 <FILE>hb-draw</FILE>
236 <FILE>hb-paint</FILE>
304 <FILE>hb-deprecated</FILE>
338 <FILE>hb-coretext</FILE>
351 <FILE>hb-directwrite</FILE>
[all …]
Dwasm-shaper.md21 … function, it should represent a set of glyph IDs and their positions. (User-supplied WASM code wi…
26 | - | - | - |
34 | - | - | - |
36 | uint32 | mask | Unused in WASM; can be user-defined |
46 | - | - | - |
55 To communicate user-selected OpenType features to the user-defined WASM shaper, the host shaping en…
58 | - | - | - |
59 | uint32 | tag | Byte-encoded feature tag |
62 … input string representing end of the active region for this feature selection (-1=end of string) |
66 …ions; WASM authors may prefer to use higher-level abstractions around these functions, such as the…
[all …]
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" [
21 The canonical source-code tree is available at
29 <part id="user-manual">
31 <xi:include href="usermanual-what-is-harfbuzz.xml"/>
32 <xi:include href="usermanual-install-harfbuzz.xml"/>
33 <xi:include href="usermanual-getting-started.xml"/>
34 <xi:include href="usermanual-shaping-concepts.xml"/>
35 <xi:include href="usermanual-object-model.xml"/>
36 <xi:include href="usermanual-buffers-language-script-and-direction.xml"/>
[all …]
/external/harfbuzz_ng/src/wasm/graphite/
Dshape.cc3 #include <hb-wasm-api.h>
5 #include <graphite2/Segment.h>
88 0, // https://github.com/harfbuzz/harfbuzz/issues/3439#issuecomment-1442650148 in shape()
134 clusters[0].advance = gr_seg_advance_X(seg) * xscale - curradv; in shape()
146 clusters[ci-1].num_chars += clusters[ci].num_chars; in shape()
147 clusters[ci-1].num_glyphs += clusters[ci].num_glyphs; in shape()
148 clusters[ci-1].advance += clusters[ci].advance; in shape()
149 ci--; in shape()
155 c->base_char = clusters[ci].base_char + clusters[ci].num_chars; in shape()
156 c->cluster = contents.info[c->base_char].cluster; in shape()
[all …]
/external/skia/third_party/harfbuzz/
DBUILD.gn3 # Use of this source code is governed by a BSD-style license that can be
18 libs += [ "harfbuzz-subset" ]
39 "$_src/hb-blob.h",
40 "$_src/hb-buffer.h",
41 "$_src/hb-common.h",
42 "$_src/hb-deprecated.h",
43 "$_src/hb-face.h",
44 "$_src/hb-font.h",
45 "$_src/hb-map.h",
46 "$_src/hb-ot-font.h",
[all …]