| /external/harfbuzz_ng/subprojects/ |
| D | cairo.wrap | 1 [wrap-file] 2 directory = cairo-1.18.2 3 source_url = https://www.cairographics.org/releases/cairo-1.18.2.tar.xz 4 source_filename = cairo-1.18.2.tar.xz 6 source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/cairo_1.18.2-1/cairo-1… 7 wrapdb_version = 1.18.2-1 10 dependency_names = cairo, cairo-gobject
|
| /external/fonttools/Snippets/ |
| D | statShape.py | 7 import cairo 20 with cairo.SVGSurface( 21 "example.svg", hhea.advanceWidthMax, hhea.ascent - hhea.descent 23 context = cairo.Context(surface) 25 context.scale(1, -1) 32 context.translate((hhea.advanceWidthMax - glyph.width) * 0.5, 0) 45 delta = (((a - c) * 0.5) ** 2 + b * b) ** 0.5 47 lambda2 = (a + c) * 0.5 - delta # Minor eigenvalue 48 theta = math.atan2(lambda1 - a, b) if b != 0 else (math.pi * 0.5 if a < c else 0) 50 transform = cairo.Matrix() [all …]
|
| /external/harfbuzz_ng/src/ |
| D | harfbuzz-cairo.pc.in | 6 Name: harfbuzz cairo integration 7 Description: HarfBuzz cairo integration 11 Requires.private: cairo 12 Libs: -L${libdir} -lharfbuzz-cairo 13 Cflags: -I${includedir}/harfbuzz
|
| D | hb-cairo.cc | 31 #include "hb-cairo.h" 33 #include "hb-cairo-utils.hh" 35 #include "hb-machinery.hh" 36 #include "hb-utf.hh" 40 * SECTION:hb-cairo 41 * @title: hb-cairo 42 * @short_description: Cairo integration 43 * @include: hb-cairo.h 45 * Functions for using HarfBuzz with the cairo library. 47 * HarfBuzz supports using cairo for rendering. [all …]
|
| D | meson.build | 4 … 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/ |
| D | CMakeLists.txt | 9 ## 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") 25 option(HB_HAVE_CAIRO "Enable cairo interop helpers" OFF) 32 add_definitions(-DHAVE_FREETYPE=1) 43 option(HB_BUILD_UTILS "Build harfbuzz utils, needs cairo, freetype, and glib properly be installed"… 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) [all …]
|
| D | BUILD.md | 1 On Linux, install the development packages for FreeType, Cairo, and GLib. For 4 …$ sudo apt-get install meson pkg-config ragel gtk-doc-tools gcc g++ libfreetype6-dev libglib2.0-de… 8 $ sudo dnf install meson pkgconfig gtk-doc gcc gcc-c++ freetype-devel glib2-devel cairo-devel 12 $ sudo pacman -Suy meson pkg-config ragel gcc freetype2 glib2 glib2-devel cairo 16 brew install pkg-config ragel gtk-doc freetype glib cairo meson 20 meson build && ninja -Cbuild && meson test -Cbuild 24 something like `meson build --wrap-mode=default` it fetches and compiles most 31 of building HarfBuzz to `g++ src/harfbuzz.cc -fno-exceptions` but there is
|
| D | meson.build | 5 '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 …]
|
| D | meson_options.txt | 6 option('cairo', type: 'feature', value: 'auto', feature 7 description: 'Use Cairo graphics library') 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')
|
| /external/harfbuzz_ng/util/ |
| D | helper-cairo.hh | 30 #include "view-options.hh" 31 #include "output-options.hh" 33 # include "helper-cairo-ft.hh" 36 #include <cairo.h> 38 #include <hb-cairo.h> 40 #include "helper-cairo-ansi.hh" 42 # include <cairo-svg.h> 45 # include <cairo-pdf.h> 48 # include <cairo-ps.h> 71 # include <cairo-script.h> [all …]
|
| D | helper-cairo-ft.hh | 30 #include "font-options.hh" 32 #include <cairo-ft.h> 33 #include <hb-ft.h> 51 * cairo will reset the face size. As such, create new face... in helper_cairo_create_ft_font_face() 52 * TODO Perhaps add API to hb-ft to encapsulate this code. */ in helper_cairo_create_ft_font_face() 65 font_opts->font_file, in helper_cairo_create_ft_font_face() 66 font_opts->face_index, in helper_cairo_create_ft_font_face() 73 cairo_face = cairo_toy_font_face_create ("@cairo:sans", in helper_cairo_create_ft_font_face() 81 const float *coords = hb_font_get_var_coords_design (font_opts->font, &num_coords); in helper_cairo_create_ft_font_face() 95 cairo_face = cairo_ft_font_face_create_for_ft_face (ft_face, font_opts->ft_load_flags); in helper_cairo_create_ft_font_face()
|
| /external/cronet/stable/third_party/icu/source/samples/layout/ |
| D | GnomeFontInstance.cpp | 10 * Copyright (C) 1999-2007, International Business Machines 26 #include <cairo.h> 27 #include <cairo-ft.h> 39 fCairo = gdk_cairo_create(fWidget->window); in GnomeSurface() 52 gFont->rasterizeGlyphs(fCairo, glyphs, count, positions, x, y); in drawGlyphs() 80 fUnitsPerEM = fFace->units_per_EM; in GnomeFontInstance() 82 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance() 83 fDescent = (le_int32) -(yUnitsToPoints(fFace->descender) * fDeviceScaleY); in GnomeFontInstance() 84 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance() 160 advance.fX = fFace->glyph->metrics.horiAdvance >> 6; in getGlyphAdvance() [all …]
|
| /external/cronet/tot/third_party/icu/source/samples/layout/ |
| D | GnomeFontInstance.cpp | 10 * Copyright (C) 1999-2007, International Business Machines 26 #include <cairo.h> 27 #include <cairo-ft.h> 39 fCairo = gdk_cairo_create(fWidget->window); in GnomeSurface() 52 gFont->rasterizeGlyphs(fCairo, glyphs, count, positions, x, y); in drawGlyphs() 80 fUnitsPerEM = fFace->units_per_EM; in GnomeFontInstance() 82 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance() 83 fDescent = (le_int32) -(yUnitsToPoints(fFace->descender) * fDeviceScaleY); in GnomeFontInstance() 84 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance() 160 advance.fX = fFace->glyph->metrics.horiAdvance >> 6; in getGlyphAdvance() [all …]
|
| /external/harfbuzz_ng/docs/ |
| D | usermanual-install-harfbuzz.xml | 2 <!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, 46 development packages for FreeType, Cairo, and GLib. The exact 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–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 [all …]
|
| D | usermanual-integration.xml | 2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ 15 Android, Qt, or application-specific widget libraries. 19 text-rendering pipeline, and will discuss the APIs available to 33 (namely, direction, language, and script, but also higher-level 43 objects. HarfBuzz can use FreeType's built-in functions for 49 library like Cairo, but those details are beyond HarfBuzz's 52 for working with key components of GNOME's higher-level libraries 59 gets Unicode data about the input-buffer code points. 66 types of information can change with different variation-axis [all …]
|
| /external/fonttools/Lib/fontTools/varLib/ |
| D | interpolatablePlot.py | 23 import cairo 125 self.panel_width = self.width / 2 - self.pad * 3 127 self.height / 2 - self.pad * 6 - self.font_size * 2 - self.title_font_size 143 width = self.width - 3 * self.pad 144 height = self.height - 2 * self.pad 210 cr = cairo.Context(self.surface) 213 y = self.height - self.pad - self.font_size * 2 214 width = self.width - 2 * self.pad 223 y -= self.pad + self.font_size 226 cr.rectangle(xx - self.pad * 0.7, y, 1.5 * self.pad, self.font_size) [all …]
|
| /external/igt-gpu-tools/ |
| D | configure.ac | 16 # FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 24 AC_INIT([igt-gpu-tools], 27 [igt-gpu-tools]) 32 AC_CONFIG_AUX_DIR([build-aux]) 39 AM_INIT_AUTOMAKE([1.12 foreign subdir-objects dist-bzip2]) 61 TIMER_LIBS="-lrt" 64 TIMER_LIBS="-lpthread" 100 [m4_fatal([must install xorg-macros 1.16 or later before running autoconf/autogen])]) 127 …PKG_CHECK_MODULES(OVERLAY_XLIB, [cairo-xlib dri2proto >= 2.6], enable_overlay_xlib=yes, enable_ove… 133 AC_MSG_NOTICE([Failed to find leg, required for overlay, try : apt-get install peg]) [all …]
|
| D | meson.build | 1 project('igt-gpu-tools', 'c', 13 error('Building without -Db_ndebug=false is not supported') 18 # Also make sure that the user doesn't have -DNDEBUG defined in their config 19 if not cc.compiles(files('lib/check-ndebug.h'), args: get_option('c_args')) 24 '-Wbad-function-cast', 25 '-Wdeclaration-after-statement', 26 '-Wformat=2', 28 '-Wimplicit-fallthrough=0', 29 '-Wlogical-op', 30 '-Wmissing-declarations', [all …]
|
| /external/igt-gpu-tools/overlay/ |
| D | meson.build | 7 'cpu-top.c', 9 'gem-interrupts.c', 10 'gem-objects.c', 11 'gpu-top.c', 12 'gpu-perf.c', 13 'gpu-freq.c', 34 cairo_xlib = dependency('cairo-xlib', required : xlib_backend_required) 37 gpu_overlay_deps = [ realtime, math, cairo, pciaccess, libdrm, 54 'x11/x11-overlay.c', 57 gpu_overlay_cflags += [ '-DHAVE_OVERLAY_XVLIB' ] [all …]
|
| /external/igt-gpu-tools/lib/ |
| D | igt_frame.c | 31 #include <cairo.h> 40 * @short_description: Library for frame-related tests 44 * This library contains helpers for frame-related tests. This includes common 73 snprintf(path, PATH_MAX, "%s/frame-%s-%s-%s-%s.png", in igt_write_frame_to_png() 77 snprintf(path, PATH_MAX, "%s/frame-%s-%s-%s.png", in igt_write_frame_to_png() 88 if (fd >= 0 && index < (PATH_MAX - 1)) { in igt_write_frame_to_png() 98 * @reference: The reference cairo surface 99 * @capture: The captured cairo surface 114 int fd = -1; in igt_write_compared_frames_to_png() 125 snprintf(path, PATH_MAX, "%s/frame-%s-%s-%s.txt", in igt_write_compared_frames_to_png() [all …]
|
| /external/libdrm/ |
| D | .gitlab-ci.yml | 18 - project: 'freedesktop/ci-templates' 21 - '/templates/debian.yml' 22 - '/templates/freebsd.yml' 23 - '/templates/ci-fairy.yml' 30 - "Base container" 31 - "Build" 33 .ci-rules: 35 - when: on_success 39 .os-debian: 43 …-essential docbook-xsl libatomic-ops-dev libcairo2-dev libcunit1-dev libpciaccess-dev meson ninja-… [all …]
|
| D | meson_options.txt | 87 'cairo-tests', 89 description : 'Enable support for Cairo rendering in tests.', 92 'man-pages', 102 'freedreno-kgsl', 108 'install-test-programs',
|
| /external/apache-xml/test/tests/contrib-gold/xsltc/mk/ |
| D | mk032.out | 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 <p>Arrive in Cairo</p> 9 <p>Archaelogical Museum at Cairo</p>
|
| D | mk033.out | 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 11 <p>Arrive in Cairo</p> 15 <p>Archaelogical Museum at Cairo</p>
|
| /external/harfbuzz_ng/.circleci/ |
| D | config.yml | 4 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 …]
|